TL;DR
Large language models (LLMs), like humans, can exhibit "ironic rebound" where a negation instruction ("don't mention X") paradoxically makes the forbidden concept X more accessible. This paper introduces a new dataset, ReboundBench, and experiments showing that this rebound effect is influenced by cognitive load (distractor text) and model architecture, with specific attention heads in middle layers playing a crucial role in amplifying forbidden concepts.
What Problem Does This Paper Address?
Humans are susceptible to "ironic rebound," a phenomenon where trying to suppress a thought makes it more prominent (e.g., "don't think of a white bear"). This paper investigates whether Large Language Models (LLMs) also exhibit this behavior, particularly when faced with cognitive load. The challenge for LLMs is that processing a negation instruction like "do not mention X" requires internally activating the representation of X, which could inadvertently lead to rebound rather than suppression. This is crucial for applications like content moderation and safety filters that rely on negation. Existing research has not clearly delineated the conditions under which LLMs suppress or rebound from negation, especially when dealing with complex contexts or distractions.
Methods
The researchers conducted two main experiments:
- Load & Content: They exposed LLMs to negation instructions followed by varying amounts and types of distractor text (semantic, syntactic, or repetition). They measured the "surprisal difference" – how much the probability of the forbidden token changed compared to a high-load baseline – to quantify rebound (positive difference) or suppression (negative difference).
- Polarity Discrimination: They tested how well models distinguish between neutral and negative framings of the same concept. A metric called "Polarity Discrimination" (Δ) was used to measure this separation.
Additionally, they employed circuit tracing by systematically disabling attention heads to identify which ones were responsible for suppression or amplification of forbidden tokens.
Datasets
The paper introduces ReboundBench, a new dataset of approximately 5,000 negation prompts. This dataset is designed to systematically probe ironic rebound in LLMs by varying distractor types (semantic, syntactic, repetition) and lengths. It combines and extends two existing negation datasets: "This-is-not-a-dataset" and "NUBench." The prompts are templated and cover common nouns as target concepts.
Key Insights and Ideas
- LLMs Mimic Human Ironic Rebound: Contrary to some expectations, LLMs do not consistently suppress negated concepts; they often exhibit ironic rebound, similar to humans.
- Cognitive Load Matters: The amount and type of distractor text significantly impact rebound. Longer and more semantically related distractors intensify rebound, while simple repetition of text can aid suppression.
- Internal Struggle: The process isn't a simple failure to follow instructions. Early layers of the model attempt suppression, but a sparse set of attention heads in middle layers can partially reverse this, amplifying the forbidden concept.
- Polarity Discrimination and Persistence: Models that are better at distinguishing between neutral and negative framings of a concept tend to show more persistent rebound. This suggests a trade-off between nuanced semantic understanding and the ability to control output.
- Sparse Circuitry: The mechanisms driving ironic rebound are surprisingly concentrated in a small number of attention heads, primarily in the middle layers of the model.
Key Results
- Semantic distractors led to the strongest rebound, while repetition was the most effective at supporting suppression.
- Mid-scale models generally showed stronger and more sustained rebound effects compared to smaller models.
- Polarity discrimination was not strictly monotonic with model scale; some smaller models (e.g., Bloom-560M) showed stronger separation than larger ones.
- A correlation (r ≈ 0.44) was found between stronger polarity separation and longer-lived rebound (higher L50 values).
- Circuit analysis revealed that 15-20 attention heads (out of over 1,000 in a Llama 3 model) accounted for 80% of the rebound effect.
- Across models, 26.7% of heads contributed to rebound, 29.7% to suppression, and 43.7% remained neutral.
Limitations and Future Work
The authors acknowledge several limitations:
- Synthetic Data: The dataset consists of templated prompts, not naturalistic conversations, which might limit ecological validity.
- Log-Probability Focus: The evaluation relies on log-probabilities rather than full text generation, which might not fully capture real-world rebound behavior.
- English and Single Tokens: The study was limited to English and single-token target concepts, leaving open questions for other languages and multi-word forbidden phrases.
- Limited Distractor Types: Only three distractor types were tested, and the "do not mention X" instructions are more explicit than typical content policies.
Future work should focus on:
- Mechanistic Interpretability: Further identifying and understanding the specific circuits responsible for ironic rebound.
- Naturalistic Settings: Studying negation in real-world conversational contexts.
- Anomalous Models: Investigating why models like GPT-OSS-20B deviate from observed scaling trends.
- Mitigation Strategies: Exploring alternative approaches like positive framing or multi-step reasoning chains, and developing targeted interventions on specific attention heads.
- Human-Model Comparisons: Directly comparing human and model rebound patterns to understand cognitive parallels.
Summary updated