Inoculation Prompting: Eliciting traits from LLMs during training can suppress them at test-time
Not on the map. Why?
Abstract (arXiv)
Language model finetuning often results in learning undesirable traits in combination with desired ones. To address this, we propose inoculation prompting: modifying finetuning data by prepending a short system-prompt instruction that deliberately elicits the undesirable trait. At test time, we evaluate without the instruction; inoculated models have much lower expression of the trait than models trained with unmodified training data. Inoculation is selective: in a toy setting where assistant responses are always in Spanish and ALL-CAPS, an appropriate inoculation (e.g., ``You always speak in Spanish.'') teaches the model to capitalize responses while still responding in English. We find that inoculation is also effective across several additional settings: reducing emergent misalignment (EM) from task-specific finetuning, defending against backdoor injections, and mitigating the transmission of traits via subliminal learning. Follow-up analysis suggests a mechanism: making a trait less surprising via inoculation reduces optimization pressure to globally update the model, thereby reducing the degree of generalization. Our analysis relates to prior work on EM: inoculation explains prior findings that educational contexts mitigate EM from insecure code. Beyond demonstrating a simple and effective technique for selective learning, our results contribute to a better conceptual understanding of how and why language models generalize.
Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 38 of its 50 references that are in the map. First posted on arXiv 5 Oct 2025.
Builds on
38 of 50 references.
References · 38
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
26 more
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
- 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
- 2023RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedbackcited by 615
- 2022Unnatural Instructions: Tuning Language Models with (Almost) No Human Laborcited by 395
- 2023Understanding the Effects of RLHF on LLM Generalisation and Diversitycited by 386
- 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 377
- 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 374
- 2025Persona Vectors: Monitoring and Controlling Character Traits in Language Modelscited by 303
- 2022UL2: Unifying Language Learning Paradigmscited by 292
- 2023Pretraining Language Models with Human Preferencescited by 245
- 2025Emergent Misalignment: Narrow finetuning can produce broadly misaligned LLMscited by 158
- 2022Goal Misgeneralization: Why Correct Specifications Aren't Enough For Correct Goalscited by 120
- 2025Subliminal Learning: Language models transmit behavioral traits via hidden signals in datacited by 89
- 2025Tell me about yourself: LLMs are aware of their learned behaviorscited by 86
- 2025School of Reward Hacks: Hacking harmless tasks generalizes to misaligned behavior in LLMscited by 58
- 2025Thought Crime: Backdoors and Emergent Misalignment in Reasoning Modelscited by 57
- 2024Persistent Pre-Training Poisoning of LLMscited by 46
- 2025Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMscited by 37
- 2025Safety Pretraining: Toward the Next Generation of Safe AIcited by 35
- 2025Steering Out-of-Distribution Generalization with Concept Ablation Fine-Tuningcited by 34
- 2024Gradient Routing: Masking Gradients to Localize Computation in Neural Networkscited by 28
- 2024Scaling Trends for Data Poisoning in LLMscited by 26
- 2025Compromising Honesty and Harmlessness in Language Models via Deception Attackscited by 17
- 2025Causal Estimation of Tokenisation Biascited by 16
- 2025Generative Data Refinement: Just Ask for Better Datacited by 6
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
- 2025Inoculation Prompting: Instructing LLMs to misbehave at train-time improves test-time alignmentcited by 32
- 2025Recontextualization Mitigates Specification Gaming without Modifying the Specificationcited by 11
- 2026Shaping capabilities with token-level data filteringcited by 11
- 2026From Data to Behavior: Predicting Unintended Model Behaviors Before Trainingcited by 6
- 2026Emergent and Subliminal Misalignment Through the Lens of Data-Mediated Transfercited by 6
- 2026Evolutionary System Prompt Learning for Reinforcement Learning in LLMscited by 5
- 2026From Rebound to Remedy: Understanding and Mitigating Reward Hacking via Representation Engineeringcited by 5
- 2026Narrow Fine-Tuning Erodes Safety Alignment in Vision-Language Agentscited by 4
- 2026Removing Sandbagging in LLMs by Training with Weak Supervisioncited by 3
- 2026Towards Understanding Specification Gaming in Reasoning Modelscited by 3
- 2026When Role-playing, Do Models Believe What They Say?cited by 3
20 more
- 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
- 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
- 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
- 2026Transplanting, inverting, and preventing a misalignment persona: method-conditional emergent misalignment in Qwen2.5cited 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
- 2026Distillation for Incrimination and Distillation for Capabilitiescited by 0
- 2026Distillation for Incrimination and Distillation for Capabilities7 Oct 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
- 2026Transplanting, inverting, and preventing a misalignment persona: method-conditional emergent misalignment in Qwen2.55 Jul 2026
- 2026Inoculation Adapters: Improved Selective Generalization of Capabilities with Fewer Surprising Backdoors29 Jun 2026
- 2026Fuzzing Large Language Models to Elicit Hidden Behaviours28 Jun 2026
20 more
- 2026Generalization Hacking: Models Can Game Reinforcement Learning by Preventing Behavioral Generalization10 Jun 2026
- 2026When Role-playing, Do Models Believe What They Say?9 Jun 2026
- 2026The Piggyback Hypothesis of Generalization: Explaining and Mitigating Emergent Misalignment4 Jun 2026
- 2026Consistency Training Along the Transformer Stack4 Jun 2026
- 2026Reinforcement Learning Can Amplify Emergent Misalignment from Harmless Rewards29 May 2026
- 2026Emergent and Subliminal Misalignment Through the Lens of Data-Mediated Transfer12 May 2026
- 2026Towards Understanding Specification Gaming in Reasoning Models4 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
- 2026From Rebound to Remedy: Understanding and Mitigating Reward Hacking via Representation Engineering1 Apr 2026
- 2026Narrow Fine-Tuning Erodes Safety Alignment in Vision-Language Agents18 Feb 2026
- 2026Evolutionary System Prompt Learning for Reinforcement Learning in LLMs16 Feb 2026
- 2026From Data to Behavior: Predicting Unintended Model Behaviors Before Training4 Feb 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
- 2025Inoculation Prompting: Instructing LLMs to misbehave at train-time improves test-time alignment6 Oct 2025
- 2025Natural Emergent Misalignment from Reward Hacking in Production RLcited by 111
- 2025Inoculation Prompting: Instructing LLMs to misbehave at train-time improves test-time alignmentcited by 32
- 2026From Rebound to Remedy: Understanding and Mitigating Reward Hacking via Representation Engineeringcited by 5
- 2026Objective Matters: Fine-Tuning Objectives Shape Safety, Robustness, and Persona Driftcited 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
- 2026From Rebound to Remedy: Understanding and Mitigating Reward Hacking via Representation Engineering1 Apr 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
- 2025Inoculation Prompting: Instructing LLMs to misbehave at train-time improves test-time alignment6 Oct 2025
- 2025Recontextualization Mitigates Specification Gaming without Modifying the Specificationcited by 11
- 2026Shaping capabilities with token-level data filteringcited by 11
- 2026From Data to Behavior: Predicting Unintended Model Behaviors Before Trainingcited by 6
- 2026Emergent and Subliminal Misalignment Through the Lens of Data-Mediated Transfercited by 6
- 2026Removing Sandbagging in LLMs by Training with Weak Supervisioncited by 3
- 2026When Role-playing, Do Models Believe What They Say?cited by 3
- 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 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 21 All 21 (JSON)
- 2026Distillation for Incrimination and Distillation for Capabilities7 Oct 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
- 2026Transplanting, inverting, and preventing a misalignment persona: method-conditional emergent misalignment in Qwen2.55 Jul 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
- 2026When Role-playing, Do Models Believe What They Say?9 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 21 All 21 (JSON)