Image Inpainting via Tractable Steering of Diffusion Models
Anji Liu, Mathias Niepert, Guy Van den Broeck
Abstract
Diffusion models are the current state of the art for generating photorealistic images. Controlling the sampling process for constrained image generation tasks such as inpainting, however, remains challenging since exact conditioning on such constraints is intractable. While existing methods use various techniques to approximate the constrained posterior, this paper proposes to exploit the ability of Tractable Probabilistic Models (TPMs) to exactly and efficiently compute the constrained posterior, and to leverage this signal to steer the denoising process of diffusion models. Specifically, this paper adopts a class of expressive TPMs termed Probabilistic Circuits (PCs). Building upon prior advances, we further scale up PCs and make them capable of guiding the image generation process of diffusion models. Empirical results suggest that our approach can consistently improve the overall quality and semantic coherence of inpainted images across three natural image datasets (i.e., CelebA-HQ, ImageNet, and LSUN) with only additional computational overhead brought by the TPM. Further, with the help of an image encoder and decoder, our method can readily accept semantic constraints on specific regions of the image, which opens up the potential for more controlled image generation tasks. In addition to proposing a new framework for constrained image generation, this paper highlights the benefit of more tractable models and motivates the development of expressive TPMs.
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.
14 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 Denoising Diffusion Probabilistic Models
- On the Relationship Between Monotone and Squared Probabilistic Circuits cites Scaling Tractable Probabilistic Circuits: A Systems Perspective
- A Tractable Inference Perspective of Offline RL cites Language Models are Few-Shot Learners
- A Tractable Inference Perspective of Offline RL cites Denoising Diffusion Probabilistic Models
- Improved Denoising Diffusion Probabilistic Models cites Language Models are Few-Shot Learners
- Improved Denoising Diffusion Probabilistic Models cites Denoising Diffusion Probabilistic Models
- HiScene: Creating Hierarchical 3D Scenes with Isometric View Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
- Denoising Diffusion Restoration Models cites Improved Denoising Diffusion Probabilistic Models
- Denoising Diffusion Restoration Models cites Denoising Diffusion Probabilistic Models
- Breaking the Factorization Barrier in Diffusion Language Models cites Denoising Diffusion Probabilistic Models
Cited by top-tier papers14
- Scaling Tractable Probabilistic Circuits: A Systems PerspectiveAnji Liu, Kareem Ahmed, Guy Van den BroeckICML 2024 · 26 citations
- On the Relationship Between Monotone and Squared Probabilistic CircuitsBenjie Wang, Guy Van den BroeckAAAI 2025 · 16 citations
- Breaking the Factorization Barrier in Diffusion Language ModelsIan Li, Zilei Shao, Benjie Wang, Rose Yu et al.ICML 2026 · 5 citations
- A Tractable Inference Perspective of Offline RLXuejie Liu, Anji Liu, Guy Van den Broeck, Yitao LiangNeurIPS 2024 · 3 citations
- HiScene: Creating Hierarchical 3D Scenes with Isometric View GenerationWenqi Dong, Bangbang Yang, Zesong Yang, Yuan Li et al.ACM MM 2025 · 3 citations
Builds on24
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Improved Denoising Diffusion Probabilistic ModelsAlexander Quinn Nichol, Prafulla DhariwalICML 2021 · 5,234 citations
- Denoising Diffusion Restoration ModelsBahjat Kawar, Michael Elad, Stefano Ermon, Jiaming SongNeurIPS 2022 · 1,439 citations
Related papers
- Understanding the Distillation Process from Deep Generative Models to Tractable Probabilistic CircuitsXuejie Liu, Anji Liu, Guy Van den Broeck, Yitao LiangICML 2023 · 21 citations
- Improving Diffusion-Based Image Synthesis with Context PredictionLing Yang, Jingwei Liu, Shenda Hong, Zhilong Zhang et al.NeurIPS 2023 · 70 citations
- Fast constrained sampling in pre-trained diffusion modelsAlexandros Graikos, Nebojsa Jojic, Dimitris SamarasNeurIPS 2025 · 9 citations
- Diffusion with Forward Models: Solving Stochastic Inverse Problems Without Direct SupervisionAyush Tewari, Tianwei Yin, George Cazenavette, Semon Rezchikov et al.NeurIPS 2023 · 131 citations
- A Unified Conditional Framework for Diffusion-based Image RestorationYi Zhang, Xiaoyu Shi, Dasong Li, Xiaogang Wang et al.NeurIPS 2023 · 44 citations
