A Pilot Study of Autocompleting Tokenizers
Not on the map. Why?
Abstract (arXiv)
Modern input methods routinely rely on autocomplete to omit information that can be recovered from local context. Inspired by these autocomplete-assisted writing systems, we investigate whether Transformer inputs can be compressed in a similar manner. Byte-level tokenization offers a simple and language-independent alternative to subword tokenization, but its longer input sequences typically result in increased computational cost and reduced model quality. We propose a compression scheme that employs a lightweight autoregressive byte language model to identify and remove bytes that are easily predictable from their surrounding context before Transformer processing. The resulting compressed representation is then provided as input to a standard encoder--decoder Transformer. Experiments on machine translation show that a substantial fraction of source-language bytes can be omitted without degrading translation quality. On English--French, our best method preserves translation performance while reducing source sequence length by nearly one-third. Additional experiments on Finnish--English, Russian--English, and Chinese--English demonstrate that the approach generalizes across diverse writing systems and morphological typologies, yielding comparable or improved translation quality at compression ratios between 0.47 and 0.67. These findings suggest that many input bytes are predictable enough to be represented implicitly rather than explicitly, providing a simple mechanism for reducing the sequence-length overhead associated with byte-level models.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 12 of its 18 references that are in the map. First posted on arXiv 15 Aug 2026.
Builds on
12 of 18 references.
References · 12
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,799
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
- 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 232
- 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 160
- 2024Byte Latent Transformer: Patches Scale Better Than Tokenscited by 146
- 2024Training LLMs over Neurally Compressed Textcited by 17
Built on by
Not cited yet.