mlsanityData to 14 Oct 2026

Training LLMs over Neurally Compressed Text

arXiv 2404.03626 ↗First posted 4 Apr 2024cs.CL cs.LGcited by 17

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  4. 2020Scaling Laws for Neural Language Modelscited by 6,586
  5. 2017Neural Discrete Representation Learningcited by 4,712
  6. 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,905
  7. 2020Longformer: The Long-Document Transformercited by 3,413
  8. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  9. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  10. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  11. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  12. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
38 more
  1. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  2. 2020Reformer: The Efficient Transformercited by 1,668
  3. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
  4. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  5. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
  6. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  7. 2018Self-Attention with Relative Position Representationscited by 1,120
  8. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  9. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
  10. 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
  11. 2022AudioLM: a Language Modeling Approach to Audio Generationcited by 616
  12. 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 523
  13. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
  14. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
  15. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 406
  16. 2021W2v-BERT: Combining Contrastive Learning and Masked Language Modeling for Self-Supervised Speech Pre-Trainingcited by 347
  17. 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 232
  18. 2023Language Modeling Is Compressioncited by 225
  19. 2020Byte Pair Encoding is Suboptimal for Language Model Pretrainingcited by 192
  20. 2021Does Knowledge Distillation Really Work?cited by 190
  21. 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
  22. 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 160
  23. 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
  24. 2023Tokenizer Choice For LLM Training: Negligible or Crucial?cited by 108
  25. 2016Hierarchical Multiscale Recurrent Neural Networkscited by 104
  26. 2022Character-Aware Models Improve Visual Text Renderingcited by 92
  27. 2024Tokenization Is More Than Compressioncited by 89
  28. 2024Getting the most out of your tokenizer for pre-training and domain adaptationcited by 66
  29. 2024Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model Performancecited by 61
  30. 2017Hash Embeddings for Efficient Word Representationscited by 55
  31. 2023LLMZip: Lossless Text Compression using Large Language Modelscited by 44
  32. 2024Attention with Markov: A Framework for Principled Analysis of Transformers via Markov Chainscited by 40
  33. 2021Sequence Length is a Domain: Length-based Overfitting in Transformer Modelscited by 35
  34. 2019Bridging the Gap for Tokenizer-Free Language Modelscited by 21
  35. 2022Arithmetic Sampling: Parallel Diverse Decoding for Large Language Modelscited by 19
  36. 2022Reducing Retraining by Recycling Parameter-Efficient Promptscited by 11
  37. 2022Less is More: Parameter-Free Text Classification with Gzipcited by 7
  38. 2013Bootstrap Methods for the Empirical Study of Decision-Making and Information Flows in Social Systemscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 6; 2025: 5; 2026: 6.

17 papers.

Sort:

By area: