Skip to main content
QUICK REVIEW

[Paper Review] Online Structured Laplace Approximations For Overcoming Catastrophic Forgetting

Hippolyt Ritter, Aleksandar Botev|arXiv (Cornell University)|May 20, 2018
Domain Adaptation and Few-Shot LearningComputer Science98 citations
TL;DR

This paper introduces a Kronecker factored online Laplace approximation to mitigate catastrophic forgetting in neural networks, updating a Gaussian posterior online with a block-diagonal Kronecker-factored Hessian. It achieves over 90% test accuracy on a sequence of 50 permuted MNIST tasks, outperforming several baselines.

ABSTRACT

We introduce the Kronecker factored online Laplace approximation for overcoming catastrophic forgetting in neural networks. The method is grounded in a Bayesian online learning framework, where we recursively approximate the posterior after every task with a Gaussian, leading to a quadratic penalty on changes to the weights. The Laplace approximation requires calculating the Hessian around a mode, which is typically intractable for modern architectures. In order to make our method scalable, we leverage recent block-diagonal Kronecker factored approximations to the curvature. Our algorithm achieves over 90% test accuracy across a sequence of 50 instantiations of the permuted MNIST dataset, substantially outperforming related methods for overcoming catastrophic forgetting.

Motivation & Objective

  • Develop a Bayesian online learning framework to mitigate catastrophic forgetting in neural networks.
  • Propose and implement a Kronecker factored Laplace approximation to track the posterior across tasks.
  • Leverage a block-diagonal Hessian structure to scale the method to modern architectures.
  • Investigate regularization via a curvature-based hyperparameter to balance memory and plasticity.

Proposed method

  • Formulate Bayesian online learning with an approximate Gaussian posterior q(θ|φt) characterized by a mean μt and precision Λt.
  • Use a two-step update: (i) update μt+1 by maximizing log p(Dt+1|θ) + log q(θ|φt); (ii) set Λt+1 = Ht+1(μt+1) + Λt, using the Hessian of the new data’s log-likelihood.
  • Approximate the Hessian with a Fisher Information-based positive semidefinite matrix to ensure Λt is PSD.
  • Adopt a block-diagonal Kronecker factored Hessian so each layer’s curvature is Hl =Ql ⊗ Hl, enabling efficient updates via vec(Wl−Wl*).
  • Represent the posterior as a matrix normal distribution across layers and maintain curvature interactions within a layer rather than across layers.
  • Introduce a regularization multiplier λ on the Hessian to control the width of the approximate posterior: Λt+1 = λ Ht+1(μt+1) + Λt.

Experimental results

Research questions

  • RQ1Can online Laplace approximations with Kronecker-factored curvature effectively mitigate forgetting in neural networks across long task sequences?
  • RQ2Does including inter-parameter interactions within layers (Kronecker factorization) outperform diagonal approximations for continual learning?
  • RQ3What is the impact of the regularization hyperparameter λ on memory vs. plasticity in online continual learning?
  • RQ4How does the proposed method scale to vision and MNIST-derived continual learning benchmarks compared to EWC and SI?
  • RQ5Is recalculating curvature per task necessary, or can retained curvature suffice without harming performance?

Key findings

  • Kronecker-factored online Laplace achieves over 90% average test accuracy across 50 permuted MNIST tasks, approaching joint-training performance.
  • Kronecker-factored curvature consistently outperforms diagonal curvature in remembering old tasks while remaining capable on new tasks.
  • Introducing λ helps regulate the posterior width; for permuted MNIST, λ≈3 yielded optimal balance between memory and learning new tasks.
  • Diagonal (EWC-like) approximations underperform compared to Kronecker-factored approaches, highlighting the importance of weight interactions within layers.
  • Regularization remains beneficial even with Kronecker factorization, suggesting potential gains from better curvature approximations.

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.