OpenUnlearning: Accelerating LLM Unlearning via Unified Benchmarking of Methods and Metrics

Vineeth Dorna, Anmol Mekala, Wenlong Zhao, Andrew McCallum, Zachary C. Lipton, J. Zico Kolter, Pratyush Maini

TL;DR

OpenUnlearning unifies the fragmented landscape of Large Language Model (LLM) unlearning by providing a standardized, modular benchmarking framework that integrates 13 algorithms and 16 evaluation metrics. Crucially, it introduces a novel meta-evaluation suite to stress-test the reliability of the unlearning metrics themselves, revealing which evaluations truly measure data erasure versus those that are easily fooled.

What Problem Does This Paper Address?

As LLMs are trained on massive datasets, they inevitably memorize sensitive, copyrighted, or harmful information. Since retraining a model from scratch to delete specific data is financially and computationally prohibitive, researchers have turned to "machine unlearning"—post-training interventions designed to make a model "forget" specific target data while preserving its general utility.

However, the unlearning sub-field faces a severe fragmentation crisis. Different research groups use disparate datasets, custom loss functions, and inconsistent evaluation metrics, making reproducibility nearly impossible. More alarmingly, evaluating unlearning is arguably as hard as achieving it. Existing metrics often suffer from "superficial forgetting," where a model merely refrains from exposing a fact under standard prompting but still retains the knowledge deep within its weights, leaving it vulnerable to simple extraction attacks.

Methods

To solve these issues, the authors introduce OpenUnlearning, a unified, modular architecture that standardizes the unlearning pipeline into distinct components: Model Loaders, Data Workers, Trainers, Evaluators, and Interventions.

Figure 1: OpenUnlearning is an extensible library for benchmarking LLM unlearning methods and metrics. It provides a unified framework for implementing unlearning methods, unlearning metrics, and stress-testing tools to verify unlearning robustness. This figure illustrates the unlearning pipeline in terms of implementation-level components.

Beyond unifying existing methods, the paper introduces a meta-evaluation framework designed to evaluate the evaluation metrics themselves. To do this, they curate a testbed of over 450 models with known ground-truth knowledge states and evaluate metrics across two core dimensions:

  1. Faithfulness: The metric's ability to accurately distinguish between a model that has been trained on the target data (positive pool) and one that hasn't (negative pool).
  2. Robustness: The metric's stability when the model undergoes benign interventions (like 4-bit quantization) or non-benign interventions (like adversarial relearning attacks designed to provoke the recovery of forgotten data).
Figure 3: Meta-evaluation of unlearning metrics: (1) Faithfulness: the metric distinguishes models with and without target knowledge, reflected by high AUC; (2) Robustness: the metric value does not increase under benign changes (e.g., quantization) and does not improve faster than a retain model under non-benign changes (e.g., relearning).

Datasets

OpenUnlearning integrates three leading benchmarks into its unified framework:

  • TOFU: A synthetic dataset consisting of 200 fictitious author profiles used to evaluate fine-grained knowledge unlearning.
  • MUSE: A benchmark focused on the removal of real-world news articles and copyrighted books, evaluating memorization and privacy.
  • WMDP: A safety-alignment dataset containing multiple-choice questions on hazardous knowledge (biosecurity, cybersecurity, chemical security) used to measure a model's defense against malicious use.

Key Insights and Ideas

  • Evaluating evaluations is necessary: Many popular metrics give a false sense of security. Under relearning stress tests, many "unlearned" models re-acquire forgotten knowledge significantly faster than a baseline model that never saw the data, proving the knowledge was merely suppressed, not erased.
  • The Over-Unlearning Trap: Aggressive unlearning algorithms (like standard Gradient Ascent) often over-correct, driving the probabilities of target tokens unusually low. This actually breaks privacy guarantees because Membership Inference Attacks (MIAs) can easily detect this anomalous behavior compared to a normal model.
  • MIA Fragility: Metrics based on Membership Inference Attacks are highly faithful at detecting whether data was in the training set, but they lack robustness—their scores fluctuate wildly or "flip" after simple, benign model quantization.

Key Results

  • Top Metrics: Extraction Strength (ES) and Exact Memorization (EM) emerged as the most reliable and robust metrics for evaluating unlearning, showing high resistance to being fooled by quantization or superficial formatting changes.
  • Top Algorithms: When evaluating 8 unlearning methods on TOFU using a balanced harmonic mean of memorization, privacy, and utility, SimNPO ranked first. It effectively induces forgetting while maintaining general model utility.
  • Utility Trade-offs: While RMU (Representation Misdirection Unlearning) demonstrated strong data erasure, it caused a severe drop in the model's general downstream utility, highlighting the ongoing challenge of balancing forgetting with performance retention.

Limitations and Future Work

The authors note that their meta-evaluation is bound by the limitations of the underlying popular benchmarks (like TOFU), which rely on synthetic data distributions and have been criticized as "weak measures" of real-world progress. Future work will require expanding OpenUnlearning to include more complex, real-world adversarial setups, larger model architectures (beyond the 1B–8B parameter models tested), and establishing a standardized consensus on model selection metrics during hyperparameter tuning.

Summary updated

BibTeX
@misc{dorna2025openunlearning,
  author = {Vineeth Dorna and Anmol Mekala and Wenlong Zhao and Andrew McCallum and Zachary C. Lipton and J. Zico Kolter and Pratyush Maini},
  title = {{OpenUnlearning: Accelerating LLM Unlearning via Unified Benchmarking of Methods and Metrics}},
  year = {2025},
  eprint = {2506.12618},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.12618},
}
Figure