Efficient Stochastic Optimisation via Sequential Monte Carlo
James Cuin, Davide Carbone, Yanbo Tang, O. Deniz Akyildiz
TL;DR
This work tackles optimisation where the gradient is an expectation under an intractable distribution, causing costly inner sampling. It introduces SOSMC, a flexible SMC-based framework that replaces inner MCMC loops with sequential particle methods to estimate gradients, backed by a Feynman–Kac identity and ESS-based analysis. The paper proves convergence in an idealised setting and discusses the impact of particle approximations, while demonstrating practical gains through extensive experiments on reward-tuning of EBMs, including Langevin processes, 2D EBMs, and MNIST. The results show SOSMC achieving faster convergence and more accurate gradient estimates than competing approaches, highlighting its potential for scalable, efficient optimisation in models with intractable gradients. This framework unifies and extends existing SMC-based and EM-like strategies, offering a practical route to accelerate training and tuning in energy-based and generative modelling contexts.
Abstract
The problem of optimising functions with intractable gradients frequently arise in machine learning and statistics, ranging from maximum marginal likelihood estimation procedures to fine-tuning of generative models. Stochastic approximation methods for this class of problems typically require inner sampling loops to obtain (biased) stochastic gradient estimates, which rapidly becomes computationally expensive. In this work, we develop sequential Monte Carlo (SMC) samplers for optimisation of functions with intractable gradients. Our approach replaces expensive inner sampling methods with efficient SMC approximations, which can result in significant computational gains. We establish convergence results for the basic recursions defined by our methodology which SMC samplers approximate. We demonstrate the effectiveness of our approach on the reward-tuning of energy-based models within various settings.
