Large Language Models for Lossless Image Compression: Next-Pixel Prediction in Language Space is All You Need
Kecheng Chen, Pingping Zhang, Hui Liu, Jie Liu, Yibing Liu, Jiaxin Huang, Shiqi Wang, Hong Yan, Haoliang Li
Abstract
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 P-LLM, a next-pixel prediction-based LLM, which integrates various elaborated insights and methodologies, e.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 P-LLM can beat SOTA classical and learned codecs.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Efficient Mismatch-Tolerant Coding for Model-Driven Compression cites Language Modeling Is Compression
- Efficient Mismatch-Tolerant Coding for Model-Driven Compression cites Synchronizing Probabilities in Model-Driven Lossless Compression
- OmniZip: Learning a Unified and Lightweight Lossless Compressor for Multi-Modal Data cites TaCo: A Benchmark for Lossless and Lossy Codecs of Heterogeneous Tactile Data
- OmniZip: Learning a Unified and Lightweight Lossless Compressor for Multi-Modal Data cites Language Modeling Is Compression
- OmniZip: Learning a Unified and Lightweight Lossless Compressor for Multi-Modal Data cites iFlow: Numerically Invertible Flows for Efficient Lossless Compression via a Uniform Coder
- TaCo: A Benchmark for Lossless and Lossy Codecs of Heterogeneous Tactile Data cites Language Modeling Is Compression
- Synchronizing Probabilities in Model-Driven Lossless Compression cites Language Modeling Is Compression
Cited by top-tier papers4
- TaCo: A Benchmark for Lossless and Lossy Codecs of Heterogeneous Tactile DataZhengxue Cheng, Yan Zhao, Keyu Wang, Hengdi Zhang et al.ICLR 2026 · 3 citations
- OmniZip: Learning a Unified and Lightweight Lossless Compressor for Multi-Modal DataYan Zhao, Zhengxue Cheng, Junxuan Zhang, Dajiang Zhou et al.CVPR 2026 · 2 citations
- Synchronizing Probabilities in Model-Driven Lossless CompressionAviv Adler, Jennifer TangICLR 2026 · 1 citation
- Efficient Mismatch-Tolerant Coding for Model-Driven CompressionAviv Adler, Jennifer TangICML 2026
Builds on11
- NExT-GPT: Any-to-Any Multimodal LLMShengqiong Wu, Hao Fei, Leigang Qu, Wei Ji et al.ICML 2024 · 786 citations
- A Survey on In-context LearningQingxiu Dong, Lei Li, Damai Dai, Ce Zheng et al.EMNLP 2024 · 479 citations
- Language Modeling Is CompressionGrégoire Delétang, Anian Ruoss, Paul-Ambroise Duquenne, Elliot Catt et al.ICLR 2024 · 243 citations
- LoftQ: LoRA-Fine-Tuning-aware Quantization for Large Language ModelsYixiao Li, Yifan Yu, Chen Liang, Nikos Karampatziakis et al.ICLR 2024 · 217 citations
- iFlow: Numerically Invertible Flows for Efficient Lossless Compression via a Uniform CoderShifeng Zhang, Ning Kang, Tom Ryder, Zhenguo LiNeurIPS 2021 · 47 citations
Related papers
- Learning is Forgetting; LLM Training As Lossy CompressionHenry Conklin, Tom Hosking, Yi Chern Tan, Jonathan D. Cohen et al.ICLR 2026 · 6 citations
- Learned Lossless Image Compression with Interleaved Parallel Inference and Irregular Causal ReasoningLingdu Kong, Xiaochun Yang, Shuo Li, Tieying Li et al.KDD 2026
- GLIC: General Format Learned Image CompressionMingsheng Zhou, Mingming KongAAAI 2025 · 1 citation
- UniPixel: Unified Object Referring and Segmentation for Pixel-Level Visual ReasoningYe Liu, Zongyang Ma, Junfu Pu, Zhongang Qi et al.NeurIPS 2025 · 39 citations
- LLMC+: Benchmarking Vision-Language Model Compression with a plug-and-play ToolkitChengtao Lv, Bilang Zhang, Yang Yong, Ruihao Gong et al.AAAI 2026 · 3 citations
