Don't Inoculate Everything: Stratified Inoculation Prompting Narrows Backdoor Triggers and Preserves Desired Traits
Kajetan Dymkiewicz, Tim Farrelly, Adam Prada, Ishaan Panigrahi, Srishti Gureja, Helen Yannakoudakis, Robert Mullins, Victor Gillioz, Daniel Tan, Maxime Riché
Abstract
Supervised fine-tuning can teach language models undesired behaviours alongside desired ones. Inoculation prompting (IP) aims to limit unwanted generalisation by requesting the undesired behaviour during training and removing the request at inference. However, undesired behaviour can still appear under unrelated prompts. IP can also hinder learning of the desired behaviour. We address these limitations in settings where both behaviours co-occur in most training examples, so filtering out examples with undesired behaviour leaves only a small clean subset. We introduce stratified inoculation prompting (SIP). SIP leverages a small clean subset to demonstrate that desired behaviour should persist without the undesired one across different contexts. SIP oversamples these clean examples under diverse non-eliciting prompts while inoculating the rest. SIP substantially reduces expression of undesired behaviour while preserving more of the desired behaviour than IP. These gains persist even when we extend IP to oversample the same clean subset at the same rate as SIP. Moreover, SIP yields lower emergent misalignment rates in all harmful-advice setups we tested. SIP can be further extended to limit the undesired behaviour even under prompts that explicitly request it. We introduce backdoor dilution, which weakens expression under the inoculation prompt, and password-locked inoculation, which concentrates elicitation on a designated password. Taken together, our findings show that changing the training contexts for a small clean subset can significantly improve selective generalisation.
Create a lesson
Related papers
ContextLure: Exploiting Benign Conversation History for Indirect Prompt Injection
Shared title terminologycs.AIYi Han, Zhen Sun, Zhijie Deng et al.
Benchmarking Prompt Optimization of Large Language Models With Chess
Shared title terminologycs.AITimothée Lesort, Alejandra López de Aberasturi Gómez, Tristan Karch et al.
Privacy-Preserving Full-Body Meshing from mmWave Radar via Mesh Foundation Model Supervision
Shared title terminologycs.AIShuxing Zhang, Yongquan Ni, Zhenyu Ding et al.
FOCUS: Training-Free Decision-Preserving Context Compression for LLM Agents
Shared title terminologycs.AIShantanu Dixit, Anson Bastos, Xuchao Zhang et al.
Beyond Prompt Count: How Data Shapes Transfer in On-Policy Distillation
Shared title terminologycs.AIJiaxuan Wang, Jiafei Lyu, Yuchen Cai et al.
V-Engram: Trigger-Indexed External Memory for Modular Text-to-Image Personalization
Shared title terminologycs.AIHaoran He, Runyuan Cai, Yiming Wang et al.