arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.37389cs.CV
收藏

PerLIC:面向小型整数CPU解码器的学习型无损压缩算法

PerLIC: Learned Lossless Compression with Small Integer CPU Decoders

School of Computer Science and Technology, Harbin Institute of Technology(哈尔滨工业大学计算机科学与技术学院)

Daxin Li, Kai Wang, Yuanchao Bai, Yujia Chen, Wenbo Zhao, Junjun Jiang, Xianming Liu

AI总结:

提出PerLIC学习型无损编解码器,可在CPU上以整数解码,最小模型码率比JPEG XL低8.4%,最大模型乘加运算量较同类最优学习编解码器少4倍,所有码流均比特精确解码。

摘要:

经典无损编解码器(如JPEG XL)可在所有设备配备的CPU上快速且精确解码;最优的学习型编解码器虽能达到更低码率,但需在GPU上运行浮点网络,此时编码器的概率不匹配会导致解码失败,且小到可在经典速度下以整数解码的网络容量极小。本文提出PerLIC,一种解码方式与经典编解码器一致的学习型编解码器:含11500至144000个参数的8位网络读取经典特征,在CPU上完全以整数解码,而GPU编码器适配并传输每张图像的低秩适配器。逐像素循环状态复用早期像素的计算;在精确解码下,其短展开仅从存储状态(而非零)中获益,且持久状态表在拟合期间廉价提供这些状态。解码器侧值集恢复预测分布(含少量峰值)在给定早期通道的情况下,于通道取值间隙扩散的概率,仅在头部进行每张图像的切换。最小模型PerLIC-S在7个测试集的250张图像上,码率比JPEG XL低8.4%,在8个AVX-512 CPU核心上解码速度相当,每像素含11300次乘加运算,每张图像编码耗时2.15秒;最大模型PerLIC-L与评估的最强其他学习型编解码器性能相当,但乘加运算量减少4倍。所有码流均实现比特精确解码,且在5种CPU型号(含Apple ARM)和5种GPU型号的测试子集上均符合要求。

英文摘要:

Classical lossless codecs such as JPEG XL decode quickly and exactly on a CPU, which every device has. The best learned codecs reach lower bitrates but run floating-point networks on a GPU; a probability mismatch with the encoder can then break decoding, and a network small enough to decode in integers at classical speed has little capacity. We present PerLIC, a learned codec that decodes like a classical one: an eight-bit network with 11.5k to 144k parameters reads classical features and decodes entirely in integers on a CPU, while a GPU encoder fits and transmits a low-rank adapter for each image. A recurrent per-pixel state reuses the computation of earlier pixels; under exact decoding, in our runs its short unrolls pay off only from stored states, not from zeros, and a persistent state table supplies these cheaply during fitting. Decoder-side value sets recover the probability that a predicted distribution with few peaks spreads over the gaps between the values that a channel takes given the earlier channels, with only a per-image switch in the header. Our smallest model, PerLIC-S, has an 8.4% lower bitrate than JPEG XL on 250 images of seven test sets and decodes about as fast on eight AVX-512 CPU cores, with 11.3k multiply-adds per pixel and 2.15 s of encoding per image. Our largest model, PerLIC-L, matches the strongest other learned codec that we evaluated with 4x fewer multiply-adds. Every stream decodes bit-exactly, and tested subsets also do so on 5 CPU models, including Apple ARM, and on 5 GPU models.

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

↑