TL;DR
LATINO-PRO introduces a highly efficient, zero-shot Plug-and-Play (PnP) framework for image reconstruction that leverages Latent Consistency Models (LCMs). By combining a gradient-free stochastic auto-encoder sampling mechanism with automatic prompt optimization, it achieves state-of-the-art reconstruction quality in up to two orders of magnitude fewer neural function evaluations than traditional diffusion-based solvers.
What Problem Does This Paper Address?
Image inverse problems—such as super-resolution, deblurring, and inpainting—aim to recover a clean image from a degraded, noisy observation. Modern approaches frequently use text-to-image Latent Diffusion Models (LDMs) as powerful generative priors to guide this recovery. However, existing LDM-based inverse solvers suffer from two major bottlenecks:
- Computational Cost: They rely on iterative sampling strategies requiring hundreds or thousands of Neural Function Evaluations (NFEs), making them slow and memory-intensive.
- Prompt Dependency: Their performance hinges heavily on providing an accurate text prompt that describes the unknown underlying image. If the prompt is missing or inaccurate, the reconstruction quality degrades significantly.
While some methods attempt to optimize text prompts during reconstruction, they require backpropagating gradients through heavy neural networks, creating a massive computational overhead.
Methods
The authors introduce LATINO (LAtent consisTency INverse sOlver) and its prompt-optimized extension, LATINO-PRO.
- Stochastic Auto-Encoder (SAE) Prior: Instead of running a full reverse diffusion chain, LATINO repurposes a distilled Latent Consistency Model (specifically DMD2) alongside a VAE encoder/decoder to act as a Stochastic Auto-Encoder. This setup defines a contractive Markov kernel that pulls images toward the prior distribution in just a few steps.
- Splitting Langevin Dynamics: LATINO discretizes an overdamped Langevin diffusion process and splits it into two distinct steps: a prior step handled gradient-free by the SAE, and a data-fidelity step handled analytically via an implicit proximal operator. This clever split eliminates the need to backpropagate through the heavy UNet or decoder architectures during image updates.
- Prompt Optimization (LATINO-PRO): To correct incomplete or misleading prompts, LATINO-PRO embeds the solver within an empirical Bayesian framework. It utilizes a Stochastic Approximation Proximal Gradient (SAPG) scheme to optimize the text prompt embedding via Maximum Marginal Likelihood Estimation (MMLE) directly within the latent space, updating the prompt and the image simultaneously.
Datasets
The framework was evaluated on three standard high-quality image datasets:
- FFHQ (Flickr-Faces-HQ): Tested on both $512 \times 512$ and high-resolution $1024 \times 1024$ variants.
- AFHQ (Animal Faces-HQ): Evaluated using the dog and cat validation sets at $512 \times 512$ resolution.
- Food-101: Utilized specifically to demonstrate semantic shift and image editing capabilities.
Key Insights and Ideas
- LCMs as Shortcut Priors: Latent Consistency Models can be treated as contractive operators. Passing a noisy latent through an LCM directly predicts the clean target, bypassing the iterative steps of standard diffusion models while maintaining strong prior knowledge.
- Gradient-Free Image Updates: By handling the physics of the degradation (the likelihood) via an implicit proximal step, the image update requires zero backpropagation through the neural network parameters, drastically lowering the GPU memory footprint.
- Latent-Space Prompt Tuning: Optimizing text prompts directly via automatic differentiation on the latent trajectories avoids the massive computational overhead of pixel-space backpropagation.
Key Results
- Unprecedented Speedups: LATINO delivers high-quality reconstructions in just 8 NFEs, while LATINO-PRO (with full prompt optimization) requires only 68 NFEs. This represents a $15\times$ to $250\times$ reduction in computational cost compared to competing state-of-the-art methods like P2L (2000 NFEs) or LDPS (1000 NFEs).
- Minimal Memory Footprint: LATINO requires only ~13 GB of GPU memory to process large $1024 \times 1024$ images because it avoids backpropagation through the decoder during image updates, making high-resolution inverse problem solving accessible on standard hardware.
- State-of-the-Art Quality: Despite the massive reduction in steps, LATINO-PRO consistently outperforms or matches current SOTA methods in PSNR, LPIPS, and FID across Gaussian deblurring, motion deblurring, and super-resolution tasks.
Limitations and Future Work
- High Noise Sensitivity: A key limitation occurs under high noise conditions ($\sigma_n = 0.1$). In these scenarios, the proximal operator fails to sufficiently counteract the powerful generative prior, causing the reconstructed images to deviate from the actual ground truth.
- Theoretical Guarantees: While the method relies on established convergence frameworks for Langevin samplers, providing strict non-asymptotic convergence proofs specifically tailored to CM-based priors remains an open avenue for future work.
- Prompt Decoding: Future work will explore methods to decode the optimized latent prompt embeddings back into human-readable text strings.
Summary updated