Constrained Entropic Unlearning: A Primal-Dual Framework for Large Language Models
By: Taha Entesari , Arman Hatami , Rinat Khaziev and more
Potential Business Impact:
Removes bad info from AI, keeps good info.
Large Language Models (LLMs) deployed in real-world settings increasingly face the need to unlearn sensitive, outdated, or proprietary information. Existing unlearning methods typically formulate forgetting and retention as a regularized trade-off, combining both objectives into a single scalarized loss. This often leads to unstable optimization and degraded performance on retained data, especially under aggressive forgetting. We propose a new formulation of LLM unlearning as a constrained optimization problem: forgetting is enforced via a novel logit-margin flattening loss that explicitly drives the output distribution toward uniformity on a designated forget set, while retention is preserved through a hard constraint on a separate retain set. Compared to entropy-based objectives, our loss is softmax-free, numerically stable, and maintains non-vanishing gradients, enabling more efficient and robust optimization. We solve the constrained problem using a scalable primal-dual algorithm that exposes the trade-off between forgetting and retention through the dynamics of the dual variable. Evaluations on the TOFU and MUSE benchmarks across diverse LLM architectures demonstrate that our approach consistently matches or exceeds state-of-the-art baselines, effectively removing targeted information while preserving downstream utility.
Similar Papers
Unlearning That Lasts: Utility-Preserving, Robust, and Almost Irreversible Forgetting in LLMs
Machine Learning (CS)
Removes bad info from AI, making it safer.
RULE: Reinforcement UnLEarning Achieves Forget-Retain Pareto Optimality
Computation and Language
Removes bad info from AI without breaking it.
Machine Unlearning Meets Adversarial Robustness via Constrained Interventions on LLMs
Machine Learning (CS)
Makes AI forget secrets and resist tricks.