In-and-Out: Algorithmic Diffusion for Sampling Convex Bodies
Yunbum Kook, Santosh S. Vempala, Matthew S. Zhang
TL;DR
This work introduces In-and-Out, a diffusion-based sampling scheme for uniformly drawing from a high-dimensional convex body $\mathcal{K} \subset \mathbb{R}^d$ that achieves end-to-end guarantees in the $q$-Rényi divergence $\mathcal{R}_q$ and attains state-of-the-art runtime. The method constructs a two-step Gibbs sampler on an augmented distribution $\pi(x,y) \propto \exp(-\lvert x-y\rvert^2/(2h)) \mathbf{1}_{\mathcal{K}}(x)$, interpreting the forward and backward steps as heat flows that naturally contract toward the target distribution, with rigorous contraction bounds derived via Poincaré and log-Sobolev inequalities. The main results show that, from an $M$-warm start, the algorithm achieves $\mathcal{R}_q(\mu^X \| \pi^{\mathcal{K}}) \le \varepsilon$ with probability at least $1-\eta$ using $\widetilde{O}(q d^2 \Lambda \log^2 M /(\eta \varepsilon))$ proper steps and $\widetilde{O}(qM d^2 \Lambda \log^6(1/(\eta \varepsilon)))$ membership queries, where $\Lambda$ is the largest eigenvalue of the target covariance; the parameters $h$ and the rejection threshold $N$ are chosen accordingly. The framework unifies diffusion-based and geometric approaches, offers stronger $\mathcal{R}_q$ guarantees (implying TV, $W_2$, KL, and $\chi^2$ guarantees), and provides practical warm-start and isotropic-rounding considerations. The results extend the literature on constrained logconcave sampling by delivering end-to-end diffusion-based guarantees with competitive complexity, and they open avenues for differential-privacy-friendly sampling via Rényi divergences.
Abstract
We present a new random walk for uniformly sampling high-dimensional convex bodies. It achieves state-of-the-art runtime complexity with stronger guarantees on the output than previously known, namely in Rényi divergence (which implies TV, $\mathcal{W}_2$, KL, $χ^2$). The proof departs from known approaches for polytime algorithms for the problem -- we utilize a stochastic diffusion perspective to show contraction to the target distribution with the rate of convergence determined by functional isoperimetric constants of the target distribution.
