Stochastic Particle-Optimization Sampling and the Non-Asymptotic Convergence Theory

Jianyi Zhang, Ruiyi Zhang, Lawrence Carin, Changyou Chen

Abstract

Particle-optimization-based sampling (POS) methods, such as Stein Variational Gradient Descent (SVGD), have emerged as powerful alternatives to traditional MCMC for Bayesian inference. However, these methods often suffer from "particle collapse"—where particles fail to represent the full distribution—and a lack of finite-time convergence theory. This paper introduces Stochastic Particle-Optimization Sampling (SPOS), a framework that injects controlled noise into particle updates to prevent collapse and improve exploration. We provide the first non-asymptotic convergence analysis for this class of algorithms, revealing a fundamental trade-off: for a fixed computational budget, increasing the number of particles can paradoxically increase numerical error. Empirical results across synthetic benchmarks, Bayesian neural networks, and reinforcement learning tasks demonstrate the superior robustness and accuracy of SPOS.

Introduction

In Bayesian machine learning, sampling from complex, high-dimensional posterior distributions is a core challenge. While Stochastic Gradient MCMC (SG-MCMC) relies on random walks, Particle-Optimization-based Sampling (POS) uses interacting particles to approximate the target distribution. Despite its efficiency, SVGD—the most popular POS method—faces two major hurdles: a tendency for particles to collapse into local modes and a lack of non-asymptotic theory describing behavior with finite time and particles.

Methodology: Stochastic Particle-Optimization Sampling (SPOS)

SPOS bridges the gap between the stochastic nature of SGLD and the interactive nature of SVGD. By adding a Gaussian noise term to each particle's update, SPOS transforms a deterministic system into a stochastic one. This "stochastic injection" is mathematically grounded in the theory of granular media equations and Wasserstein gradient flows.

This approach allows the algorithm to be viewed as a numerical solver for a specific partial differential equation (PDE). By analyzing the discretization error, the authors bound the 1-Wasserstein distance between the particle empirical distribution and the target distribution in terms of the number of particles ($M$), iterations ($T$), and step size ($h$).

Key Insights and Theoretical Paradoxes

Solving the Particle Collapse

Standard SVGD can be proven to collapse into a single point if the interaction kernel is not strong enough to overcome local gradients. SPOS prevents this by ensuring particles have enough kinetic energy (via noise) to jump between modes.

Figure 1: SPOS (left) successfully explores all modes of a multi-modal distribution, while SVGD (right) collapses into a single mode.

The "Optimal M" Paradox

Intuitively, more particles should yield a better approximation. However, the non-asymptotic theory developed here reveals a surprising trade-off. For a fixed number of iterations, increasing $M$ can actually increase the numerical error bound. This suggests a "sweet spot" for the number of particles, beyond which performance may degrade due to accumulated numerical noise.

Empirical Results

Multi-modal Exploration and Regression

In multi-modal synthetic tests, SPOS consistently reached all modes where SVGD remained trapped. This translated to real-world performance on 10 UCI regression datasets. For instance, on the 'Energy' dataset, SPOS achieved a Root Mean Squared Error (RMSE) of 0.752, significantly outperforming SVGD's 1.291.

Validation of Non-Asymptotic Theory

Experimental results confirm the theoretical "Optimal M" insight. As shown below, error curves for SPOS eventually trend upward as the number of particles increases for a fixed iteration count, validating the predicted numerical trade-off.

Figure 2: Error vs. Number of particles. The upward trend in error as particle count increases beyond a certain point confirms the theoretical non-asymptotic trade-off.

Reinforcement Learning

In deep reinforcement learning, the policy gradient version of the algorithm (SPOS-PG) outperformed SVPG in classical control tasks like Cartpole Swing-Up. The stochastic nature of SPOS-PG facilitated better exploration of the policy space, leading to higher cumulative rewards and faster convergence.

Conclusion

SPOS addresses the fundamental limitations of deterministic particle optimization by introducing stochasticity. By providing the first non-asymptotic convergence bounds, this work not only offers a more robust sampling tool but also a deeper theoretical understanding of the interplay between particle count and numerical accuracy in modern Bayesian inference.

Summary updated

BibTeX
@inproceedings{zhang2020stochastic,
  author = {Jianyi Zhang and Ruiyi Zhang and Lawrence Carin and Changyou Chen},
  title = {{Stochastic Particle-Optimization Sampling and the Non-Asymptotic Convergence Theory}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
  url = {https://openreview.net/forum?id=mhfNwU24uj4},
}
Figure