Skip to content

gnueaj/Machine-Unlearning-Comparator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧹 Machine Unlearning Comparator

YouTube Demo Paper

A web-based visual analytics system for the comparative evaluation of Machine Unlearning (MU) methods.

Teaser Animation

This system helps researchers systematically compare MU methods based on three core principles: accuracy, efficiency, and privacy. The workflow is structured into four stages: Build → Screen → Contrast → Attack.

Unlearning Comparator Workflow

✨ Key Features

  • Multi-Level Visual Comparison

    • Analyze model behavior from class, instance, and layer-level perspectives.
    • Includes: Class-wise Accuracy chart, Prediction Matrix, Embedding Space, and Layer-wise Similarity chart.
  • Interactive Privacy Audits

    • Simulate Membership Inference Attacks (MIAs) to verify data removal.

Privacy Attack Visualization


🔧 Built-in Methods

Method Description
Fine-Tuning (FT) Fine-tunes the model only on the retain set.
Gradient Ascent (GA) Adjusts model parameters to maximize loss on the forget set.
Random Labeling (RL) Assigns random labels to the forget set and then fine-tunes the model.
SCRUB Uses a teacher-student distillation framework to maximize loss on the forget set while minimizing it on the retain set.
SalUn Masks weights influenced by the forget set before applying random labeling and targeted fine-tuning.

🔌 Add Your Own Method

Implement and register your own MU methods via a Python hook for direct comparison within the system.

💡 Tip: Ask Claude Code for a boilerplate template to get started quickly!


⚡ Quick Start

Backend

# 1. Install deps & activate environment
hatch shell
# 2. Run the API server
hatch run start

Frontend

# 1 Install deps
pnpm install
# 2 Launch the UI
pnpm start

Related Resources


📚 Citation

If you use this tool in your research, please cite our paper:

@misc{lee2025unlearning,
  title = {{Unlearning Comparator:} A Visual Analytics System for Comparative Evaluation of Machine Unlearning Methods},
  author = {Jaeung Lee and Suhyeon Yu and Yurim Jang and Simon S. Woo and Jaemin Jo},
  year   = {2025},
  note   = {arXiv:2508.12730},
  url    = {https://arxiv.org/abs/2508.12730}
}

About

A Visual Analytics System for Comparative Evaluation of Machine Unlearning Methods

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published