Contrastive Representation Shaping for LLM Unlearning
On the map: LLM safety and security → Machine unlearning
Abstract (arXiv)
Most LLM unlearning methods aim to approximate retrain-from-scratch behaviors with minimal distribution shift, often via alignment-style objectives defined in the prediction space. While effective at reducing forgotten content generation, such approaches may act as suppression: forgotten concepts can persist in representations and remain entangled with retained knowledge. We introduce CLReg, a contrastive representation regularizer that identifies forget features while pushing them away from retain features, reducing forget--retain interference while empirically preserving the scale and shape of retain features. As light motivation for the mechanism, we provide a one-step analysis showing that CLReg decreases a simple entanglement proxy in the embedding space. Across unlearning benchmarks and LLMs of different sizes, CLReg decreases forget-retain representation entanglement to enhance mainstream unlearning methods without extra privacy risks, inspiring future unlearning work to remove forget concepts via representation shaping. Code is available at https://github.com/HaoranTang/CLReg.
Key facts. Cited by 7 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 39 references that are in the map. First posted on arXiv 29 Jan 2026.
Builds on
35 of 39 references.
Closest ancestors · 18
Same direction, newest first
- 2025LLM Unlearning with LLM Beliefs22 Oct
- 2025CoUn: Empowering Machine Unlearning via Contrastive Learning19 Sep
- 2025Sharpness-Aware Machine Unlearning16 Jun
- 2025OpenUnlearning: Accelerating LLM Unlearning via Unified Benchmarking of Methods and Metrics14 Jun
- 2025Constrained Entropic Unlearning: A Primal-Dual Framework for Large Language Models5 Jun
- 2024LLM Unlearning via Loss Adjustment with Only Forget Data14 Oct
- 2024Simplicity Prevails: Rethinking Negative Preference Optimization for LLM Unlearning9 Oct
- 2024Dissecting Fine-Tuning Unlearning in Large Language Models9 Oct
- 2024MUSE: Machine Unlearning Six-Way Evaluation for Language Models8 Jul
- 2024What makes unlearning hard and what to do about it3 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
6 more
- 2024Rethinking Machine Unlearning for Large Language Models13 Feb
- 2024Contrastive Unlearning: A Contrastive Approach to Machine Unlearning19 Jan
- 2024TOFU: A Task of Fictitious Unlearning for LLMs11 Jan
- 2023SalUn: Empowering Machine Unlearning via Gradient-based Weight Saliency in Both Image Classification and Generation19 Oct
- 2023Large Language Model Unlearning14 Oct
- 2021Machine Unlearning of Features and Labels26 Aug
Other references · 17
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,898
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2024SimPO: Simple Preference Optimization with a Reference-Free Rewardcited by 963
- 2019Eternal Sunshine of the Spotless Net: Selective Forgetting in Deep Networkscited by 618
- 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
- 2024The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearningcited by 509
5 more
- 2024Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translationcited by 394
- 2020Amnesiac Machine Learningcited by 319
- 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 311
- 2020Approximate Data Deletion from Machine Learning Modelscited by 255
- 2020Unraveling Meta-Learning: Understanding Feature Representations for Few-Shot Taskscited by 47
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026The Latent Space: Foundation, Evolution, Mechanism, Ability, and Outlookcited by 43
- 2026LLM Unlearning for Cyber Defense: A Survey on Methods, Challenges, and Emerging Threatscited by 0
- 2026Gradient Concentration, Not Weight Saliency, Explains Representation-Level Class Unlearningcited by 0
- 2026Entangled Representations Amplify Collateral Damage in Unlearningcited by 0
- 2026Unlearning Deceptive Behaviors in LLMs with Contrastive Forget Setscited by 0
- 2026Learning What to Forget: Distributional Unlearning for LLM Representation Spacescited by 0
- 2026RA2: Retain-Anchored Attraction Preserves Forget-Adjacent Utility in LLM Unlearningcited by 0
- 2026RA2: Retain-Anchored Attraction Preserves Forget-Adjacent Utility in LLM Unlearning14 Oct 2026
- 2026Learning What to Forget: Distributional Unlearning for LLM Representation Spaces30 Sep 2026
- 2026Unlearning Deceptive Behaviors in LLMs with Contrastive Forget Sets30 Sep 2026
- 2026Entangled Representations Amplify Collateral Damage in Unlearning2 Sep 2026
- 2026Gradient Concentration, Not Weight Saliency, Explains Representation-Level Class Unlearning23 Jul 2026
- 2026LLM Unlearning for Cyber Defense: A Survey on Methods, Challenges, and Emerging Threats23 Jun 2026
- 2026The Latent Space: Foundation, Evolution, Mechanism, Ability, and Outlook2 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2026Machine Unlearning under Retain-Forget Entanglement
- 2025Towards Mitigating Excessive Forgetting in LLM Unlearning via Entanglement-Guidance with Proxy Constraint
- 2026Quantization-Robust Unlearning through the Lens of Retain-Forget Loss Landscapes Interaction
- 2026Do LLMs Really Forget? Hidden-State Leakage in Model Unlearning and How to Fix it
- 2026Robust LLM Unlearning Against Relearning Attacks: The Minor Components in Representations Matter
- 2025LLM Unlearning on Noisy Forget Sets: A Study of Incomplete, Rewritten, and Watermarked Data
- 2026Representation-Guided Parameter-Efficient LLM Unlearning
- 2026Forgetting Only What Matters: Layer-Selective Unlearning toward Robust LLMs