Zeroth-order parallel sampling
Francesco Pozza, Giacomo Zanella
TL;DR
This work tackles accelerating zeroth-order MCMC in a parallel setting by addressing the failure modes of naive gradient-free plug-ins. It introduces a random-slice framework that confines proposals to an $m$-dimensional subspace and applies zeroth-order HMC on that slice, yielding a polynomial speed-up in the number of processors $m$ for high-dimensional targets. Theoretical results establish KL contraction and poly-time speed-ups, while numerical experiments on logistic regression and stochastic volatility demonstrate substantial gains over traditional in-step parallel MCMC and naive zeroth-order methods. The findings offer a practical pathway to efficient Bayesian computation when gradients are unavailable or costly to compute, with clear guidance on selecting the number of active directions.
Abstract
Finding effective ways to exploit parallel computing to accelerate Markov chain Monte Carlo methods is an important problem in Bayesian computation and related disciplines. In this paper, we consider the zeroth-order setting where the unnormalized target distribution can be evaluated but its gradient is unavailable for theoretical, practical, or computational reasons. We also assume access to $m$ parallel processors to accelerate convergence. The proposed approach is inspired by modern zeroth-order optimization methods, which mimic gradient-based schemes by replacing the gradient with a zeroth-order stochastic gradient estimator. Our contribution is twofold. First, we show that a naive application of popular zeroth-order stochastic gradient estimators within Markov chain Monte Carlo methods leads to algorithms with poor dependence on $m$, both for unadjusted and Metropolis-adjusted schemes. We then propose a simple remedy to this problem, based on a random-slice perspective, as opposed to a stochastic gradient one, obtaining a new class of zeroth-order samplers that provably achieve a polynomial speed-up in $m$. Theoretical findings are supported by numerical studies.
