Revisiting the Past: Data Unlearning with Model State History

Keivan Rezaei, Mehrdad Saberi, Abhilasha Ravichander, Soheil Feizi

Large language models (LLMs) are trained on massive corpora of web data, which may inadvertently include private information, copyrighted material, or factually inaccurate data. When a user invokes the "Right to Be Forgotten," model developers face a dilemma: completely retraining the model from scratch without the problematic data is computationally ruinous, but existing "post-hoc" unlearning methods often fall short.

To address this, researchers have introduced Model State Arithmetic (MSA), a novel algorithm that uses intermediate training checkpoints to "subtract" the influence of specific data points from an LLM. By leveraging a model's history, MSA achieves more precise data-level unlearning than existing methods, effectively balancing the need to forget sensitive information while preserving the model's overall utility.

The Unlearning Dilemma

Current unlearning techniques (such as gradient ascent on the target data) frequently suffer from two major issues:

  1. Catastrophic Forgetting: They degrade the model's general capabilities or "break" its ability to reason about unrelated topics.
  2. Incomplete Erasure: They might stop the model from generating the exact data, but the information remains "baked in" and detectable via membership inference attacks.

These failures often occur because existing methods only look at the final state of the model, where the influence of specific data points is already deeply entangled with everything else the model has learned.

Model State Arithmetic (MSA)

The core innovation of MSA is that instead of trying to fix the final model in isolation, it looks back at the model's training history. The algorithm treats unlearning as a vector arithmetic problem in parameter space, following a clever logic:

  1. Identify a Checkpoint: Select an intermediate checkpoint ($C$) from the training history recorded before the model was exposed to the data intended for erasure (the "forget set" $D_f$).
  2. Extract a Forget Vector: Finetune this early checkpoint $C$ specifically on the forget set $D_f$. The change in weights becomes a "forget vector" ($\vec{\theta}_f$) that captures exactly how that specific data influences the model's parameters.
  3. Arithmetic Surgery: Subtract this scaled forget vector from the final target model ($\theta_D$): $$\theta_{unlearn} = \theta_D - \alpha \vec{\theta}_f$$
  4. Optional Retain Vector: To further protect model performance, a "retain vector" can be computed by finetuning the early checkpoint on data the model should keep, then adding that back into the final weights.
Overview of the Model State Arithmetic (MSA) algorithm compared to existing methods.

Evaluation and The "ROUGE-L Trap"

The researchers evaluated MSA across three major unlearning benchmarks: TOFU (Task of Fictitious Unlearning), RESTOR (knowledge recovery), and MUSE-Books (verbatim memorization and privacy leakage).

A significant insight from the evaluation is the "ROUGE-L Trap." Standard metrics like ROUGE-L are misleading for unlearning. If a model correctly forgets a fact and responds with "I don't know," its ROUGE score against the original answer drops, which traditional metrics interpret as a failure. To solve this, the authors introduced GPT-4o as a semantic judge to evaluate if the model's behavior aligns with an "ideal" model that never saw the data in the first place.

Key Results

MSA consistently outperformed state-of-the-art baselines like NPO (Negative Preference Optimization) and RMU (Random Misalignment Unlearning).

Performance of MSA against baseline unlearning methods across GPT-4o Judge and TOFU metrics.
  • Better Recovery: On the TOFU benchmark, MSA variants achieved near-perfect alignment with "ideal" models, whereas baselines like RMU often resulted in the model refusing to answer questions it should still know.
  • Privacy Protection: On MUSE-Books, MSA significantly reduced "Privacy Leakage" (an attacker's ability to guess if a book was in the training set) compared to the original model, reaching levels close to the ideal reference model.
  • Knowledge Restoration: In the RESTOR task, MSA was far more effective at "undoing" misinformation and restoring the model's original factual knowledge.
  • Temporal Robustness: Surprisingly, MSA works even if the checkpoint used is "old" (e.g., from hundreds of billions of tokens prior to the forget set), making it practical for developers who don't save checkpoints frequently.

Limitations and Future Work

The primary limitation of MSA is its reliance on intermediate training checkpoints. While standard for model developers, this makes the method difficult for third parties to apply to "black-box" or closed-source models where only the final weights are released. Additionally, performance depends on tuning scaling factors, which requires a small validation set. Finally, if the "forget data" exists in both the massive web-scale pretraining corpus and the specific finetuning set, completely unlearning it remains a challenge.

Future work could explore how to synthesize "pseudo-checkpoints" or apply MSA to models where the full training history is unavailable, paving the way for more flexible LLMs capable of true data erasure.

Summary updated

BibTeX
@inproceedings{rezaei2026revisiting,
  author = {Keivan Rezaei and Mehrdad Saberi and Abhilasha Ravichander and Soheil Feizi},
  title = {{Revisiting the Past: Data Unlearning with Model State History}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=aHeerhmjR8},
}
Figure