MLIC++: Linear Complexity Multi-Reference Entropy Modeling for Learned Image Compression

Wei Jiang, Jiayu Yang, Yongqi Zhai, Feng Gao, Ronggang Wang
7/28/2023
139 citations
eess.IVcs.CV
transformer-attention

Official code: JiangWeibeta/MLIC (173 stars, Python, Apache-2.0, last commit 2026-02-21).

Abstract

The latent representation in learned image compression encompasses channel-wise, local spatial, and global spatial correlations, which are essential for the entropy model to capture for conditional entropy minimization. Efficiently capturing these contexts within a single entropy model, especially in high-resolution image coding, presents a challenge due to the computational complexity of existing global context modules.

Show full abstract

To address this challenge, we propose the Linear Complexity Multi-Reference Entropy Model (MEM$^{++}$). Specifically, the latent representation is partitioned into multiple slices. For channel-wise contexts, previously compressed slices serve as the context for compressing a particular slice. For local contexts, we introduce a shifted-window-based checkerboard attention module. This module ensures linear complexity without sacrificing performance. For global contexts, we propose a linear complexity attention mechanism. It captures global correlations by decomposing the softmax operation, enabling the implicit computation of attention maps from previously decoded slices. Using MEM$^{++}$ as the entropy model, we develop the image compression method MLIC$^{++}$. Extensive experimental results demonstrate that MLIC$^{++}$ achieves state-of-the-art performance, reducing BD-rate by $13.39\%$ on the Kodak dataset compared to VTM-17.0 in Peak Signal-to-Noise Ratio (PSNR). Furthermore, MLIC$^{++}$ exhibits linear computational complexity and memory consumption with resolution, making it highly suitable for high-resolution image coding. Code and pre-trained models are available at https://github.com/JiangWeibeta/MLIC. Training dataset is available at https://huggingface.co/datasets/Whiteboat/MLIC-Train-100K.

View on arXivView PDF

Code Implementations(1)

JiangWeibeta/MLICOfficial100%
Apache-2.0

[ACMMM 2023 / NCW ICML 2023] Multi-Reference Entropy Models for Learned Image Compression

17318Python, ShellJun 27, 20239 months agoApache-2.0
imagecompressionlossyimagecompression

Similar Papers

Cite this paper

@article{jiang2023mlic,
  title  = {MLIC++: Linear Complexity Multi-Reference Entropy Modeling for Learned Image Compression},
  author = {Wei Jiang and Jiayu Yang and Yongqi Zhai and Feng Gao and Ronggang Wang},
  year   = {2023},
  eprint = {2307.15421},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.15421v11}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.15421.svg)](https://codeofpaper.com/paper/2307.15421)

Discussion