mlsanityData to 7 Oct 2026

Inoculation Prompting: Eliciting traits from LLMs during training can suppress them at test-time

arXiv 2510.04340 ↗First posted 5 Oct 2025cs.CL cs.AIcited by 32

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

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  5. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  6. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  7. 2021Program Synthesis with Large Language Modelscited by 3,509
  8. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
  9. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  10. 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
  11. 2021Measuring Coding Challenge Competence With APPScited by 879
  12. 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
26 more
  1. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  2. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
  3. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
  4. 2023RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedbackcited by 615
  5. 2022Unnatural Instructions: Tuning Language Models with (Almost) No Human Laborcited by 395
  6. 2023Understanding the Effects of RLHF on LLM Generalisation and Diversitycited by 386
  7. 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 377
  8. 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 374
  9. 2025Persona Vectors: Monitoring and Controlling Character Traits in Language Modelscited by 303
  10. 2022UL2: Unifying Language Learning Paradigmscited by 292
  11. 2023Pretraining Language Models with Human Preferencescited by 245
  12. 2025Emergent Misalignment: Narrow finetuning can produce broadly misaligned LLMscited by 158
  13. 2022Goal Misgeneralization: Why Correct Specifications Aren't Enough For Correct Goalscited by 120
  14. 2025Subliminal Learning: Language models transmit behavioral traits via hidden signals in datacited by 89
  15. 2025Tell me about yourself: LLMs are aware of their learned behaviorscited by 86
  16. 2025School of Reward Hacks: Hacking harmless tasks generalizes to misaligned behavior in LLMscited by 58
  17. 2025Thought Crime: Backdoors and Emergent Misalignment in Reasoning Modelscited by 57
  18. 2024Persistent Pre-Training Poisoning of LLMscited by 46
  19. 2025Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMscited by 37
  20. 2025Safety Pretraining: Toward the Next Generation of Safe AIcited by 35
  21. 2025Steering Out-of-Distribution Generalization with Concept Ablation Fine-Tuningcited by 34
  22. 2024Gradient Routing: Masking Gradients to Localize Computation in Neural Networkscited by 28
  23. 2024Scaling Trends for Data Poisoning in LLMscited by 26
  24. 2025Compromising Honesty and Harmlessness in Language Models via Deception Attackscited by 17
  25. 2025Causal Estimation of Tokenisation Biascited by 16
  26. 2025Generative Data Refinement: Just Ask for Better Datacited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 29.

32 papers.

Sort:

By area:

  1. 2025Natural Emergent Misalignment from Reward Hacking in Production RLcited by 111
  2. 2025Inoculation Prompting: Instructing LLMs to misbehave at train-time improves test-time alignmentcited by 32
  3. 2025Recontextualization Mitigates Specification Gaming without Modifying the Specificationcited by 11
  4. 2026Shaping capabilities with token-level data filteringcited by 11
  5. 2026From Data to Behavior: Predicting Unintended Model Behaviors Before Trainingcited by 6
  6. 2026Emergent and Subliminal Misalignment Through the Lens of Data-Mediated Transfercited by 6
  7. 2026Evolutionary System Prompt Learning for Reinforcement Learning in LLMscited by 5
  8. 2026From Rebound to Remedy: Understanding and Mitigating Reward Hacking via Representation Engineeringcited by 5
  9. 2026Narrow Fine-Tuning Erodes Safety Alignment in Vision-Language Agentscited by 4
  10. 2026Removing Sandbagging in LLMs by Training with Weak Supervisioncited by 3
  11. 2026Towards Understanding Specification Gaming in Reasoning Modelscited by 3
  12. 2026When Role-playing, Do Models Believe What They Say?cited by 3
20 more
  1. 2026Reinforcement Learning Can Amplify Emergent Misalignment from Harmless Rewardscited by 2
  2. 2026Objective Matters: Fine-Tuning Objectives Shape Safety, Robustness, and Persona Driftcited by 1
  3. 2026Weird Generalization is Weirdly Brittlecited by 1
  4. 2026Shifting the Gradient: Understanding How Defensive Training Methods Protect Language Model Integritycited by 1
  5. 2026Consistency Training Along the Transformer Stackcited by 1
  6. 2026The Piggyback Hypothesis of Generalization: Explaining and Mitigating Emergent Misalignmentcited by 1
  7. 2026Generalization Hacking: Models Can Game Reinforcement Learning by Preventing Behavioral Generalizationcited by 1
  8. 2026Inoculation Adapters: Improved Selective Generalization of Capabilities with Fewer Surprising Backdoorscited by 1
  9. 2026Mark, Don't Erase: Token Inoculation for Dual-Use Knowledge in LLMscited by 1
  10. 2026Data Attribution of Emergent Misalignment with Persona Featurescited by 1
  11. 2026Mechanist: AI as a Scientific Instrument for Discovering the Mechanisms of Intelligencecited by 1
  12. 2026Safety Training Modulates Harmful Misalignment Under On-Policy RL, But Direction Depends on Environment Designcited by 0
  13. 2026Fuzzing Large Language Models to Elicit Hidden Behaviourscited by 0
  14. 2026Transplanting, inverting, and preventing a misalignment persona: method-conditional emergent misalignment in Qwen2.5cited by 0
  15. 2026Evaluation-Conditioned Training: Teaching Models to Generalize to Stronger Oversight Regimescited by 0
  16. 2026On the Threat Model of Weird Generalization and Emergent Misalignmentcited by 0
  17. 2026Inducing Emergent Misalignment from Reward Hacks with Iterative DPOcited by 0
  18. 2026Active Adaptation, Not Static Defense: Temporal Dynamics of Preventative Steering in Adversarial Fine-Tuningcited by 0
  19. 2026Shallow Beliefs: Synthetic document finetuning does not inoculate against emergent misalignment from reward hackingcited by 0
  20. 2026Distillation for Incrimination and Distillation for Capabilitiescited by 0