Skip to main content
QUICK REVIEW

[Paper Review] Facilitating Bayesian Continual Learning by Natural Gradients and Stein Gradients

Yu Chen, Tom Diethe|arXiv (Cornell University)|Apr 24, 2019
Domain Adaptation and Few-Shot LearningComputer Science10 references3 citations
TL;DR

This paper proposes a Bayesian continual learning framework that improves knowledge retention by combining natural gradients for parameter optimization and Stein gradients for efficient coreset construction. Natural gradients minimize distributional shifts during learning, while Stein gradients enable compact, informative coresets that outperform random and K-centre methods, leading to improved accuracy on permuted and split MNIST benchmarks.

ABSTRACT

Continual learning aims to enable machine learning models to learn a general solution space for past and future tasks in a sequential manner. Conventional models tend to forget the knowledge of previous tasks while learning a new task, a phenomenon known as catastrophic forgetting. When using Bayesian models in continual learning, knowledge from previous tasks can be retained in two ways: 1). posterior distributions over the parameters, containing the knowledge gained from inference in previous tasks, which then serve as the priors for the following task; 2). coresets, containing knowledge of data distributions of previous tasks. Here, we show that Bayesian continual learning can be facilitated in terms of these two means through the use of natural gradients and Stein gradients respectively.

Motivation & Objective

  • To address catastrophic forgetting in continual learning by leveraging Bayesian inference with principled regularization.
  • To improve optimization stability and distributional consistency in Bayesian neural networks using natural gradients.
  • To reduce coreset memory cost and improve predictive performance through Stein gradient-based coresets.
  • To integrate both natural and Stein gradients into a unified framework for scalable, stable continual learning.

Proposed method

  • Uses natural gradients to optimize variational posteriors, minimizing KL divergence between current and previous task posteriors in Riemannian space.
  • Applies Gaussian natural gradients with mean-field factorization, where the natural gradient of the mean is scaled by the inverse variance (σ²).
  • Combines Gaussian natural gradients with the Adam optimizer to stabilize training despite small weight variances in Bayesian neural networks.
  • Employs Stein gradients to generate low-rank, informative coresets by minimizing KL divergence between empirical and model likelihoods using kernelized Stein operators.
  • Constructs coresets via iterative sample updates using the Stein operator, with computational complexity O(M²) for M coreset points.
  • Integrates Stein-based coresets into the VCL objective either via a separate predictive model or as a regret loss term in the main training objective.

Experimental results

Research questions

  • RQ1Can natural gradients improve optimization stability and reduce distributional shifts in Bayesian continual learning?
  • RQ2Does combining natural gradients with Adam enhance training convergence and performance in Bayesian neural networks?
  • RQ3Can Stein gradients generate compact, high-quality coresets that outperform random and K-centre methods in continual learning?
  • RQ4How does incorporating Stein-based coresets affect generalization and forgetting in sequential learning tasks?
  • RQ5What is the relative impact of natural gradients and Stein gradients on continual learning performance across different benchmark tasks?

Key findings

  • Gaussian natural gradients with Adam outperform standard Adam on permuted MNIST, demonstrating improved stability and reduced forgetting.
  • On split MNIST and split fashion MNIST, the performance gain from natural gradients is less pronounced, suggesting task structure influences benefit.
  • Stein gradient-based coresets consistently outperform random and K-centre coresets in terms of accuracy across all tested benchmarks.
  • Using coresets as a regret loss in the objective function yields better performance than using them in a separate predictive model.
  • The coreset construction using Stein gradients achieves O(M²) complexity, significantly reducing cost compared to O(MN) when M << N.
  • The proposed framework achieves state-of-the-art performance on permuted and split MNIST tasks, with improved retention and generalization.

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.