Understanding Machine Unlearning Through the Lens of Mode Connectivity

Jiali Cheng, Hadi Amiri

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.
Figure 3: Functionally heterogeneous basin. Models within the same basin in loss landscape can have different functional performance in different dimensions. (a) On MUSE with RMU, performance on D f and Dr remains similar, but PrivLeak has large fluctuations within the range [−100, 100]. (b) On DDI with BT, performance on D f and ZRF remains stable, whereas Dt and Dr vary substantially.
  • 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

Abstract

Machine Unlearning aims to remove undesired information from trained models without full retraining from scratch. Despite recent progress, the loss landscape and optimization geometry of unlearning are poorly understood. In this paper, we study machine unlearning through the lens of mode connectivity--the phenomenon that independently trained models can often be connected by smooth low-loss paths in parameter space. We introduce {\em mode connectivity in unlearning} (MCU) and evaluate it across a range of settings, including curriculum learning, second-order optimization, and connectivity across different unlearning methods. We find that many unlearned models lie in connected basins with smooth retain/forget behavior, while changes in training dynamics can move solutions into different basins. MCU also reveals that models within the same basin can differ substantially on privacy metrics, and that unlearning progresses nonlinearly from the original model to the unlearned model. In addition, linear connectivity suggests that most approximate unlearning methods are mechanistically distinct from retraining. Finally, MCU-based ensembling can improve generalization and robustness to relearning attacks, and MCU smoothness correlates with unlearning difficulty. To our knowledge, this is the first study of machine unlearning through the lens of mode connectivity.
BibTeX
@inproceedings{cheng2026understanding,
  author = {Jiali Cheng and Hadi Amiri},
  title = {{Understanding Machine Unlearning Through the Lens of Mode Connectivity}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=wIeRDYrSeg},
}
Figure