Mind the Gap: A Closer Look at Tokenization for Multiple-Choice Question Answering with LLMs

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Sanz-Guerrero, Mario, Bui, Minh Duc, von der Wense, Katharina
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915501359235072
author Sanz-Guerrero, Mario
Bui, Minh Duc
von der Wense, Katharina
author_facet Sanz-Guerrero, Mario
Bui, Minh Duc
von der Wense, Katharina
contents When evaluating large language models (LLMs) with multiple-choice question answering (MCQA), it is common to end the prompt with the string "Answer:" to facilitate automated answer extraction via next-token probabilities. However, there is no consensus on how to tokenize the space following the colon, often overlooked as a trivial choice. In this paper, we uncover accuracy differences of up to 11% due to this (seemingly irrelevant) tokenization variation as well as reshuffled model rankings, raising concerns about the reliability of LLM comparisons in prior work. Surprisingly, we are able to recommend one specific strategy -- tokenizing the space together with the answer letter -- as we observe consistent and statistically significant performance improvements. Additionally, it improves model calibration, enhancing the reliability of the model's confidence estimates. Our findings underscore the importance of careful evaluation design and highlight the need for standardized, transparent evaluation protocols to ensure reliable and comparable results.
format Preprint
id arxiv_https___arxiv_org_abs_2509_15020
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Mind the Gap: A Closer Look at Tokenization for Multiple-Choice Question Answering with LLMs
Sanz-Guerrero, Mario
Bui, Minh Duc
von der Wense, Katharina
Computation and Language
When evaluating large language models (LLMs) with multiple-choice question answering (MCQA), it is common to end the prompt with the string "Answer:" to facilitate automated answer extraction via next-token probabilities. However, there is no consensus on how to tokenize the space following the colon, often overlooked as a trivial choice. In this paper, we uncover accuracy differences of up to 11% due to this (seemingly irrelevant) tokenization variation as well as reshuffled model rankings, raising concerns about the reliability of LLM comparisons in prior work. Surprisingly, we are able to recommend one specific strategy -- tokenizing the space together with the answer letter -- as we observe consistent and statistically significant performance improvements. Additionally, it improves model calibration, enhancing the reliability of the model's confidence estimates. Our findings underscore the importance of careful evaluation design and highlight the need for standardized, transparent evaluation protocols to ensure reliable and comparable results.
title Mind the Gap: A Closer Look at Tokenization for Multiple-Choice Question Answering with LLMs
topic Computation and Language
url https://arxiv.org/abs/2509.15020