Our paper "Adaptive Learned Image Compression with Graph Neural Networks" has been accepted to CVPR 2026. Code and checkpoints are released at GLIC.
Our paper "Next-Frame Decoding for Ultra-Low-Bitrate Image Compression with Video Diffusion Priors" has been accepted to ECCV 2026. Code and checkpoints are released at NeFIC.
This repository is the offical Pytorch implementation of Content-Aware Mamba for Learned Image Compression (ICLR2026).
Abstract: Recent learned image compression (LIC) leverages Mamba-style state-space models (SSMs) for global receptive fields with linear complexity. However, the standard Mamba adopts content-agnostic, predefined raster (or multi-directional) scans under strict causality. This rigidity hinders its ability to effectively eliminate redundancy between tokens that are content-correlated but spatially distant. We introduce Content-Aware Mamba (CAM), an SSM that dynamically adapts its processing to the image content. Specifically, CAM overcomes prior limitations with two novel mechanisms. First, it replaces the rigid scan with a content-adaptive token permutation strategy to prioritize interactions between content-similar tokens regardless of their location. Second, it overcomes the sequential dependency by injecting sample-specific global priors into the state-space model, which effectively mitigates the strict causality without multi-directional scans. These innovations enable CAM to better capture global redundancy while preserving computational efficiency. Our Content-Aware Mamba-based LIC model (CMIC) achieves state-of-the-art rate-distortion performance, surpassing VTM-21.0 by 15.91%, 21.34%, and 17.58% in BD-rate on the Kodak, Tecnick, and CLIC datasets, respectively.
python -m pip install causal-conv1d --no-build-isolation
python -m pip install mamba-ssm --no-build-isolation
The overall framework of CMIC.
Quantitative comparisons.
python test_cmic.py --checkpoint 0.05checkpoint_best.pth.tar 0.025checkpoint_best.pth.tar 0.013checkpoint_best.pth.tar --image_dir xx/kodak
# --checkpoint: one or more checkpoint paths
This repository provides the implementation and checkpoints of the accelerated version CMIC_AuxT, which is trained with the acceleration strategy of AuxT.
This is an initial release, and more updates will follow.
| Lambda | Metric | BaiduNetdisk | GoogleDrive |
|---|---|---|---|
| 0.05 | MSE | BaiduNetdisk (code: t8es) | GoogleDrive |
| 0.025 | MSE | BaiduNetdisk (code: esq6) | GoogleDrive |
| 0.013 | MSE | BaiduNetdisk (code: d8rb) | GoogleDrive |
| 0.0067 | MSE | BaiduNetdisk (code: sqkd) | GoogleDrive |
| 0.0035 | MSE | BaiduNetdisk (code: 6j8n) | GoogleDrive |
| 0.0025 | MSE | BaiduNetdisk (code: tqzx) | GoogleDrive |
| 0.0017 | MSE | BaiduNetdisk (code: 9257) | GoogleDrive |
bpp = [0.826, 0.591, 0.417, 0.281, 0.182, 0.143, 0.108]
psnr = [38.10, 36.17, 34.37, 32.58, 30.91, 30.09, 29.18]
cmic_bpp = [0.6075, 0.4244, 0.2976, 0.2032, 0.1346, 0.1071, 0.0819]
cmic_psnr = [38.8409, 37.2129, 35.7078, 34.1995, 32.7262, 31.9787, 31.1331]
cmic_bpp = [0.5562, 0.3923, 0.2804, 0.1970, 0.1367, 0.1125, 0.0895]
cmic_psnr = [38.8640, 37.3359, 35.9004, 34.4364, 32.9854, 32.2373, 31.3769]
This implementation builds upon several excellent projects:
-
Knowledge Distillation for Learned Image Compression
Yunuo Chen, Zezheng Lyu, Bing He, Ning Cao, Gang Chen, Guo Lu, Wenjun Zhang
ICCV 2025 | 📄 Paper -
S2CFormer: Revisiting the RD-Latency Trade-off in Transformer-based Learned Image Compression
Yunuo Chen, Qian Li, Bing He, Donghui Feng, Ronghua Wu, Qi Wang, Li Song, Guo Lu, Wenjun Zhang
arXiv, 2025 | 📄 Paper | 💻 Unofficial Code
Feel free to reach me at [email protected] if you have any question.
@inproceedings{
chen2026contentaware,
title={Content-Aware Mamba for Learned Image Compression},
author={Yunuo Chen and Zezheng Lyu and Bing He and Hongwei Hu and Qi Wang and Yuan Tian and Li Song and Wenjun Zhang and Guo Lu},
booktitle={The Fourteenth International Conference on Learning Representations},
year={2026},
url={https://openreview.net/forum?id=WwDNiisZQm}
}


