56
10

Composite Logconcave Sampling with a Restricted Gaussian Oracle

Abstract

We consider sampling from composite densities on Rd\mathbb{R}^d of the form dπ(x)exp(f(x)g(x))dxd\pi(x) \propto \exp(-f(x) - g(x))dx for well-conditioned ff and convex (but possibly non-smooth) gg, a family generalizing restrictions to a convex set, through the abstraction of a restricted Gaussian oracle. For ff with condition number κ\kappa, our algorithm runs in O(κ2dlog2κdϵ)O \left(\kappa^2 d \log^2\tfrac{\kappa d}{\epsilon}\right) iterations, each querying a gradient of ff and a restricted Gaussian oracle, to achieve total variation distance ϵ\epsilon. The restricted Gaussian oracle, which draws samples from a distribution whose negative log-likelihood sums a quadratic and gg, 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
Comments on this paper