Compression via Pre-trained Transformers: A Study on Byte-Level Multimodal Data
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
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2020GLU Variants Improve Transformercited by 1,804
- 2019Common Voice: A Massively-Multilingual Speech Corpuscited by 1,384
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 868
31 more
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 699
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
- 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 478
- 2021NeRV: Neural Representations for Videoscited by 256
- 2021COIN: COmpression with Implicit Neural representationscited by 233
- 2023Language Modeling Is Compressioncited by 225
- 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 199
- 2023Large Language Models as General Pattern Machinescited by 197
- 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 170
- 2019BIGPATENT: A Large-Scale Dataset for Abstractive and Coherent Summarizationcited by 156
- 2018Practical Full Resolution Learned Lossless Image Compressioncited by 94
- 2019Practical Lossless Compression with Latent Variables using Bits Back Codingcited by 86
- 2019Integer Discrete Flows and Lossless Compressioncited by 83
- 2022COIN++: Neural Compression Across Modalitiescited by 82
- 2022Compression of Generative Pre-trained Language Models via Quantizationcited by 79
- 2024Compression Represents Intelligence Linearlycited by 56
- 2023C3: High-performance and low-complexity neural compression from a single image or videocited by 55
- 2019Bit-Swap: Recursive Bits-Back Coding for Lossless Compression with Hierarchical Latent Variablescited by 52
- 2022COOL-CHIC: Coordinate-based Low Complexity Hierarchical Image Codeccited by 51
- 2023LLMZip: Lossless Text Compression using Large Language Modelscited by 44
- 2018DeepZip: Lossless Data Compression using Recurrent Neural Networkscited by 33
- 2020Learning Better Lossless Compression Using Lossy Compressioncited by 33
- 2024Learning Universal Predictorscited by 31
- 2022A Fast Transformer-based General-Purpose Lossless Compressorcited by 26
- 2024FineZip : Pushing the Limits of Large Language Models for Practical Lossless Text Compressioncited by 18
- 2024Training LLMs over Neurally Compressed Textcited by 17
- 2023Memory-Based Meta-Learning on Non-Stationary Distributionscited by 15
- 2021LC-FDNet: Learned Lossless Image Compression with Frequency Decomposition Networkcited by 12
- 2016Syntactically Informed Text Compression with Recurrent Neural Networkscited by 6
- 2022Accelerated Deep Lossless Image Coding with Unified Paralleleized GPU Coding Architecturecited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 6; 2026: 6.
13 papers.
Sort:
By area:
- 2024Large Language Models for Lossless Image Compression: Next-Pixel Prediction in Language Space is All You Needcited by 10
- 2025Exploiting Vocabulary Frequency Imbalance in Language Model Pre-trainingcited by 7
- 2025Information Capacity: Evaluating the Efficiency of Large Language Models via Text Compressioncited by 7
- 2025Understanding Prompt Tuning and In-Context Learning via Meta-Learningcited by 6
- 2025Joint Lossless Compression and Steganography for Medical Images via Large Language Modelscited by 6
- 2026Towards Fast and Effective Long Video Understanding of Multimodal Large Language Models via Adaptive Quasi-Gaussian Samplingcited by 5
- 2025Why is prompting hard? Understanding prompts on binary sequence predictorscited by 4
- 2025Test-Time Steering for Lossless Text Compression via Weighted Product of Expertscited by 3
- 2026OmniZip: Learning a Unified and Lightweight Lossless Compressor for Multi-Modal Datacited by 2
- 2026Benchmarks Are Not That Out of Distribution: Word Overlap Predicts Performancecited by 1
- 2026Seq2Seq2Seq: Lossless Data Compression via Discrete Latent Transformers and Reinforcement Learningcited by 0
- 2026LUMI: Tokenizer-Agnostic LLM-Based Lossless Image Compressioncited by 0
- 2026HyperZip: Efficient Data Compression through Personalized Diffusion LLMs with Hypernetworks28 Sep 2026
- 2026LUMI: Tokenizer-Agnostic LLM-Based Lossless Image Compression9 Jul 2026
- 2026Towards Fast and Effective Long Video Understanding of Multimodal Large Language Models via Adaptive Quasi-Gaussian Sampling23 Jun 2026
- 2026OmniZip: Learning a Unified and Lightweight Lossless Compressor for Multi-Modal Data25 Feb 2026
- 2026Seq2Seq2Seq: Lossless Data Compression via Discrete Latent Transformers and Reinforcement Learning12 Feb 2026
- 2026Benchmarks Are Not That Out of Distribution: Word Overlap Predicts Performance11 Feb 2026
- 2025Information Capacity: Evaluating the Efficiency of Large Language Models via Text Compression11 Nov 2025
- 2025Test-Time Steering for Lossless Text Compression via Weighted Product of Experts4 Nov 2025
- 2025Exploiting Vocabulary Frequency Imbalance in Language Model Pre-training21 Aug 2025
- 2025Joint Lossless Compression and Steganography for Medical Images via Large Language Models3 Aug 2025
- 2025Understanding Prompt Tuning and In-Context Learning via Meta-Learning22 May 2025
- 2025Why is prompting hard? Understanding prompts on binary sequence predictors15 Feb 2025
- 2024Large Language Models for Lossless Image Compression: Next-Pixel Prediction in Language Space is All You Needcited by 10
- 2025Exploiting Vocabulary Frequency Imbalance in Language Model Pre-trainingcited by 7
- 2025Information Capacity: Evaluating the Efficiency of Large Language Models via Text Compressioncited by 7
- 2025Understanding Prompt Tuning and In-Context Learning via Meta-Learningcited by 6
- 2025Joint Lossless Compression and Steganography for Medical Images via Large Language Modelscited by 6
- 2025Why is prompting hard? Understanding prompts on binary sequence predictorscited by 4
- 2025Test-Time Steering for Lossless Text Compression via Weighted Product of Expertscited by 3
- 2026OmniZip: Learning a Unified and Lightweight Lossless Compressor for Multi-Modal Datacited by 2
- 2026Benchmarks Are Not That Out of Distribution: Word Overlap Predicts Performancecited by 1
- 2026LUMI: Tokenizer-Agnostic LLM-Based Lossless Image Compressioncited by 0
- 2026HyperZip: Efficient Data Compression through Personalized Diffusion LLMs with Hypernetworkscited by 0
- 2026HyperZip: Efficient Data Compression through Personalized Diffusion LLMs with Hypernetworks28 Sep 2026
- 2026LUMI: Tokenizer-Agnostic LLM-Based Lossless Image Compression9 Jul 2026
- 2026OmniZip: Learning a Unified and Lightweight Lossless Compressor for Multi-Modal Data25 Feb 2026
- 2026Benchmarks Are Not That Out of Distribution: Word Overlap Predicts Performance11 Feb 2026
- 2025Information Capacity: Evaluating the Efficiency of Large Language Models via Text Compression11 Nov 2025
- 2025Test-Time Steering for Lossless Text Compression via Weighted Product of Experts4 Nov 2025
- 2025Exploiting Vocabulary Frequency Imbalance in Language Model Pre-training21 Aug 2025
- 2025Joint Lossless Compression and Steganography for Medical Images via Large Language Models3 Aug 2025
- 2025Understanding Prompt Tuning and In-Context Learning via Meta-Learning22 May 2025
- 2025Why is prompting hard? Understanding prompts on binary sequence predictors15 Feb 2025
- 2024Large Language Models for Lossless Image Compression: Next-Pixel Prediction in Language Space is All You Need19 Nov 2024