Lossy Compression with Pretrained Diffusion Models

Jeremy Vonderfecht, Feng Liu
2/12/2026

No official code found. Best implementation: JeremyIV/diffc (39 stars, MIT, last commit 2025-12-10). 1 more below.

Abstract

We apply the DiffC algorithm (Theis et al. 2022) to Stable Diffusion 1.5, 2.1, XL, and Flux-dev, and demonstrate that these pretrained models are remarkably capable lossy image compressors. A principled algorithm for lossy compression using pretrained diffusion models has been understood since at least Ho et al. 2020, but challenges in reverse-channel coding have prevented such algorithms from ever being fully implemented. We introduce simple workarounds that lead to the first complete implementation of DiffC, which is capable of compressing and decompressing images using Stable Diffusion in under 10 seconds. Despite requiring no additional training, our method is competitive with other state-of-the-art generative compression methods at low ultra-low bitrates.

View on arXivView PDF

Code Implementations(2)

JeremyIV/diffcCommunity100%
MIT

Lossy Compression with Pretrained Diffusion Models

395Cuda, RustJan 4, 202510 months agoMIT

Project page for my paper "lossy compression with pretrained diffusion models"

11MDX, AstroDec 13, 20241 years ago

Similar Papers

Cite this paper

@article{vonderfecht2026lossy,
  title  = {Lossy Compression with Pretrained Diffusion Models},
  author = {Jeremy Vonderfecht and Feng Liu},
  year   = {2026},
  eprint = {2501.09815},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2501.09815},
  journal = {ICLR 2025 2025}
}

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

Discussion