TL;DR
Researchers have "opened the hood" of Large Language Models (LLMs) to reveal that answering multiple-choice questions is a sophisticated, multi-stage mechanistic process. By using causal intervention and vocabulary projection, they discovered that a tiny, sparse set of attention heads in the middle layers is responsible for "symbol binding"—mapping the correct answer to its corresponding label (like 'A' or 'B')—often overcoming a hardcoded bias toward standard labels in the process.
What Problem Does This Paper Address?
Multiple-choice question answering (MCQA) is the bread and butter of AI evaluation, forming the basis of mainstream benchmarks like MMLU. However, LLMs are notoriously brittle: shuffling the order of choices or changing the labels from standard formats like A, B, C, D to unusual ones like Q, Z, R, X can cause performance to crater.
This brittleness suggests a gap between a model's internal knowledge (knowing a fact, such as "grass is green") and its formatting ability (mapping "green" to choice 'B'). This paper seeks to understand the "how" and "where" of this process: How do models select the right symbol? Which layers are responsible? And why do they struggle with unusual formats?
Methods
The authors employ two primary "mechanistic interpretability" techniques to study models like Llama 3.1, Olmo, and Qwen 2.5:
- Vocabulary Projection (Logit Lens): They project the hidden states of every layer directly into the model’s output vocabulary. This allows them to see how the probability of the answer (e.g., the token 'A') evolves as information travels through the network.
- Activation Patching (Causal Tracing): To find the "causal" source of an answer, they swap hidden states between two different prompts (e.g., one where 'A' is correct and one where 'B' is correct). If patching a specific layer's activation from the 'B' run into the 'A' run changes the final output to 'B', that layer is deemed causally responsible for the decision.
- Synthetic "Colors" Task: They created a task where the answer is explicitly provided in the prompt (e.g., "Corn is yellow. What color is corn? A. yellow B. grey..."). This isolates the model's ability to perform the format of MCQA from its ability to recall facts.
Datasets
- MMLU: The standard benchmark for general knowledge.
- HellaSwag: A benchmark for commonsense reasoning.
- Copying Colors from Context ("Colors"): A new synthetic 4-way task designed to disentangle dataset-specific knowledge from the mechanical skill of symbol binding.
Key Insights and Ideas
- The Two-Stage Process: MCQA isn't a single leap. Models first select the correct answer in 1–3 middle layers (the "Answer" and "Assemble" phases) and then promote that symbol's probability in the final layers ("Ace").
- Sparsity is King: The "decision" to pick a specific letter is driven by a remarkably sparse portion of the network—specifically, just 1–4 attention heads per layer.
- The "Default" Label Bias: When models are given unusual labels (like
Q, Z, R, X), they exhibit a fascinating "correction" behavior. In the middle layers, the model's internal state actually predictsA, B, C, D(the expected labels). It is only in the very late layers (e.g., layer 29 of 32) that the model "overwrites" this bias to align with the unusual symbols provided in the prompt. - Training "Aha!" Moments: Using their synthetic task, the authors found that the ability to handle MCQA formatting isn't learned gradually. For Olmo 7B, this skill emerged suddenly between 80k and 100k training steps, jumping from near-random to near-perfect accuracy.
Key Results
- Causal Localization: In Olmo 7B, layer 24 was identified as the critical "pivot" point where the model commits to an answer choice.
- Logit Evolution: Even after a model reaches 100% accuracy on the synthetic task during training, the "logit difference" (the confidence gap between the correct and incorrect symbols) continues to grow. This suggests the model continues to refine its internal representation of the task long after the accuracy metric plateaus, as seen in the sharp probability spikes in the final layers.
- Model Consistency: While different model families (Llama vs. Qwen) have different absolute logit scales, they all follow a similar internal trajectory: middle-layer attention heads do the heavy lifting of selection, while later layers focus on boosting the final token's probability.
Limitations and Future Work
- Final Token Focus: The study primarily analyzes the hidden states at the very last token position. It doesn't fully explore how information is "pre-computed" during the processing of the question and choices themselves.
- Fixed Format: The research focuses on 4-way multiple choice. It remains to be seen if these sparse "correct letter heads" generalize to questions with more choices or different structures (like "True/False").
- The "How" of Attention: While the paper identifies which heads are responsible, the exact logic inside those heads—how they attend to the prompt to perform the "binding"—is still a bit of a black box for future researchers to decode.
Summary updated