The AI Reader.
The Mechanics

One character of formatting decided whether the model got it right

To a model, a colon and a space are just different tokens, and on one task that gap was the difference between 4% and 83% accuracy on a 2023 open model.

Why this matters

A model's score on a task can move by a wide margin when nothing about the task or the model has changed, only the way the prompt was written or the order its examples were listed. This is why a benchmark number can depend on the exact template a lab happened to use, and why an edit you thought was cosmetic can leave a model's answers worse than before. By the end you should be able to say why a single character can do this. You should also be able to hold three things apart when a score drops: a model that is genuinely worse, a format that moved the input, and a grader that missed a right answer phrased differently.

Background optional reading
01
How a model learns from examples it was never trained on: the setting where a few examples in the prompt, and their order, steer the answer.
02
Language models draw no line between instructions and data: why the whole prompt reaches the model as one stream of tokens.
03
A transformer redraws a word's vector for every sentence it appears in: the internal representation a change of format perturbs.

The same question, formatted two ways

Researchers at the University of Washington and the Allen Institute for AI took one classification task, gave LLaMA-2-7B a single worked example, and wrote the example two ways. With a colon after each label, passage:{}\n answer:{}, the model scored 0.043: it was right about four times in a hundred. They changed the colon to a space, so the labels read passage {}\n answer {}, and left everything else the same. The same model, on the same task, with the same example, now scored 0.826.1

Nothing about the task got easier, and nothing taught the model more. The only thing that changed was the string of characters it read. Getting better at a task and getting a different score on the same task are two different things, and the second is what happened here. Working out why a single character can do it comes down to what the model is actually reading.

Why a reformatted prompt is a different input

The prompt reaches the model only as tokens, with no line drawn between the instruction and the content, and the model produces its answer by conditioning on that sequence of tokens. It keeps no separate copy of what a person meant, held apart from the tokens. Two formats that look equivalent to a reader are two different token sequences to the model, and the tokens are all it has to go on.

Webson and Pavlick tested that claim head-on. Across more than 390 prompts they found models "learn just as fast with many prompts that are intentionally irrelevant or even pathologically misleading as they do with instructively 'good' prompts," and this held all the way up to GPT-3 at 175 billion parameters.2 Scrambling an instruction into nonsense barely moved the result. Yet swapping which word stood for the answer, the token the model was meant to produce for yes or no, moved it a great deal: the models were "much more sensitive to the choice of the LM target words as opposed to the meaning of the instruction templates."2 Read together, the two results point one way. The model responds to the tokens, and especially to the answer tokens, not to a meaning it extracted and stored.

Su and colleagues located where this happens inside the model. Changing only the single character that separates in-context examples, a comma for a newline for a semicolon, they traced the effect to attention: good separators "steer attention towards key tokens in the input."3 The surface character changes which tokens the model looks at. Sclar and colleagues, who ran the colon-to-space example, showed the same thing from the representation side. A format is an identifiable transformation of the prompt's internal vectors, and how separable a format's vector is tracks how far its score swings.1

This part is settled engineering. A reformatted prompt is a different sequence of tokens, the model conditions on that sequence, and it holds no meaning apart from it to fall back on.

How far reformatting can move the score

The colon-to-space case is not a fluke. Sclar and colleagues measured the spread across formats that carry identical content, the same words with different separators, casing, and spacing, on more than fifty tasks. On LLaMA-2-13B the gap between the best and worst equivalent format reached 76 accuracy points, and across the tasks and models measured it averaged about 10. The gap did not close with a bigger model, more examples, or instruction tuning.1 The changes that produced these swings are as small as the first one.

Three near-identical format pairs for 1-shot LLaMA-2-7B; in each row the only change is the one named, and accuracy is scored by matching the model's most probable answer.1
Task The single change Before After
task280 a colon after each label became a space 0.043 0.826
task317 a space was added after each "::" 0.076 0.638
task322 the labels were lowercased, nothing else 0.614 0.714

These swings all come from open models of 2021 to 2023, on classification tasks, scored by which answer the model ranked as most likely or by an exact match on its first word. Even a commercial model reached only through an interface behaves this way: on GPT-3.5-Turbo the spread across 320 formats reached 56 points.1

The same shows up on a familiar benchmark, graded the accessible way. Kurt, Louf, and Fourrier changed only the format of a multiple-choice MMLU prompt and watched Qwen1.5-7B score 22.9% on one variation and 51.2% on another. No model was ranked the same across the eight formats they tried.4 And it holds across many models at once. Mizrahi and colleagues evaluated 20 models on 39 tasks and found the instruction template moves both absolute scores and the ranking between models. A single hand-picked benchmark prompt flatters a model by about 21 accuracy points over the average across paraphrases.5

