StableCodec: Taming One-Step Diffusion for Extreme Image Compression

Tian-Yu Zhang, Xin Luo, Li Li, Dong Liu
6/1/2025
47 citations
diffusion-flow

No official code found. Best implementation: LuizScarlet/StableCodec (104 stars, Python, MIT, PyTorch, last commit 2026-04-30).

Abstract

Diffusion-based image compression has shown remarkable potential for achieving ultra-low bitrate coding (less than 0.05 bits per pixel) with high realism, by leveraging the generative priors of large pre-trained text-to-image diffusion models. However, current approaches require a large number of denoising steps at the decoder to generate realistic results under extreme bitrate constraints, limiting their application in real-time compression scenarios.

Show full abstract

Additionally, these methods often sacrifice reconstruction fidelity, as diffusion models typically fail to guarantee pixel-level consistency. To address these challenges, we introduce StableCodec, which enables one-step diffusion for high-fidelity and high-realism extreme image compression with improved coding efficiency. To achieve ultra-low bitrates, we first develop an efficient Deep Compression Latent Codec to transmit a noisy latent representation for a single-step denoising process. We then propose a Dual-Branch Coding Structure, consisting of a pair of auxiliary encoder and decoder, to enhance reconstruction fidelity. Furthermore, we adopt end-to-end optimization with joint bitrate and pixel-level constraints. Extensive experiments on the CLIC 2020, DIV2K, and Kodak datasets demonstrate that StableCodec outperforms existing methods in terms of FID, KID and DISTS by a significant margin, even at bitrates as low as 0.005 bits per pixel, while maintaining strong fidelity. Additionally, StableCodec achieves inference speeds comparable to mainstream transform coding schemes. Code is available at our project repository.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

[ICCV 2025] StableCodec: Taming One-Step Diffusion for Extreme Image Compression

1046Python, ShellJun 26, 20257 months agoMIT
computer-visiondeep-learningdiffusionimage-compressionlow-level+3 more

Similar Papers

Cite this paper

@article{zhang2025stablecodec,
  title  = {StableCodec: Taming One-Step Diffusion for Extreme Image Compression},
  author = {Tian-Yu Zhang and Xin Luo and Li Li and Dong Liu},
  year   = {2025},
  eprint = {2506.21977},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2506.21977},
  journal = {IEEE International Conference on Computer Vision}
}

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/2506.21977.svg)](https://codeofpaper.com/paper/2506.21977)

Discussion