Introduction: The Challenge of Latent Space Instability
Inverse problems—such as image deblurring, super-resolution, and inpainting—require recovering an original signal from partial or noisy observations. Diffusion models have become the gold standard prior for these ill-posed tasks, providing the knowledge needed to fill in missing details. To reduce computational costs, Latent Diffusion Models (LDMs) operate in a compressed latent space rather than raw pixel space.
However, existing LDM-based solvers frequently suffer from severe instability, producing unrealistic textures or "blob" artifacts. Previous attempts to stabilize these solvers relied on the linear manifold hypothesis, assuming data resides on a flat geometric surface. The authors of this paper argue that this assumption breaks down in latent space due to highly non-linear decoders. This creates a discrepancy between the solver's trajectory and the stable reverse-diffusion path the model was actually trained to follow.
The Solution: Measurement-Consistent Langevin Corrector (MCLC)
To address this discrepancy, researchers introduce the Measurement-Consistent Langevin Corrector (MCLC), a theoretically grounded, plug-and-play stabilization module. Instead of relying on flawed geometric assumptions, MCLC reframes instability as distributional drift and uses a principled distribution-matching approach to keep the solver on track.
How It Works
MCLC can be integrated into almost any existing LDM solver without the need to retrain the diffusion model. It operates through three key principles:
- Characterizing Instability: Instability is defined mathematically as the divergence (measured via KL-Divergence) from the stable reverse-time dynamics learned during the diffusion model's training.
- Langevin Correction: MCLC applies a stochastic gradient step—a Langevin update—to pull the current latent state back toward the stable, realistic distribution.
- Measurement Consistency: A standard Langevin step might improve an image's realism at the expense of its accuracy to the original noisy measurement. MCLC solves this by projecting the Langevin update onto the orthogonal complement of the measurement gradient. In plain English, the latent state moves toward a realistic distribution only in directions that do not degrade fidelity to the input data.
Experimental Setup and Key Results
The researchers evaluated MCLC on the FFHQ and ImageNet datasets across various tasks, including Gaussian/Motion Deblurring, Super-Resolution (4x and 12x), Inpainting, and HDR reconstruction.
- Quantitative Gains: MCLC consistently improved PSNR (fidelity) and significantly lowered FID and LPIPS (perceptual quality). For instance, on FFHQ Gaussian Deblur using the LDPS solver, MCLC improved the FID from 100.10 to 80.83.
- Patch-FID (P-FID): To better capture regional artifacts like "blobs," the authors introduced the P-FID metric. MCLC dramatically reduced P-FID scores, often cutting them nearly in half (e.g., from 93.55 to 54.74).
- High Efficiency: Despite adding a corrector step, MCLC introduces a modest wall-clock time overhead of only about 3% for solvers like LDPS and PSLD.
Key Insights and Limitations
The Latent Space is Not Flat: The study provides strong empirical evidence that linear manifold assumptions are insufficient for latent spaces, explaining why prior "manifold-preserving" methods failed to achieve stability.
The "Blob" Mystery: The authors traced common blob artifacts to "scaled-outliers" in the latent space of VAEs (like those used in Stable Diffusion v1.5). While MCLC suppresses these artifacts by mitigating decoder-induced amplification, the choice of the underlying VAE remains a significant factor in overall stability.
Limitations: Optimal performance still requires task-specific hyperparameter tuning, particularly for the step size and the number of corrector steps. Furthermore, while MCLC is highly effective, it cannot entirely eliminate outliers baked into the pre-trained latent space. Future work may explore designing outlier-free latent spaces tailored specifically for inverse problems, as well as developing domain-specific priors for fields like medical imaging.
Conclusion
MCLC offers a principled, highly effective, and computationally cheap mechanism to stabilize LDM-based inverse problem solvers. By shifting the focus from geometric assumptions to measurement-consistent distribution matching, it paves the way for more reliable, high-fidelity image restoration.
Summary updated