Aleph Alpha
Low sunlight through a window casting a grid of soft shadows across a pale travertine surface, with a ribbed glass tumbler at the left edge
Research

Prabhu SivaprasadFrank SchneiderMartin ReinhardtFabien BenureauTom Burns

Mind the Tokenizer: Why a Single Space Decides What Multiple-Choice Evaluations Measure

[…] should there be a space after the colon in the prompt, or should the space be included as part of the answer option token?

Sanz-Guerrero, Bui and von der Wense (2025), Mind the Gap
Where does the space live?

One question, one space, two places to put it

Same prompt body

What is the capital of France?

A. Berlin B. Paris C. Madrid D. Rome

Space-in-Prompt
Answer: A B C D

the space ends the prompt

Space-in-Answer
Answer: A B C D

the space starts each option label

marks the single space, wherever it lives.

Fig 1: A multiple-choice question, and the two ways to split it.

A Primer on Pre-Training Evaluations

Generative
Prompt
Question: What is the capital of France?

Answer:
Scored Candidates

open-ended, the model writes freely

Ground truth contains("Paris")
Multiple-Choice
Prompt
Question: What is the capital of France?

A. Berlin
B. Paris
C. Madrid
D. Rome

Answer:
Scored Candidates
␣A ␣B ␣C ␣D
Ground truth ␣B
Cloze
Prompt
Question: What is the capital of France?

Answer:
Scored Candidates
␣Paris ␣Berlin ␣Madrid ␣Rome
Ground truth ␣Paris
Generative

the model samples tokens.

Likelihood-based

the model’s probabilities are read off, nothing is generated.

Fig 2: The same question posed in three ways. Multiple-Choice and Cloze both read off the model’s probabilities of possible completions. They differ only in which completions are shown and scored.

The Prompt–Answer Boundary Problem

What is the capital of France?
A. Berlin
B. Paris
Answer: B
Tokenizer composability

Is T(p + c) the same as T(p) ∘ T(c)?

Tokenizer Canonical reference T("Answer:␣B") Space-in-Prompt T("Answer:␣") ∘ T("B") Space-in-Answer T("Answer:") ∘ T("␣B")
GPT-2 Answer 33706 : 25 ␣B 347 Answer 33706 : 25 ␣ 220 B 33 Answer 33706 : 25 ␣B 347
GLM-5.3 Answer 16127 : 25 ␣B 425 Answer 16127 : 25 ␣ 220 B 33 Answer 16127 : 25 ␣B 425
DeepSeek V4 Flash Answer 7805 : 28 ␣B 406 Answer 7805 : 28 ␣ 223 B 36 Answer 7805 : 28 ␣B 406
Qwen3.5-35B-A3B-Base Answer 15666 : 25 ␣B 417 Answer 15666 : 25 ␣ 220 B 33 Answer 15666 : 25 ␣B 417
Olmo 3 7B Answer 16533 : 25 ␣B 426 Answer 16533 : 25 ␣ 220 B 33 Answer 16533 : 25 ␣B 426
Gemma 4 26B-A4B Answer 7925 : 236787 ␣B 603 Answer 7925 : 236787 ␣ 236743 B 236799 Answer 7925 : 236787 ␣B 603

Small grey numbers are token ids. The tokens marked in red do not occur in the canonical tokenization at all: the space becomes a token of its own and the label becomes a bare B.

Fig 3: Tokenizing the prompt and the label together, versus tokenizing them separately. Space-in-Answer reproduces the canonical token sequence exactly for every tokenizer we tested.
T(p+c)=T(p)∘T(c)T(p + c) = T(p) \circ T(c)

Impact of Violating Tokenizer Composability

On Log-Probabilities of Answers

A three-by-three grid of histograms, one row per model (Gemma-4-26B-A4B, Olmo-3-7B, Qwen3.5-35B-A3B) and one column per benchmark (MMLU, ARC, PIQA). In every panel the Space-in-Answer distribution is a narrow spike just below a log-likelihood of zero, while the Space-in-Prompt distribution is a broad hump centred around −10 to −12.

On the Accuracy of Prediction

Despite the drastically lower likelihoods, accuracy differs little between splits in most cases. Accuracy of likelihood-based scoring for different splits (5-shot, macro-averaged over subjects). Space-in-Answer scores at least as high as Space-in-Prompt in eight of nine pairs, but the gap is below 0.5 pp in six of them. The exceptions are Qwen3.5 on MMLU (2.6 pp) and PIQA (9.8 pp) and Olmo 3 on MMLU (1.5 pp). SiA = Space-in-Answer, SiP = Space-in-Prompt. Best per model and benchmark in bold.
Model Split ARC (%) MMLU (%) PIQA (%)
Olmo-3-7BSiA88.9767.0577.69
SiP88.8165.5877.54
Qwen3.5-35B-A3BSiA96.8984.8691.59
SiP96.8782.2481.75
Gemma-4-26B-A4BSiA95.4778.0687.87
SiP95.1177.6588.30

Finding the Missing Probability Mass

Discussion

How Existing Frameworks Handle the Boundary

Recommendation

T(p+c)=T(p)∘T(c).T(p + c) = T(p) \circ T(c).

Further Reading

@inproceedings{s2026mind,
  title     = {Mind the Tokenizer: Why a Single Space Decides
               What Multiple-Choice Evaluations Measure},
  author    = {Prabhu Teja S and Frank Schneider and Martin Reinhardt and
               Fabien C. Y. Benureau and Thomas F Burns},
  booktitle = {NeurIPS 2026 Trust-AI-Eval Workshop},
  year      = {2026},
  url       = {https://openreview.net/forum?id=RROuGABnBG}
}

Acknowledgements

References