Metaphor Is Not All Attention Needs
Abstract
Large language models are increasingly deployed in safety-critical applications, where resisting adversarial attacks is essential. Although post-training makes models more robust to such attacks, recent evidence shows that stylistic reformulations, such as poetic transformation, can still bypass safety mechanisms with alarming effectiveness. This raises a central question: why do literary jailbreaks succeed? We investigate whether their effectiveness depends on specific poetic devices, on a failure to recognize literary formatting, or on deeper changes in how models process stylistically irregular prompts. We address this problem through an interpretability analysis of attention patterns in Qwen3-14B, used as an open-weight case study. Our analysis proceeds in three steps: we perform input-level ablation studies to assess the contribution of individual poetic devices and their combinations; we construct a novel interpretable vector representation of attention maps; we cluster these representations and train linear probes to predict safety outcomes and literary format. Our results suggest that probes distinguish poetic from prose formats with high accuracy, yet struggle to predict jailbreak success within each format. Clustering further reveals clear separation by literary format, but not by safety label. These findings indicate that jailbreak success is unlikely to stem from a failure to recognize poetic formatting; rather, poetic prompts induce distinct processing patterns that remain largely independent of the safety outcomes. Overall, literary jailbreaks appear to misalign the model through accumulated stylistic irregularities that alter prompt processing and avoid lexical triggers learned during post-training, with no single poetic device sufficient on its own. Robust safety mechanisms may therefore need to account for style-induced shifts in model behavior. Our code is publicly available at https://github.com/Lab-RoCoCo-Sapienza/metaphor-is-not-all-attention-needs.