{"id":924873,"date":"2026-10-08T04:52:23","date_gmt":"2026-10-08T04:52:23","guid":{"rendered":"https:\/\/www.newsbeep.com\/ca\/924873\/"},"modified":"2026-10-08T04:52:23","modified_gmt":"2026-10-08T04:52:23","slug":"retrofitting-language-models-to-operate-over-bytes","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/ca\/924873\/","title":{"rendered":"Retrofitting language models to operate over bytes"},"content":{"rendered":"<p>Byteified model architecture details<\/p>\n<p>Our architecture follows the same overall structure as earlier LTLMs, including DTP, BLT and H-Net (\u2018Related work\u2019 in <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"section anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#Sec9\" rel=\"nofollow noopener\" target=\"_blank\">Methods<\/a>). It consists of the following components.<\/p>\n<p>Tokenization and embedding<\/p>\n<p>\\({\\mathcal{T}}\\) assigns every input UTF-8 byte in x (we treat x as a sequence over bytes: x\u00a0\u2208\u00a0{0,\u00a0\u2026,\u00a0255}n) a corresponding embedding in \\({{\\mathbb{R}}}^{d}\\) from an embedding table containing an entry for every byte. The embedding table over bytes is negligible in size compared with embedding tables over subwords. However, scaling the size and sparsity of the embedding table has been shown to improve performance while having no negative effect on inference speed<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 46\" title=\"Huang, H. et al. Over-tokenized transformer: vocabulary is generally worth scaling. In Proc. 42nd International Conference on Machine Learning, Vol. 267 (eds Singh, A. et al.) 26261&#x2013;26282 (PMLR, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR46\" id=\"ref-link-section-d85806392e5588\" rel=\"nofollow noopener\" target=\"_blank\">46<\/a>. Inspired by the hash embeddings in BLT<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 22\" title=\"Pagnoni, A. et al. Byte latent transformer: patches scale better than tokens. In Proc. 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Che, W. et al.) 9238&#x2013;9258 (Association for Computational Linguistics, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR22\" id=\"ref-link-section-d85806392e5592\" rel=\"nofollow noopener\" target=\"_blank\">22<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 47\" title=\"Tito Svenstrup, D., Hansen, J. &amp; Winther, O. Hash embeddings for efficient word representations. In Advances in Neural Information Processing Systems, Vol. 30 (eds Guyon, I. et al.) (Curran Associates, 2017).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR47\" id=\"ref-link-section-d85806392e5595\" rel=\"nofollow noopener\" target=\"_blank\">47<\/a>, we, thus, increased the size of the embedding table. Specifically, we residually added the longest subword embedding (from the original embedding table in the subword-level LLM) that ends at the current byte position to every byte embedding: <\/p>\n<p>$${e}_{i}:= {{\\mathcal{T}}}_{\\mathrm{Byte}}({x}_{i})+{{\\mathcal{T}}}_{\\mathrm{SubwordSuffix}}({x}_{:i}),$$<\/p>\n<p>where \\({{\\mathcal{T}}}_{\\mathrm{SubwordSuffix}}\\) assigns an embedding to every byte based on the index of the subword token in the vocabulary \\({{\\mathcal{V}}}_{\\mathrm{Subword}}\\) with the longest common suffix to the byte sequence up to the current position i. For example, the subword embeddings corresponding to {\u2018_\u2019, \u2018_f\u2019, \u2018_fl\u2019, \u2018o\u2019, \u2018_flow\u2019} could be added to the byte representation of the sequence {\u2018_\u2019, \u2018f\u2019, \u2018l\u2019, \u2018o\u2019, \u2018w\u2019}, assuming none of {\u2018_flo\u2019, \u2018flo\u2019, \u2018lo\u2019} are in the original subword vocabulary. Retaining the subword embeddings is not strictly necessary, and we can generally achieve the same performance by increasing the size of the local encoder instead. However, retaining the subword embedding allows us to achieve a better performance\u2013efficiency trade-off by increasing the number of cheap sparsely activated parameters; an alternative to increasing the size and sparsity of the local encoder is using a mixture of experts in the feedforward layer, although we do not investigate this here.<\/p>\n<p>Local encoder<\/p>\n<p>The local encoder \\({\\mathcal{E}}\\) contextualizes the byte-level embeddings through an mLSTM layer<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 33\" title=\"Beck, M. et al. xLSTM 7B: a recurrent LLM for fast and efficient inference. In Proc. Forty-second International Conference on Machine Learning, Vol. 267 (eds Singh, A. et al.) 3335&#x2013;3357 (PMLR, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR33\" id=\"ref-link-section-d85806392e5777\" rel=\"nofollow noopener\" target=\"_blank\">33<\/a>, resulting in the contextualized representations \\(\\widehat{e}\\). We found that mLSTM improves inference speed compared with other linear recurrent neural network (RNN) variants (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#Fig7\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a>) while attaining competitive performance. We found a single mLSTM layer to be sufficient, as the expressivity of the local encoder was substantially enhanced by the retained subword embeddings.<\/p>\n<p>Boundary predictor<\/p>\n<p>The boundary predictor \\({\\mathcal{B}}\\) predicts a score p\u00a0\u2208\u00a0[0,\u00a01] for each byte based on the contextualized representations \\(\\widehat{e}\\). If p is greater than some threshold, a patch boundary is placed after the current byte. In contrast to earlier LTLMs, the boundary predictor of the byteified models is non-causal: it has access to 1\u2009byte of future context, and it is only employed for the prefill, where future information can be used while retaining the ability to generate text. We describe non-causal boundary prediction in detail in section \u2018Byteified language model architecture\u2019, where we also discuss how boundary prediction is handled during decoding.<\/p>\n<p>Pooling<\/p>\n<p>We pool byte-level representations into patch representations by selecting the representation of the last byte in every patch as the patch-level representation h. This is equivalent to the pooling done by Hwang et al.<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 2\" title=\"Hwang, S., Wang, B. &amp; Gu, A. Dynamic chunking for end-to-end hierarchical sequence modeling. In Proc. Fourteenth International Conference on Learning Representations (eds Vondrick, C. et al.) 149273&#x2013;149313 (International Conference on Learning Representations, 2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR2\" id=\"ref-link-section-d85806392e5869\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a> and does not introduce any extra parameters. Unlike Hwang et al.<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 2\" title=\"Hwang, S., Wang, B. &amp; Gu, A. Dynamic chunking for end-to-end hierarchical sequence modeling. In Proc. Fourteenth International Conference on Learning Representations (eds Vondrick, C. et al.) 149273&#x2013;149313 (International Conference on Learning Representations, 2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR2\" id=\"ref-link-section-d85806392e5873\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>, the local models and the global model use the same representation dimensionality, obviating the need for an up-projection. We originally experimented with smaller local dimensions but found the up-projection mechanism to bottleneck performance by restricting the rank of the representations (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#Fig5\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>).<\/p>\n<p>Global model<\/p>\n<p>Most of the compute is spent in the deep global model \\({\\mathcal{M}}\\) contextualizing the patch representations h into \\(\\widehat{h}\\). We retain the global model of the original subword-level LLM.<\/p>\n<p>Depooling<\/p>\n<p>The global model is invoked at every patch boundary, providing contextualized representations for every patch. It remains to depool these representations back to representations of bytes. We do so by adding the latest available patch representation in \\(\\widehat{h}\\) at any byte position to a linear projection of the byte representations \\(\\widehat{e}\\), resulting in z. This is like the depooling by H-Net, again forgoing the projection due to equal global and local dimensionality.<\/p>\n<p>Local decoder<\/p>\n<p>The local decoder \\({\\mathcal{D}}\\) contextualizes the depooled byte representations z into \\(\\widehat{z}\\) through another stack of mLSTM layers. We used more mLSTM layers (in practice, four) to increase capacity, because unlike in the encoder, we found it infeasible to meaningfully reincorporate the output subword embedding matrix, which could have potentially allowed us to reduce the number of layers in the decoder in a similar way as for the encoder.<\/p>\n<p>Language-modelling head<\/p>\n<p>The language-modelling head converts the final byte representations \\(\\widehat{z}\\) into scores interpretable as next-byte probabilities (and next-byte-followed-by-boundary probabilities if boundary predictions are fused; compare with \u2018Byteified language model architecture\u2019) through a projection to the vocabulary space and softmax. During decoding, the next atom (byte or boundary in the unfused case and byte or byte-and-boundary in the fused case) was generated by looping over the local encoder, local decoder and language-modelling head. If a boundary is predicted, the patch ends and is passed through the global model, after which the next loop over the local encoder, local decoder and language-modelling head starts. We did not find it necessary to employ any mechanism to ensure consistency between the patch representations and decoded bytes. As in standard subword-level language models, the extent of the possible mismatch between the hidden representations and the decoded atoms is dictated by the sampling procedure; any apparent mismatch is analogous to sampling a non-argmax token in a standard subword-level language model.<\/p>\n<p>In practice, Bolmo 1B contains approximately 10M fewer parameters, where M is millions, than OLMo 2 1B (\u22120.7%), Bolmo 7B contains approximately 330M more than Olmo 3 7B (+4.5%), Blama 8B contains approximately 220M more than Llama 3 8B (+2.7%) and Bwen 8B contains approximately 120M more than Qwen3 8B (+1.5%).<\/p>\n<p>Byteifying procedureSubword-to-byte distillation<\/p>\n<p>The first stage starts by initializing the parameters of the global model from the subword-level LLM checkpoint, whereas the parameters of the local models and the language-modelling head are initialized randomly. The aim of this stage is to quickly learn weights for the local encoder, local decoder, boundary predictor and language-modelling head that recover the behaviour of the subword model. Efficiency is crucial; the cost of this stage should be minimal to permit fast experimentation and allow increasing the investment into stage 2. To achieve these goals, we designed a stage 1 procedure that allows the model to learn the desired weights without fully backpropagating through the global model. This substantially reduces the time per training step (Extended Data Table <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#Tab5\" rel=\"nofollow noopener\" target=\"_blank\">4<\/a>). The stage 1 loss is minimal if and only if the byte-level model exactly mimics the source subword-level LLM. It is composed of three parts.<\/p>\n<p>                  Quickly learning a boundary predictor \\({\\boldsymbol{\\mathcal{B}}}_{{\\bf{byteify}}}\\)<\/p>\n<p>We train the boundary predictor to emulate the boundaries placed by subword tokenization through a binary cross-entropy loss:<\/p>\n<p>$${{\\mathcal{L}}}_{{\\mathcal{B}}}:= -\\sum _{t}({{\\mathcal{B}}}_{\\mathrm{subword}}{(x)}_{t}\\,\\log \\,{{\\mathcal{B}}}_{\\mathrm{byteify}}{(\\hat{e})}_{t}+(1-{{\\mathcal{B}}}_{\\mathrm{subword}}{(x)}_{t})\\,\\log (1-{{\\mathcal{B}}}_{\\mathrm{byteify}}{(\\hat{e})}_{t})),$$<\/p>\n<p>where \\({{\\mathcal{B}}}_{\\mathrm{subword}}(x)\\) is 1 for every byte at the last position of a subword patch, otherwise 0. The boundary predictor \\({{\\mathcal{B}}}_{\\mathrm{byteify}}\\), which uses future context to tokenize the prefill text, quickly achieves over 99% accuracy.<\/p>\n<p>                  Quickly learning a local encoder \\(\\boldsymbol{\\mathcal{E}}\\)<\/p>\n<p>Assuming our boundary predictor perfectly emulates subword tokenization, our local encoder and pooling mechanism will be a perfect substitute for the subword embedding matrix if they yield the same input to the global model as the subword embedding matrix for every patch. This is the case if all pooled representations \\(\\mathrm{Pool}({\\mathcal{E}}({\\mathcal{T}}\\,(x)),{{\\mathcal{B}}}_{\\mathrm{byteify}}(\\hat{e}))\\) are equal to the corresponding subword embeddings \\({{\\mathcal{T}}}_{\\mathrm{subword}}(x)\\). Hwang et al.<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 2\" title=\"Hwang, S., Wang, B. &amp; Gu, A. Dynamic chunking for end-to-end hierarchical sequence modeling. In Proc. Fourteenth International Conference on Learning Representations (eds Vondrick, C. et al.) 149273&#x2013;149313 (International Conference on Learning Representations, 2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR2\" id=\"ref-link-section-d85806392e6454\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a> optimized towards this goal by directly minimizing the L2 distance of every pooled representation to the corresponding subword embedding. We took an alternative approach inspired by research on model stitching, which showed that similar representations do not necessarily propagate through subsequent layers in a similar way<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 48\" title=\"Athanasiadis, I., Karmush, A. &amp; Felsberg, M. Grounding functional similarity by invariance-aware model stitching. In Proc. Forty-third International Conference on Machine Learning (2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR48\" id=\"ref-link-section-d85806392e6462\" rel=\"nofollow noopener\" target=\"_blank\">48<\/a>. We propagate the pooled representations through n layers of the global model and minimize the L2 distance to the subword representations that result from propagating the subword embeddings through the same n layers: <\/p>\n<p>$$\\begin{array}{l}{Y}_{{\\mathcal{E}}}:= {{\\mathcal{M}}}_{:n}({{\\mathcal{T}}}_{\\mathrm{subword}}(x)),\\\\ {\\hat{Y}}_{{\\mathcal{E}}}:= {{\\mathcal{M}}}_{:n}(\\mathrm{Pool}({\\mathcal{E}}({\\mathcal{T}}\\,(x)),{{\\mathcal{B}}}_{\\mathrm{subword}}(x))),\\\\ {{\\mathcal{L}}}_{{\\mathcal{E}}}:= \\parallel {Y}_{{\\mathcal{E}}}-{\\hat{Y}}_{{\\mathcal{E}}}\\parallel .\\end{array}$$<\/p>\n<p>where\u00a0\\({Y}_{{\\mathcal{E}}}\\)\u00a0are the representations\u00a0of the original model at\u00a0layer n,\u00a0\\({\\hat{Y}}_{{\\mathcal{E}}}\\)\u00a0the retrofitted model\u00a0representations\u00a0at the same layer n of the global model,\u00a0and\u00a0\\({{\\mathcal{L}}}_{{\\mathcal{E}}}\\)\u00a0the \\({{\\mathcal{L}}}^{2}\\) distance between the two.\u00a0Notably, we pool the local encoder representations using the true subword boundaries \\({{\\mathcal{B}}}_{\\mathrm{subword}}\\) instead of \\({{\\mathcal{B}}}_{\\mathrm{byteify}}\\); this is necessary to preserve the alignment of the pooled representations to the representations in \\({{\\mathcal{T}}}_{\\mathrm{subword}}(x)\\) along the sequence dimension. \\({{\\mathcal{M}}}_{:n}\\) indicates the global model up to and including the nth layer. The weights of \\({\\mathcal{M}}\\) are kept frozen. If n\u00a0=\u00a00, this reduces to the setting of ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 2\" title=\"Hwang, S., Wang, B. &amp; Gu, A. Dynamic chunking for end-to-end hierarchical sequence modeling. In Proc. Fourteenth International Conference on Learning Representations (eds Vondrick, C. et al.) 149273&#x2013;149313 (International Conference on Learning Representations, 2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR2\" id=\"ref-link-section-d85806392e6883\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>. Although choosing n\u00a0&gt;\u00a00 necessitates backpropagating through some parts of the global model, we can minimize the resulting cost by choosing a small n. We found that n\u00a0=\u00a04 strikes a good balance between performance and efficiency, as it substantially outperformed n\u00a0=\u00a00 while remaining cheap to compute.<\/p>\n<p>                  Quickly learning a local decoder \\(\\boldsymbol{\\mathcal{D}}\\)<\/p>\n<p>Our local decoder and language-modelling head are optimal if our byte-level LLM assigns the same likelihood as the subword model to every text x. Assuming equal patch boundaries, it is optimal if the likelihood of every patch is equal. As subword-level LLMs implicitly predict output patch boundaries, we cannot easily compute comparable patch likelihoods in byte-level models without output boundary prediction. In this case, we would have to resort to approximations, as in ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 49\" title=\"Minixhofer, B., Vuli&#x107;, I. &amp; Ponti, E. Universal cross-tokenizer distillation via approximate likelihood matching. In Advances in Neural Information Processing Systems, Vol. 38 (eds Belgrave, D. et al.) 79297&#x2013;79326 (Curran Associates, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR49\" id=\"ref-link-section-d85806392e6924\" rel=\"nofollow noopener\" target=\"_blank\">49<\/a>. However, as the byteified models do predict output patch boundaries, simply comparing the likelihoods of every patch results in an exact objective (proof in \u2018Exactness of the stage 1 objective\u2019 in\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">Supplementary Information<\/a>):<\/p>\n<p>$$\\begin{array}{l}{{\\mathcal{L}}}_{{\\mathcal{D}},\\mathrm{Distill}}:= \\sum _{i}f\\left(\\prod _{j\\in T(x,i)}\\,\\mathrm{LMHead}\\,({\\hat{z}}_{\\mathrm{subword}})[\\,j,\\mathrm{next}\\_\\mathrm{byte}(x,j)]\\right.\\\\ \\,\\left.\\parallel \\,{\\mathrm{LMHead}}_{\\mathrm{subword}}({z}_{\\mathrm{subword}})[i,\\mathrm{next}\\_\\mathrm{tok}(x,i)]\\right),\\end{array}$$<\/p>\n<p>where j\u00a0\u2208\u00a0T(x,\u00a0i) indicates all byte indices j that are part of the ith subword patch; this includes the indices of the special  symbol if treated as separate or the indices of the 256 special symbols consisting of a byte plus  if fused. next_tok(\u00a0\u22c5\u00a0) and next_byte(\u00a0\u22c5\u00a0) map to the index in the vocabulary of the symbol occurring after the current symbol (token or byte), including special symbols. \\({z}_{\\mathrm{subword}}={\\mathcal{M}}({{\\mathcal{T}}}_{\\mathrm{subword}}(x))\\) are the representations of the subword model at the final layer, \\({\\hat{z}}_{\\mathrm{subword}}={\\mathcal{D}}(\\mathrm{Depool}\\,(\\hat{e},{z}_{\\mathrm{subword}},p))\\) is the result of passing these representations through the depooling layer and the local decoder, and LMHeadsubword is the language-modelling head of the source subword-level LLM. We chose for the comparison function f: <\/p>\n<p>$$f(\\hat{y}\\,\\parallel \\,y):= -({y}^{1\/\\tau }\\,\\log \\,{\\hat{y}}^{1\/\\tau }+(1-{y}^{1\/\\tau })\\,\\log (1-{\\hat{y}}^{1\/\\tau })),$$<\/p>\n<p>where \\(\\widehat{y}\\) are the predictions and y the targets. In principle, f could be any function that is minimal at \\(\\widehat{y}=y\\); we chose the temperature-modulated binary cross-entropy with temperature \u03c4\u00a0=\u00a05, as recommended by Minixhofer et al.<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 49\" title=\"Minixhofer, B., Vuli&#x107;, I. &amp; Ponti, E. Universal cross-tokenizer distillation via approximate likelihood matching. In Advances in Neural Information Processing Systems, Vol. 38 (eds Belgrave, D. et al.) 79297&#x2013;79326 (Curran Associates, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR49\" id=\"ref-link-section-d85806392e7518\" rel=\"nofollow noopener\" target=\"_blank\">49<\/a>. In practice, we conducted the operations involved in the loss computation in log-space to ensure stable numerics. We optionally combine the distillation loss \\({{\\mathcal{L}}}_{{\\mathcal{D}},\\mathrm{Distill}}\\) with a cross-entropy loss to encourage the system to model the training data well and to start exploiting byte-level information, at the cost of giving up exactness if enabled: <\/p>\n<p>$${{\\mathcal{L}}}_{{\\mathcal{D}},\\mathrm{CE}}:= \\sum _{j}-\\log \\,\\mathrm{LMHead}\\,({\\hat{z}}_{\\mathrm{subword}})[\\,j,\\mathrm{next}\\_\\mathrm{byte}(x,j)].$$<\/p>\n<p>                  Putting it together<\/p>\n<p>In principle, the boundary predictor and local encoder on the one hand and the local decoder and language-modelling head on the other could be trained separately (assuming we stop the gradient to the encoder through \\({\\widehat{z}}_{{\\rm{subword}}}\\)). Although there may be scenarios where this is beneficial, we chose to train them together for simplicity. The complete stage 1 loss is given by <\/p>\n<p>$${{\\mathcal{L}}}_{\\mathrm{Stage1}}:= {\\lambda }_{{\\mathcal{B}}}{{\\mathcal{L}}}_{{\\mathcal{B}}}+{\\lambda }_{{\\mathcal{E}}}{{\\mathcal{L}}}_{{\\mathcal{E}}}+{\\lambda }_{{\\mathcal{D}},\\mathrm{Distill}}{{\\mathcal{L}}}_{{\\mathcal{D}},\\mathrm{Distill}}+{\\lambda }_{{\\mathcal{D}},\\mathrm{CE}}{{\\mathcal{L}}}_{{\\mathcal{D}},\\mathrm{CE}},$$<\/p>\n<p>where \\({\\lambda }_{{\\mathcal{B}}},{\\lambda }_{{\\mathcal{E}}},{\\lambda }_{{\\mathcal{D}},\\mathrm{Distill}},{\\lambda }_{{\\mathcal{D}},\\mathrm{CE}}\\in {\\rm{{\\mathbb{R}}}}\\) are the loss weights, which we set as follows: \\({\\lambda }_{{\\mathcal{B}}}=4,{\\lambda }_{{\\mathcal{E}}}=1,{\\lambda }_{{\\mathcal{D}},\\mathrm{Distill}}=1\\,\\mathrm{and}\\,{\\lambda }_{{\\mathcal{D}},\\mathrm{CE}}=1\\). Stage 1 needs in total one forward pass through all layers and one backward pass through the first n layers of the global model plus forward and backward passes through local encoder, local decoder, boundary predictor and language-modelling head. This makes stage 1 substantially more efficient than training the entire model. It could also be further optimized by quantizing or applying inference-specific optimizations to the global model layers starting from the (n\u2009+\u20091)th layer (which we do not need to backpropagate through). We analysed the difference between inserting stage 1 and directly training the entire model end-to-end with randomly initialized parameters (besides the global model) in \u2018Benefits of training in two stages\u2019. Besides performance improvements, stage 1 provides a vehicle for rapid experimentation: we can conduct stage 1 training to rapidly check whether a particular architecture for the local encoder and decoder has sufficient capacity to emulate the input and output embedding matrices, respectively. We use this to guide the architecture search for our byteified models under the hypothesis that byte-level architectures that cannot emulate the subword model after stage 1 will remain inadequate with further stage 2 training.<\/p>\n<p>                End-to-end training<\/p>\n<p>In the second stage, we train the entire model end-to-end, retaining only the boundary loss \\({{\\mathcal{L}}}_{{\\mathcal{B}}}\\) and the cross-entropy loss. For the cross-entropy loss (previously denoted \\({{\\mathcal{L}}}_{{\\mathcal{D}},\\mathrm{CE}}\\)), we substitute the depooled representations \\({\\widehat{z}}_{{\\rm{subword}}}\\) computed from the subword model representations with the true depooled representations \\(\\widehat{z}\\), and we refer to this new loss as \\({{\\mathcal{L}}}_{\\mathrm{CE}}\\) instead: <\/p>\n<p>$${{\\mathcal{L}}}_{\\mathrm{Stage2}}:= {\\lambda }_{{\\mathcal{B}}}{{\\mathcal{L}}}_{{\\mathcal{B}}}+{\\lambda }_{\\mathrm{CE}}{{\\mathcal{L}}}_{\\mathrm{CE}}.$$<\/p>\n<p>We now optimize all parameters, including those of the global model \\({\\mathcal{M}}\\). This stage is intended for the model to adjust to the end-to-end setting, as in stage 1 we assumed a local encoder and boundary predictor perfectly emulating the subword model, which, although close, is not true in practice. The global model learns to exploit the new byte-level information in stage 2 and can optionally be trained with higher compression ratios of bytes per patch (section \u2018Increasing model efficiency\u2019).<\/p>\n<p>Methods for increasing the compression factor<\/p>\n<p>To increase the compression factor of a byteified model, we fix a compression ratio t for the target average bytes per patch. We then remove subword boundaries (merged subword tokens) of \\({{\\mathcal{B}}}_{\\mathrm{subword}}\\) until the desired compression ratio is achieved. We experimented with three merging strategies:<\/p>\n<p>                    (1)<\/p>\n<p>BPE. We iteratively merged the most common pair of tokens as in byte pair encoding<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 1\" title=\"Sennrich, R., Haddow, B. &amp; Birch, A. Neural machine translation of rare words with subword units. In Proc. 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Erk, K. &amp; Smith, N. A.) 1715&#x2013;1725 (Association for Computational Linguistics, 2016).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR1\" id=\"ref-link-section-d85806392e8247\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>. In contrast to conventional BPE, we applied BPE per example instead of over the entire corpus. This was inspired by Feher et al.<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 50\" title=\"Feher, D., Vuli&#x107;, I. &amp; Minixhofer, B. Retrofitting large language models with dynamic tokenization. In Proc. 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Che, W. et al.) 29866&#x2013;29883 (Association for Computational Linguistics, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR50\" id=\"ref-link-section-d85806392e8251\" rel=\"nofollow noopener\" target=\"_blank\">50<\/a>, who showed that it is possible to retrofit language models to operate over BPE merges of the tokens in their vocabulary.<\/p>\n<p>                    (2)<\/p>\n<p>Entropy. We used an auxiliary 370M-parameter subword-level LLM, trained on 74.3B tokens following a downscaled version of the OLMo 2 training and architecture<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 29\" title=\"Walsh, E. P. et al. 2 OLMo 2 furious (COLM&#039;s version). In Proc. Second Conference on Language Modeling (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR29\" id=\"ref-link-section-d85806392e8266\" rel=\"nofollow noopener\" target=\"_blank\">29<\/a>, to compute next-token entropies. We then iteratively merged the pair of patches that, when summing their individual entropies, resulted in the lowest entropy among all entropy sums of pairs of patches in the example.<\/p>\n<p>                    (3)<\/p>\n<p>Cross-entropy. We used the same auxiliary LLM as for entropy-based merging, but instead of merging the pair of tokens with the lowest total entropy, we iteratively merged the pair of tokens with the lowest total cross-entropy with respect to the next token in the data.<\/p>\n<p>For entropy- and cross-entropy-based merging, the auxiliary LLM was required during training time only to supervise the boundary predictor (as in DTP<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 24\" title=\"Nawrot, P., Chorowski, J., Lancucki, A. &amp; Ponti, E. M. Efficient transformers with dynamic token pooling. In Proc. 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Rogers, A. et al.) 6403&#x2013;6417 (Association for Computational Linguistics, 2023).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR24\" id=\"ref-link-section-d85806392e8287\" rel=\"nofollow noopener\" target=\"_blank\">24<\/a>). Unlike BLT<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 22\" title=\"Pagnoni, A. et al. Byte latent transformer: patches scale better than tokens. In Proc. 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Che, W. et al.) 9238&#x2013;9258 (Association for Computational Linguistics, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR22\" id=\"ref-link-section-d85806392e8291\" rel=\"nofollow noopener\" target=\"_blank\">22<\/a>, we did not need to retain the auxiliary LLM for inference.<\/p>\n<p>Even though the loss is discontinuous with respect to the parameters of the boundary predictor and we did not employ any technique to backpropagate through the discrete boundary predictions, we observed stable training without loss spikes with all of the above merging methods. An important nuance is that the supervision target compression ratio t was not attained by the model. Despite the boundaries not being learned end to end, the model learns to trade off boundary prediction accuracy with the main next-byte prediction loss, like other multitask models that learn to balance performance on the constituent tasks (for example, ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 51\" title=\"Zhang, Y. &amp; Yang, Q. A survey on multi-task learning. IEEE Trans. Knowl. Data Eng. 34, 5586&#x2013;5609 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR51\" id=\"ref-link-section-d85806392e8301\" rel=\"nofollow noopener\" target=\"_blank\">51<\/a>). An important hyperparameter is, thus, the factor \\({\\lambda }_{{\\mathcal{B}}}\\) controlling the importance of the boundary prediction task; we keep \\({\\lambda }_{{\\mathcal{B}}}=4\\) from stage 1 training.<\/p>\n<p>Experimental set-upData<\/p>\n<p>Our data mix consists of approximately 172B tokens, as tokenized by the Dolma2 Tokenizer (<a href=\"http:\/\/huggingface.co\/allenai\/dolma2-tokenizer\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/huggingface.co\/allenai\/dolma2-tokenizer<\/a>) from the Dolma 3 pretraining data mix<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 28\" title=\"Olmo Team. Olmo 3. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2512.13961&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR28\" id=\"ref-link-section-d85806392e8367\" rel=\"nofollow noopener\" target=\"_blank\">28<\/a>, augmented with 75M tokens of CUTE-style data<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 11\" title=\"Edman, L., Schmid, H. &amp; Fraser, A. CUTE: measuring LLMs&#039; understanding of their tokens. In Proc. 2024 Conference on Empirical Methods in Natural Language Processing (eds Al-Onaizan, Y. et al.) 3017&#x2013;3026 (Association for Computational Linguistics, 2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR11\" id=\"ref-link-section-d85806392e8371\" rel=\"nofollow noopener\" target=\"_blank\">11<\/a>, sampled so as not to overlap with the CUTE test set, to encourage character understanding (\u2018Character-level training data\u2019 in <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"section anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#Sec9\" rel=\"nofollow noopener\" target=\"_blank\">Methods<\/a>). Training ran for less than one epoch on this mix.<\/p>\n<p>Model<\/p>\n<p>We used Qwen3 8B Base<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 30\" title=\"Yang, A. et al. Qwen3 technical report. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2505.09388&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR30\" id=\"ref-link-section-d85806392e8386\" rel=\"nofollow noopener\" target=\"_blank\">30<\/a>, Llama 3 8B<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 31\" title=\"Grattafiori, A. et al. The Llama 3 herd of models. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2407.21783&#010;                &#010;               (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR31\" id=\"ref-link-section-d85806392e8390\" rel=\"nofollow noopener\" target=\"_blank\">31<\/a> and the Olmo 3 7B checkpoint after mid-training and long-context extension<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 28\" title=\"Olmo Team. Olmo 3. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2512.13961&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR28\" id=\"ref-link-section-d85806392e8394\" rel=\"nofollow noopener\" target=\"_blank\">28<\/a> as the starting points for our byteified models. For the local models, we used stacks of alternating mLSTM<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 33\" title=\"Beck, M. et al. xLSTM 7B: a recurrent LLM for fast and efficient inference. In Proc. Forty-second International Conference on Machine Learning, Vol. 267 (eds Singh, A. et al.) 3335&#x2013;3357 (PMLR, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR33\" id=\"ref-link-section-d85806392e8398\" rel=\"nofollow noopener\" target=\"_blank\">33<\/a> and feedforward layers of size 1 and 4 for the encoder and decoder, respectively (Extended Data Table <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#Tab6\" rel=\"nofollow noopener\" target=\"_blank\">5<\/a>).<\/p>\n<p>Training<\/p>\n<p>We trained stage 1 on 9.8B tokens (approximately 43B bytes). In this stage, we trained the local encoder, decoder, boundary predictor and language-modelling head, keeping the global model frozen. For stage 2, we trained the entire model on 39.3B tokens (approximately 173B bytes; Extended Data Table <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#Tab5\" rel=\"nofollow noopener\" target=\"_blank\">4<\/a>).<\/p>\n<p>Evaluation<\/p>\n<p>We created the 7B byteification evaluation suite based on the Olmo 3 OlmoBaseEval<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 28\" title=\"Olmo Team. Olmo 3. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2512.13961&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR28\" id=\"ref-link-section-d85806392e8424\" rel=\"nofollow noopener\" target=\"_blank\">28<\/a>, skipping GSM Symbolic and BigCodeBench due to their size, and adding CUTE<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 11\" title=\"Edman, L., Schmid, H. &amp; Fraser, A. CUTE: measuring LLMs&#039; understanding of their tokens. In Proc. 2024 Conference on Empirical Methods in Natural Language Processing (eds Al-Onaizan, Y. et al.) 3017&#x2013;3026 (Association for Computational Linguistics, 2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR11\" id=\"ref-link-section-d85806392e8428\" rel=\"nofollow noopener\" target=\"_blank\">11<\/a> and EXECUTE<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 52\" title=\"Edman, L., Schmid, H. &amp; Fraser, A. EXECUTE: a multilingual benchmark for LLM token understanding. In Proc. Findings of the Association for Computational Linguistics: ACL 2025 (eds Che, W. et al.) 1878&#x2013;1887 (Association for Computational Linguistics, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR52\" id=\"ref-link-section-d85806392e8432\" rel=\"nofollow noopener\" target=\"_blank\">52<\/a> to measure character understanding in English and across other languages, respectively. We created the 1B byteification evaluation suite based on the Base Easy Suite in Olmo 3<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 28\" title=\"Olmo Team. Olmo 3. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2512.13961&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR28\" id=\"ref-link-section-d85806392e8436\" rel=\"nofollow noopener\" target=\"_blank\">28<\/a>, again adding CUTE<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 11\" title=\"Edman, L., Schmid, H. &amp; Fraser, A. CUTE: measuring LLMs&#039; understanding of their tokens. In Proc. 2024 Conference on Empirical Methods in Natural Language Processing (eds Al-Onaizan, Y. et al.) 3017&#x2013;3026 (Association for Computational Linguistics, 2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR11\" id=\"ref-link-section-d85806392e8440\" rel=\"nofollow noopener\" target=\"_blank\">11<\/a> to measure character understanding. For the 1B suite, we defined a set of core tasks consisting of ARC<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 53\" title=\"Clark, P. et al. Think you have solved question answering? Try ARC, the AI2 reasoning challenge. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.1803.05457&#010;                &#010;               (2018).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR53\" id=\"ref-link-section-d85806392e8445\" rel=\"nofollow noopener\" target=\"_blank\">53<\/a>, MMLU<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 54\" title=\"Hendrycks, D. et al. Measuring massive multitask language understanding. In Proc. International Conference on Learning Representations (ICLR) (eds Mohamed, S. et al.) (International Conference on Learning Representations, 2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR54\" id=\"ref-link-section-d85806392e8449\" rel=\"nofollow noopener\" target=\"_blank\">54<\/a>, CSQA<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 55\" title=\"Talmor, A., Herzig, J., Lourie, N. &amp; Berant, J. CommonsenseQA: a question answering challenge targeting commonsense knowledge. In Proc. 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) (eds Burstein, J. et al.) 4149&#x2013;4158 (Association for Computational Linguistics, 2019).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR55\" id=\"ref-link-section-d85806392e8453\" rel=\"nofollow noopener\" target=\"_blank\">55<\/a>, HellaSwag<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 56\" title=\"Zellers, R., Holtzman, A., Bisk, Y., Farhadi, A. &amp; Choi, Y. HellaSwag: Can a machine really finish your sentence? In Proc. 57th Annual Meeting of the Association for Computational Linguistics (eds Korhonen, A. et al.) 4791&#x2013;4800 (Association for Computational Linguistics, 2019).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR56\" id=\"ref-link-section-d85806392e8457\" rel=\"nofollow noopener\" target=\"_blank\">56<\/a>, WinoGrande<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 57\" title=\"Sakaguchi, K., Le Bras, R., Bhagavatula, C. &amp; Choi, Y. WinoGrande: an adversarial winograd schema challenge at scale. In Proc. AAAI Conference on Artificial Intelligence, Vol. 34 (eds Conitzer, V. &amp; Sha, F.) 8732&#x2013;8740 (AAAI Press, 2020).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR57\" id=\"ref-link-section-d85806392e8461\" rel=\"nofollow noopener\" target=\"_blank\">57<\/a>, SocialIQA<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 58\" title=\"Sap, M., Rashkin, H., Chen, D., Le Bras, R. &amp; Choi, Y. Social IQa: commonsense reasoning about social interactions. In Proc. 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP) (eds Inui, K. et al.) 4463&#x2013;4473 (Association for Computational Linguistics, 2019).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR58\" id=\"ref-link-section-d85806392e8465\" rel=\"nofollow noopener\" target=\"_blank\">58<\/a>, PiQA<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 59\" title=\"Bisk, Y., Zellers, R., Le Bras, R., Gao, J. &amp; Choi, Y. PIQA: reasoning about physical commonsense in natural language. In Proc. AAAI Conference on Artificial Intelligence, Vol. 34 (eds Conitzer, V. &amp; Sha, F.) 7432&#x2013;7439 (AAAI Press, 2020).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR59\" id=\"ref-link-section-d85806392e8470\" rel=\"nofollow noopener\" target=\"_blank\">59<\/a>, the Basic Skills benchmark<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 28\" title=\"Olmo Team. Olmo 3. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2512.13961&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR28\" id=\"ref-link-section-d85806392e8474\" rel=\"nofollow noopener\" target=\"_blank\">28<\/a> and CUTE<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 11\" title=\"Edman, L., Schmid, H. &amp; Fraser, A. CUTE: measuring LLMs&#039; understanding of their tokens. In Proc. 2024 Conference on Empirical Methods in Natural Language Processing (eds Al-Onaizan, Y. et al.) 3017&#x2013;3026 (Association for Computational Linguistics, 2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR11\" id=\"ref-link-section-d85806392e8478\" rel=\"nofollow noopener\" target=\"_blank\">11<\/a> for use in ablations and sweeps (Extended Data Tables <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#Tab2\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#Tab3\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>). The 7B suite additionally comprises HumanEval<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 60\" title=\"Chen, M. et al. Evaluating large language models trained on code. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2107.03374&#010;                &#010;               (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR60\" id=\"ref-link-section-d85806392e8488\" rel=\"nofollow noopener\" target=\"_blank\">60<\/a>, MBPP<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 61\" title=\"Austin, J. et al. Program synthesis with large language models. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2108.07732&#010;                &#010;               (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR61\" id=\"ref-link-section-d85806392e8493\" rel=\"nofollow noopener\" target=\"_blank\">61<\/a>, DS-1000 (ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 62\" title=\"Lai, Y. et al. DS-1000: a natural and reliable benchmark for data science code generation. In Proc. Fortieth International Conference on Machine Learning, Vol. 202 (eds Krause, A. et al.) 18319&#x2013;18345 (PMLR, 2023).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR62\" id=\"ref-link-section-d85806392e8497\" rel=\"nofollow noopener\" target=\"_blank\">62<\/a>), DeepSeek LeetCode<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 63\" title=\"Guo, D. et al. DeepSeek-Coder: when the large language model meets programming&#x2014;the rise of code intelligence. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2401.14196&#010;                &#010;               (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR63\" id=\"ref-link-section-d85806392e8501\" rel=\"nofollow noopener\" target=\"_blank\">63<\/a>, MultiPL-E<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 64\" title=\"Cassano, F. et al. MultiPL-E: a scalable and polyglot approach to benchmarking neural code generation. IEEE Trans. Softw. Eng. 49, 3675&#x2013;3691 (2023).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR64\" id=\"ref-link-section-d85806392e8505\" rel=\"nofollow noopener\" target=\"_blank\">64<\/a>, GSM8K<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 65\" title=\"Cobbe, K. et al. Training verifiers to solve math word problems. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2110.14168&#010;                &#010;               (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR65\" id=\"ref-link-section-d85806392e8509\" rel=\"nofollow noopener\" target=\"_blank\">65<\/a>, Minerva MATH<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 66\" title=\"Lewkowycz, A. et al. Solving quantitative reasoning problems with language models. In Advances in Neural Information Processing Systems, Vol. 35 (eds Koyejo, S. et al.) 3843&#x2013;3857 (Curran Associates, 2022).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR66\" id=\"ref-link-section-d85806392e8513\" rel=\"nofollow noopener\" target=\"_blank\">66<\/a>, MedMCQA<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 67\" title=\"Pal, A., Umapathi, L. K. &amp; Sankarasubbu, M. MedMCQA: a large-scale multi-subject multi-choice dataset for medical domain question answering. In Proc. Conference on Health, Inference, and Learning, Vol. 174 (eds Flores, G. et al.) 248&#x2013;260 (PMLR, 2022).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR67\" id=\"ref-link-section-d85806392e8518\" rel=\"nofollow noopener\" target=\"_blank\">67<\/a>, MedQA<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 68\" title=\"Jin, D. et al. What disease does this patient have? A large-scale open domain question answering dataset from medical exams. Appl. Sci. 11, 6421 (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR68\" id=\"ref-link-section-d85806392e8522\" rel=\"nofollow noopener\" target=\"_blank\">68<\/a>, SciQ<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 69\" title=\"Welbl, J., Liu, N. F. &amp; Gardner, M. Crowdsourcing multiple choice science questions. In Proc. 3rd Workshop on Noisy User-generated Text (eds Derczynski, L. et al.) 94&#x2013;106 (Association for Computational Linguistics, 2017).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR69\" id=\"ref-link-section-d85806392e8526\" rel=\"nofollow noopener\" target=\"_blank\">69<\/a>, DROP<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 70\" title=\"Dua, D. et al. DROP: a reading comprehension benchmark requiring discrete reasoning over paragraphs. In Proc. 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) (eds Burstein, J. et al.) 2368&#x2013;2378 (Association for Computational Linguistics, 2019).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR70\" id=\"ref-link-section-d85806392e8530\" rel=\"nofollow noopener\" target=\"_blank\">70<\/a>, Natural Questions<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 71\" title=\"Kwiatkowski, T. et al. Natural questions: a benchmark for question answering research. Trans. Assoc. Comput. Linguist. 7, 452&#x2013;466 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR71\" id=\"ref-link-section-d85806392e8534\" rel=\"nofollow noopener\" target=\"_blank\">71<\/a>, SQuAD<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 72\" title=\"Rajpurkar, P., Zhang, J., Lopyrev, K. &amp; Liang, P. SQuAD: 100,000+ questions for machine comprehension of text. In Proc. 2016 Conference on Empirical Methods in Natural Language Processing, 2383&#x2013;2392 (Association for Computational Linguistics, 2016).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR72\" id=\"ref-link-section-d85806392e8538\" rel=\"nofollow noopener\" target=\"_blank\">72<\/a>, CoQA<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 73\" title=\"Reddy, S., Chen, D. &amp; Manning, C. D. CoQA: a conversational question answering challenge. Trans. Assoc. Comput. Linguist. 7, 249&#x2013;266 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR73\" id=\"ref-link-section-d85806392e8543\" rel=\"nofollow noopener\" target=\"_blank\">73<\/a> and Lambada<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 74\" title=\"Paperno, D. et al. The LAMBADA dataset: word prediction requiring a broad discourse context. In Proc. 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Erk, K. &amp; Smith, N. A.) 1525&#x2013;1534 (Association for Computational Linguistics, 2016).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR74\" id=\"ref-link-section-d85806392e8547\" rel=\"nofollow noopener\" target=\"_blank\">74<\/a>, in addition to the Jeopardy and Basic Skills tasks from OlmoBaseEval<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 28\" title=\"Olmo Team. Olmo 3. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2512.13961&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR28\" id=\"ref-link-section-d85806392e8551\" rel=\"nofollow noopener\" target=\"_blank\">28<\/a>. We used PyTorch v.2.8 (ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 75\" title=\"Ansel, J. et al. PyTorch 2: faster machine learning through dynamic Python bytecode transformation and graph compilation. In Proc. 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Vol. 2 (eds Abu-Ghazaleh, N. et al.) 929&#x2013;947 (Association for Computing Machinery, 2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR75\" id=\"ref-link-section-d85806392e8555\" rel=\"nofollow noopener\" target=\"_blank\">75<\/a>) and vLLM v.0.11.0 (ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 76\" title=\"Kwon, W. et al. Efficient memory management for large language model serving with PagedAttention. In Proc. 29th Symposium on Operating Systems Principles (eds Flinn, J. et al.) 611&#x2013;626 (Association for Computing Machinery, 2023).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR76\" id=\"ref-link-section-d85806392e8559\" rel=\"nofollow noopener\" target=\"_blank\">76<\/a>) to generate completions whenever available. Generation capabilities for the byteified models are implemented in our bolmo-core (<a href=\"http:\/\/github.com\/allenai\/bolmo-core\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/github.com\/allenai\/bolmo-core<\/a>) framework.<\/p>\n<p>Character-level training data<\/p>\n<p>To encourage models trained on our data mix to learn information about the characters within a word, we generated approximately 75M tokens (approximately 0.04% of the training data) for tasks requiring character-level understanding using the CUTE repository (<a href=\"http:\/\/github.com\/Leukas\/CUTE\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/github.com\/Leukas\/CUTE<\/a>). Tasks included spelling out words, reversing words as well as swapping, deleting and substituting characters within a word given words in a source wordlist. We used a list of n\u00a0=\u00a0150,000 words, ensuring zero overlap with the CUTE test words to avoid contamination. These data are purely in English. We did not use any multilingual character-understanding data, but we still observed large improvements on the multilingual EXECUTE benchmark, indicating that some texts requiring character-level understanding can help acquire generalizable knowledge about the characters within words. We observed that byte-level models otherwise do not acquire this knowledge through our short training schedule. However, training for longer, on more diverse data or with larger local models could act as alternative routes to acquiring character-level knowledge.<\/p>\n<p>Statistical tests<\/p>\n<p>To test whether model A statistically\u00a0significantly outperforms model B, we started from the set of benchmark scores, D\u00a0=\u00a0{(a1,\u00a0b1),\u00a0(a2,\u00a0b2),\u00a0\u2026,\u00a0(an,\u00a0bn)}, where (ai,\u00a0bi) are the scores of model A and model B on benchmark i. The set of benchmarks consists of all n tasks in the respective evaluation suite (the 7B byteification suite or 1B byteification suite with n\u00a0=\u00a040 and n\u00a0=\u00a022, respectively; Extended Data Tables <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#Tab2\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#Tab3\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>). We then drew n pairs from D with replacement for every bootstrap iteration k\u00a0\u2208\u00a0{1,\u00a02,\u00a0\u2026,\u00a0N} with the number of bootstrap iterations N\u00a0=\u00a010,000: <\/p>\n<p>$${D}_{k}^{\\star }=\\{({a}_{{j}_{1}},{b}_{{j}_{1}}),({a}_{{j}_{2}},{b}_{{j}_{2}}),\\ldots ,({a}_{{j}_{n}},{b}_{{j}_{n}})\\}.$$<\/p>\n<p>We then computed the difference in performance for each bootstrap sample, <\/p>\n<p>$${\\delta }_{k}^{\\star }=\\frac{1}{n}\\sum _{(a,b)\\in {D}_{k}^{\\star }}a-b,$$<\/p>\n<p>resulting in an empirical distribution of performance differences \\(\\varDelta =\\{{\\delta }_{1}^{\\star },{\\delta }_{2}^{\\star },\\ldots ,{\\delta }_{N}^{\\star }\\}\\), which we used to compute an unadjusted P value: <\/p>\n<p>$${p}^{{\\rm{unadj}}}=\\frac{1}{N}\\mathop{\\sum }\\limits_{k=1}^{N}{\\mathbb{1}}\\,({\\delta }_{k}^{\\star }\\le 0).$$<\/p>\n<p>We then applied a Holm\u2013Bonferroni correction for multiple comparisons. Given a total of K unadjusted P values {Punadj(A,\u00a0B), Punadj(A,\u00a0C),\u00a0\u2026,\u00a0Punadj(A,\u00a0Z)}, we sorted the P values in ascending order and adjusted starting from i\u00a0=\u00a01 (the smallest P value), sequentially moving to larger P values: <\/p>\n<p>$${p}_{(i)}^{{\\rm{adj}}}=\\min (\\mathop{\\max }\\limits_{j\\le i}((K-j+1){p}_{(j)}^{{\\rm{unadj}}}),1).$$<\/p>\n<p>Finally, we undid the sorting operation to arrive at an adjusted P value for every comparison.<\/p>\n<p>Related workTokenization<\/p>\n<p>LLMs process information represented as a discrete sequence of symbols called tokens or patches. The process of segmenting the input into this discrete sequence is called tokenization, with different ways to tokenize being used across modalities such as text<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 10\" title=\"Kudo, T. Subword regularization: improving neural network translation models with multiple subword candidates. In Proc. 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Gurevych, I. &amp; Miyao, Y.) 66&#x2013;75 (Association for Computational Linguistics, 2018).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR10\" id=\"ref-link-section-d85806392e9398\" rel=\"nofollow noopener\" target=\"_blank\">10<\/a>, audio<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 77\" title=\"Borsos, Z. et al. AudioLM: a language modeling approach to audio generation. IEEE\/ACM Trans. Audio Speech Lang. Process. 31, 2523&#x2013;2533 (2023).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR77\" id=\"ref-link-section-d85806392e9402\" rel=\"nofollow noopener\" target=\"_blank\">77<\/a> and images<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 78\" title=\"Dosovitskiy, A. et al. An image is worth 16 &#xD7; 16 words: transformers for image recognition at scale. In Proc. International Conference on Learning Representations (eds Mohamed, S. et al.) (International Conference on Learning Representations, 2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR78\" id=\"ref-link-section-d85806392e9406\" rel=\"nofollow noopener\" target=\"_blank\">78<\/a>. The predominant approach for tokenizing text since the inception of LLMs has been subword tokenization<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 1\" title=\"Sennrich, R., Haddow, B. &amp; Birch, A. Neural machine translation of rare words with subword units. In Proc. 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Erk, K. &amp; Smith, N. A.) 1715&#x2013;1725 (Association for Computational Linguistics, 2016).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR1\" id=\"ref-link-section-d85806392e9410\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 10\" title=\"Kudo, T. Subword regularization: improving neural network translation models with multiple subword candidates. In Proc. 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Gurevych, I. &amp; Miyao, Y.) 66&#x2013;75 (Association for Computational Linguistics, 2018).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR10\" id=\"ref-link-section-d85806392e9413\" rel=\"nofollow noopener\" target=\"_blank\">10<\/a>: tokenizing text into a discrete sequence of units from a finite vocabulary of subword tokens (usually of size 30k\u2013300k), typically represented as integer IDs. Subword tokenization causes several problems. (1) Information about the characters within each token is lost. Although LLMs have been shown to implicitly learn the constituent characters of their tokens<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 11\" title=\"Edman, L., Schmid, H. &amp; Fraser, A. CUTE: measuring LLMs&#039; understanding of their tokens. In Proc. 2024 Conference on Empirical Methods in Natural Language Processing (eds Al-Onaizan, Y. et al.) 3017&#x2013;3026 (Association for Computational Linguistics, 2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR11\" id=\"ref-link-section-d85806392e9417\" rel=\"nofollow noopener\" target=\"_blank\">11<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 79\" title=\"Kaushal, A. &amp; Mahowald, K. What do tokens know about their characters and how do they know it? In Proc. 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (eds Carpuat, M. et al.) 2487&#x2013;2507 (Association for Computational Linguistics, 2022).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR79\" id=\"ref-link-section-d85806392e9420\" rel=\"nofollow noopener\" target=\"_blank\">79<\/a> and although it is possible to explicitly re-introduce character information<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 12\" title=\"Cosma, A., Ruseti, S., Radoi, E. &amp; Dascalu, M. The strawberry problem: emergence of character-level understanding in tokenized language models. In Proc. 2025 Conference on Empirical Methods in Natural Language Processing (eds Christodoulopoulos, C. et al.) 28252&#x2013;28263 (Association for Computational Linguistics, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR12\" id=\"ref-link-section-d85806392e9425\" rel=\"nofollow noopener\" target=\"_blank\">12<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 80\" title=\"Xu, Z. et al. Enhancing character-level understanding in LLMs through token internal structure learning. In Proc. 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Che, W. et al.) 3839&#x2013;3853 (Association for Computational Linguistics, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR80\" id=\"ref-link-section-d85806392e9428\" rel=\"nofollow noopener\" target=\"_blank\">80<\/a>, they still fall short in tasks requiring character knowledge<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 11\" title=\"Edman, L., Schmid, H. &amp; Fraser, A. CUTE: measuring LLMs&#039; understanding of their tokens. In Proc. 2024 Conference on Empirical Methods in Natural Language Processing (eds Al-Onaizan, Y. et al.) 3017&#x2013;3026 (Association for Computational Linguistics, 2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR11\" id=\"ref-link-section-d85806392e9432\" rel=\"nofollow noopener\" target=\"_blank\">11<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 13\" title=\"Uzan, O. &amp; Pinter, Y. CharBench: evaluating the role of tokenization in character-level tasks. In Proc. AAAI Conference on Artificial Intelligence, Vol. 40 (eds Koenig, S. et al.) 33296&#x2013;33304 (AAAI Press, 2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR13\" id=\"ref-link-section-d85806392e9435\" rel=\"nofollow noopener\" target=\"_blank\">13<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 81\" title=\"Hiraoka, T. &amp; Inui, K. Spelling-out is not straightforward: LLMs&#039; capability of tokenization from token to characters. In Proc. Findings of the Association for Computational Linguistics: EMNLP 2025 (eds Christodoulopoulos, C. et al.) 13340&#x2013;13353 (Association for Computational Linguistics, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR81\" id=\"ref-link-section-d85806392e9438\" rel=\"nofollow noopener\" target=\"_blank\">81<\/a>. (2) The implicit reliance of subword tokenization on the future contents of the text (called tokenization bias) causes unexpected behaviour at inference if the prompt ends in the middle of a word or with whitespace<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Phan, B. et al. Exact byte-level probabilities from tokenized language models for fim-tasks and model ensembles. In Proc. Thirteenth International Conference on Learning Representations (eds Yue, Y. et al.) 38145&#x2013;38166 (International Conference on Learning Representations, 2025).\" href=\"#ref-CR18\" id=\"ref-link-section-d85806392e9442\">18<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Hayase, J., Liu, A., Smith, N. A. &amp; Oh, S. Sampling from your language model one byte at a time. In Proc. Forty-third International Conference on Machine Learning (2026).\" href=\"#ref-CR19\" id=\"ref-link-section-d85806392e9442_1\">19<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 20\" title=\"Vieira, T. et al. From language models over tokens to language models over characters. In Proc. Forty-second International Conference on Machine Learning, Vol. 267 (eds Singh, A. et al.) 61391&#x2013;61412 (PMLR, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR20\" id=\"ref-link-section-d85806392e9445\" rel=\"nofollow noopener\" target=\"_blank\">20<\/a>. (3) The need for a fixed, finite subword vocabulary causes restrictive rigidity: for example, although encoding English efficiently is crucial for pretraining, as the vast majority of current pretraining documents are in English, various downstream tasks have different efficiency requirements across different languages. (4) Tokenization in contemporary LLMs is tied to compute allocation: in a standard LLM, the same amount of compute is spent on processing every token in the prefill, every token contributes equally to the key\u2013value cache (KV cache) size and a fixed amount of compute is spent on sequentially generating any new token. Although there are ways to mitigate this problem post hoc\u2014such as KV cache sparsification<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 82\" title=\"&#x141;a&#x144;cucki, A., Staniszewski, K., Nawrot, P. &amp; Ponti, E. Inference-time hyper-scaling with KV cache compression. In Advances in Neural Information Processing Systems, Vol. 38 (eds Belgrave, D. et al.) 9365&#x2013;9397 (Curran Associates, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR82\" id=\"ref-link-section-d85806392e9449\" rel=\"nofollow noopener\" target=\"_blank\">82<\/a> and multi-token prediction<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 83\" title=\"Gloeckle, F., Youbi Idrissi, B., Roziere, B., Lopez-Paz, D. &amp; Synnaeve, G. Better &amp; faster large language models via multi-token prediction. In Proc. Forty-first International Conference on Machine Learning, Vol. 235 (eds Salakhutdinov, R. et al.) 15706&#x2013;15734 (PMLR, 2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR83\" id=\"ref-link-section-d85806392e9453\" rel=\"nofollow noopener\" target=\"_blank\">83<\/a>\u2014directly adapting the tokenization and, thus, the compute allocation based on the input instead might be more effective<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 22\" title=\"Pagnoni, A. et al. Byte latent transformer: patches scale better than tokens. In Proc. 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Che, W. et al.) 9238&#x2013;9258 (Association for Computational Linguistics, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR22\" id=\"ref-link-section-d85806392e9457\" rel=\"nofollow noopener\" target=\"_blank\">22<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 24\" title=\"Nawrot, P., Chorowski, J., Lancucki, A. &amp; Ponti, E. M. Efficient transformers with dynamic token pooling. In Proc. 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Rogers, A. et al.) 6403&#x2013;6417 (Association for Computational Linguistics, 2023).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR24\" id=\"ref-link-section-d85806392e9460\" rel=\"nofollow noopener\" target=\"_blank\">24<\/a>.<\/p>\n<p>Byte-level LLMs<\/p>\n<p>The shortcomings of subword tokenization have motivated extensive work on a wide range of alternatives, which even include tokenizing text by rendering it into pixels and segmenting these into patches<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Lotz, J., Salesky, E., Rust, P. &amp; Elliott, D. Text rendering strategies for pixel language models. In Proc. 2023 Conference on Empirical Methods in Natural Language Processing (eds Bouamor, H. et al.) 10155&#x2013;10172 (Association for Computational Linguistics, 2023).\" href=\"#ref-CR84\" id=\"ref-link-section-d85806392e9472\">84<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Rust, P. et al. Language modelling with pixels. In Proc. Eleventh International Conference on Learning Representations (eds Liu, Y. et al.) (International Conference on Learning Representations, 2023).\" href=\"#ref-CR85\" id=\"ref-link-section-d85806392e9472_1\">85<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 86\" title=\"Wei, H., Sun, Y. &amp; Li, Y. DeepSeek-OCR: contexts optical compression. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2510.18234&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR86\" id=\"ref-link-section-d85806392e9475\" rel=\"nofollow noopener\" target=\"_blank\">86<\/a>. The most common alternative has been tokenizing into a smaller set of finer-grained atomic units, such as UTF-8 bytes. One strand of work directly replaces subword tokens with UTF-8 bytes, keeping other aspects of the architecture mostly the same<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 26\" title=\"Wang, J., Gangavarapu, T., Yan, J. N. &amp; Rush, A. M. MambaByte: token-free selective state space model. In Proc. First Conference on Language Modeling (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR26\" id=\"ref-link-section-d85806392e9479\" rel=\"nofollow noopener\" target=\"_blank\">26<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 27\" title=\"Zheng, L. et al. EvaByte: Efficient Byte-level Language Models at Scale. HKU NLP Group &#010;                https:\/\/hkunlp.github.io\/blog\/2025\/evabyte&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR27\" id=\"ref-link-section-d85806392e9482\" rel=\"nofollow noopener\" target=\"_blank\">27<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 49\" title=\"Minixhofer, B., Vuli&#x107;, I. &amp; Ponti, E. Universal cross-tokenizer distillation via approximate likelihood matching. In Advances in Neural Information Processing Systems, Vol. 38 (eds Belgrave, D. et al.) 79297&#x2013;79326 (Curran Associates, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR49\" id=\"ref-link-section-d85806392e9485\" rel=\"nofollow noopener\" target=\"_blank\">49<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 87\" title=\"Xue, L. et al. ByT5: towards a token-free future with pre-trained byte-to-byte models. Trans. Assoc. Comput. Linguist. 10, 291&#x2013;306 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR87\" id=\"ref-link-section-d85806392e9488\" rel=\"nofollow noopener\" target=\"_blank\">87<\/a>. This can solve problems (1) and (2) of subword tokenization and potentially problem (3) with the right choice of fine-grained units<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 88\" title=\"Limisiewicz, T., Blevins, T., Gonen, H., Ahia, O. &amp; Zettlemoyer, L. MYTE: morphology-driven byte encoding for better and fairer multilingual language modeling. In Proc. 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Ku, L.-W. et al.) 15059&#x2013;15076 (Association for Computational Linguistics, 2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR88\" id=\"ref-link-section-d85806392e9492\" rel=\"nofollow noopener\" target=\"_blank\">88<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 89\" title=\"Land, S. &amp; Arnett, C. BPE stays on SCRIPT: structured encoding for robust multilingual pretokenization. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2505.24689&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR89\" id=\"ref-link-section-d85806392e9495\" rel=\"nofollow noopener\" target=\"_blank\">89<\/a>. In any case, compute allocation remains a problem, exacerbated by having to process longer sequences. To mitigate this problem, some architectures pool a fixed number of tokens into a single representation with a lightweight local encoder (for example, another transformer network), pass the pooled representations through a deep global model operating over the shortened sequence and then depool the representations back to the original granularity through a local decoder. This approach has been pioneered for autoregressive models by the hourglass transformer<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 90\" title=\"Nawrot, P. et al. Hierarchical transformers are more efficient language models. In Proc. Findings of the Association for Computational Linguistics: NAACL 2022 (eds Carpuat, M. et al.) 1559&#x2013;1571 (Association for Computational Linguistics, 2022).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR90\" id=\"ref-link-section-d85806392e9499\" rel=\"nofollow noopener\" target=\"_blank\">90<\/a> and later adopted more broadly<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Yu, L. et al. MEGABYTE: predicting million-byte sequences with multiscale transformers. In Advances in Neural Information Processing Systems, Vol. 36 (eds Oh, A. et al.) 78808&#x2013;78823 (Curran Associates, 2023).\" href=\"#ref-CR91\" id=\"ref-link-section-d85806392e9503\">91<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Ho, N. et al. Block transformer: global-to-local language modeling for fast inference. In Advances in Neural Information Processing Systems, Vol. 37 (eds Globerson, A. et al.) 48740&#x2013;48783 (Curran Associates, 2024).\" href=\"#ref-CR92\" id=\"ref-link-section-d85806392e9503_1\">92<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 93\" title=\"Dolga, R., Maystre, L., Berariu, T. &amp; Barber, D. From characters to tokens: dynamic grouping with hierarchical BPE. In Proc. Findings of the Association for Computational Linguistics: EMNLP 2025 (eds Christodoulopoulos, C. et al.) 11154&#x2013;11162 (Association for Computational Linguistics, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR93\" id=\"ref-link-section-d85806392e9506\" rel=\"nofollow noopener\" target=\"_blank\">93<\/a>. Recent subsequent work has shown that replacing static pooling with dynamic tokenization improves the performance\u2013efficiency Pareto front<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 24\" title=\"Nawrot, P., Chorowski, J., Lancucki, A. &amp; Ponti, E. M. Efficient transformers with dynamic token pooling. In Proc. 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Rogers, A. et al.) 6403&#x2013;6417 (Association for Computational Linguistics, 2023).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR24\" id=\"ref-link-section-d85806392e9511\" rel=\"nofollow noopener\" target=\"_blank\">24<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 25\" title=\"Slagle, K. SpaceByte: towards deleting tokenization from large language modeling. In Advances in Neural Information Processing Systems, Vol. 37 (eds Globerson, A. et al.) 124925&#x2013;124950 (Curran Associates, 2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR25\" id=\"ref-link-section-d85806392e9514\" rel=\"nofollow noopener\" target=\"_blank\">25<\/a>. In this case, the token boundaries may be learned end to end, rely on entropy spikes or be externally supervised<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 2\" title=\"Hwang, S., Wang, B. &amp; Gu, A. Dynamic chunking for end-to-end hierarchical sequence modeling. In Proc. Fourteenth International Conference on Learning Representations (eds Vondrick, C. et al.) 149273&#x2013;149313 (International Conference on Learning Representations, 2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR2\" id=\"ref-link-section-d85806392e9518\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 24\" title=\"Nawrot, P., Chorowski, J., Lancucki, A. &amp; Ponti, E. M. Efficient transformers with dynamic token pooling. In Proc. 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Rogers, A. et al.) 6403&#x2013;6417 (Association for Computational Linguistics, 2023).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR24\" id=\"ref-link-section-d85806392e9521\" rel=\"nofollow noopener\" target=\"_blank\">24<\/a>. We collectively refer to these architectures as LTLMs, as\u2014although operating over bytes\u2014they perform a tokenization step inside the model that aggregates the byte representations into representations over latent patches. Byte-level LTLMs can finally address issues (1) to (4) of subword tokenization. The most recent LTLMs have shown promise by performing on par with subword tokenization when spending the same overall number of FLOPs on training<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 2\" title=\"Hwang, S., Wang, B. &amp; Gu, A. Dynamic chunking for end-to-end hierarchical sequence modeling. In Proc. Fourteenth International Conference on Learning Representations (eds Vondrick, C. et al.) 149273&#x2013;149313 (International Conference on Learning Representations, 2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR2\" id=\"ref-link-section-d85806392e9525\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 22\" title=\"Pagnoni, A. et al. Byte latent transformer: patches scale better than tokens. In Proc. 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Che, W. et al.) 9238&#x2013;9258 (Association for Computational Linguistics, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR22\" id=\"ref-link-section-d85806392e9528\" rel=\"nofollow noopener\" target=\"_blank\">22<\/a>. Although we focused on LTLMs in this work, there are also other strands of promising research relevant to byte-level models, such as MrT5<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 94\" title=\"Kallini, J., Murty, S., Manning, C. D., Potts, C. &amp; Csord&#xE1;s, R. MrT5: dynamic token merging for efficient byte-level language models. In Proc. Thirteenth International Conference on Learning Representations (eds Yue, Y. et al.) 56646&#x2013;56669 (International Conference on Learning Representations, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR94\" id=\"ref-link-section-d85806392e9532\" rel=\"nofollow noopener\" target=\"_blank\">94<\/a>, which uses a soft gating mechanism to reduce sequence lengths at inference, and zip2zip<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 95\" title=\"Geng, S. et al. zip2zip: inference-time adaptive tokenization via online compression. In Advances in Neural Information Processing Systems, Vol. 38 (eds Belgrave, D. et al.) 151818&#x2013;151847 (Curran Associates, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR95\" id=\"ref-link-section-d85806392e9536\" rel=\"nofollow noopener\" target=\"_blank\">95<\/a>, which adaptively merges tokens based on the past token context.<\/p>\n<p>Tokenizer transfer and retrofitting<\/p>\n<p>Techniques to alter the architecture of a model with extra training are typically referred to as retrofitting, which often relies on self-distillation<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 82\" title=\"&#x141;a&#x144;cucki, A., Staniszewski, K., Nawrot, P. &amp; Ponti, E. Inference-time hyper-scaling with KV cache compression. In Advances in Neural Information Processing Systems, Vol. 38 (eds Belgrave, D. et al.) 9365&#x2013;9397 (Curran Associates, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR82\" id=\"ref-link-section-d85806392e9548\" rel=\"nofollow noopener\" target=\"_blank\">82<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 96\" title=\"Bick, A., Li, K. Y., Xing, E. P., Kolter, J. Z. &amp; Gu, A. Transformers to SSMs: distilling quadratic knowledge to subquadratic models. In Advances in Neural Information Processing Systems, Vol. 37 (eds Globerson, A. et al.) 31788&#x2013;31812 (Curran Associates, 2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR96\" id=\"ref-link-section-d85806392e9551\" rel=\"nofollow noopener\" target=\"_blank\">96<\/a>. The principal difficulty when this involves a change of tokenizer is finding embeddings for the new tokens; this is usually done using heuristics<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 39\" title=\"Dobler, K. &amp; de Melo, G. FOCUS: effective embedding initialization for monolingual specialization of multilingual models. In Proc. 2023 Conference on Empirical Methods in Natural Language Processing (eds Bouamor, H. et al.) 13440&#x2013;13454 (Association for Computational Linguistics, 2023).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR39\" id=\"ref-link-section-d85806392e9555\" rel=\"nofollow noopener\" target=\"_blank\">39<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 97\" title=\"Tran, K. From English to foreign languages: transferring pre-trained language models. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2002.07306&#010;                &#010;               (2020).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR97\" id=\"ref-link-section-d85806392e9558\" rel=\"nofollow noopener\" target=\"_blank\">97<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 98\" title=\"Minixhofer, B., Paischer, F. &amp; Rekabsaz, N. WECHSEL: effective initialization of subword embeddings for cross-lingual transfer of monolingual language models. In Proc. 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (eds Carpuat, M. et al.) 3992&#x2013;4006 (Association for Computational Linguistics, 2022).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR98\" id=\"ref-link-section-d85806392e9561\" rel=\"nofollow noopener\" target=\"_blank\">98<\/a> or training-based methods<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 99\" title=\"Minixhofer, B., Ponti, E. M. &amp; Vuli&#x107;, I. Zero-shot tokenizer transfer. In Advances in Neural Information Processing Systems, Vol. 37 (eds Globerson, A. et al.) 46791&#x2013;46818 (Curran Associates, 2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR99\" id=\"ref-link-section-d85806392e9565\" rel=\"nofollow noopener\" target=\"_blank\">99<\/a>. Recently, effective tokenizer transfer methods based on cross-tokenizer distillation have been introduced<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 49\" title=\"Minixhofer, B., Vuli&#x107;, I. &amp; Ponti, E. Universal cross-tokenizer distillation via approximate likelihood matching. In Advances in Neural Information Processing Systems, Vol. 38 (eds Belgrave, D. et al.) 79297&#x2013;79326 (Curran Associates, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR49\" id=\"ref-link-section-d85806392e9569\" rel=\"nofollow noopener\" target=\"_blank\">49<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 100\" title=\"Dobler, K., Elliott, D. &amp; de Melo, G. Token distillation: attention-aware input embeddings for new tokens. In Proc. Fourteenth International Conference on Learning Representations (eds Vondrick, C. et al.) 140590&#x2013;140615 (International Conference on Learning Representations, 2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR100\" id=\"ref-link-section-d85806392e9572\" rel=\"nofollow noopener\" target=\"_blank\">100<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 101\" title=\"Haltiuk, M. &amp; Smywi&#x144;ski-Pohl, A. Model-aware tokenizer transfer. Preprint at &#010;                https:\/\/doi.org\/10.48550\/arXiv.2510.21954&#010;                &#010;               (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR101\" id=\"ref-link-section-d85806392e9575\" rel=\"nofollow noopener\" target=\"_blank\">101<\/a>. Here the original model is seen as the teacher, the tokenizer-transferred model is seen as the student and the objective is to match the behaviour of the student to the teacher. Byteification is a special case of tokenizer transfer. Byteification was first done by Pagnoni et al.<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 22\" title=\"Pagnoni, A. et al. Byte latent transformer: patches scale better than tokens. In Proc. 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (eds Che, W. et al.) 9238&#x2013;9258 (Association for Computational Linguistics, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR22\" id=\"ref-link-section-d85806392e9579\" rel=\"nofollow noopener\" target=\"_blank\">22<\/a> by initializing the LTLM parameters from an existing subword model where possible and training as if from random initialization. Hwang et al.<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 2\" title=\"Hwang, S., Wang, B. &amp; Gu, A. Dynamic chunking for end-to-end hierarchical sequence modeling. In Proc. Fourteenth International Conference on Learning Representations (eds Vondrick, C. et al.) 149273&#x2013;149313 (International Conference on Learning Representations, 2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11111-4#ref-CR2\" id=\"ref-link-section-d85806392e9584\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a> later byteified by supervising the boundary prediction to match the subword boundaries and introducing an auxiliary embedding-matching loss. Our key contribution is creating an LTLM that is specifically suited to byteifying. We do so by introducing a new architecture (section \u2018Byteified language model architecture\u2019) and a dedicated two-stage procedure that efficiently byteifies by first learning to exactly recover the behaviour of the source subword model (section \u2018Byteification training procedure\u2019). Together, these innovations allow us to closely match the performance of state-of-the-art subword-level LLMs with a byteified model.<\/p>\n","protected":false},"excerpt":{"rendered":"Byteified model architecture details Our architecture follows the same overall structure as earlier LTLMs, including DTP, BLT and&hellip;\n","protected":false},"author":2,"featured_media":924874,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[49,48,5127,1099,11313,1100,66,61],"class_list":["post-924873","post","type-post","status-publish","format-standard","has-post-thumbnail","category-technology","tag-ca","tag-canada","tag-computer-science","tag-humanities-and-social-sciences","tag-information-technology","tag-multidisciplinary","tag-science","tag-technology"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts\/924873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/comments?post=924873"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts\/924873\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/media\/924874"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/media?parent=924873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/categories?post=924873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/tags?post=924873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}