LUMI:基于语言模型的与分词器无关的无损图像压缩
LUMI: Tokenizer-Agnostic LLM-Based Lossless Image Compression
AI总结:
研究基于LLM的无损图像压缩问题,提出LUMI框架,用像素嵌入模块取代像素即文本分词,引入位置编码,仅训练部分参数,LLM主干固定。实验表明其提供统一接口,压缩率有竞争力且跨域鲁棒性强。
摘要:
基于大语言模型(LLM)的无损图像压缩方法通常通过预训练模型的原生文本接口来表示像素数据,将像素值转换为LLM通过其词汇头处理的令牌序列。这种设计表明预训练语言模型可为图像编码提供概率估计,但也将压缩与分词器行为、特定词汇的数字令牌以及特定模型家族的适配耦合在一起。本文提出了LUMI(基于LLM的统一模型无关无损图像压缩),这是一个用于无损RGB图像压缩的与分词器无关的框架,其LLM主干是冻结的。LUMI用一个像素嵌入模块取代了像素即文本的分词方式,该模块将原始强度和通道信息映射到LLM的连续嵌入空间。它还引入了补丁内位置编码以在展平后保留二维空间结构,并使用一个256路预测头在原生像素字母表上生成概率。只有像素嵌入、位置编码、软前缀参数和预测头被训练,而LLM主干保持固定。在使用LLaMA、Qwen和Gemma主干的自然、医学和遥感图像基准上的实验表明,LUMI提供了一个跨分词器家族的统一接口,实现了有竞争力的压缩率,并提高了基于分词器的LLM压缩基线的跨域鲁棒性。这些结果将基于LLM的无损图像压缩表述为冻结基础模型的像素空间适配,而不是特定于分词器的语言符号建模。
英文摘要:
Large language model (LLM)-based lossless image compression methods typically represent pixel data through the native text interface of a pretrained model, converting pixel values into token sequences that the LLM processes through its vocabulary head. This design shows that pretrained language models can provide probability estimates for image coding, but it also couples compression to tokenizer behavior, vocabulary-specific numeric tokens, and model-family-specific adaptation. In this paper, we present LUMI (LLM-based Unified Model-agnostic lossless Image compression), a tokenizer-agnostic framework for lossless RGB image compression with frozen LLM backbones. LUMI replaces pixel-as-text tokenization with a pixel embedding module that maps raw intensity and channel information into the continuous embedding space of the LLM. It further introduces intra-patch position encoding to retain two-dimensional spatial structure after flattening, and uses a 256-way prediction head to produce probabilities over the native pixel alphabet. Only the pixel embedding, position encoding, soft-prefix parameters, and prediction head are trained, while the LLM backbone remains fixed. Experiments on natural, medical, and remote-sensing image benchmarks with LLaMA, Qwen, and Gemma backbones show that LUMI provides a unified interface across tokenizer families, achieves competitive compression rates, and improves cross-domain robustness over tokenizer-based LLM compression baselines. These results formulate LLM-based lossless image compression as pixel-space adaptation of frozen foundation models rather than tokenizer-specific language-symbol modeling.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。