TRANSMISSION // 2601.08070v2
Why AI Can Say the Word It Was Told to Avoid
Source published
A study of Qwen2.5-7B-Instruct finds that forbidden-word violations become more likely when a prompt strongly predicts that word. In this controlled task, analyses trace differences in suppression to late network layers.

Ask a language model to answer a question without using its obvious answer, and it may say that very word. A new study probes why, measuring rule-breaking and examining how the instruction affects the model as it generates a response.
A tug-of-war over the next word
Suppose you ask, “What is the capital of France? Please do not use the word Paris.” The constraint is clear, but the question itself points toward the forbidden answer. Why might a language model produce it anyway—and is it simply failing to understand “do not”?
In Semantic Gravity Wells: Why Negative Constraints Backfire, independent researcher Shailesh Rana investigates this question in Qwen2.5-7B-Instruct. The results suggest that, in this model and controlled test, failures are not explained by a blanket inability to process negation. Instead, the model’s expectation of a natural answer can compete with the instruction to avoid it.
Measuring the pull of an answer
The researchers created 2,500 prompts designed to elicit a clear, one-word answer. They covered idioms, factual questions, common-sense prompts, creative prompts, and unusual or counterfactual prompts. For each prompt, they identified a target word—the answer it naturally invites—and measured the word’s probability before adding any ban. They call this baseline probability “semantic pressure.”
They compared answers with and without an instruction not to use the target word. For each prompt, they generated 16 sampled answers under each condition: 40,000 samples with the constraint and 40,000 without it. A violation meant the forbidden word appeared as a whole word, regardless of capitalization. The researchers also examined internal computations across the model’s layers and used activation patching—replacing internal states from one run with states from another—to test where the instruction’s effects were carried.
Violations were more common when baseline semantic pressure was high. About 5% of samples in the lowest-pressure group contained the forbidden word, compared with about 44% in the highest-pressure group. This describes average rates across groups, not what will happen on any particular prompt: the paper reports substantial prompt-to-prompt variation that pressure does not explain.
Suppression can be too weak
The instruction often lowered the target word’s probability, even in some answers that still broke the rule. Comparing prompts within pressure ranges, the researchers found that this reduction was weaker in failures than in successful responses. At high pressure, for example, the target probability fell by 0.90 in successful cases and by 0.19 in failures. At low pressure, the instruction raised the target’s probability on average in the failure group.
That increase suggests a possible priming effect: naming a word to ban it may sometimes make it more likely. The paper measures this as a probability-based signature among prompts classified by their greedy answer under the constraint. The instruction raised the target probability in about 27% of those failures, compared with about 13% of successes. These figures are not the sampled violation rates. Priming also does not explain most failures.
The authors tested a separate attention-based signature at the decision position, averaging attention across layers: whether the model assigned more attention to the target’s mention in the instruction than to “Do not.” This pattern was common in both groups—about 90% of failures and 93% of successes—so it did not distinguish failure from success.
The internal analyses provide several related, but not identical, clues. The logit-lens analysis, which estimates the target’s probability at successive layers, found sharp differentiation between successes and failures in layers 22–27. Component attribution in those late layers showed feed-forward networks pushing more strongly toward the target in failures, while attention pushed against it less strongly. In activation patching, restoring baseline residual-stream activations raised target probability in successes and lowered it in failures; the reported effects reached +0.38 and −0.15, respectively. This supports a role for late-layer residual states in the tested behavior, rather than establishing one universal mechanism for instruction failure.
What the result does—and doesn’t—show
Avoiding the forbidden word when phrasing a constraint might help with cases where naming it primes the model, but the paper did not systematically test alternative phrasings. Strongly expected answers may remain difficult to suppress. The study does not establish that a particular filtering strategy will solve the problem.
The limits matter: all experiments used one model, one-word-answer tasks, and prompts selected for clear expected completions. Longer answers, other architectures or training methods, and different kinds of constraints could behave differently. Some comparisons also define failure by whether the target appears, which selects cases where its probability is high. Matching prompts by pressure addresses one source of imbalance, but not this outcome-definition issue.
This work is an arXiv preprint, not a settled result across language models. The paper reports that its first version contained errors in pressure calculation, patching, confidence intervals, and other details, and says the experiments were rerun for this version. It also makes code and data available. As an editorial matter, independent replication and evaluation on other models would help establish how far these findings extend. For now, the study offers a detailed account of one controlled failure mode—not a general verdict on how all AI systems handle “do not.”
- large language models
- negative instructions
- instruction following
- mechanistic interpretability
- Qwen2.5
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
AI sycophancy can take hold before preference training
Source published
Shared keywords: large language models, mechanistic interpretability
Tracing the Internal Signals Behind Language Model Reasoning
Source published
Shared keywords: large language models, mechanistic interpretability
A lighter touch may help AI read drilling reports
Source published
Shared keywords: large language models
AI agents can encode better options and still choose worse ones
Source published
Shared keywords: mechanistic interpretability
Can an AI Model Forget—or Just Stop Answering?
Source published
Shared keywords: large language models, mechanistic interpretability