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.
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.
- 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}}$).
- 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.
- 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:
- Source-free unlearning: Protecting retained performance when the original retain data is no longer accessible.
- Single-step unlearning: Editing weights in one shot without iterative training loops.
- Sequential unlearning: Handling a continuous stream of deletion requests without accidentally reviving previously forgotten data.
Summary updated