Machine Unlearning Comparator

July 17, 2026 ยท View on GitHub

YouTube Demo Paper GitHub Stars

๐Ÿ“ข [Jul 2026] Check out our follow-up work, Unlearning Depth Score โ€” going beyond output-level metrics to measure unlearning depth!

Teaser Animation Unlearning Comparator is a web-based visual analytics system for the comparative evaluation of Machine Unlearning (MU) methods.

Unlearning Comparator Workflow 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.

โœจ 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

MethodDescription
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.
SCRUBUses a teacher-student distillation framework to maximize loss on the forget set while minimizing it on the retain set.
SalUnMasks 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

โš™๏ธ Configuration

UMAP Visualization

Adjust UMAP parameters for Embedding Space visualization in backend/app/config/settings.py:

  • UMAP_N_NEIGHBORS: Lower (5-10) for local clusters, higher (11-20) for global structure
  • UMAP_MIN_DIST: Lower (0.1-0.3) for tighter clusters, higher (0.5-0.9) for even spacing


๐Ÿ“š Citation

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

@article{lee2026unlearning,
  title   = {{Unlearning Comparator}: A Visual Analytics System for Comparative Evaluation of Machine Unlearning Methods},
  author  = {Lee, Jaeung and Yu, Suhyeon and Jang, Yurim and Woo, Simon S. and Jo, Jaemin},
  journal = {IEEE Transactions on Visualization and Computer Graphics},
  volume  = {32},
  number  = {3},
  pages   = {2852--2867},
  year    = {2026},
  doi     = {10.1109/TVCG.2026.3658325}
}
Star History Chart