Lost in the Prompt Order: Revealing the Limitations of Causal Attention in Language Models
Hyunjong Ok, Jaeho Lee
TL;DR
This work investigates why MCQA prompts are highly sensitive to prompt structure, showing that placing the context before the question and options (CQO) yields substantial performance advantages over the reverse (QOC). Through controlled experiments across 21 decoder-only LLMs and four datasets, the authors identify causal attention as the root cause: in QOC, option tokens are masked from attending to context, creating an information bottleneck. Encoder-based models do not exhibit the gap, reinforcing the causal-masking explanation. The study further demonstrates interventions—attention pruning, activation patching, and option repetition—that can degrade CQO or improve QOC, offering practical guidance to manage prompt sensitivity and insights into the internal mechanisms of prompt structure effects.
Abstract
Large language models exhibit surprising sensitivity to the structure of the prompt, but the mechanisms underlying this sensitivity remain poorly understood. In this work, we conduct an in-depth investigation on a striking case: in multiple-choice question answering, placing context before the questions and options (CQO) outperforms the reverse order (QOC) by over 14%p, consistently over a wide range of models and datasets. Through systematic architectural analysis, we identify causal attention as the core mechanism: in QOC prompts, the causal mask prevents option tokens from attending to context, creating an information bottleneck where context becomes invisible to options.
