atlas

Research map / Image generation / Fast diffusion sampling

Gradient-free Decoder Inversion in Latent Diffusion Models

NeurIPS 2024 · Image generation › Fast diffusion sampling · approach: Denoising diffusion probabilistic models · 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 a gradient-free decoder inversion for latent diffusion models using a forward step method on the encoder-decoder composition, with convergence theory (including inertial KM iterations) and Adam plus cosine learning-rate scheduling for practical speed and memory savings.

Problem

Decoder inversion in latent diffusion models (finding a latent that decodes to a given image) is typically solved with gradient descent through the decoder, which is memory- and time-intensive for large or video latents.

Approach

Replace backpropagation through the decoder with a gradient-free forward step / fixed-point iteration z <- z - rho(E(D(z)) - E(x)) that uses the off-the-shelf encoder, with convergence proofs under a cocoercivity assumption and an inertial KM variant; practical version uses Adam and cosine learning-rate scheduling in 16-bit.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace gradient-based inversion with gradient-free inversionDecoder inversion · InstaFlow, 20 iterationsRuntime (s): 6.30 s -> 1.89 sHelped
Replace gradient-based inversion with gradient-free inversionDecoder inversion · LaViePeak memory: 64.7 GB -> 7.13 GBHelped
Replace gradient-based inversion with gradient-free inversionDecoder inversion · InstaFlow, 20 iterationsNMSE (dB): -15.94 -> -16.38Helped
Replace gradient-based inversion with gradient-free inversionDecoder inversion · SD2.1 tree-rings watermark classificationAccuracy: 207/300 -> 202/300Hurt
Replace gradient-based inversion with gradient-free inversionDecoder inversion · InstaFlow tree-rings watermark classificationAccuracy: 227/300 -> 227/300No clear effect
Use Adam instead of vanilla forward step (ablation)Gradient-free decoder inversion · Stable Diffusion 2.1, 20 iterationsNMSE (dB): -16.87 ± 0.38 -> -19.39 ± 0.54Helped
Use Adam instead of inertial KM iterations (ablation)Gradient-free decoder inversion · Stable Diffusion 2.1, 20 iterationsNMSE (dB): -18.99 ± 0.53 -> -19.39 ± 0.54Helped
Use scheduled LR instead of fixed LR 0.01 (ablation)Adam decoder inversion · Stable Diffusion 2.1, 100 iterationsNMSE (dB): -21.22 ± 0.74 -> -21.71 ± 0.77Helped
Use scheduled LR instead of fixed LR 0.002 (ablation)Adam decoder inversion · Stable Diffusion 2.1, 100 iterationsNMSE (dB): -20.59 ± 0.64 -> -21.71 ± 0.77Helped
Use scheduled LR instead of fixed LR 0.01 (ablation)Adam decoder inversion · Stable Diffusion 2.1, 200 iterationsNMSE (dB): -20.61 ± 0.79 -> -21.85 ± 0.82Helped
Use scheduled LR instead of fixed LR 0.002 (ablation)Adam decoder inversion · Stable Diffusion 2.1, 200 iterationsNMSE (dB): -21.57 ± 0.74 -> -21.85 ± 0.82Helped

Surprising findings

Limitations

Experimental setup

Datasets: Gustavosta/Stable-Diffusion-Prompts

Benchmarks: tree-rings watermark classification (300 images) decoder inversion NMSE on generated images (100 instances per LDM)

Metrics: NMSE (dB) runtime (s) peak memory (GB) watermark classification accuracy

Baselines: Gradient-based decoder inversion (inv-DM) vanilla gradient descent decoder inversion encoder-only naive DDIM inversion backward Euler inversion

Builds on: Tree-rings watermarking Adam inertial Krasnoselskii-Mann iteration gradient-based GAN inversion DDIM inversion

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