Skip to main content
QUICK REVIEW

[Paper Review] Stochastic Gradient MCMC with Repulsive Forces

Víctor Gallego, David Rı́os Insua|arXiv (Cornell University)|Nov 30, 2018
Markov Chains and Monte Carlo MethodsMathematics24 references26 citations
TL;DR

This paper proposes SGLD+R, a novel stochastic gradient MCMC method that unifies Stochastic Gradient Markov Chain Monte Carlo (SG-MCMC) and Stein Variational Gradient Descent (SVGD) by introducing repulsive forces between particles. By combining particle repulsion with noise injection, the method improves exploration, avoids particle collapse, and ensures convergence to the true posterior—demonstrated via improved effective sample size and predictive performance on synthetic and real-world Bayesian neural network tasks.

ABSTRACT

We propose a unifying view of two different Bayesian inference algorithms, Stochastic Gradient Markov Chain Monte Carlo (SG-MCMC) and Stein Variational Gradient Descent (SVGD), leading to improved and efficient novel sampling schemes. We show that SVGD combined with a noise term can be framed as a multiple chain SG-MCMC method. Instead of treating each parallel chain independently from others, our proposed algorithm implements a repulsive force between particles, avoiding collapse and facilitating a better exploration of the parameter space. We also show how the addition of this noise term is necessary to obtain a valid SG-MCMC sampler, a significant difference with SVGD. Experiments with both synthetic distributions and real datasets illustrate the benefits of the proposed scheme.

Motivation & Objective

  • Address the limitations of standard SG-MCMC and SVGD in exploring complex posterior distributions with particle collapse and poor mixing.
  • Unify SG-MCMC and SVGD into a single framework that preserves the scalability of SG-MCMC while incorporating the particle repulsion of SVGD.
  • Ensure convergence to the true posterior by adding a noise term, distinguishing the method from pure SVGD which lacks this property.
  • Develop a scalable, efficient sampling scheme suitable for large-scale Bayesian inference in deep models and high-dimensional parameter spaces.
  • Demonstrate the method’s superiority over SGLD and SVGD in terms of effective sample size and predictive accuracy on synthetic and real datasets.

Proposed method

  • Propose a hybrid sampler, SGLD+R, that extends SGLD by adding repulsive forces between particles using a kernel-based gradient from SVGD.
  • Introduce a noise term to the particle update rule to ensure the process satisfies detailed balance and converges to the true posterior, unlike SVGD.
  • Frame the algorithm as a multiple-chain SG-MCMC method where particles interact via a repulsive kernel, improving exploration and reducing degeneracy.
  • Use the Fokker-Planck equation to formally analyze the dynamics of SGLD+R and contrast it with SVGD, showing that only SGLD+R satisfies the conditions for a valid SG-MCMC sampler.
  • Implement the method with a RBF kernel for repulsion and use minibatch gradients for scalability in large datasets.
  • Apply the sampler to Bayesian neural networks using standard training protocols, collecting samples every 10 iterations after burn-in with 20 particles per run.

Experimental results

Research questions

  • RQ1Can the combination of SG-MCMC and SVGD produce a more efficient and accurate sampling method for large-scale Bayesian inference?
  • RQ2How does the addition of repulsive forces between particles affect mixing time and exploration in SG-MCMC?
  • RQ3Why is the inclusion of a noise term essential for ensuring convergence to the true posterior in such hybrid schemes?
  • RQ4Can the proposed method outperform standard SGLD and SVGD in terms of effective sample size and predictive accuracy on real-world datasets?
  • RQ5What is the impact of particle repulsion on particle degeneracy and posterior approximation quality in high-dimensional parameter spaces?

Key findings

  • SGLD+R achieves a 62% reduction in estimation error for the expected value of X in the MoE distribution compared to SGLD (0.14 vs. 0.39).
  • In the MoG distribution, SGLD+R reduces the error in E[X] from 1.42 to 1.19, demonstrating improved accuracy.
  • On the Boston housing dataset, SGLD+R improves test log-likelihood from -2.551 to -2.575 and reduces RMSE from 2.392 to 2.295.
  • For the Naval dataset, SGLD+R achieves a significant improvement in log-likelihood (3.428 vs. 3.379) and RMSE (0.008 vs. 0.008), with a notable reduction in variance.
  • On the Protein dataset, SGLD+R improves log-likelihood from -2.991 to -2.987 and reduces RMSE from 4.810 to 4.794, showing consistent gains across metrics.
  • The method maintains high performance even when repulsion is disabled in the final half of training, indicating that repulsion is most critical during early exploration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.