arXiv:2610.22232cs.CVOct 2026

Manuscript Offprint

arXiv:2610.22232

WaveLLM: Wavelet-Domain LLM Entropy Modeling for Lossless Image Compression

Yue Yu, Bowei Kang, Changsheng Gao, Dong Liu, Xiaoyan Sun

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yue Yu

University of Science and Technology

of China

Hefei, China

yuyue02@mail.ustc.edu.cn

Bowei Kang

MOE Key Laboratory of

Brain-Inspired Intelligent Perception

and Cognition

University of Science and Technology

of China

Hefei, China

kbw2000@mail.ustc.edu.cn

Changsheng Gao ✉^{✉}

Nanyang Technological University

Singapore, Singapore

changsheng.gao@ntu.edu.sg

Dong Liu

MOE Key Laboratory of

Brain-Inspired Intelligent Perception

and Cognition

University of Science and Technology

of China

Hefei, China

dongeliu@ustc.edu.cn

Abstract

Lossless image compression fundamentally relies on accurate entropy modeling, driving a recent shift toward large language model (LLM)-based methods. However, existing approaches mainly emphasize the modeling capacity of LLMs while directly serializing images into pixel or residual sequences, leaving heterogeneous signal patterns entangled within a single prediction stream. In this paper, we argue that effective entropy modeling depends not only on model capacity, but also on the predictability of the input representation. Motivated by this insight, we propose WaveLLM, a wavelet-domain LLM-based entropy model for lossless image compression. By decomposing an image into multi-level wavelet subbands, WaveLLM converts a heterogeneous prediction problem into a set of more structured and statistically homogeneous subproblems that are more amenable to autoregressive probability estimation. To bridge numerical coding symbols with the LLM's native text token space, we introduce a dedicated numerical interface featuring value embeddings and a coefficient prediction head. Furthermore, a task-adaptive prompting strategy is designed to enable a single shared model to adapt to diverse subbands within a unified framework. Built on Llama-3.2-3B with LoRA adaptation, WaveLLM achieves 2.51, 2.24, and 2.27 bpsp on Kodak, CLIC.pro, and DIV2K,

Xiaoyan Sun ✉∗^{✉*}

National Engineering Laboratory for

Brain-inspired Intelligence

Technology and Application; MoE

Key Laboratory of Brain-inspired

Intelligent Perception and Cognition

University of Science and Technology

of China

Hefei, China

sunxiaoyan@ustc.edu.cn

respectively, outperforming the PixelCNN-based codec using the same wavelet transform by 0.43, 0.36, and 0.46 bpsp, and surpassing recent LLM-based lossless compressors on all three benchmarks.

CCS Concepts

• Computing methodologies → Image compression.

References (18)