NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

$\textbf{AGT$^{AO}$}$: Robust and Stabilized LLM Unlearning via Adversarial Gating Training with Adaptive Orthogonality

Pengyu Li, Lingling Zhang, Zhitao Gao, Yanrui Wu, Yuxuan Dong, Huan Liu, Bifan Wei, Jun Liu

TL;DR

AGT$^{AO}$ (Adversarial Gating Training with Adaptive Orthogonality) is a novel framework designed to solve the fundamental trade-off in Large Language Model (LLM) unlearning: erasing sensitive data without destroying the model's general capabilities. By dynamically mitigating gradient conflicts and simulating internal data-recovery attacks during training, it achieves robust information erasure while maintaining high generation fluency and general utility.

What Problem Does This Paper Address?

As Large Language Models (LLMs) scale, they inadvertently memorize sensitive, copyrighted, or hazardous information from their training data. While "machine unlearning" aims to surgically remove this data without the massive cost of retraining a model from scratch, current methods fall into two major traps:

  1. Catastrophic Forgetting: Aggressive unlearning strategies degrade the model's general utility, causing it to output gibberish or repetitive text even on completely unrelated topics.
  2. Superficial Forgetting: Overly conservative strategies merely "mask" the target data. The underlying knowledge remains intact and can easily be recovered via adversarial jailbreak queries, quantization, or fine-tuning attacks.
Figure 1: Comparison of unlearning outcomes between a standard baseline (Vanilla) and our proposed AGTAO

The authors introduce AGT$^{AO}$ to bridge this gap, ensuring that forgotten knowledge is permanently erased while benign capabilities remain unharmed.

Methods

The AGT$^{AO}$ framework relies on two core pillars to stabilize and secure the unlearning process:

1. Adaptive Orthogonality (AO)

Standard unlearning methods typically optimize a naive linear combination of a "forget loss" (gradient ascent) and a "retain loss" (gradient descent). However, this often causes geometric gradient conflicts where the two objectives pull the model's parameters in opposing directions ($g_f \cdot g_r < 0$).

AO introduces a soft regularization penalty that activates only when gradients conflict. It dynamically orthogonalizes the updates, suppressing the conflicting components to ensure that the parameters required for general knowledge are left undisturbed.

2. Adversarial Gating Training (AGT)

To prevent superficial forgetting, AGT formulates unlearning as a latent-space min-max game:

  • Inner Loop (The Attacker): Uses Projected Gradient Descent (PGD) to find the "worst-case" activation perturbations ($\delta$) at an intermediate layer, attempting to force the model to recall the forgotten data.
  • Outer Loop (The Defender): Updates the model's parameters to resist these internal recovery attempts, ensuring deep erasure.

To keep this adversarial process from destabilizing the model early on, the authors implement Gradient-Norm-Based Gating. This curriculum strategy uses a standard warm-up phase and only injects adversarial pressure once the optimization trajectory settles into a relatively flat region of the loss landscape.

Overview of the AGT$^{AO}$ framework including the perturbation attack and AO penalty visualization

Datasets

The authors evaluated their framework across three distinct unlearning benchmarks:

  • TOFU: A dataset of fictional biographies used to evaluate the erasure of specific personal identities (using the forget10% subset).
  • MUSE (News and Books): Simulates real-world copyright removal requests using specific news articles and book passages.
  • WMDP (Cyber subset): The Weapons of Mass Destruction Proxy benchmark, used to measure the removal of hazardous cybersecurity capabilities.

Key Insights and Ideas

  • The "Semantic Entry" Layer: Through layer-wise sensitivity analysis, the authors discovered that intermediate layers (specifically Layer 10 in Llama-2-7B) act as a critical transition point from syntax to semantics. Injecting adversarial perturbations at this "Semantic Entry" triggers a cascading defense, forcing the model to break down parametric dependencies right where meaning is formed.
  • True Erasure vs. Weight Masking: The paper highlights that standard methods fail under 4-bit quantization because they only obscure the target data. AGT$^{AO}$ forces the model toward a flat minimum, fundamentally altering the network's internal representations.
  • Perturbations are Concept-Aligned: Cosine similarity analysis revealed that the latent perturbations generated during adversarial training naturally align with "forget-related concepts" rather than acting as random stochastic noise.

Key Results

AGT$^{AO}$ was tested against prominent baselines (including Gradient Ascent, NPO, RMU, and LAT) using models like LLaMA2-7b-chat, Gemma-2b-it, and Zephyr-7b-beta.

  • Superior Efficacy: On TOFU and MUSE, the framework achieved near-optimal Knowledge Unlearning Ratios (KUR $\approx$ 0.01–0.05), significantly outperforming advanced baselines like LAT and RMU.
  • Utility Preservation: On the WMDP benchmark, AGT$^{AO}$ maintained the highest general MMLU score (58.30), matching or exceeding the retrained baseline while successfully neutralizing cyber threats.
  • Quantization Robustness: While vanilla and NPO baselines suffered a massive "memory rebound" under 4-bit quantization (with recall spikes exceeding 1900%), AGT$^{AO}$ remained completely stable, proving the permanence of its erasure.
Impact of 4-bit quantization attacks on various unlearning methods

Limitations and Future Work

Despite its strong performance, the authors note two primary limitations:

  1. Computational Overhead: The min-max game in the inner loop requires multiple PGD steps, introducing additional computational costs compared to standard fine-tuning. Future work will focus on optimizing this efficiency.
  2. Scalability: The current experimental scope was limited to 2B and 7B parameter models. The authors plan to validate the scalability of AGT$^{AO}$ on much larger foundation models in future iterations.

Summary updated

BibTeX
@inproceedings{li2026textbf,
  author = {Pengyu Li and Lingling Zhang and Zhitao Gao and Yanrui Wu and Yuxuan Dong and Huan Liu and Bifan Wei and Jun Liu},
  title = {{$\textbackslash\{\}textbf\{AGT$^\{AO\}$\}$: Robust and Stabilized LLM Unlearning via Adversarial Gating Training with Adaptive Orthogonality}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.findings-acl.665},
}
Figure