Downgrade to Upgrade: Optimizer Simplification Enhances Robustness in LLM Unlearning

Yicheng Lang, Yihua Zhang, Chongyu Fan, Changsheng Wang, Jinghan Jia, Sijia Liu

Large language models (LLMs) are trained on massive, often uncurated datasets, frequently ingesting copyrighted material, personally identifiable information (PII), or harmful instructions. LLM unlearning aims to surgically remove this specific, undesired knowledge without the prohibitive cost of retraining the entire model from scratch.

However, a major "Achilles' heel" of current unlearning methods is their fragility. You might successfully suppress a model's ability to recite a copyrighted book, but if a user later applies a standard post-training modification—such as 4-bit weight quantization to save memory or a few steps of fine-tuning (a "relearning attack")—the forgotten knowledge often resurfaces. While previous research has attempted to fix this by reformulating unlearning loss functions, this paper investigates a counter-intuitive solution: modifying the optimizer.

Downgrading the Optimizer: Precision vs. Robustness

The authors introduce the concept of Optimizer Grade, categorized by the level of gradient information utilized during the unlearning update:

  • High-Grade: Second-order (Hessian-based, e.g., Sophia) or standard First-order (Gradient-based, e.g., Adam) optimizers.
  • Low-Grade: Compressed first-order (e.g., signAdam, which only uses the sign of the gradient) or Zeroth-order (ZO) optimizers (gradient-free methods that estimate gradients by perturbing weights and observing the change in loss).

A key insight of this work is that precision is the enemy of robustness in the context of unlearning. High-grade optimizers like Adam are highly effective at finding exact local minima for the unlearning objective. However, these "sharp" minima are easily shifted by post-training perturbations like quantization, causing the model to fall back into states where the "forgotten" knowledge is accessible.

Conversely, low-grade optimizers are inherently noisier. This noise prevents the model from settling into sharp minima, instead encouraging convergence to "flatter," harder-to-disturb basins in the loss landscape. By mathematically linking Zeroth-Order optimization to Randomized Smoothing, the authors demonstrate that ZO methods naturally explore a neighborhood of weights, making the resulting model inherently more tolerant to subsequent weight perturbations.

Robustness of different optimizers to quantization

The FO-ZO Hybrid Optimizer

To balance the efficacy of forgetting with the need for robustness, the paper proposes a novel FO-ZO Hybrid Optimizer. This approach leverages a "follower-leader" dynamic by alternating between two steps:

  1. First-Order (FO) steps: Using standard Adam to provide high-fidelity updates, ensuring the model effectively forgets the target data.
  2. Zeroth-Order (ZO) steps: Using AdaZO to introduce principled noise. This acts as a form of randomized smoothing, steering the model parameters into flatter, more robust regions of the loss landscape.

Key Results and Validation

The researchers validated their hybrid approach across three major unlearning benchmarks: MUSE (removing copyrighted books and news), WMDP (removing hazardous biological/chemical knowledge), and TOFU (erasing fictitious author profiles).

  • Resisting Quantization: On the MUSE benchmark, models unlearned with standard Adam saw forgotten knowledge heavily resurface after 4-bit quantization. In contrast, lower-grade optimizers and the Hybrid optimizer maintained near-zero memorization even after quantization.
  • Defeating Relearning Attacks: In WMDP experiments, the Hybrid approach significantly outperformed Sharpness-Aware Minimization (SAM). Even after 100 steps of adversarial "relearning" on the forgotten data, the Hybrid-unlearned model remained much more "forgetful" than its competitors.
  • Efficiency and Utility: Unlike SAM, which requires computationally expensive double-gradient calculations, the Hybrid optimizer is efficient, achieving better robustness with comparable wall-clock training time to standard Adam. Importantly, this "downgrade" did not break the model; the Hybrid approach maintained high performance on general utility benchmarks like MMLU.
Performance on MUSE benchmarks before and after quantization

Limitations and Future Work

While highly effective for weight-level tampering (like quantization and fine-tuning), this study primarily focuses on a specific set of optimizers (Adam, signAdam, Sophia, AdaZO) and does not explicitly tackle input-level attacks, such as sophisticated jailbreaking prompts designed to bypass unlearning guardrails. Future work will need to explore whether "downgrading" optimizers can benefit general model alignment and safety fine-tuning in similar ways, and how these methods hold up against advanced adversarial prompting.

Summary updated

BibTeX
@inproceedings{lang2026downgrade,
  author = {Yicheng Lang and Yihua Zhang and Chongyu Fan and Changsheng Wang and Jinghan Jia and Sijia Liu},
  title = {{Downgrade to Upgrade: Optimizer Simplification Enhances Robustness in LLM Unlearning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=Sswng2ToR4},
}
Figure