mlsanityData to 14 Oct 2026

Compression via Pre-trained Transformers: A Study on Byte-Level Multimodal Data

arXiv 2410.05078 ↗First posted 7 Oct 2024cs.LG cs.AI cs.ITcited by 13

Not on the map. Why?

Abstract (arXiv)

Foundation models are strong data compressors, but when accounting for their parameter size, their compression ratios are inferior to standard compression algorithms. Naively reducing the parameter count does not necessarily help as it deteriorates predictions and, accordingly, compression. We conduct a large-scale empirical study to find a sweet spot where pre-trained vanilla transformers can achieve competitive compression ratios. To this end, we train models on 165GB of raw byte sequences of either text, image, or audio data (and all possible combinations of the three) and then compress 1GB of out-of-distribution (OOD) data from each modality. We find that relatively small models (millions of parameters) can outperform standard general-purpose compression algorithms (gzip, LZMA2) and even domain-specific compressors (PNG, JPEG-XL, FLAC) unicodex2013 even when accounting for parameter size. We achieve, e.g., the lowest compression ratio of 0.49 on OOD audio data (vs. 0.54 for FLAC). We conduct extensive ablations and hyperparameter sweeps to study the impact of model- and dataset scale, and we investigate the effect of unimodal versus multimodal training. We find that even small models can be trained to perform well on multiple modalities, but unlike large-scale foundation models, transfer to unseen modalities is generally weak.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 43 of its 85 references that are in the map. First posted on arXiv 7 Oct 2024.

Builds on

43 of 85 references.

References · 43

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  6. 2020Scaling Laws for Neural Language Modelscited by 6,586
  7. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  8. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  9. 2020GLU Variants Improve Transformercited by 1,804
  10. 2019Common Voice: A Massively-Multilingual Speech Corpuscited by 1,384
  11. 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
  12. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 868
31 more
  1. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
  2. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 699
  3. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
  4. 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 478
  5. 2021NeRV: Neural Representations for Videoscited by 256
  6. 2021COIN: COmpression with Implicit Neural representationscited by 233
  7. 2023Language Modeling Is Compressioncited by 225
  8. 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 199
  9. 2023Large Language Models as General Pattern Machinescited by 197
  10. 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 170
  11. 2019BIGPATENT: A Large-Scale Dataset for Abstractive and Coherent Summarizationcited by 156
  12. 2018Practical Full Resolution Learned Lossless Image Compressioncited by 94
  13. 2019Practical Lossless Compression with Latent Variables using Bits Back Codingcited by 86
  14. 2019Integer Discrete Flows and Lossless Compressioncited by 83
  15. 2022COIN++: Neural Compression Across Modalitiescited by 82
  16. 2022Compression of Generative Pre-trained Language Models via Quantizationcited by 79
  17. 2024Compression Represents Intelligence Linearlycited by 56
  18. 2023C3: High-performance and low-complexity neural compression from a single image or videocited by 55
  19. 2019Bit-Swap: Recursive Bits-Back Coding for Lossless Compression with Hierarchical Latent Variablescited by 52
  20. 2022COOL-CHIC: Coordinate-based Low Complexity Hierarchical Image Codeccited by 51
  21. 2023LLMZip: Lossless Text Compression using Large Language Modelscited by 44
  22. 2018DeepZip: Lossless Data Compression using Recurrent Neural Networkscited by 33
  23. 2020Learning Better Lossless Compression Using Lossy Compressioncited by 33
  24. 2024Learning Universal Predictorscited by 31
  25. 2022A Fast Transformer-based General-Purpose Lossless Compressorcited by 26
  26. 2024FineZip : Pushing the Limits of Large Language Models for Practical Lossless Text Compressioncited by 18
  27. 2024Training LLMs over Neurally Compressed Textcited by 17
  28. 2023Memory-Based Meta-Learning on Non-Stationary Distributionscited by 15
  29. 2021LC-FDNet: Learned Lossless Image Compression with Frequency Decomposition Networkcited by 12
  30. 2016Syntactically Informed Text Compression with Recurrent Neural Networkscited by 6
  31. 2022Accelerated Deep Lossless Image Coding with Unified Paralleleized GPU Coding Architecturecited by 2

Built on by

Cited by year (2026 to 14 Oct)

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

13 papers.

Sort:

By area: