AI
Why telling AI not to use a word often backfires: Research reveals the mechanism
A mechanistic study of Qwen2.5-7B-Instruct shows that negative constraints ("don't use word X") fail predictably when the model has high intrinsic probability of generating the forbidden term.
When instructing a large language model not to use a particular word, the instruction often fails—the model generates the forbidden term anyway. Researchers have now pinpointed why, revealing a quantifiable relationship between the model's natural probability of choosing a word and its likelihood of breaking the constraint.
Why negative constraints are surprisingly fragile#
Negative instructions ("do not use word X") sound straightforward, yet they represent a surprisingly difficult test of an LLM's ability to follow directives. Despite their apparent simplicity, these constraints violate at high and striking rates, and the dynamics governing when and why failures occur have been murky until now.
The role of semantic pressure#
The key insight is what researchers call semantic pressure—a measure of how strongly the model is naturally inclined to generate a particular forbidden word based on context. The relationship between pressure and violation is remarkably regular: violation probability follows the formula $p = \sigma(-2.95 + 2.76 P_0)$ across 40,000 samples drawn from 2,500 prompts.
The practical outcome is stark:
- At low semantic pressure: violations occur in roughly 5% of samples
- At high semantic pressure: violations jump to 44% of samples
Where suppression breaks down#
By examining the model's internal layer-by-layer behavior, researchers identified layers 22–27 as the critical zone where failures take root. In these late layers, feed-forward networks in failed attempts push more strongly toward the forbidden word, while attention mechanisms apply less resistance. This reveals that negative instructions do establish their effect within the model, but only in certain layers and under certain conditions—when pressure is high, that suppression never solidifies into final output behavior.
Interestingly, simply mentioning the forbidden word in a prompt can prime the model toward generating it. However, most failures are not primarily the result of this priming effect. Rather, they reflect a situation where suppression mechanisms fail to persist through the final layers—the instruction's effect dissolves before output generation.

