TL;DR
This paper introduces Mode Connectivity in Unlearning (MCU), a novel framework that explores the optimization geometry and loss landscapes of machine unlearning. The authors discover that while unlearned models often share smooth, low-loss paths in parameter space, they exhibit surprising "functional heterogeneity" where models in the same basin vary wildly in privacy risks. Leveraging these geometric insights, they propose an MCU-based ensembling technique that significantly improves model generalization and resilience against relearning attacks.
What Problem Does This Paper Address?
Machine unlearning is rapidly becoming a necessity due to legal mandates (like the "right to be forgotten") and the need to purge copyrighted or incorrect data from large models without the prohibitive cost of retraining from scratch. While many approximate unlearning algorithms have emerged, they are largely treated as black boxes.
Specifically, the field lacks an understanding of the underlying loss landscape and optimization geometry of unlearning. Do different unlearning algorithms arrive at fundamentally similar solutions? How does a model structurally change in parameter space as it forgets? This paper addresses these foundational questions by applying the concept of mode connectivity—the phenomenon where independently trained neural networks can be connected by continuous paths of low loss—to the unlearning paradigm.
Methods
The authors formalize Mode Connectivity in Unlearning (MCU). Unlike standard mode connectivity, which optimizes for a single task objective, MCU must simultaneously satisfy two competing constraints: maintaining low loss on a retain set while ensuring high loss (successful forgetting) on a forget set.
The authors evaluate both linear paths (direct interpolation between model weights) and optimized quadratic paths between unlearned models. They systematically test MCU across a variety of training dynamics:
- Varying Randomness: Connecting models unlearned using different random seeds.
- Varying Training Paradigms: Evaluating the impact of curriculum learning (sample ordering) and second-order optimization methods.
- Cross-Method Connectivity: Probing paths that connect entirely different unlearning algorithms to measure their mechanistic similarities.
Datasets
The MCU framework was evaluated across a diverse suite of language and vision benchmarks:
- LLM Unlearning: TOFU, MUSE (Books and News splits), and WMDP (Cyber-security split).
- Classification Unlearning: Image classification on CIFAR-10, biomedical text relation classification on DDI2013, and image-text visual entailment on NLVR2 (all sourced from the MU-Bench suite).
Key Insights and Ideas
- Functionally Heterogeneous Basins: Unlearned models generally reside within a connected, smooth low-loss manifold. However, models within the exact same basin can behave completely differently regarding privacy metrics. A model can successfully forget target data according to standard metrics but still suffer from massive information leakage depending on its exact position in the basin.
- Suppress First, Unlearn Later: By probing the path between the original model and the unlearned model, the authors found that unlearning progresses nonlinearly. Models first suppress surface-level lexical and verbatim memorization before committing to deeper, structural distribution changes.
- Mechanistically Distinct from Retraining: Linear connectivity paths reveal that approximate unlearning methods arrive at endpoints via entirely different mechanisms than full retraining from scratch, rather than simply approximating the retrained solution along a shared linear subspace.
- Smoothness as a Difficulty Metric: The smoothness of the MCU path serves as an excellent proxy for unlearning difficulty. Harder, more adversarial forget sets result in sharper, more rugged landscapes with higher loss barriers.
Key Results
- Visualizing Heterogeneity: Probing the MCU path reveals that while utility and forgetting metrics remain stable, privacy leakage metrics (like
PrivLeak) can fluctuate wildly between -100 and 100 along the very same connected path.
- Defeating Relearning Attacks: Standard unlearning methods are often vulnerable to "relearning attacks," where an adversary fine-tunes the model on generic data to quickly restore the forgotten knowledge. By averaging multiple minimizers along the smooth MCU path (MCU Ensemble), the authors created a merged model that dropped forget-set accuracy on WMDP from 24.1% to 21.5% (lower is better) and demonstrated vastly superior resistance to relearning attacks over time.
Limitations and Future Work
The authors note that the high functional heterogeneity within connected basins exposes a major flaw in current unlearning evaluation protocols: surface-level metrics often miss deep privacy vulnerabilities.
A primary limitation is that the study focuses on approximate unlearning methods that modify the original model's weights; it remains to be seen how these geometric insights apply to exact unlearning methods or sharding techniques. Future work will need to develop richer, parameter-level evaluation tools and investigate how specific optimization choices can be steered to reliably guide models into the most secure regions of the loss basin.
Summary updated