Compression-Aware One-Step Diffusion Model for JPEG Artifact Removal

Jinpei Guo, Zheng Chen, Wenbo Li, Yong Guo, Yulun Zhang
2/14/2025
cs.CV

Official code: jp-guo/CODiff (74 stars, last commit 2025-10-17).

Abstract

Diffusion models have demonstrated remarkable success in image restoration tasks. However, their multi-step denoising process introduces significant computational overhead, limiting their practical deployment. Furthermore, existing methods struggle to effectively remove severe JPEG artifact, especially in highly compressed images. To address these challenges, we propose CODiff, a compression-aware one-step diffusion model for JPEG artifact removal. The core of CODiff is the compression-aware visual embedder (CaVE), which extracts and leverages JPEG compression priors to guide the diffusion model. We propose a dual learning strategy that combines explicit and implicit learning. Specifically, explicit learning enforces a quality prediction objective to differentiate low-quality images with different compression levels. Implicit learning employs a reconstruction objective that enhances the model's generalization. This dual learning allows for a deeper and more comprehensive understanding of JPEG compression. Experimental results demonstrate that CODiff surpasses recent leading methods in both quantitative and visual quality metrics. The code is released at https://github.com/jp-guo/CODiff.

View on arXivView PDF

Code Implementations(1)

jp-guo/CODiffOfficial100%

[ICCV'25] Compression-Aware One-Step Diffusion Model for JPEG Artifact Removal

746Shell, PythonFeb 12, 20251 years ago

Similar Papers

Cite this paper

@article{guo2025compressionaware,
  title  = {Compression-Aware One-Step Diffusion Model for JPEG Artifact Removal},
  author = {Jinpei Guo and Zheng Chen and Wenbo Li and Yong Guo and Yulun Zhang},
  year   = {2025},
  eprint = {2502.09873},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.09873v3}
}

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

Discussion