Beyond Sharp Minima: Robust LLM Unlearning via Feedback-Guided Multi-Point Optimization

Wenhan Wu, Zheyuan Liu, Chongyang Gao, Ren Wang, Kaize Ding · DOI

Abstract

Large Language Model (LLM) unlearning is essential for removing hazardous, copyrighted, or private information from pre-trained weights. However, current unlearning methods are often fragile; models can be forced to "re-remember" forgotten data through minimal fine-tuning. This paper identifies that standard unlearning often lands models in "sharp minima"—narrow valleys in the loss landscape where small parameter shifts restore suppressed knowledge. We propose StableUN, a bi-level optimization framework that steers model parameters toward flatter, more stable regions. By utilizing neighborhood-aware feedback and gradient harmonization, StableUN significantly improves unlearning robustness against relearning and jailbreaking attacks while maintaining general model utility.

Introduction

As LLMs are increasingly deployed in sensitive domains, the ability to selectively "forget" specific data—such as biosecurity protocols or personally identifiable information (PII)—is a critical safety requirement. While techniques like Gradient Ascent (GA) or Negative Preference Optimization (NPO) can reduce a model's performance on target data, they often suffer from a lack of robustness.

The authors identify a critical vulnerability: relearning attacks. Because existing methods optimize for a single point in the parameter space, they frequently result in sharp minima. In these regions, the model appears to have forgotten the data, but the underlying knowledge remains accessible just a few gradient steps away. This "thin wall" of suppression is easily breached by even a handful of fine-tuning samples.

The vulnerability of current unlearning methods: accuracy on forgotten data (Df) quickly recovers during relearning attacks.

The StableUN Framework

To address the geometry of forgetting, StableUN moves beyond single-point optimization to a "neighborhood-aware" approach. The framework is structured as a bi-level optimization problem:

  1. Inner Loop (Unlearning Tuning): The model undergoes a temporary unlearning update using standard objectives to suppress target knowledge.
  2. Outer Loop (Feedback Guidance): The temporary model is probed using two distinct feedback signals to ensure the unlearning is both stable and non-destructive.

Forgetting and Remembering Feedback

StableUN employs Forgetting Feedback by applying adversarial perturbations (e.g., Sharpness-Aware Perturbation or Gradient-Aligned Perturbation) to the model's parameters. This simulates a relearning attack during the training process, forcing the model to find a region where small shifts do not cause the forgotten knowledge to resurface. Simultaneously, Remembering Feedback monitors a "retain set" of benign data to ensure the model's general reasoning and linguistic capabilities remain intact.

Overview of the StableUN framework, illustrating the bi-level optimization loop and the gradient harmonization strategy.

Gradient Harmonization

Unlearning and utility retention often present conflicting objectives. To prevent "greedy" unlearning from degrading the model's core intelligence, StableUN uses a gradient projection strategy. If the forgetting gradient ($g_f$) conflicts with the remembering gradient ($g_r$), $g_f$ is projected onto the subspace orthogonal to $g_r$. This ensures that the update moves the model toward a flatter basin for forgetting without negatively impacting the retain set.

Experimental Results

The researchers evaluated StableUN on high-stakes benchmarks including WMDP (Biosecurity and Cybersecurity) and MUSE (Privacy and Copyright).

  • Superior Robustness: StableUN demonstrated significantly higher resistance to relearning. In attacks using 80 samples on WMDP-bio, StableUN variants showed an average 14.55% improvement in robustness compared to standard GA+KL methods.
  • Jailbreak Resistance: By smoothing the loss landscape, StableUN makes it harder for adversarial prompts (like GCG prefixes) to find the "cracks" in the model's safety alignment.
  • Utility Preservation: Evaluation on MMLU confirmed that StableUN maintains competitive general performance, effectively unlearning specific hazards without "lobotomizing" the model.

Conclusion

StableUN shifts the focus of LLM unlearning from simple value suppression to landscape stability. By steering models away from sharp minima and toward flatter basins, the framework provides a more permanent and robust form of forgetting. While bi-level optimization introduces additional computational overhead, the gains in security and utility retention represent a significant step forward for safe and controllable AI deployment.

Summary updated

BibTeX
@misc{wu2025beyond,
  author = {Wenhan Wu and Zheyuan Liu and Chongyang Gao and Ren Wang and Kaize Ding},
  title = {{Beyond Sharp Minima: Robust LLM Unlearning via Feedback-Guided Multi-Point Optimization}},
  year = {2025},
  eprint = {2509.20230},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.20230},
}
Figure