Breaking Refusal in the First Half: A Mechanistic Study of the Prefill Jailbreak
Abstract
Aligned language models refuse harmful requests, but a one-line prefill ("Sure, here is") strips the refusal. We ask where and how it fails. The harm representation stays intact: on the prompts the attack flips to compliance, a linear probe reads harm as high as on the refused ones (0.91-0.98), while behavioral refusal drops to chance. This holds across four models and three families (1.5-3.8B, and at 14B). Refusal is therefore a shallow, response-site computation. We localize it to an early window: a dose-matched position control shows the first half of the response suffices to break refusal, while the second half is nearly inert. Three causal probes converge on that window. Restoring the harm direction there partially re-engages refusal. Injecting the model's own refuse-state reverses the jailbreak (74%, held-out). And knocking out the early response's attention to the prefill, but not an equal attention mass elsewhere, selectively collapses the harmful continuation. A base-model control identifies the mechanism: the same knockout collapses the continuation prefill-specifically even in a non-safety-tuned base model (64% to 25% harmful content vs a matched control's 64%, replicated at 7B). So the prefill's grip is generic autoregressive conditioning, not safety-specific suppression, and "refusal restoration" is a model-dependent fallback. The dominant mechanism is passive. A small safety-specific attractor remains on top (logit-trace concentration 0.24 vs 0.03), whose active-vs-passive character we size but do not fully separate. No single direction or component is a clean handle either: the decision is decodable but distributed, and refusal tracks harm rather than scary surface. The consequence is structural: a monitor reading the untouched prompt-side representation is immune by construction, but only to response-site attacks. The mechanism is diffuse; the failure surface is local.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI, cs.CR, cs.LG
- Comments
- 31 pages, 3 figures. Code and derived artifacts: https://github.com/collapseindex/breaking-refusal
Related papers
Refusal Is Not Scored: A Coverage Limit in Content-Based Bias Evaluation
Shared title terminologycs.CLAfifah Kashif, Malak Sadek, Jin Huang et al.
Social Bias Neurons in Multilingual Language Models: A Mechanistic Interpretability Analysis
Shared title terminologycs.CLLance Calvin Lim Gamboa, Yue Feng, Mark Lee
Analysing Moral Bias in Finetuned LLMs through Mechanistic Interpretability
Shared title terminologycs.CLBianca Raimondi, Daniela Dalbagno, Maurizio Gabbrielli
Latent Fusion Jailbreak: Blending Harmful and Harmless Representations to Elicit Unsafe LLM Outputs
Shared title terminologycs.CLWenpeng Xing, Bohan Yang, Mohan Li et al.
Investigating first-language bias in LLM-based automated essay scoring: A cross-prompt evaluation of an open-weight AI-model on TOEFL essays
Shared title terminologycs.CLJohn Maurice Gayed
Graded Entity-Familiarity Readouts in Language Models: Polish Adaptation, Cross-Language Robustness, and Refusal Steering
Shared title terminologycs.CLGrzegorz Brzezinka