NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Inverse Problem Sampling in Latent Space Using Sequential Monte Carlo

Idan Achituve, Hai Victor Habi, Amir Rosenfeld, Arnon Netzer, Idit Diamant, Ethan Fetaya

Introduction

Inverse problems—the task of reconstructing a clean signal from corrupted observations—are fundamental to image processing. Whether the corruption is noise, blur, or missing pixels (inpainting), the goal is to find a reconstruction that is both consistent with the observation and representative of the underlying data distribution. Diffusion models have emerged as a state-of-the-art solution, acting as powerful priors that guide the reconstruction process.

However, modern diffusion models often operate in a compressed "latent" space to reduce computational overhead. While efficient, these Latent Diffusion Models (LDMs) introduce a significant mathematical hurdle: the transformation from latent space back to the pixel-level observation space involves a highly non-linear neural network decoder. This non-linearity makes it difficult to accurately condition the diffusion process on the observed data. This paper introduces Latent Diffusion Sequential Monte Carlo (LD-SMC), a method designed to sample from the true posterior distribution within the latent space of an LDM.

Methodology: LD-SMC

The authors frame the reconstruction as a probabilistic inference problem, utilizing a combination of blocked Gibbs sampling and Sequential Monte Carlo (SMC). The LD-SMC approach is built on three primary innovations:

1. Auxiliary Observations

Standard conditioning methods often struggle because the final corrupted image ($y_0$) is too far removed from the high-variance noise of early diffusion steps. LD-SMC addresses this by generating a sequence of auxiliary "noisy" observations ($y_{1:T}$). These intermediate targets provide a roadmap for the diffusion process, offering guidance that is appropriate for the noise level at each specific timestep.

2. Sequential Monte Carlo (SMC)

To navigate the complex posterior distribution, the method employs SMC, which maintains a set of parallel "particles" or hypotheses. These particles are propagated through the diffusion steps, allowing the model to explore multiple plausible reconstructions simultaneously.

3. Optimized Proposal Distribution

At each step, the particles are updated using a custom proposal distribution. This distribution is designed to nudge the latent variables toward states that satisfy two criteria: they must be consistent with the intermediate noisy label ($y_t$) and remain aligned with the final target observation ($y_0$). By balancing semantic guidance (from $y_0$) with high-frequency detail guidance (from $y_t$), the method achieves superior reconstruction accuracy.

Theoretical and Practical Insights

A key contribution of this work is the proof of asymptotic exactness. The authors demonstrate that as the number of particles in the SMC process increases, the method is mathematically guaranteed to sample from the true target distribution, even in the presence of the non-linear LDM decoder.

Furthermore, the research challenges the assumption that passing noisy intermediate latents through a decoder would result in unusable signals. The authors observed graceful decoder degradation, where the decoded images from noisy latents still provide sufficient structural information to guide the SMC process effectively.

Experimental Results

The LD-SMC method was evaluated on the ImageNet and FFHQ datasets (256x256 resolution) across several tasks, including box inpainting, free-form inpainting, Gaussian deblurring, and 8x super-resolution.

Performance in Inpainting

LD-SMC demonstrated significant dominance in inpainting tasks. On ImageNet box inpainting, the method achieved a Fréchet Inception Distance (FID) of 50.67 using 5 particles. This significantly outperformed existing baselines such as LDPS (65.04) and ReSample (90.32). Qualitatively, while other methods often produced artifacts or overly smoothed regions, LD-SMC generated highly detailed, realistic textures that integrated seamlessly with the original image.

Comparative Trade-offs

In tasks like super-resolution and deblurring, LD-SMC remained highly competitive. While it occasionally showed a slight decrease in distortion metrics like PSNR compared to some baselines, it consistently provided superior perceptual realism, as evidenced by lower FID scores.

Limitations and Future Outlook

The primary trade-off for the precision of LD-SMC is computational cost. Because the method tracks multiple particles and requires multiple Gibbs iterations, the runtime and memory requirements scale linearly with the number of particles. For instance, a 5-particle run is approximately five times more demanding than a single-pass diffusion method.

Future research may focus on optimizing GPU parallelization to reduce this overhead or developing techniques to maintain particle diversity with fewer computational resources. Despite these costs, LD-SMC represents a significant step forward in the mathematically rigorous application of latent diffusion models to complex inverse problems.

Summary updated

BibTeX
@inproceedings{achituve2025inverse,
  author = {Idan Achituve and Hai Victor Habi and Amir Rosenfeld and Arnon Netzer and Idit Diamant and Ethan Fetaya},
  title = {{Inverse Problem Sampling in Latent Space Using Sequential Monte Carlo}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=mWKCajTUUu},
}
Figure