Training LLMs over Neurally Compressed Text
Not on the map. Why?
Abstract (arXiv)
In this paper, we explore the idea of training large language models (LLMs) over highly compressed text. While standard subword tokenizers compress text by a small factor, neural text compressors can achieve much higher rates of compression. If it were possible to train LLMs directly over neurally compressed text, this would confer advantages in training and serving efficiency, as well as easier handling of long text spans. The main obstacle to this goal is that strong compression tends to produce opaque outputs that are not well-suited for learning. In particular, we find that text na"ively compressed via Arithmetic Coding is not readily learnable by LLMs. To overcome this, we propose Equal-Info Windows, a novel compression technique whereby text is segmented into blocks that each compress to the same bit length. Using this method, we demonstrate effective learning over neurally compressed text that improves with scale, and outperforms byte-level baselines by a wide margin on perplexity and inference speed benchmarks. While our method delivers worse perplexity than subword tokenizers for models trained with the same parameter count, it has the benefit of shorter sequence lengths. Shorter sequence lengths require fewer autoregressive generation steps, and reduce latency. Finally, we provide extensive analysis of the properties that contribute to learnability, and offer concrete suggestions for how to further improve the performance of high-compression tokenizers.
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Builds on 50 of its 86 references that are in the map. First posted on arXiv 4 Apr 2024.
Builds on
50 of 86 references.
References · 50
- 2017Attention Is All You Needcited by 60,361
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2017Neural Discrete Representation Learningcited by 4,712
- 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,905
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
38 more
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Reformer: The Efficient Transformercited by 1,668
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
- 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
- 2022AudioLM: a Language Modeling Approach to Audio Generationcited by 616
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 523
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
- 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 406
- 2021W2v-BERT: Combining Contrastive Learning and Masked Language Modeling for Self-Supervised Speech Pre-Trainingcited by 347
- 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 232
- 2023Language Modeling Is Compressioncited by 225
- 2020Byte Pair Encoding is Suboptimal for Language Model Pretrainingcited by 192
- 2021Does Knowledge Distillation Really Work?cited by 190
- 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
- 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 160
- 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
- 2023Tokenizer Choice For LLM Training: Negligible or Crucial?cited by 108
- 2016Hierarchical Multiscale Recurrent Neural Networkscited by 104
- 2022Character-Aware Models Improve Visual Text Renderingcited by 92
- 2024Tokenization Is More Than Compressioncited by 89
- 2024Getting the most out of your tokenizer for pre-training and domain adaptationcited by 66
- 2024Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model Performancecited by 61
- 2017Hash Embeddings for Efficient Word Representationscited by 55
- 2023LLMZip: Lossless Text Compression using Large Language Modelscited by 44
- 2024Attention with Markov: A Framework for Principled Analysis of Transformers via Markov Chainscited by 40
- 2021Sequence Length is a Domain: Length-based Overfitting in Transformer Modelscited by 35
- 2019Bridging the Gap for Tokenizer-Free Language Modelscited by 21
- 2022Arithmetic Sampling: Parallel Diverse Decoding for Large Language Modelscited by 19
- 2022Reducing Retraining by Recycling Parameter-Efficient Promptscited by 11
- 2022Less is More: Parameter-Free Text Classification with Gzipcited by 7
- 2013Bootstrap Methods for the Empirical Study of Decision-Making and Information Flows in Social Systemscited by 3
Built on by
Citing papers per year: 2024: 6; 2025: 5; 2026: 6.
17 papers.
Sort:
By area:
- 2024SpaceByte: Towards Deleting Tokenization from Large Language Modelingcited by 34
- 2024When Worse is Better: Navigating the compression-generation tradeoff in visual tokenizationcited by 15
- 2025From Bytes to Ideas: Language Modeling with Autoregressive U-Netscited by 15
- 2024Compression via Pre-trained Transformers: A Study on Byte-Level Multimodal Datacited by 13
- 2024L3TC: Leveraging RWKV for Learned Lossless Low-Complexity Text Compressioncited by 7
- 2025Exploiting Vocabulary Frequency Imbalance in Language Model Pre-trainingcited by 7
- 2025zip2zip: Inference-Time Adaptive Tokenization via Online Compressioncited by 5
- 2024Compressed-Language Models for Understanding Compressed File Formats: a JPEG Explorationcited by 4
- 2025TokSuite: Measuring the Impact of Tokenizer Choice on Language Model Behaviorcited by 4
- 2024JPEG-LM: LLMs as Image Generators with Canonical Codec Representationscited by 3
- 2026Proxy Compression for Language Modelingcited by 3
- 2025LCIRC: A Recurrent Compression Approach for Efficient Long-form Context and Query Dependent Modeling in LLMscited by 2
5 more
- 2026TokEval: A Tokenizer Evaluation Suitecited by 2
- 2026Scratchpad Patching: Decoupling Compute from Patch Size in Byte-Level Language Modelscited by 1
- 2026Token-Native Storage: Read and Write in your Agent's Languagecited by 0
- 2026A Pilot Study of Autocompleting Tokenizerscited by 0
- 2026zip2zip++: Towards Inference-Time Token Compression with Minimal Quality Losscited by 0
- 2026zip2zip++: Towards Inference-Time Token Compression with Minimal Quality Loss9 Oct 2026
- 2026TokEval: A Tokenizer Evaluation Suite18 Aug 2026
- 2026A Pilot Study of Autocompleting Tokenizers15 Aug 2026
- 2026Token-Native Storage: Read and Write in your Agent's Language3 Aug 2026
- 2026Scratchpad Patching: Decoupling Compute from Patch Size in Byte-Level Language Models10 May 2026
- 2026Proxy Compression for Language Modeling4 Feb 2026
- 2025TokSuite: Measuring the Impact of Tokenizer Choice on Language Model Behavior23 Dec 2025
- 2025Exploiting Vocabulary Frequency Imbalance in Language Model Pre-training21 Aug 2025
- 2025From Bytes to Ideas: Language Modeling with Autoregressive U-Nets17 Jun 2025
- 2025zip2zip: Inference-Time Adaptive Tokenization via Online Compression1 Jun 2025
- 2025LCIRC: A Recurrent Compression Approach for Efficient Long-form Context and Query Dependent Modeling in LLMs10 Feb 2025
- 2024L3TC: Leveraging RWKV for Learned Lossless Low-Complexity Text Compression21 Dec 2024
5 more
- 2024When Worse is Better: Navigating the compression-generation tradeoff in visual tokenization20 Dec 2024
- 2024Compression via Pre-trained Transformers: A Study on Byte-Level Multimodal Data7 Oct 2024
- 2024JPEG-LM: LLMs as Image Generators with Canonical Codec Representations15 Aug 2024
- 2024Compressed-Language Models for Understanding Compressed File Formats: a JPEG Exploration27 May 2024
- 2024SpaceByte: Towards Deleting Tokenization from Large Language Modeling22 Apr 2024
- 2024SpaceByte: Towards Deleting Tokenization from Large Language Modelingcited by 34
- 2024When Worse is Better: Navigating the compression-generation tradeoff in visual tokenizationcited by 15
- 2025From Bytes to Ideas: Language Modeling with Autoregressive U-Netscited by 15
- 2024Compression via Pre-trained Transformers: A Study on Byte-Level Multimodal Datacited by 13
- 2024L3TC: Leveraging RWKV for Learned Lossless Low-Complexity Text Compressioncited by 7
- 2025Exploiting Vocabulary Frequency Imbalance in Language Model Pre-trainingcited by 7
- 2025zip2zip: Inference-Time Adaptive Tokenization via Online Compressioncited by 5
- 2024Compressed-Language Models for Understanding Compressed File Formats: a JPEG Explorationcited by 4
- 2025TokSuite: Measuring the Impact of Tokenizer Choice on Language Model Behaviorcited by 4
- 2024JPEG-LM: LLMs as Image Generators with Canonical Codec Representationscited by 3
- 2026Proxy Compression for Language Modelingcited by 3
- 2025LCIRC: A Recurrent Compression Approach for Efficient Long-form Context and Query Dependent Modeling in LLMscited by 2
12 most cited of 15 All 15 (JSON)
- 2026TokEval: A Tokenizer Evaluation Suite18 Aug 2026
- 2026A Pilot Study of Autocompleting Tokenizers15 Aug 2026
- 2026Token-Native Storage: Read and Write in your Agent's Language3 Aug 2026
- 2026Proxy Compression for Language Modeling4 Feb 2026
- 2025TokSuite: Measuring the Impact of Tokenizer Choice on Language Model Behavior23 Dec 2025
- 2025Exploiting Vocabulary Frequency Imbalance in Language Model Pre-training21 Aug 2025
- 2025From Bytes to Ideas: Language Modeling with Autoregressive U-Nets17 Jun 2025
- 2025zip2zip: Inference-Time Adaptive Tokenization via Online Compression1 Jun 2025
- 2025LCIRC: A Recurrent Compression Approach for Efficient Long-form Context and Query Dependent Modeling in LLMs10 Feb 2025
- 2024L3TC: Leveraging RWKV for Learned Lossless Low-Complexity Text Compression21 Dec 2024
- 2024When Worse is Better: Navigating the compression-generation tradeoff in visual tokenization20 Dec 2024
- 2024Compression via Pre-trained Transformers: A Study on Byte-Level Multimodal Data7 Oct 2024
12 newest of 15 All 15 (JSON)