Unlearning Deceptive Behaviors in LLMs with Contrastive Forget Sets
cs.LG, cs.AI
Submitted: 2026-09-30
Updated: 2026-09-30
License: http://creativecommons.org/licenses/by/4.0/
The gist: Large language models often know the truth and say otherwise: a model that answers correctly when asked neutrally will affirm a user's mistaken belief, or misstate a fact its system prompt wants
Abstract
Large language models often know the truth and say otherwise: a model that answers correctly when asked neutrally will affirm a user's mistaken belief, or misstate a fact its system prompt wants hidden, once the context rewards it. Such deception is a behavior conditioned on context, not knowledge, yet machine unlearning, the natural tool for removing a behavior from the weights, is built to forget facts that a deceptive model still needs. We propose to unlearn when a model deceives rather than what it knows, with a contrastive forget unit built from the model's own realized deceptions: the same question under a deception-triggering and a neutral context, admitted only where belief holds and behavior flips. Standard objectives on this unit face a dilemma. Suppression objectives such as NPO leave much of the deception in place. Target-based objectives, which distill the model's neutral behavior into the pressured context, remove it but induce context blindness: a target generated without the context teaches the model to stop reading it, eroding benign system-prompt instructions, secret-keeping and the reasoning a monitor inspects, a failure invisible to deception rates and capability benchmarks. We introduce PACT, which trains toward pressure-aware counterfactual targets (the model's own honest response, with a trace that registers the pressure and resists it) while retaining the benign uses of the triggering context. On two 32B reasoning models, PACT reduces held-out deception from over 50% to under 3% while system-prompt adherence, secret-keeping and the reasoning trace stay at the base model's level. On a tug-of-war score of removal against retention, PACT reaches 0.94 and 0.86, against at most 0.77 and 0.60 for any baseline. Like removed knowledge, removed deception is shallow under relearning, and terms that simulate the attacker hold it only at a cost in context use.
Sources
- A General Language Assistant as a Laboratory for Alignment
- Recontextualization Mitigates Specification Gaming without Modifying the Specification
- Constitutional AI: Harmlessness from AI Feedback
- Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscation
- Reasoning Models Don't Always Say What They Think
- Bias-Augmented Consistency Training Reduces Biased Reasoning in Chain-of-Thought
- Do Unlearning Methods Remove Information from Language Model Weights?
- Who's Harry Potter? Approximate Unlearning in LLMs
- Alignment faking in large language models
- On-Policy Consistency Training Improves LLM Safety with Minimal Capability Degradation
- Unlearning or Obfuscating? Jogging the Memory of Unlearned LLMs via Benign Relearning
- Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training
- Consistency Training Helps Stop Sycophancy and Jailbreaks
- Chain of Thought Monitorability: A New and Fragile Opportunity for AI Safety
- Liars' Bench: Evaluating Lie Detectors for Language Models
- LLM Unlearning with LLM Beliefs
- Learning by Distilling Context
- PreUnlearn: Auditing Collateral Knowledge Damage Before Large Language Model Unlearning
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks