Constrained Entropic Unlearning: A Primal-Dual Framework for Large Language Models
On the map: LLM safety and security → Machine unlearning
Abstract (arXiv)
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.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Machine unlearning, one of 12 directions in LLM safety and security. Builds on 35 of its 54 references that are in the map. First posted on arXiv 5 Jun 2025.
Builds on
35 of 54 references.
Closest ancestors · 15
Same direction, newest first
- 2025Rethinking LLM Unlearning Objectives: A Gradient Perspective and Go Beyond26 Feb
- 2024Multi-Objective Large Language Model Unlearning29 Dec
- 2024Unlearning as multi-task optimization: A normalized gradient difference approach with an adaptive learning rate29 Oct
- 2024LLM Unlearning via Loss Adjustment with Only Forget Data14 Oct
- 2024A Closer Look at Machine Unlearning for Large Language Models10 Oct
- 2024Simplicity Prevails: Rethinking Negative Preference Optimization for LLM Unlearning9 Oct
- 2024Unlearning or Obfuscating? Jogging the Memory of Unlearned LLMs via Benign Relearning19 Jun
- 2024Towards Effective Evaluations and Comparisons for LLM Unlearning Methods13 Jun
- 2024Reversing the Forget-Retain Objectives: An Efficient LLM Unlearning Framework from Logit Difference12 Jun
- 2024Large Language Model Unlearning via Embedding-Corrupted Prompts12 Jun
- 2024Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearning8 Apr
- 2024UNDIAL: Self-Distillation with Adjusted Logits for Robust Unlearning in Large Language Models15 Feb
3 more
Other references · 20
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2021Convex optimizationcited by 2,515
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,947
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,414
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2019Machine Unlearningcited by 1,061
- 2019ClinicalBERT: Modeling Clinical Notes and Predicting Hospital Readmissioncited by 493
- 2023Detecting Pretraining Data from Large Language Modelscited by 387
8 more
- 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 220
- 2023Can Sensitive Information Be Deleted From LLMs? Objectives for Defending Against Extraction Attackscited by 158
- 2020TLDR: Extreme Summarization of Scientific Documentscited by 136
- 2024Min-K%++: Improved Baseline for Detecting Pre-Training Data from Large Language Modelscited by 103
- 2019Safe Policies for Reinforcement Learning via Primal-Dual Methodscited by 79
- 2024One-Shot Safety Alignment for Large Language Models via Optimal Dualizationcited by 24
- 2024Pandora's White-Box: Precise Training Data Detection and Extraction in Large Language Modelscited by 11
- 2023Primal Dual Continual Learning: Balancing Stability and Plasticity through Adaptive Memory Allocationcited by 4
Built on by
Citing papers per year: 2025: 2; 2026: 8.
10 papers.
- 2025OpenUnlearning: Accelerating LLM Unlearning via Unified Benchmarking of Methods and Metricscited by 83
- 2026Maximizing Local Entropy Where It Matters: Prefix-Aware Localized LLM Unlearningcited by 10
- 2026Contrastive Representation Shaping for LLM Unlearningcited by 7
- 2025Forget to Know, Remember to Use: Context-Aware Unlearning for Large Language Modelscited by 3
- 2026Position: The Term "Machine Unlearning" Is Overused in LLMscited by 3
- 2026Inference-Time Machine Unlearning via Gated Activation Redirectioncited by 2
- 2026Fast Unlearning at Scale via Margin Self-Correctioncited by 0
- 2026SAGE: Retain-Aware Post-Hoc Sanitization of Final Unlearning Vectorcited by 0
- 2026Beyond Average Safety: Chance-Constrained LLM Fine-tuningcited by 0
- 2026LLM Persona Unlearningcited by 0
- 2026LLM Persona Unlearning30 Sep 2026
- 2026Beyond Average Safety: Chance-Constrained LLM Fine-tuning24 Sep 2026
- 2026SAGE: Retain-Aware Post-Hoc Sanitization of Final Unlearning Vector16 Jun 2026
- 2026Fast Unlearning at Scale via Margin Self-Correction1 Jun 2026
- 2026Inference-Time Machine Unlearning via Gated Activation Redirection12 May 2026
- 2026Position: The Term "Machine Unlearning" Is Overused in LLMs8 May 2026
- 2026Contrastive Representation Shaping for LLM Unlearning29 Jan 2026
- 2026Maximizing Local Entropy Where It Matters: Prefix-Aware Localized LLM Unlearning6 Jan 2026
- 2025Forget to Know, Remember to Use: Context-Aware Unlearning for Large Language Models20 Oct 2025
- 2025OpenUnlearning: Accelerating LLM Unlearning via Unified Benchmarking of Methods and Metrics14 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2026SHRED: Retain-Set-Free Unlearning via Self-Distillation with Logit Demotion
- 2025Unlearning That Lasts: Utility-Preserving, Robust, and Almost Irreversible Forgetting in LLMs
- 2026SAUL: Sharpness-Aware Augmented-Lagrangian Unlearning
- 2026FIT to Forget: Robust Continual Unlearning for Large Language Models
- 2026SAU: Sparsity-Aware Unlearning for LLMs via Gradient Masking and Importance Redistribution
- 2026Null-Space Constrained Low-Rank Adaptation for Response-Specified Large Language Model Unlearning
- 2025LLM Unlearning on Noisy Forget Sets: A Study of Incomplete, Rewritten, and Watermarked Data
- 2026Unlearning in LLMs: Methods, Evaluation, and Open Challenges