arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.16163eess.IVcs.CV
收藏

用于无损图像压缩的带视觉提示的大型语言模型

Large Language Model for Lossless Image Compression with Visual Prompts

Shanghai Jiao Tong University(上海交通大学);China Telecommunications Corporation(中国电信集团有限公司)

Junhao Du, Chuqin Zhou, Ning Cao, Gang Chen, Yunuo Chen, Zhengxue Cheng, Li Song, Guo Lu, Wenjun Zhang

AI总结:

本文提出一种结合视觉提示的大型语言模型新范式,用于无损图像压缩,通过有损重建作为提示并利用LLM作为熵模型预测残差分布,在多个基准上达到最先进性能,并易扩展到医学和屏幕内容图像。

摘要:

深度学习的最新进展推动了无损图像压缩的重大进步。随着大型语言模型(LLMs)的出现,初步尝试已经利用这些预训练模型中嵌入的广泛先验知识来增强无损图像压缩,特别是通过改进熵模型。然而,在LLMs内部的文本先验知识与无损图像压缩之间架起桥梁仍然是一个重大挑战。为了解决这一挑战并释放LLMs的潜力,本文引入了一种新的无损图像压缩范式,该范式将LLMs与视觉提示相结合。具体来说,我们首先生成输入图像的有损重建作为视觉提示,从中提取特征作为LLM的视觉嵌入。然后将原始图像与有损重建之间的残差连同这些视觉嵌入一起输入LLM,使LLM能够作为熵模型来预测残差的概率分布。在多个基准数据集上的大量实验表明,我们的方法实现了最先进的压缩性能,超越了传统和基于学习的无损图像编解码器。此外,我们的方法可以轻松扩展到其他领域的图像,例如医学和屏幕内容图像,并取得了令人印象深刻的性能。这些结果凸显了LLMs在无损图像压缩方面的潜力,并可能激发相关方向的进一步研究。

英文摘要:

Recent advancements in deep learning have driven significant progress in lossless image compression. With the emergence of Large Language Models (LLMs), preliminary attempts have been made to leverage the extensive prior knowledge embedded in these pretrained models to enhance lossless image compression, particularly by improving the entropy model. However, a significant challenge remains in bridging the gap between the textual prior knowledge within LLMs and lossless image compression. To tackle this challenge and unlock the potential of LLMs, this paper introduces a novel paradigm for lossless image compression that incorporates LLMs with visual prompts. Specifically, we first generate a lossy reconstruction of the input image as visual prompts, from which we extract features to serve as visual embeddings for the LLM. The residual between the original image and the lossy reconstruction is then fed into the LLM along with these visual embeddings, enabling the LLM to function as an entropy model to predict the probability distribution of the residual. Extensive experiments on multiple benchmark datasets demonstrate our method achieves state-of-the-art compression performance, surpassing both traditional and learning-based lossless image codecs. Furthermore, our approach can be easily extended to images from other domains, such as medical and screen content images, achieving impressive performance. These results highlight the potential of LLMs for lossless image compression and may inspire further research in related directions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