Inoculation Prompting: Instructing LLMs to misbehave at train-time improves test-time alignment
On the map: LLM alignment / RLHF / preference optimisation → Reward hacking and misspecification
Abstract (arXiv)
Large language models are sometimes trained with imperfect oversight signals, leading to undesired behaviors such as reward hacking and sycophancy. Improving oversight quality can be expensive or infeasible, motivating methods that improve learned behavior despite an imperfect training signal. We introduce Inoculation Prompting (IP), a simple but counterintuitive technique that prevents learning of an undesired behavior by modifying training prompts to explicitly request it. For example, to inoculate against reward hacking, we modify the prompts used in supervised fine-tuning to request code that only works on provided test cases but fails on other inputs. Across four settings we find that IP reduces the learning of undesired behavior without substantially reducing the learning of desired capabilities. We also show that prompts which more strongly elicit the undesired behavior prior to fine-tuning more effectively inoculate against the behavior when used during training; this serves as a heuristic to identify promising inoculation prompts. Overall, IP is a simple yet effective way to control how models generalize from fine-tuning, preventing learning of undesired behaviors without substantially disrupting desired capabilities.
Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Placed in Reward hacking and misspecification, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 22 of its 31 references that are in the map. First posted on arXiv 6 Oct 2025.
Builds on
22 of 31 references.
Closest ancestors · 1
Same direction, newest first
Other references · 21
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2017Deep reinforcement learning from human preferencescited by 3,846
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,143
- 2023Towards Understanding Sycophancy in Language Modelscited by 988
- 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
- 2024A StrongREJECT for Empty Jailbreakscited by 352
- 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 337
- 2025Persona Vectors: Monitoring and Controlling Character Traits in Language Modelscited by 303
- 2021Recursively Summarizing Books with Human Feedbackcited by 287
- 2023Pretraining Language Models with Human Preferencescited by 245
9 more
- 2025Emergent Misalignment: Narrow finetuning can produce broadly misaligned LLMscited by 158
- 2024Keeping LLMs Aligned After Fine-tuning: The Crucial Role of Prompt Templatescited by 94
- 2022CEBaB: Estimating the Causal Effects of Real-World Concepts on NLP Model Behaviorcited by 54
- 2023Explore Spurious Correlations at the Concept Level in Language Models for Text Classificationcited by 48
- 2025Safety Pretraining: Toward the Next Generation of Safe AIcited by 35
- 2025Inoculation Prompting: Eliciting traits from LLMs during training can suppress them at test-timecited by 32
- 2024Gradient Routing: Masking Gradients to Localize Computation in Neural Networkscited by 28
- 2025LookAhead Tuning: Safer Language Models via Partial Answer Previewscited by 7
- 2025Efficient Switchable Safety Control in LLMs via Magic-Token-Guided Co-Trainingcited by 7
Built on by
Citing papers per year: 2025: 3; 2026: 29.
32 papers.
Sort:
By area:
- 2025Natural Emergent Misalignment from Reward Hacking in Production RLcited by 111
- 2026Countdown-Code: A Testbed for Studying The Emergence and Generalization of Reward Hacking in RLVRcited by 15
- 2025Spilling the Beans: Teaching LLMs to Self-Report Their Hidden Objectivescited by 13
- 2025Recontextualization Mitigates Specification Gaming without Modifying the Specificationcited by 11
- 2026Shaping capabilities with token-level data filteringcited by 11
- 2026Alignment midtraining for animalscited by 4
- 2026Removing Sandbagging in LLMs by Training with Weak Supervisioncited by 3
- 2026BLOCK-EM: Preventing Emergent Misalignment via Latent Blockingcited by 2
- 2026Reinforcement Learning Can Amplify Emergent Misalignment from Harmless Rewardscited by 2
- 2026Objective Matters: Fine-Tuning Objectives Shape Safety, Robustness, and Persona Driftcited by 1
- 2026Weird Generalization is Weirdly Brittlecited by 1
- 2026Shifting the Gradient: Understanding How Defensive Training Methods Protect Language Model Integritycited by 1
20 more
- 2026Consistency Training Can Entrench Misalignmentcited by 1
- 2026Consistency Training Along the Transformer Stackcited by 1
- 2026The Piggyback Hypothesis of Generalization: Explaining and Mitigating Emergent Misalignmentcited by 1
- 2026Generalization Hacking: Models Can Game Reinforcement Learning by Preventing Behavioral Generalizationcited by 1
- 2026Self-Recognition Finetuning can Prevent and Reverse Emergent Misalignmentcited by 1
- 2026Reinforcement Learning Towards Broadly and Persistently Beneficial Modelscited by 1
- 2026Inoculation Adapters: Improved Selective Generalization of Capabilities with Fewer Surprising Backdoorscited by 1
- 2026Mark, Don't Erase: Token Inoculation for Dual-Use Knowledge in LLMscited by 1
- 2026Data Attribution of Emergent Misalignment with Persona Featurescited by 1
- 2026Mechanist: AI as a Scientific Instrument for Discovering the Mechanisms of Intelligencecited by 1
- 2026Safety Training Modulates Harmful Misalignment Under On-Policy RL, But Direction Depends on Environment Designcited by 0
- 2026Fuzzing Large Language Models to Elicit Hidden Behaviourscited by 0
- 2026Evaluation-Conditioned Training: Teaching Models to Generalize to Stronger Oversight Regimescited by 0
- 2026On the Threat Model of Weird Generalization and Emergent Misalignmentcited by 0
- 2026Inducing Emergent Misalignment from Reward Hacks with Iterative DPOcited by 0
- 2026Active Adaptation, Not Static Defense: Temporal Dynamics of Preventative Steering in Adversarial Fine-Tuningcited by 0
- 2026Shallow Beliefs: Synthetic document finetuning does not inoculate against emergent misalignment from reward hackingcited by 0
- 2026Correct, Don't Delete: Mitigating Emergent Misalignment with Corrective Supervisioncited by 0
- 2026The Unequal Influence of Bad Advice: Using Training Data Attribution to Modulate Emergent Misalignmentcited by 0
- 2026Distillation for Incrimination and Distillation for Capabilitiescited by 0
- 2026Distillation for Incrimination and Distillation for Capabilities7 Oct 2026
- 2026The Unequal Influence of Bad Advice: Using Training Data Attribution to Modulate Emergent Misalignment29 Sep 2026
- 2026Correct, Don't Delete: Mitigating Emergent Misalignment with Corrective Supervision29 Sep 2026
- 2026Shallow Beliefs: Synthetic document finetuning does not inoculate against emergent misalignment from reward hacking14 Sep 2026
- 2026Active Adaptation, Not Static Defense: Temporal Dynamics of Preventative Steering in Adversarial Fine-Tuning9 Sep 2026
- 2026Inducing Emergent Misalignment from Reward Hacks with Iterative DPO6 Sep 2026
- 2026On the Threat Model of Weird Generalization and Emergent Misalignment24 Aug 2026
- 2026Mechanist: AI as a Scientific Instrument for Discovering the Mechanisms of Intelligence12 Aug 2026
- 2026Data Attribution of Emergent Misalignment with Persona Features11 Aug 2026
- 2026Evaluation-Conditioned Training: Teaching Models to Generalize to Stronger Oversight Regimes10 Aug 2026
- 2026Mark, Don't Erase: Token Inoculation for Dual-Use Knowledge in LLMs21 Jul 2026
- 2026Inoculation Adapters: Improved Selective Generalization of Capabilities with Fewer Surprising Backdoors29 Jun 2026
20 more
- 2026Fuzzing Large Language Models to Elicit Hidden Behaviours28 Jun 2026
- 2026Reinforcement Learning Towards Broadly and Persistently Beneficial Models22 Jun 2026
- 2026Generalization Hacking: Models Can Game Reinforcement Learning by Preventing Behavioral Generalization10 Jun 2026
- 2026Self-Recognition Finetuning can Prevent and Reverse Emergent Misalignment4 Jun 2026
- 2026The Piggyback Hypothesis of Generalization: Explaining and Mitigating Emergent Misalignment4 Jun 2026
- 2026Consistency Training Along the Transformer Stack4 Jun 2026
- 2026Consistency Training Can Entrench Misalignment2 Jun 2026
- 2026Reinforcement Learning Can Amplify Emergent Misalignment from Harmless Rewards29 May 2026
- 2026Removing Sandbagging in LLMs by Training with Weak Supervision23 Apr 2026
- 2026Safety Training Modulates Harmful Misalignment Under On-Policy RL, But Direction Depends on Environment Design14 Apr 2026
- 2026Weird Generalization is Weirdly Brittle11 Apr 2026
- 2026Shifting the Gradient: Understanding How Defensive Training Methods Protect Language Model Integrity3 Apr 2026
- 2026Alignment midtraining for animals21 Mar 2026
- 2026Countdown-Code: A Testbed for Studying The Emergence and Generalization of Reward Hacking in RLVR7 Mar 2026
- 2026BLOCK-EM: Preventing Emergent Misalignment via Latent Blocking31 Jan 2026
- 2026Shaping capabilities with token-level data filtering29 Jan 2026
- 2026Objective Matters: Fine-Tuning Objectives Shape Safety, Robustness, and Persona Drift19 Jan 2026
- 2025Recontextualization Mitigates Specification Gaming without Modifying the Specification22 Dec 2025
- 2025Natural Emergent Misalignment from Reward Hacking in Production RL23 Nov 2025
- 2025Spilling the Beans: Teaching LLMs to Self-Report Their Hidden Objectives10 Nov 2025
- 2025Natural Emergent Misalignment from Reward Hacking in Production RLcited by 111
- 2026Countdown-Code: A Testbed for Studying The Emergence and Generalization of Reward Hacking in RLVRcited by 15
- 2026Objective Matters: Fine-Tuning Objectives Shape Safety, Robustness, and Persona Driftcited by 1
- 2026Reinforcement Learning Towards Broadly and Persistently Beneficial Modelscited by 1
- 2026Inducing Emergent Misalignment from Reward Hacks with Iterative DPOcited by 0
- 2026Shallow Beliefs: Synthetic document finetuning does not inoculate against emergent misalignment from reward hackingcited by 0
- 2026Shallow Beliefs: Synthetic document finetuning does not inoculate against emergent misalignment from reward hacking14 Sep 2026
- 2026Inducing Emergent Misalignment from Reward Hacks with Iterative DPO6 Sep 2026
- 2026Reinforcement Learning Towards Broadly and Persistently Beneficial Models22 Jun 2026
- 2026Countdown-Code: A Testbed for Studying The Emergence and Generalization of Reward Hacking in RLVR7 Mar 2026
- 2026Objective Matters: Fine-Tuning Objectives Shape Safety, Robustness, and Persona Drift19 Jan 2026
- 2025Natural Emergent Misalignment from Reward Hacking in Production RL23 Nov 2025
- 2025Recontextualization Mitigates Specification Gaming without Modifying the Specificationcited by 11
- 2026Shaping capabilities with token-level data filteringcited by 11
- 2026Alignment midtraining for animalscited by 4
- 2026Removing Sandbagging in LLMs by Training with Weak Supervisioncited by 3
- 2026BLOCK-EM: Preventing Emergent Misalignment via Latent Blockingcited by 2
- 2026Reinforcement Learning Can Amplify Emergent Misalignment from Harmless Rewardscited by 2
- 2026Weird Generalization is Weirdly Brittlecited by 1
- 2026Shifting the Gradient: Understanding How Defensive Training Methods Protect Language Model Integritycited by 1
- 2026Consistency Training Can Entrench Misalignmentcited by 1
- 2026Consistency Training Along the Transformer Stackcited by 1
- 2026The Piggyback Hypothesis of Generalization: Explaining and Mitigating Emergent Misalignmentcited by 1
- 2026Generalization Hacking: Models Can Game Reinforcement Learning by Preventing Behavioral Generalizationcited by 1
12 most cited of 22 All 22 (JSON)
- 2026Distillation for Incrimination and Distillation for Capabilities7 Oct 2026
- 2026The Unequal Influence of Bad Advice: Using Training Data Attribution to Modulate Emergent Misalignment29 Sep 2026
- 2026Correct, Don't Delete: Mitigating Emergent Misalignment with Corrective Supervision29 Sep 2026
- 2026Active Adaptation, Not Static Defense: Temporal Dynamics of Preventative Steering in Adversarial Fine-Tuning9 Sep 2026
- 2026On the Threat Model of Weird Generalization and Emergent Misalignment24 Aug 2026
- 2026Mechanist: AI as a Scientific Instrument for Discovering the Mechanisms of Intelligence12 Aug 2026
- 2026Data Attribution of Emergent Misalignment with Persona Features11 Aug 2026
- 2026Evaluation-Conditioned Training: Teaching Models to Generalize to Stronger Oversight Regimes10 Aug 2026
- 2026Inoculation Adapters: Improved Selective Generalization of Capabilities with Fewer Surprising Backdoors29 Jun 2026
- 2026Generalization Hacking: Models Can Game Reinforcement Learning by Preventing Behavioral Generalization10 Jun 2026
- 2026The Piggyback Hypothesis of Generalization: Explaining and Mitigating Emergent Misalignment4 Jun 2026
- 2026Consistency Training Along the Transformer Stack4 Jun 2026
12 newest of 22 All 22 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Digging Into the Internal: Causality-Based Analysis of LLM Function Calling
- 2026Do as I Say, Not as I Do: Instruction-Induction Conflict in LLMs
- 2025Improving Complex Reasoning with Dynamic Prompt Corruption: A soft prompt Optimization Approach
- 2025Self-Supervised Prompt Optimization
- 2024Linear Probe Penalties Reduce LLM Sycophancy
- 2025Rethinking Prompt Optimizers: From Prompt Merits to Optimization
- 2025You Don't Need Prompt Engineering Anymore: The Prompting Inversion
- 2026Reflective Prompt Tuning through Language Model Function-Calling