Outsourced Diffusion Sampling: Efficient Posterior Inference in Latent Spaces of Generative Models
Siddarth Venkatraman, Mohsin Hasan, Minsu Kim, Luca Scimeca, Marcin Sendera, Yoshua Bengio, Glen Berseth, Nikolay Malkin
Abstract
Any well-behaved generative model over a variable x can be expressed as a deterministic transformation of an exogenous ('outsourced') Gaussian noise variable z: x = 𝑓 𝜃 (z). In such a model (e.g., a VAE, GAN, or continuous-time flow-based model), sampling of the target variable x ∼ 𝑝 𝜃 (x) is straightforward, but sampling from a posterior distribution of the form 𝑝(x | y) ∝ 𝑝 𝜃 (x)𝑟 (x, y), where 𝑟 is a constraint function depending on an auxiliary variable y, is generally intractable. We propose to amortize the cost of sampling from such posterior distributions with diffusion models that sample a distribution in the noise space (z). These diffusion samplers are trained by reinforcement learning algorithms to enforce that the transformed samples 𝑓 𝜃 (z) are distributed according to the posterior in the data space (x). For many models and constraints, the posterior in noise space is smoother than in data space, making it more suitable for amortized inference.
Our method enables conditional sampling under unconditional GAN, (H)VAE, and flow-based priors, comparing favorably with other inference methods. We demonstrate the proposed outsourced diffusion sampling in several experiments with large pretrained prior models: conditional image generation, reinforcement learning with human feedback, and protein structure generation.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
- Noise Hypernetworks: Amortizing Test-Time Compute in Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
- Noise Hypernetworks: Amortizing Test-Time Compute in Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
- Noise Hypernetworks: Amortizing Test-Time Compute in Diffusion Models cites Denoising Diffusion Probabilistic Models
- Noise Hypernetworks: Amortizing Test-Time Compute in Diffusion Models cites Denoising Diffusion Implicit Models
- Steering Generative Models with Experimental Data for Protein Fitness Optimization cites Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
- Variational Flow Maps: Make Some Noise for One-Step Conditional Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
- Variational Flow Maps: Make Some Noise for One-Step Conditional Generation cites Denoising Diffusion Probabilistic Models
- Reinforced Sequential Monte Carlo for Amortised Sampling cites Denoising Diffusion Probabilistic Models
- Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
- Data-to-Energy Stochastic Dynamics cites High-Resolution Image Synthesis with Latent Diffusion Models
- Data-to-Energy Stochastic Dynamics cites Diffusion Models Beat GANs on Image Synthesis
- Data-to-Energy Stochastic Dynamics cites Denoising Diffusion Probabilistic Models
Cited by top-tier papers7
- Noise Hypernetworks: Amortizing Test-Time Compute in Diffusion ModelsLuca Eyring, Shyamgopal Karthik, Alexey Dosovitskiy, Nataniel Ruiz et al.NeurIPS 2025 · 36 citations
- Steering Generative Models with Experimental Data for Protein Fitness OptimizationJason Yang, Wenda Chu, Daniel Khalil, Raul Astudillo et al.NeurIPS 2025 · 13 citations
- Data-to-Energy Stochastic DynamicsKirill Tamogashev, Nikolay MalkinICLR 2026 · 5 citations
- Variational Flow Maps: Make Some Noise for One-Step Conditional GenerationAbbas Mammadov, So Takao, Bohan Chen, Ricardo Baptista et al.ICML 2026 · 2 citations
- Reinforced Sequential Monte Carlo for Amortised SamplingSanghyeok Choi, Sarthak Mittal, Víctor Elvira, Jinkyoo Park et al.ICML 2026 · 2 citations
Builds on45
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
Related papers
- Amortizing intractable inference in diffusion models for vision, language, and controlSiddarth Venkatraman, Moksh Jain, Luca Scimeca, Minsu Kim et al.NeurIPS 2024 · 79 citations
- Consistency Posterior Sampling for Diverse Image SynthesisVishal Purohit, Matthew Repasky, Jianfeng Lu, Qiang Qiu et al.CVPR 2025
- Improved off-policy training of diffusion samplersMarcin Sendera, Minsu Kim, Sarthak Mittal, Pablo Lemos et al.NeurIPS 2024 · 52 citations
- Posterior Sampling by Combining Diffusion Models with Annealed Langevin DynamicsZhiyang Xun, Shivam Gupta, Eric PriceNeurIPS 2025 · 8 citations
- Distributional Diffusion Models with Scoring RulesValentin De Bortoli, Alexandre Galashov, J. Swaroop Guntupalli, Guangyao Zhou et al.ICML 2025
