Large Language Models for Lossless Image Compression: Next-Pixel Prediction in Language Space is All You Need
Not on the map. Why?
Abstract (arXiv)
We have recently witnessed that ``Intelligence" and `` Compression" are the two sides of the same coin, where the language large model (LLM) with unprecedented intelligence is a general-purpose lossless compressor for various data modalities. This attribute particularly appeals to the lossless image compression community, given the increasing need to compress high-resolution images in the current streaming media era. Consequently, a spontaneous envision emerges: Can the compression performance of the LLM elevate lossless image compression to new heights? However, our findings indicate that the naive application of LLM-based lossless image compressors suffers from a considerable performance gap compared with existing state-of-the-art (SOTA) codecs on common benchmark datasets. In light of this, we are dedicated to fulfilling the unprecedented intelligence (compression) capacity of the LLM for lossless image compression tasks, thereby bridging the gap between theoretical and practical compression performance. Specifically, we propose P2-LLM, a next-pixel prediction-based LLM, which integrates various elaborated insights and methodologies, textite.g., pixel-level priors, the in-context ability of LLM, and a pixel-level semantic preservation strategy, to enhance the understanding capacity of pixel sequences for better next-pixel predictions. Extensive experiments on benchmark datasets demonstrate that P2-LLM can beat SOTA classical and learned codecs.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 21 of its 47 references that are in the map. First posted on arXiv 19 Nov 2024.
Builds on
21 of 47 references.
References · 21
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2016Pixel Recurrent Neural Networkscited by 816
- 2023NExT-GPT: Any-to-Any Multimodal LLMcited by 615
- 2017PixelCNN++: Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modificationscited by 417
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 387
- 2023Language Modeling Is Compressioncited by 225
- 2023LoftQ: LoRA-Fine-Tuning-Aware Quantization for Large Language Modelscited by 196
- 2023Tokenizer Choice For LLM Training: Negligible or Crucial?cited by 108
- 2018Practical Full Resolution Learned Lossless Image Compressioncited by 94
- 2024Compression Represents Intelligence Linearlycited by 56
- 2020Learning Better Lossless Compression Using Lossy Compressioncited by 33
9 more
- 2024Learning Universal Predictorscited by 31
- 2021iVPF: Numerical Invertible Volume Preserving Flow for Efficient Lossless Compressioncited by 27
- 2021iFlow: Numerically Invertible Flows for Efficient Lossless Compression via a Uniform Codercited by 26
- 2022Deep Lossy Plus Residual Coding for Lossless and Near-lossless Image Compressioncited by 22
- 2024Compression via Pre-trained Transformers: A Study on Byte-Level Multimodal Datacited by 13
- 2023SimNP: Learning Self-Similarity Priors Between Neural Pointscited by 11
- 2024Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugscited by 7
- 2022Learned Lossless Image Compression Through Interpolation With Low Complexitycited by 5
- 2022Considering Image Information and Self-similarity: A Compositional Denoising Networkcited by 1
Built on by
Citing papers per year: 2025: 2; 2026: 8.
10 papers.
- 2025DualComp: End-to-End Learning of a Unified Dual-Modality Lossless Compressorcited by 2
- 2025Scaling Learned Image Compression Models up to 1 Billioncited by 2
- 2026Compression Tells Intelligence: Visual Coding, Visual Token Technology, and the Unificationcited by 2
- 2026TaCo: A Benchmark for Lossless and Lossy Codecs of Heterogeneous Tactile Datacited by 2
- 2026OmniZip: Learning a Unified and Lightweight Lossless Compressor for Multi-Modal Datacited by 2
- 2026Adapting Diffusion Language Models for Lossless Pixel-Level Image Transmissioncited by 1
- 2026A Model-Driven Lossless Compression Algorithm Resistant to Mismatchcited by 0
- 2026LUMI: Tokenizer-Agnostic LLM-Based Lossless Image Compressioncited by 0
- 2026FLM: Frequency-Aware Language Models for Generative 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
- 2026FLM: Frequency-Aware Language Models for Generative Image Compression26 Aug 2026
- 2026LUMI: Tokenizer-Agnostic LLM-Based Lossless Image Compression9 Jul 2026
- 2026Adapting Diffusion Language Models for Lossless Pixel-Level Image Transmission4 Jun 2026
- 2026OmniZip: Learning a Unified and Lightweight Lossless Compressor for Multi-Modal Data25 Feb 2026
- 2026TaCo: A Benchmark for Lossless and Lossy Codecs of Heterogeneous Tactile Data10 Feb 2026
- 2026Compression Tells Intelligence: Visual Coding, Visual Token Technology, and the Unification28 Jan 2026
- 2026A Model-Driven Lossless Compression Algorithm Resistant to Mismatch25 Jan 2026
- 2025Scaling Learned Image Compression Models up to 1 Billion12 Aug 2025
- 2025DualComp: End-to-End Learning of a Unified Dual-Modality Lossless Compressor22 May 2025