Training Language Models with homotokens Leads to Delayed Overfitting
Adrian Cosma, Stefan Ruseti, Emilian Radoi, Mihai Dascalu
TL;DR
The paper tackles tokenization-induced non-uniqueness in language model training by introducing homotokens—meaning-preserving, alternate subword segmentations of the same lexical item. It presents a lightweight two-branch architecture with a causal encoder and block-causal cross-attention to condition next-token prediction on homotoken variants while preserving the canonical token interface and objective. Empirically, pretraining with homotokens delays overfitting and improves data efficiency across various tasks, with gains in multilingual settings depending on tokenizer quality. The approach offers a practical, modular path to tokenization invariance that complements existing regularization techniques and avoids costly tokenizer redesigns. Overall, homotokens demonstrate a new axis for augmentation at the computational-linguistic interface, enabling more robust and data-efficient LM training."
Abstract
Subword tokenization introduces a computational layer in language models where many distinct token sequences decode to the same surface form and preserve meaning, yet induce different internal computations. Despite this non-uniqueness, language models are typically trained using a single canonical longest-prefix tokenization. We formalize homotokens-alternative valid subword segmentations of the same lexical item-as a strictly meaning-preserving form of data augmentation. We introduce a lightweight training architecture that conditions canonical next-token prediction on sampled homotoken variants via an auxiliary causal encoder and block-causal cross-attention, without modifying the training objective or token interface. In data-constrained pretraining, homotoken augmentation consistently delays overfitting under repeated data exposure and improves generalization across diverse evaluation datasets. In multilingual fine-tuning, we find that the effectiveness of homotokens depends on tokenizer quality: gains are strongest when canonical tokens are highly compressed and diminish when the tokenizer already over-fragments the input. Overall, homotokens provide a simple and modular mechanism for inducing tokenization invariance in language models.
