NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Metaphor Is Not All Attention Needs

Olga Sorokoletova, Francesco Giarrusso, Giacomo De Luca, Piercosma Bisconti, Matteo Prandi, Federico Pierucci, Marcello Galisai, Vincenzo Suriani, Daniele Nardi

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: AI Safety, Security & Alignment › Jailbreak Defense and Analysis · Type: empirical study · Keywords: language model safety, jailbreak analysis, attention interpretability, poetic prompts, style-induced vulnerabilities

Areas: Safety & Security › Safe Alignment › Safety benchmarks

Summary

The paper investigates why literary jailbreaks succeed by analyzing attention patterns in language models, revealing that stylistic irregularities alter prompt processing independent of harmful-content detection.

Explained to a 5-year-old

Big computer brains called language models are used to help people safely. Sometimes people try to trick them by writing poems that look weird. The researchers looked at how the computers pay attention when they see poems. They found that the computers notice poems are poems, but they still get tricked by the weird style. This means we need to make the computers smarter about style to stay safe.

Explained to a 5-year-old, longer

Big computer brains called language models help us with many tasks, like answering questions or chatting. They are used in important places where safety matters a lot. Sometimes people try to break them by writing special sentences that look like poems or stories. These tricky sentences are called literary jailbreaks. The researchers wanted to know why these poem-like tricks work even after the models were made safer. They looked at how the models pay attention when they read normal text versus poem text. They removed parts of the poem to see which pieces mattered most. They also made a special picture that shows how the attention looks. By grouping these pictures, they could see if the model treated poems differently from normal text. They found that the models could tell poems apart from regular writing quite well. However, they still got fooled by the poem tricks even when they knew it was a poem. The study shows that the problem is not just about recognizing poems, but about how the style changes the way the model thinks. This tells us that we need to make safety checks that understand different writing styles, not just look for certain words.

For a technical reader

The authors examine why poetic prompts can bypass safety guards in large language models. They analyze the models’ attention patterns, ablating individual poetic devices and representing the attention maps in a simple vector form. Clustering these vectors separates prompts by literary format but not by whether they succeed in jailbreaking. The experiments reveal that style changes how the model processes input, independent of its ability to detect harmful content. The work suggests that future safety mechanisms must account for stylistic variations to improve robustness.

Problem

Why do literary jailbreaks, such as poetic transformation, bypass safety mechanisms in large language models despite post-training robustness? And what underlying changes in model processing cause this vulnerability?

Method

We conduct an interpretability analysis of attention patterns, performing input-level ablations of rhetorical devices and constructing an interpretable vector representation of attention maps. We then cluster these representations and train linear probes to predict both safety outcomes and literary format.

Results

Models accurately differentiate poetic from prose prompts but fail to predict jailbreak success within each format, and clustering separates by literary format rather than safety outcome.

Contributions

The work provides an interpretability analysis revealing that literary jailbreaks succeed through accumulated stylistic irregularities that alter prompt processing, independent of format recognition, and highlights the need for safety mechanisms that account for style-induced behavior shifts.

Limitations and assumptions

The analysis is limited to a single open-weight model (Qwen3-14B), which may not generalize to all language models.

Practical relevance

These findings suggest that safety defenses must consider stylistic variations to prevent jailbreaks in real-world deployments of language models.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction