Abstract
While latent diffusion models (LDMs) have emerged as powerful priors for inverse problems, existing LDM-based solvers frequently suffer from instability. In this work, we first identify the instability as a discrepancy between the solver dynamics and stable reverse diffusion dynamics learned by the diffusion model, and show that reducing this gap stabilizes the solver. Building on this, we introduce Measurement-Consistent Langevin Corrector (MCLC), a theoretically grounded plug-and-play stabilization module that remedies the LDM-based inverse problem solvers through measurement-consistent Langevin updates. Compared to prior approaches that rely on linear manifold assumptions, which often fail to hold in latent space, MCLC provides a principled stabilization mechanism, leading to more stable and reliable behavior in latent space.
Introduction
Inverse problems—recovering a clean signal from degraded observations like blurry or low-resolution images—are fundamental to computer vision. Latent Diffusion Models (LDMs) have become a preferred tool for these tasks, offering high-quality generative priors while operating in a computationally efficient compressed latent space. However, LDM-based solvers are notoriously unstable, frequently producing unnatural, localized distortions known as "blob artifacts."
Previous stabilization attempts often relied on the "manifold hypothesis," assuming data resides on a linear surface. We argue that this assumption is fundamentally flawed in latent space because the VAE decoders used for compression are highly non-linear. This non-linearity creates a significant discrepancy between the solver's trajectory and the stable reverse diffusion path the model was trained to follow.
Identifying the Instability Gap
We characterize the observed instability as a measurable divergence between the solver-induced distribution and the target time-marginal distribution of the diffusion model. As shown in our analysis, the KL-divergence between these distributions spikes significantly in standard solvers, leading to the accumulation of errors that manifest as visual artifacts.
Measurement-Consistent Langevin Corrector (MCLC)
To bridge this gap, we propose MCLC, a plug-and-play module that stabilizes sampling through two key mechanisms:
- Langevin Correction: After each standard solver update, MCLC performs a corrector step using Langevin dynamics. This nudges the latent variable back toward high-probability regions of the learned data distribution.
- Orthogonal Projection: To ensure that this correction does not degrade the reconstruction's fidelity to the original measurement, we restrict updates to the orthogonal complement of the measurement gradient. This ensures the stabilizer improves image quality only in directions that do not alter the measurement outcome.
This approach avoids the pitfalls of linear manifold assumptions by directly addressing the distribution gap in the latent space, effectively suppressing "scaled-outliers" before they can be amplified by the non-linear VAE decoder.
Experimental Results
We evaluated MCLC across major benchmarks, including FFHQ, ImageNet, and AFHQ, testing tasks such as Gaussian/Motion deblurring, super-resolution, and inpainting. MCLC was integrated into four prominent LDM solvers: LDPS, PSLD, ReSample, and LatentDAPS.
- Quantitative Performance: MCLC consistently improved PSNR and significantly lowered FID/P-FID scores. For instance, on FFHQ Motion Deblurring with the LDPS solver, MCLC reduced the FID from 118.77 to 82.94.
- Efficiency: The module is computationally lightweight, adding approximately 3% to the total runtime, as it only requires a forward pass of the LDM and simple algebraic projections.
- Generalizability: Beyond diffusion models, MCLC also improved the performance of flow-based models like FlowChef, demonstrating the robustness of the underlying theory.
Conclusion
MCLC provides a principled, theoretically grounded solution to the instability of LDM-based inverse problem solvers. By identifying instability as a distribution discrepancy and correcting it through measurement-consistent Langevin updates, we enable more reliable and artifact-free image reconstruction in latent space. Future work may explore the integration of MCLC with cleaner latent spaces or pixel-level optimizations to further refine the root causes of latent outliers.
Summary updated