Reordering the same examples does it too

Format is one way to change the token sequence without changing the meaning. The order of the in-context examples is another. Lu and colleagues took four labeled examples for sentiment classification and tried all 24 orders of them. Some orders scored over 85%, close to a model trained on the task; others sat near 50%, no better than a coin flip on a two-way choice.6 Same examples, same model, only the order moved. A bigger model did not fix it, and a good order for one model was close to useless for another: how the orders performed on a 175-billion and on a 2.7-billion parameter model correlated at only 0.05.6

Zhao and colleagues found part of the reason. A model reading a prompt leans on a few habits: it favors an answer that appears often among the examples, it favors whatever the prompt showed last, and it favors words that were common in its training data. Reordering the examples changes which one came last, so it changes the answer. In one sentiment prompt, permuting the same examples moved accuracy from 54% to 93%.7 The examples held the same information in every order; the model was reading their position.

The grader can move the score by itself

There are now two ways a score can move without the model getting better or worse at the task: the format changed the input, or the order changed the input. A third has nothing to do with the input at all. It is about how the answer is counted. Hua and colleagues re-graded the outputs of seven recent models, including GPT-4o-mini and Gemini 2.0 Flash, on standard benchmarks. Much of the measured sensitivity, they found, "stems from heuristic evaluation methods, including log-likelihood scoring and rigid answer matching, which often overlook semantically correct responses expressed through alternative phrasings."8 The model answered correctly, in its own words, and the scorer marked it wrong.

When they graded the same outputs with another model acting as judge instead of matching strings, the spread collapsed. On one benchmark Gemma-2's accuracy across templates had ranged from 0.25 to 0.90 under the string-matching scorer; under the judge it varied by 0.17. The agreement in how prompts ranked the models rose from 0.30 to 0.92.8

This is the open part. Sclar and Su both report that the effect does not shrink with scale or instruction tuning, and Su still measures swings of plus or minus 23% on a current benchmark across the Llama, Qwen, and Gemma families.13 Hua's result does not overturn that. The model still generates from the literal tokens, which is the settled mechanism. What Hua adds is that a large share of the reported magnitude, on multiple-choice and short-answer tasks, was the grader missing correct answers rather than the model failing. How big the effect is in today's frontier models is genuinely unsettled, and the answer turns on how the output is scored.

Three ways a score can move

A lower score can mean the model is worse at the task, or that the surface form changed the input while the model's ability held steady, or that the model answered correctly and a rigid scorer missed it. Only the first is about ability. The 76-point and 54-to-93 figures were measured in the setting where the third is easiest to mistake for the first.8

The takeaway

The colon and the space were never the point to the model, because the model was never reading for a colon or a space. It was conditioning on the exact tokens in front of it, and two formats a person calls equivalent are two different token sequences with nothing shared behind them. That is why the same task, reworded or reordered, can score 4% one way and 83% another. So when a score moves, the honest first question is which of three things happened: the model got worse, the surface form moved the input, or the scorer missed a right answer phrased its own way. The mechanism is settled. How large the effect still is in the newest models is not, and it turns on which of those three you are actually measuring.

Go deeper optional reading
01
Hugging Face, "Improving Prompt Consistency with Structured Generations": an accessible walk through the same effect on MMLU, and one proposed fix that raises accuracy while cutting the variance.
02
Mizrahi et al., "State of What Art? A Call for Multi-Prompt LLM Evaluation": a re-evaluation across 20 models finding a single hand-picked benchmark prompt overstates a model's score by about 21 points on average.

Sources

  1. arXiv · Sclar et al., Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design (2024)
  2. arXiv · Webson & Pavlick, Do Prompt-Based Models Really Understand the Meaning of their Prompts? (2022)
  3. arXiv · Su et al., A Single Character can Make or Break Your LLM Evals (2025)
  4. Hugging Face · Kurt, Louf & Fourrier, Improving Prompt Consistency with Structured Generations (2024)
  5. arXiv · Mizrahi et al., State of What Art? A Call for Multi-Prompt LLM Evaluation (2024)
  6. arXiv · Lu et al., Fantastically Ordered Prompts and Where to Find Them (2022)
  7. arXiv · Zhao et al., Calibrate Before Use: Improving Few-Shot Performance of Language Models (2021)
  8. arXiv · Hua et al., Flaw or Artifact? Rethinking Prompt Sensitivity in Evaluating LLMs (2025)