Skip to main content
QUICK REVIEW

[Paper Review] High-Order Stochastic Gradient Thermostats for Bayesian Learning of Deep Models

Chunyuan Li, Changyou Chen|arXiv (Cornell University)|Dec 23, 2015
Gaussian Processes and Bayesian InferenceComputer Science34 references4 citations
TL;DR

This paper proposes a high-order symmetric splitting integrator (SSI) for multivariate stochastic gradient thermostats (mSGNHT) in Bayesian deep learning, replacing the standard Euler integrator to improve numerical accuracy and robustness. The SSI-based mSGNHT-S achieves faster convergence, better generalization, and superior performance on deep models, especially under challenging gradient conditions.

ABSTRACT

Learning in deep models using Bayesian methods has generated significant attention recently. This is largely because of the feasibility of modern Bayesian methods to yield scalable learning and inference, while maintaining a measure of uncertainty in the model parameters. Stochastic gradient MCMC algorithms (SG-MCMC) are a family of diffusion-based sampling methods for large-scale Bayesian learning. In SG-MCMC, multivariate stochastic gradient thermostats (mSGNHT) augment each parameter of interest, with a momentum and a thermostat variable to maintain stationary distributions as target posterior distributions. As the number of variables in a continuous-time diffusion increases, its numerical approximation error becomes a practical bottleneck, so better use of a numerical integrator is desirable. To this end, we propose use of an efficient symmetric splitting integrator in mSGNHT, instead of the traditional Euler integrator. We demonstrate that the proposed scheme is more accurate, robust, and converges faster. These properties are demonstrated to be desirable in Bayesian deep learning. Extensive experiments on two canonical models and their deep extensions demonstrate that the proposed scheme improves general Bayesian posterior sampling, particularly for deep models.

Motivation & Objective

  • To address the numerical instability and slow convergence of Euler integrators in stochastic gradient MCMC (SG-MCMC) for deep Bayesian models.
  • To improve posterior sampling accuracy and robustness in deep models with vanishing or exploding gradients.
  • To enhance the efficiency and scalability of mSGNHT by leveraging higher-order numerical integration.
  • To demonstrate the superiority of symmetric splitting integrators (SSI) over Euler integrators in both shallow and deep Bayesian models.
  • To provide a more reliable and faster sampling framework for large-scale Bayesian deep learning.

Proposed method

  • Replaces the first-order Euler integrator in mSGNHT with a second-order symmetric splitting integrator (SSI) to reduce discretization error.
  • Applies SSI to the continuous-time Itô diffusion formulation of mSGNHT, preserving the target posterior as the stationary distribution.
  • Uses a symmetric splitting scheme that decouples the drift and diffusion terms for improved numerical stability and accuracy.
  • Employs a multivariate thermostat system with separate thermostat variables for each parameter, enhancing adaptivity and convergence.
  • Integrates the SSI within the mSGNHT framework to maintain detailed balance and ensure convergence to the correct posterior.
  • Employs expanded natural reparametrization for sampling on the probabilistic simplex in deep Poisson factor analysis.

Experimental results

Research questions

  • RQ1Can a higher-order numerical integrator improve the accuracy and convergence speed of mSGNHT in Bayesian deep learning?
  • RQ2How does the symmetric splitting integrator (SSI) compare to the Euler integrator in terms of robustness to stepsize selection in deep models?
  • RQ3Does SSI-based mSGNHT (mSGNHT-S) yield better posterior samples and generalization performance than Euler-based mSGNHT (mSGNHT-E) on deep neural networks and other models?
  • RQ4To what extent does mSGNHT-S mitigate the vanishing/exploding gradient problem in deep Bayesian models?
  • RQ5Can mSGNHT-S outperform state-of-the-art methods in terms of predictive perplexity on large-scale datasets like Wikipedia?

Key findings

  • mSGNHT-S converges faster and more accurately than mSGNHT-E across all tested models, including deep neural networks and deep Poisson factor analysis.
  • In 4-layer feedforward neural networks, mSGNHT-E fails to converge at stepsize $ h = 10^{-4} $, while mSGNHT-S remains stable and effective.
  • At $ h = 5 \times 10^{-5} $, mSGNHT-S achieves significantly better test accuracy and lower negative log-likelihood than mSGNHT-E.
  • On the Wikipedia dataset, mSGNHT-S achieves lower predictive perplexity than mSGNHT-E and outperforms state-of-the-art methods like DPFA-SBN and NB-FTM.
  • The magnified plot in Figure 5 shows mSGNHT-S consistently outperforms other methods in the final 10,000 documents, confirming faster convergence.
  • The method demonstrates robustness to stepsize selection, enabling effective training even when gradients are unstable in deep architectures.

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.