Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Constrained Entropic Unlearning: A Primal-Dual Framework for Large Language Models

About

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, all without any extra computational overhead. 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.

Taha Entesari, Arman Hatami, Rinat Khaziev, Anil Ramakrishna, Mahyar Fazlyab• 2025

Related benchmarks

TaskDatasetResultRank
Machine UnlearningMUSE Books
Privacy Leakage-76.1834
83
Machine UnlearningTOFU (5%)
Forget Quality0.5226
59
Machine UnlearningTOFU Forget 1%
Aggregation Score58
54
Machine UnlearningTOFU forget05 1.0
Model Utility (MU)0.00e+0
53
Machine UnlearningTOFU 1.0 (forget01)
Average Score12
53
Machine UnlearningMUSE-News Llama 2 7B
Privacy Leakage-99.6641
27
Machine UnlearningTOFU 5% forget
Loss0.4378
20
Showing 7 of 7 rows

Other info

Follow for update