Inoculation Midtraining with Learned Neologisms
Kyle O'Brien, Edward James Young, Puria Radmard, Nathalie Kirch, Cameron Tice, Tomek Korbak, David Demitri Africa
Abstract
Large language models (LLMs) often learn both desirable and undesirable properties during post-training. We study whether midtraining, an earlier training stage, can shape which of these properties later generalise. We introduce Inoculation Midtraining, a technique that teaches a base model that unsafe behaviour belongs to a designated <quarantinetoken> context, as indicated by the <quarantinetoken> neologism (a new token) introduced during midtraining, and then post-trains the model on unsafe data within that context. We then evaluate the model outside the context, with the <quarantinetoken> neologism excluded from the system prompt. Across supervised fine-tuning and reinforcement learning post-training regimes, we find that Inoculation Midtraining can reduce misalignment while preserving the transfer of benign data properties (e.g., speaking in German or Shakespearean prose). However, our approach does not outperform standard Inoculation Prompting, is sensitive to training configuration, and produces a leaky boundary that nearby contextual cues can reactivate. These results show that inoculation with a learned association introduced via midtraining can shape selective generalisation. Still, more work is needed before this approach can become a load-bearing component in a developer's safety framework.
Create a lesson
Recent in the same category
IRTIQA: Evolving in English, Evaluated in Urdu -- Does Agent Self-Evolution Transfer from English to Urdu and Code-Switched Input?
Recent in the same categorycs.CLAbdullah Hashmat, Danish Javed, Usman Naseem et al.
MINE: A Training-Free Defense against Indirect Prompt Injection via Mutual Information and Embedding Variance
Recent in the same categorycs.CLTruong Phan, Ngoc-Quan Pham, Dat Quoc Nguyen
Lightweight Reasoning Transfer via Chain-of-Thought Vector Projection
Recent in the same categorycs.CLYulin Qi, Shuo Xu, Shuxia Lin et al.
Familiar Words, Unfamiliar Minds: Conventionalization without Calibration in the Vocabulary of Mind
Recent in the same categorycs.CLMatthieu Queloz
How resampling method can help us: Improving the Delta model
Recent in the same categorycs.CLJacques Savoy
Is Sara Omar the true author of Dødevaskeren (The Dead Washer)? Authorship attribution in Danish literature
Recent in the same categorycs.CLJacques Savoy