Manuscript Offprint

arXiv:2611.00983

A Token Is Not a Unit of Difficulty: Segmentation Controls Where Adaptive Computation Goes Inside a Word

Dipto Sumit, Mahima Mahzabin Sandria, Farig Sadeque, Md. Golam Rabiul Alam

Abstract

Early-exit language models decide for each token how much computation to spend, usually by stopping once the prediction is confident. Yet a token is not a fixed unit: tokenizers cut words into different numbers of pieces in different languages. We ask where inside a word such a policy spends its budget. In Qwen3, along two adaptive axes (the timesteps of a spiking conversion and the layers of the original Transformer), confidence stopping gives the continuation pieces of a word less computation than its first piece in English, German, and Turkish, but more in Bangla. Segmentation drives this. Re-segmenting the same parallel passages with BPE-dropout shifts the gap by up to eight exits on both axes, small models trained under two tokenizers shift Bangla's gap by six exits, and BLOOM and mGPT, which split Bangla less finely, give it the English pattern. Characters per token do not predict the gap across languages; within-word surprisal explains 75% of its variance. A learned stopping head beats confidence stopping by 7 to 8 points, but gains less than one point over the best mix of fixed exits at equal cost, and sometimes loses. All results come from offline analysis, not measured speedups.

1 Introduction

Early-exit and other adaptive-computation methods let a language model spend more work on hard predictions and stop early on easy ones (Elbayad et al., 2019; Schuster et al., 2022). The decision is made one token at a time, often by stopping as soon as the model's confidence passes a threshold, so the token becomes the unit of computation. Tokens, however, are not comparable units across languages. A sub-word tokenizer may keep a common English word whole, split a Turkish word into several reusable pieces, and break a Bangla word into fragments smaller than one character. A stopping rule that works per token inherits these choices.

Earlier work showed that tokenizers make some languages longer and more expensive to process (Petrov et al., 2023; Ahia et al., 2023). We ask a different question. If a stopping rule has the same average budget in every language, where inside a word does that budget go? We divide tokens into word starts, which begin with the tokenizer's space marker, and continuations, and measure the allocation gap: how many more exits continuation pieces receive than word starts (Figure 2a).

The sign of this gap depends on the language. In English, German, and Turkish, confidence stopping gives continuation pieces less computation than word starts; in Bangla it gives them more. The pattern appears on two different adaptive axes of the same Qwen3 models: the timesteps of a version converted into a spiking network, and the layers of the original Transformer read through tuned lenses (Belrose et al., 2023).

Three experiments, summarized in Figure 1, point to segmentation as the cause. First, re-segmenting the same parallel passages with BPE-dropout (Provilkov et al., 2020), with model, vocabulary, and readout fixed, turns the English, German, and Turkish gaps from negative to positive on both axes. Second, small models trained from scratch under two tokenizers that differ only in their Bangla coverage show a six-exit difference in Bangla's gap, while English does not move. Third, BLOOM and mGPT, whose tokenizers split Bangla less finely, give Bangla the same negative gap as English. Bangla's positive gap in Qwen3 belongs to how Qwen3 segments it.

Characters per token still do not explain why languages differ. Canonical German is segmented about as finely as English under mild dropout, yet the two gaps have opposite signs. A better predictor is how much harder continuation pieces are to predict than word starts at full computation; this surprisal contrast explains 75% of the variance across 15 languages.

Figure

Figure 1: Experimental design, and where each part is reported. (1) We change segmentation in three ways: across the tokenizers of pretrained models, with BPE-dropout on a fixed model, and by training small models under two tokenizers. (2) Each model gives a prediction at every exit along one of two adaptive axes. (3) Stopping policies choose one exit per token at the same average budget. (4) We compare the exits that word starts and continuations receive, split that gap into what tokens need and what the policy adds, and compare policies at equal cost. Icons are schematic.

A gap in allocation does not show that the policy is wrong, because word starts may simply need more computation. We therefore measure each token's demand, the first exit at which its loss is already close to final (Figure 2b). For the pretrained models on the timestep axis, much of the gap, including the Bangla reversal, is demand. On the depth axis and in the small from-scratch models it is not. Finally, a small learned stopping head beats confidence stopping by 7 to 8 points of token accuracy, but gains less than a point over the best mixture of fixed exits at the same cost.

All experiments use cached, teacher-forced trajectories. Our results describe stopping policies and the predictions they select; we do not measure real speedups.¹

References (45)