[Paper Review] Metropolis Sampling for Constrained Diffusion Models
This paper proposes a Metropolis sampling-based noising scheme for constrained diffusion models on Riemannian manifolds with boundaries, enabling efficient and numerically stable sampling while maintaining theoretical validity as a discretization of reflected Brownian motion. The method achieves superior computational efficiency and empirical performance over prior log-barrier and reflected SDE approaches, especially on convex and non-convex domains in geospatial modeling, robotics, and protein design.
Denoising diffusion models have recently emerged as the predominant paradigm for generative modelling on image domains. In addition, their extension to Riemannian manifolds has facilitated a range of applications across the natural sciences. While many of these problems stand to benefit from the ability to specify arbitrary, domain-informed constraints, this setting is not covered by the existing (Riemannian) diffusion model methodology. Recent work has attempted to address this issue by constructing novel noising processes based on the reflected Brownian motion and logarithmic barrier methods. However, the associated samplers are either computationally burdensome or only apply to convex subsets of Euclidean space. In this paper, we introduce an alternative, simple noising scheme based on Metropolis sampling that affords substantial gains in computational efficiency and empirical performance compared to the earlier samplers. Of independent interest, we prove that this new process corresponds to a valid discretisation of the reflected Brownian motion. We demonstrate the scalability and flexibility of our approach on a range of problem settings with convex and non-convex constraints, including applications from geospatial modelling, robotics and protein design.
Motivation & Objective
- To address the lack of efficient and generalizable sampling methods for diffusion models constrained to manifolds with boundaries.
- To overcome computational and numerical limitations of existing approaches based on log-barrier functions and reflected Brownian motion.
- To develop a lightweight, plug-and-play method requiring only a binary membership oracle for the constrained set.
- To provide a theoretically grounded discretization of reflected Brownian motion via Metropolis sampling that converges to the true process.
- To demonstrate scalability and performance on diverse constrained manifolds, including non-convex and non-Euclidean domains.
Proposed method
- Proposes a Metropolis-adjusted proposal step in the reverse diffusion process that ensures all samples remain within a user-defined constrained set.
- Uses a binary indicator function to check if candidate points lie within the constraint manifold, enabling rejection sampling without explicit geometric computation.
- Employs a symmetric proposal kernel (e.g., Gaussian) in the tangent space, followed by Metropolis acceptance-rejection to enforce boundary adherence.
- The resulting process is shown to converge to the reflected SDE via the invariance principle for SDEs with boundary conditions.
- The method is compatible with existing Riemannian diffusion model frameworks and requires minimal modification to standard training and sampling pipelines.
- The approach avoids costly Hessian or curvature computations required by log-barrier methods, enabling faster and more stable sampling.
Experimental results
Research questions
- RQ1Can a lightweight, rejection-based sampling scheme achieve comparable or better performance than log-barrier or reflected SDE methods in constrained diffusion modeling?
- RQ2Does Metropolis sampling provide a valid and convergent discretization of the reflected Brownian motion on Riemannian manifolds with boundaries?
- RQ3How does the proposed method scale across different types of constraints, including non-convex and non-Euclidean manifolds?
- RQ4What is the empirical performance gain in terms of sample quality and training efficiency compared to existing constrained diffusion models?
- RQ5Can the method be applied to real-world scientific problems such as protein conformational modeling and geospatial data generation?
Key findings
- The Metropolis-based method achieves state-of-the-art sample quality on constrained manifolds, including non-convex sets like the polytope in protein backbone modeling.
- The method demonstrates superior computational efficiency, with significantly faster sampling times than log-barrier and reflected SDE baselines.
- Empirical results show that the Metropolis sampler produces distributions that closely match the target and uniform distributions on complex manifolds such as the sphere and symmetric positive-definite matrices.
- Theoretical analysis confirms that the Metropolis process converges to the reflected SDE, establishing its validity as a discretization of the continuous process.
- The method generalizes across diverse domains, including geospatial modeling, robotics (torus constraints), and protein structure prediction, with consistent performance gains.
- The approach requires only a binary membership oracle, making it highly modular and easy to integrate into existing diffusion model frameworks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.