Papers › JPEG Artifact Correction using Denoising Diffusion Restoration Models

JPEG Artifact Correction using Denoising Diffusion Restoration Models

23 Sep 2022arXiv:2209.11888archive 2025-07-28

Bahjat Kawar, Jiaming Song, Stefano Ermon, Michael Elad

Diffusion models can be used as learned priors for solving various inverse problems. However, most existing approaches are restricted to linear inverse problems, limiting their applicability to more general cases. In this paper, we build upon Denoising Diffusion Restoration Models (DDRM) and propose a method for solving some non-linear inverse problems. We leverage the pseudo-inverse operator used in DDRM and generalize this concept for other measurement operators, which allows us to use pre-trained unconditional diffusion models for applications such as JPEG artifact correction. We empirically demonstrate the effectiveness of our approach across various quality factors, attaining performance levels that are on par with state-of-the-art methods trained specifically for the JPEG restoration task.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2209.11888")

Code

Syntology Ran 8 of 12 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 2 ran · honoured contract; 5 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

bahjat-kawar/ddrm-jpeg officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 8 ran; 2 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
5ran · fixture could not drive it
1ran
4unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from bahjat-kawar/ddrm-jpeg. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

LinearDCT bahjat-kawar/ddrm-jpeg/functions/denoising.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 83de7816bfa9183b · report
chroma_subsample bahjat-kawar/ddrm-jpeg/functions/denoising.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 53d2d220125f7625 · report
dct bahjat-kawar/ddrm-jpeg/functions/denoising.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · a480f97ef83e404c · report
general_quant_matrix bahjat-kawar/ddrm-jpeg/functions/denoising.py official repository ran · honoured contract fingerprinted MIT (permissive) · da6285845af0208c · report
idct bahjat-kawar/ddrm-jpeg/functions/denoising.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 400de335db9bf7d0 · report
quantization_matrix bahjat-kawar/ddrm-jpeg/functions/denoising.py official repository ran · honoured contract fingerprinted MIT (permissive) · 5c29fc50bc4b62ae · report
torch_rgb2ycbcr bahjat-kawar/ddrm-jpeg/functions/denoising.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · d6921cde0083f064 · report
torch_ycbcr2rgb bahjat-kawar/ddrm-jpeg/functions/denoising.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 1a97ae3490446b38 · report
apply_linear_2d bahjat-kawar/ddrm-jpeg/functions/denoising.py official repository unverified MIT (permissive) · 42feee19aa225758 · report
dct1 bahjat-kawar/ddrm-jpeg/functions/denoising.py official repository unverified MIT (permissive) · 9e1d374e9bf8e1fa · report
idct1 bahjat-kawar/ddrm-jpeg/functions/denoising.py official repository unverified MIT (permissive) · 3db7b46e31fd839b · report
jpeg_steps bahjat-kawar/ddrm-jpeg/functions/denoising.py official repository unverified MIT (permissive) · 1344948a13004f5f · report

Tasks

DenoisingJPEG Artifact Correction

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections