We consider sampling from composite densities on of the form for well-conditioned and convex (but possibly non-smooth) , a family generalizing restrictions to a convex set, through the abstraction of a restricted Gaussian oracle. For with condition number , our algorithm runs in iterations, each querying a gradient of and a restricted Gaussian oracle, to achieve total variation distance . The restricted Gaussian oracle, which draws samples from a distribution whose negative log-likelihood sums a quadratic and , has been previously studied and is a natural extension of the proximal oracle used in composite optimization. Our algorithm is conceptually simple and obtains stronger provable guarantees and greater generality than existing methods for composite sampling. We conduct experiments showing our algorithm vastly improves upon the hit-and-run algorithm for sampling the restriction of a (non-diagonal) Gaussian to the positive orthant.
View on arXiv