Skip to content
View original post on X: Rohan Paul
Published
62/100

Stanford paper finds bits-per-byte is not fully tokenizer-agnostic

AIStanford researchers Rylan Schaeffer and Sanmi Koyejo report that bits-per-byte (BPB), a common metric for comparing models with different tokenizers, is not fully tokenizer-agnostic. Untrained models that guess uniformly still received different BPB scores by tokenizer, while accuracy stayed at chance.
Rohan PaulVerified on X
@rohanpaul_ai
View on X

New Stanford paper finds that no metric can be tokenizer-agnostic in every sense, so anyone comparing tokenizers should not trust a single score and should also check whether the model answers correctly.

To compare models with different tokenizers, researchers usually report bits-per-byte, or BPB, which divides the loss by bytes instead of tokens. Many papers call it tokenizer-agnostic.

They scored untrained models that guess uniformly, plus released models that share one recipe but use different tokenizers. They also rechecked a published claim that another supposedly tokenizer-neutral metric agrees with BPB.

Models that learned nothing still got different BPB by tokenizer, with English text scoring best near a 24K vocabulary, while accuracy stayed at chance. On models trained with different tokenizers, correlations between BPB and task scores ran only from +0.02 to −0.30.

When comparing tokenizers, don't treat lower BPB as proof of a better model, and check task accuracy on the same text before picking a vocabulary.

Source details

Rohan Paul · x.comPublished · added here

Original title: New Stanford paper finds that no metric can be tokenizer-agnostic in every sense, so anyone comparing tokenizers should not trust a singl...