Contrastive Diffusion Guidance for Spatial Inverse Problems
On the map: Diffusion models → Inverse problems and image restoration
Abstract (arXiv)
We consider a class of inverse problems characterized by forward operators that are partially specified, non-smooth, and non-differentiable. Although generative inverse solvers have made significant progress, we find that these forward operators introduce a distinct set of challenges. As a concrete instance, we consider the problem of reconstructing spatial layouts, such as floorplans, from human movement trajectories, where the underlying path-generation process is inherently non-differentiable and only partially known. In such problems, direct likelihood-based guidance becomes unstable, since the underlying path-planning process does not provide reliable gradients. We break-away from existing diffusion-based posterior samplers and reformulate likelihood-based guidance in a smoother embedding space. This embedding space is learned using a contrastive objective to bring compatible trajectory-floorplan pairs close together while pushing mismatched pairs apart. We show that this surrogate likelihood score in the embedding space provides a valid approximation to the true likelihood score, making it possible to steer the denoising process towards the posterior. Across extensive experiments, our model CoGuide produces more consistent reconstructions and is more robust than existing inverse-solvers and guided diffusion. Beyond spatial mapping, we show that our method can be applied more broadly, suggesting a route toward solving generalized blind inverse problems using diffusion models.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Inverse problems and image restoration, one of 14 directions in Diffusion models. Builds on 43 of its 69 references that are in the map. First posted on arXiv 30 Sep 2025.
Builds on
43 of 69 references.
Closest ancestors · 4
Same direction, newest first
- 2025InverseBench: Benchmarking Plug-and-Play Diffusion Priors for Inverse Problems in Physical Sciences14 Mar
- 2024DMPlug: A Plug-in Method for Solving Inverse Problems with Diffusion Models27 May
- 2023Denoising Diffusion Models for Plug-and-Play Image Restoration15 May
- 2022Diffusion Posterior Sampling for General Noisy Inverse Problems29 Sep
Other references · 39
- 2017Attention Is All You Needcited by 60,361
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
- 2022Classifier-Free Diffusion Guidancecited by 5,847
- 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 3,045
- 2022DreamFusion: Text-to-3D using 2D Diffusioncited by 3,025
- 2020Supervised Contrastive Learningcited by 2,829
27 more
- 2022Video Diffusion Modelscited by 2,305
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2019Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regressioncited by 1,368
- 2020DiffWave: A Versatile Diffusion Model for Audio Synthesiscited by 1,354
- 2021Diffusion Probabilistic Models for 3D Point Cloud Generationcited by 735
- 2023AudioLDM: Text-to-Audio Generation with Latent Diffusion Modelscited by 599
- 2019PANNs: Large-Scale Pretrained Audio Neural Networks for Audio Pattern Recognitioncited by 574
- 2020A Survey on Contrastive Self-supervised Learningcited by 554
- 2016Semantic Scene Completion from a Single Depth Imagecited by 472
- 2020Keystroke Dynamics as Part of Lifeloggingcited by 334
- 2018Fr'echet Audio Distance: A Metric for Evaluating Music Enhancement Algorithmscited by 225
- 2018Enabling Factorized Piano Music Modeling and Generation with the MAESTRO Datasetcited by 217
- 2023LayoutDM: Discrete Diffusion Model for Controllable Layout Generationcited by 143
- 2018LayoutNet: Reconstructing the 3D Room Layout from a Single RGB Imagecited by 95
- 2022HouseDiffusion: Vector Floorplan Generation via a Diffusion Model with Discrete and Continuous Denoisingcited by 73
- 2020Path Planning using Neural A* Searchcited by 52
- 2024Potential Based Diffusion Motion Planningcited by 41
- 2014Batch Informed Trees (BIT*): Sampling-based Optimal Planning via the Heuristically Guided Search of Implicit Random Geometric Graphscited by 39
- 2017RoomNet: End-to-End Room Layout Estimationcited by 38
- 2019Deep Floor Plan Recognition Using a Multi-Task Network with Room-Boundary-Guided Attentioncited by 27
- 2019HouseExpo: A Large-scale 2D Indoor Layout Dataset for Learning-based Algorithms on Mobile Robotscited by 23
- 2023DiPPeR: Diffusion-based 2D Path Planner applied on Legged Robotscited by 20
- 2022TransPath: Learning Heuristics For Grid-Based Pathfinding via Transformerscited by 13
- 2024A Diffusion-Based Generative Equalizer for Music Restorationcited by 12
- 2023Polygon Detection for Room Layout Estimation using Heterogeneous Graphs and Wireframescited by 6
- 2021Walk2Map: Extracting Floor Plans from Indoor Walk Trajectoriescited by 4
- 2025Can NeRFs See without Cameras?cited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Discrete Langevin-Inspired Posterior Samplingcited by 0
- 2026Discrete Langevin-Inspired Posterior Sampling10 May 2026
Similar, not cited
Close in wording, no citation either way
- 2024G2D2: Gradient-Guided Discrete Diffusion for Inverse Problem Solving
- 2024Prototype Clustered Diffusion Models for Versatile Inverse Problems
- 2023Diffusion with Forward Models: Solving Stochastic Inverse Problems Without Direct Supervision
- 2024Dreamguider: Improved Training free Diffusion-based Conditional Generation
- 2025Guided Diffusion Sampling on Function Spaces with Applications to PDEs
- 2026A Stabilized Path-Space Approach to Diffusion-Based Posterior Sampling
- 2026What Do Flow-Based Inverse Solvers Approximate? A Posterior-Transport View
- 2023A Variational Perspective on Solving Inverse Problems with Diffusion Models