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

TL;DR
This paper introduces P²-LLM, a novel next-pixel prediction model using large language models for lossless image compression, achieving superior results over existing codecs by leveraging in-context learning and semantic preservation.
Contribution
The paper presents P²-LLM, a new LLM-based approach that significantly improves lossless image compression performance by integrating pixel priors, in-context learning, and semantic strategies.
Findings
P²-LLM outperforms state-of-the-art codecs on benchmark datasets.
The approach effectively leverages LLM capabilities for pixel sequence understanding.
Experimental results demonstrate superior compression efficiency.
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Data Compression Techniques · Image Retrieval and Classification Techniques
