This paper, recently presented at EMNLP 2025, investigates the internal mechanics of how Large Language Models (LLMs) handle "one-to-many" factual queries—tasks like "List three cities in France." While previous research has focused on one-to-one recall (e.g., "What is the capital of France?"), this work uncovers a sophisticated "promote-then-suppress" mechanism that allows models to recall knowledge while simultaneously avoiding repetition.
TL;DR
Researchers have identified a "promote-then-suppress" mechanism in LLMs: the model's internal layers first activate all possible answers to a query and then systematically suppress the ones it has already generated. This process relies on a tight coordination where attention layers propagate subject information and MLPs amplify the signals to either promote new answers or mute old ones.
What Problem Does This Paper Address?
Most mechanistic interpretability research focuses on simple, one-to-one factual associations. However, many real-world relations are one-to-many (e.g., an artist's songs, a country's cities).
To succeed at One-to-Many Knowledge Recall (1MKR), an LLM must perform two subtasks simultaneously:
- Knowledge Recall: Identifying all valid entities related to a subject.
- Repetition Avoidance: Keeping track of what has already been said to ensure the list contains distinct items.
The authors sought to understand how these two potentially conflicting signals are integrated within the transformer architecture.
Methods
The authors employed several sophisticated interpretability techniques on Llama-3-8B and Mistral-7B:
- Early Decoding (Logit Lens): They "probed" the model by passing intermediate layer outputs through the final layer normalization and unembedding matrix to see which tokens the model was "thinking of" at each stage.
- Causal Tracing: They added noise to specific input tokens (like the subject or previous answers) and then selectively restored internal activations to identify which components were most critical for a correct prediction.
- Token Lens (Novel): A new technique that aggregates and decodes attention updates from specific tokens. This allows researchers to see exactly how much "promotion" or "suppression" is being triggered by a specific word in the prompt.
- Attention Knockout (Novel): They "blinded" the model to specific tokens by zeroing out attention weights. By observing how MLP outputs changed after this knockout, they could determine how MLPs leverage information gathered by the attention mechanism.
Datasets
The study used three curated 1MKR datasets:
- Country-Cities: Listing cities within a specific country.
- Artist-Songs: Listing songs performed by a specific artist.
- Actor-Movies: Listing movies featuring a specific actor/actress.
The researchers specifically filtered these datasets to focus on "correct cases"—instances where the model actually knew the facts—to ensure they were studying the mechanism of recall rather than the mechanics of hallucination.
Key Insights and Ideas
- The Promote-then-Suppress Dance: The model doesn't just pick one answer. In the middle layers, it promotes all valid answers. In the later layers, it looks back at the previous answers and applies a "negative" signal to them, effectively crossing them off the list.
- Division of Labor:
- Attention acts as the messenger, moving information about the subject and previous answers to the "last token" position.
- MLPs act as the engines of recall, using that information to boost the probability of all valid answers and then amplifying the suppression signal for the ones already used.
- Promotion and Suppression are Linked: Interestingly, the researchers found that these aren't handled by separate "recall heads" and "suppression heads." Instead, the same attention heads often contribute to both tasks, and their promotion/suppression rates are positively correlated.
- The "Backup" MLP Mechanism: If direct attention to the last token is knocked out, the MLPs in the final layers actually increase their promotion of answers to compensate, suggesting a highly robust internal redundancy.
Key Results
- Causal Importance: Causal tracing showed that both the subject and previous answers are equally critical, with probability differences peaking above 0.55 when these activations were restored.
- Logit Dynamics: Logit Lens analysis revealed that while attention primarily copies subject information, MLPs provide the heavy lifting for answer promotion, with their logit contributions significantly exceeding those of the attention layers.
- Consistency: These patterns were remarkably consistent across both Llama-3 and Mistral-7B and across all three diverse datasets, suggesting this is a fundamental property of how modern transformers handle lists.
Limitations and Future Work
The authors acknowledge that their primary tool, the Logit Lens, can be less reliable in the very early layers of a model. They suggest that more expressive techniques, like "Tuned Lens" or Sparse Autoencoders (SAEs), could provide even finer-grained detail.
Additionally, the study focused only on cases where the model was correct. A promising future direction is investigating what happens when these signals fail—does a failure in suppression lead to repetition, or does a failure in promotion lead to hallucination? Understanding these "failure modes" could be key to building more reliable and factual LLMs.
Summary updated