Introduction
In the current landscape of Large Language Model (LLM) evaluation, the standard approach for benchmarking performance on Multiple Choice Questions (MCQs) relies on "first-token probability." This method involves calculating the log probability of the very first token the model generates—typically checking if the model is more likely to start with "A," "B," "C," or "D." If the probability for "C" is the highest, the model is credited with choosing that answer.
However, this methodology was designed for base models trained on next-token prediction. Modern LLMs are "instruction-tuned" to be conversational assistants. This shift in training objective introduces a significant "alignment gap": the probability distribution of the first token often fails to represent the model's actual final decision. This paper investigates this discrepancy, revealing that first-token metrics can be highly misleading, with mismatch rates exceeding 60% in certain scenarios.
Methodology
To quantify the gap between internal probabilities and externalized text, researchers compared two distinct evaluation strategies across six popular instruction-tuned models, including variants of Llama-2 and Mistral:
- First-Token Evaluation: The traditional method of ranking the log probabilities of option letters at the first output position.
- Text-Output Evaluation: Generating the model's full response and using a high-accuracy classifier (a fine-tuned Mistral-7b) to determine which option the model actually selected in its text.
These strategies were tested across four levels of prompt constraints designed to see if stricter instructions could bridge the gap:
- Low: "Select one of the listed options."
- Medium: "Only give a single letter."
- High: "Start your answer with a single letter."
- Example: Providing a few-shot template (e.g., "Answer: C").
The study utilized two primary datasets: MMLU (Massive Multitask Language Understanding) for objective knowledge and OpinionQA for subjective beliefs and public issue preferences.
The "Preamble Tax" and the Few-Shot Trap
Instruction-tuned models are conditioned to be helpful and polite, often leading to a "Preamble Tax." Instead of immediately outputting a letter, these models frequently begin with phrases like "Sure! Here is the answer..." or "Based on the information provided..." When a model generates a preamble, the probability distribution at the first token position reflects the likelihood of starting a sentence rather than the likelihood of a specific answer choice.
Furthermore, the researchers identified a "Few-Shot Trap." When prompts include examples (e.g., "Answer: A"), the model's first-token probability shifts dramatically toward the letter used in the example to satisfy the pattern-matching nature of the transformer. However, the model's actual text output often contradicts this initial token, choosing a different letter once it moves past the first position. This suggests that few-shot prompting may be distorting benchmarks by forcing a specific first-token distribution that does not reflect the model's underlying reasoning.
Key Findings
1. We Are Underrating Model Performance
On the MMLU benchmark, models consistently performed better when evaluated via their full text output than via first-token probabilities. For instance, Llama2-7b’s accuracy rose from 34.9% to 41.0% simply by switching from first-token to text-based evaluation. This indicates that current leaderboards may be systematically underestimating the capabilities of instruction-tuned models.
2. Massive Mismatch Rates
The discrepancy is most pronounced in subjective tasks. Llama2-7b-Chat exhibited a staggering 66.2% mismatch rate on OpinionQA under low-constraint prompts. Even when the model was explicitly told to start with a single letter, the mismatch remained significant, proving that instruction-following is not a perfect fix for this probabilistic noise.
3. The Impact of Scale and Safety
Larger models, such as Llama2-70b, generally showed lower mismatch rates than their smaller counterparts (7b). This is likely because larger models are more adept at following strict formatting instructions. Additionally, safety guardrails play a role; models trained with heavy alignment (like Llama-2) often produce "soft refusals" or nuanced hedges that first-token metrics are fundamentally unequipped to capture.
Conclusion
The findings of this research present a clear mandate for the AI community: Stop relying solely on first-token probabilities for instruction-tuned models.
While first-token evaluation is computationally efficient, it fails to capture the reality of how conversational models process and deliver information. To obtain a true measure of a model's knowledge or bias, researchers must allow the model to generate its full response. As LLMs become more conversational and complex, the gap between what a model "thinks" at token zero and what it eventually "says" will only continue to grow.
Summary updated