atlas

Research map / Image generation / Image restoration

CODE: Confident Ordinary Differential Editing

AAAI 2025 · Image generation › Image restoration · approach: Efficient restoration architectures · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CODE, a blind, training-free image editing method that inverts a pretrained diffusion model via the probability-flow ODE, applies Langevin score updates in latent space, and uses confidence-based clipping to restore out-of-distribution or corrupted images.

Problem

Conditioning diffusion-based image generation on noisy or out-of-distribution guidance images, where fidelity to the input and realism of the output trade off, without knowledge of the corruption type.

Approach

Replace SDEdit's Gaussian noise injection with deterministic probability-flow ODE inversion to a chosen latent depth, refine the latent with Langevin score-based updates, and clip latents to a confidence interval derived from the marginal distribution (CBC) before inversion; the decoupled noise level, step size, and latent depth give finer control over realism versus fidelity.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace SDEdit with ODE-based CODEDiffusion editing on CelebA-HQ · CelebA-HQ, 47 corruptionsFID: 47.84 (42.29) -> 30.66 (16.21)Helped
Replace SDEdit with ODE-based CODEDiffusion editing on CelebA-HQ · CelebA-HQ, 47 corruptionsPSNR-Input: 18.74 (3.92) -> 19.61 (4.66)Helped
Replace SDEdit with ODE-based CODEDiffusion editing on CelebA-HQ · CelebA-HQ, 47 corruptionsSSIM-Input: 0.46 (0.21) -> 0.49 (0.22)Helped
Replace SDEdit with ODE-based CODEDiffusion editing on CelebA-HQ · CelebA-HQ, 47 corruptionsLPIPS-Source: 0.32 (0.13) -> 0.30 (0.12)Helped
Add confidence-based clipping (ablation)CODE · CelebA-HQ, 47 corruptionsFID: 34.75 (14.6) -> 30.65 (16.2)Helped
Add confidence-based clipping (ablation)CODE · CelebA-HQ, 47 corruptionsPSNR-Input: 19.4 (4.5) -> 19.6 (4.7)Helped
Add confidence-based clipping (ablation)CODE · CelebA-HQ, 47 corruptionsSSIM-Input: 0.48 (0.22) -> 0.49 (0.22)Helped
Add confidence-based clipping (ablation)CODE · CelebA-HQ, 47 corruptionsLPIPS-Source: 0.31 (0.11) -> 0.30 (0.12)Helped
Increase Langevin step size (ablation)CODE · Image editingRealism and fidelityMixed
Optimize in deeper rather than shallow latent spaces (ablation)CODE · Image editing across corruption typesEditing magnitudeMixed
Increase the number of Langevin updates (ablation)CODE · Image editingRealismHelped
Reduce the CBC confidence parameter (ablation)CODE encoding · Corrupted imagesRemoval of unlikely pixels and noisy artifactsHelped

Surprising findings

Limitations

Experimental setup

Datasets: CelebA-HQ LSUN-Bedroom LSUN-Church

Benchmarks: CelebA-HQ with 47 corruption types LSUN-Bedroom LSUN-Church

Metrics: FID PSNR SSIM LPIPS L2 distance

Baselines: SDEdit CodeFormer GFPGAN DiffBIR

Builds on: SDEdit DDIM DDPM Langevin dynamics score-based generative models

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy