Retain-Neutral Surrogates for Min-Max Unlearning

Junhao Cai, Dohun Kim, Dowon Kim, Sung Il Choi, Chengjun Jin, Juhyun Park, Changhee JooNeurIPS 2026

TL;DR

Making a neural network selectively "forget" specific training data without breaking everything else it knows is like performing brain surgery with a sledgehammer—especially when the gradients for forgetting and remembering point in the exact same direction. This paper introduces ROSU, an unlearning method that forces the forgetting step to move strictly perpendicular to the knowledge you want to keep. By eliminating the tug-of-war between forgetting and retaining, ROSU brings edited models remarkably close to the gold standard of retraining from scratch, at a fraction of the computational cost.

What Problem Does This Paper Address?

Suppose a user asks to delete their data, or we discover a language model has memorized hazardous information. Retraining from scratch without that "forget set" is the gold standard, but at modern scales, it’s prohibitively expensive. Machine unlearning tries to surgically edit the existing weights instead.

A popular approach is min–max unlearning: an "inner adversary" nudges the model weights to maximize error on the forget data (creating a "surrogate" model), and an outer step updates the model to minimize error on the remaining "retain" data from that perturbed vantage point.

Here’s the catch: the forget set and retain set share the same network parameters and statistical patterns. As a result, their gradients are often positively coupled—pointing in nearly the same direction. When an unconstrained inner adversary pushes weights to ruin performance on the forget set, it inadvertently ruins performance on the retain set too. The subsequent retain step then wastes its effort just undoing the collateral damage rather than cleanly separating the two tasks.

Figure 1: (a) The coupling cos θ(w) between the forget and retain gradients gf(w) and gr(w) is low in class-wise forgetting and high in random forgetting and TOFU. (b) In a highly coupled setting, δstd moves toward higher forget and retain losses, while δrosu moves toward higher forget loss on the retain-neutral hyperplane gr(w)⊤δ = 0. The arrows indicate directions. (c) The same direction δrosu sets the surrogate point, and its amplification βδrosu is the forgetting step, which stays retain-neutral.

Methods

The authors propose Retain-Orthogonal Surrogate Unlearning (ROSU). While prior projection methods (like PCGrad) wait until the very end of an update to orthogonalize conflicting gradients, ROSU constrains the inner adversary right from the start.

  1. Retain-Neutral Surrogate: Instead of letting the inner adversary push weights in any direction to maximize forget loss, ROSU restricts it to the hyperplane strictly orthogonal (perpendicular) to the current retain gradient. This constrained optimization problem has a clean, closed-form solution: take the forget gradient, strip out its projection along the retain gradient, and spend the perturbation budget on the remainder ($\delta_{\text{rosu}}$).
  2. Transporting the Retain Correction: Next, ROSU evaluates the retain gradient at this new surrogate point and maps it back to the current weights using the chain rule. Computing the exact Jacobian requires heavy second-order derivatives (the forget Hessian and projector differentials). To keep things fast and stable, ROSU applies two relaxations: dropping the projector differential and approximating the forget Hessian as the identity matrix.
  3. Retain-Neutral Amplification: Finally, ROSU gets double duty out of $\delta_{\text{rosu}}$. Beyond setting the surrogate point, it amplifies this exact same direction ($\beta\delta_{\text{rosu}}$) to serve as the explicit forgetting update, guaranteeing zero first-order damage to the retain loss.

Datasets

No new datasets are introduced; the authors evaluate ROSU across established vision and language unlearning benchmarks:

  • Vision: CIFAR-10, CIFAR-100, and Tiny-ImageNet (tested under both class-wise forgetting, where an entire class is removed, and 10% random forgetting, where random examples are removed).
  • Language (LLMs): TOFU (forgetting facts about fictitious authors on Llama-3.2-1B-Instruct) and WMDP (removing hazardous biosecurity and cybersecurity knowledge on Zephyr-7B-$\beta$).

Key Insights and Ideas

  • Not all unlearning tasks fight the model equally: Measuring the cosine similarity between forget and retain gradients reveals why some tasks are much harder. Forgetting an entire image class exhibits low gradient coupling ($\cos\theta$ between $0.05$ and $0.19$). However, forgetting 10% random images or fictitious LLM facts yields massive coupling ($\cos\theta$ from $0.76$ to $0.92$). ROSU shines brightest precisely in these high-coupling regimes where standard adversaries cause maximum collateral damage.
  • Exact Hessians actually hurt: You might expect the identity-Hessian relaxation to be a compromise for speed. Surprisingly, ablations show that keeping the exact forget Hessian causes training to violently diverge and collapse in high-coupling settings! The relaxation is essential for training stability.
  • Synergy of correction and amplification: Neither half of ROSU’s update works alone. Amplification without surrogate retain correction wrecks general performance; retain correction without amplification preserves utility but fails to actually forget.

Key Results

  • Vision: Across all six vision settings, ROSU achieves the smallest accuracy gap ($\Delta\text{Acc}$, summing retain, forget, and test accuracy differences) relative to full retraining. On highly coupled 10% random forgetting, ROSU slashes $\Delta\text{Acc}$ on CIFAR-10 to 0.26 (vs. 2.43 for UAM, the prior min–max baseline, and 2.05 for OrthoGrad) while running in 2.92 minutes compared to 33.8 minutes for retraining. On CIFAR-100 random forgetting, ROSU hits 0.67 $\Delta\text{Acc}$ (vs. 2.54 for UAM).
  • LLMs: On TOFU, ROSU achieves the highest overall aggregate score (0.58, beating RMU at 0.54 and UAM at 0.50), generating fluent responses that swap out memorized names for plausible fabrications. On WMDP, ROSU achieves the best $\Delta\text{Score}$ (0.054 vs. UAM’s 0.077), pushing hazardous biology/cyber accuracy down near random chance while preserving general MMLU knowledge (0.570 vs. the base model's 0.581).

Limitations and Future Work

ROSU requires access to the retain dataset at every iteration, and each step requires more compute than simple fine-tuning (due to extra gradient evaluations). Looking ahead, the authors highlight three open frontiers:

  1. Source-free unlearning: Protecting retained performance when the original retain data is no longer accessible.
  2. Single-step unlearning: Editing weights in one shot without iterative training loops.
  3. Sequential unlearning: Handling a continuous stream of deletion requests without accidentally reviving previously forgotten data.

Summary updated

Abstract

Machine unlearning aims to make a model forget designated training data while retaining performance on the rest. In min–max unlearning, an inner adversary perturbs the model to maximize the forget loss, and the model is updated to minimize the retain loss at the resulting surrogate point. When the forget and retain gradients are positively coupled, the standard perturbation also moves toward higher retain loss, and the retain step begins by recovering that loss. We propose Retain-Orthogonal Surrogate Unlearning (ROSU), which redefines the adversary to admit only perturbations orthogonal to the retain gradient. The one that raises the forget loss fastest has a closed form, and ROSU uses it to set the surrogate point and amplifies it into the forgetting step. Under positive coupling the ROSU surrogate avoids the retain cost that coupling induces in the standard surrogate, and the difference shrinks as the gradients approach orthogonality. ROSU has the smallest accuracy gap to retraining in every vision setting (CIFAR-10, CIFAR-100, Tiny-ImageNet) and is competitive with the baselines on language benchmarks (TOFU, WMDP). The redefinition helps most under high positive coupling. Code is available at https://github.com/unlearn-ml/machine-unlearning.
BibTeX
@inproceedings{cai2026retain,
  author = {Junhao Cai and Dohun Kim and Dowon Kim and Sung Il Choi and Chengjun Jin and Juhyun Park and Changhee Joo},
  title = {{Retain-Neutral Surrogates for Min-Max Unlearning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=2hVefCeDpP},
}
Figure