Skip to main content
QUICK REVIEW

[Paper Review] Functional Regularisation for Continual Learning with Gaussian Processes

Michalis K. Titsias, Jonathan Schwarz|arXiv (Cornell University)|Jan 31, 2019
Gaussian Processes and Bayesian InferenceComputer Science48 references66 citations
TL;DR

This paper proposes a continual learning framework that regularises learning in function space by maintaining and using a Gaussian-process posterior over task-specific functions, via inducing points, to prevent forgetting.

ABSTRACT

We introduce a framework for Continual Learning (CL) based on Bayesian inference over the function space rather than the parameters of a deep neural network. This method, referred to as functional regularisation for Continual Learning, avoids forgetting a previous task by constructing and memorising an approximate posterior belief over the underlying task-specific function. To achieve this we rely on a Gaussian process obtained by treating the weights of the last layer of a neural network as random and Gaussian distributed. Then, the training algorithm sequentially encounters tasks and constructs posterior beliefs over the task-specific functions by using inducing point sparse Gaussian process methods. At each step a new task is first learnt and then a summary is constructed consisting of (i) inducing inputs -- a fixed-size subset of the task inputs selected such that it optimally represents the task -- and (ii) a posterior distribution over the function values at these inputs. This summary then regularises learning of future tasks, through Kullback-Leibler regularisation terms. Our method thus unites approaches focused on (pseudo-)rehearsal with those derived from a sequential Bayesian inference perspective in a principled way, leading to strong results on accepted benchmarks.

Motivation & Objective

  • Motivate continual learning without catastrophic forgetting by operating in function space rather than parameter space.
  • Propose a scalable Bayesian method using sparse Gaussian processes to summarize and preserve task knowledge.
  • Unify rehearsal-based and Bayesian continual learning through inducing-point summaries and KL regularisation.
  • Enable sequential task learning with unknown task boundaries via a task-change detection mechanism.

Proposed method

  • Model the final layer of a neural network as random and Gaussian to induce a Gaussian process over task-specific functions.
  • Use inducing points to obtain a sparse variational GP approximation for each task.
  • Maintain and optimise a variational distribution over inducing-point function values q(u_i) for each task i.
  • Regularise learning of new tasks by KL(q(u_i) || p_θ(u_i)) terms, accumulating across past tasks.
  • When learning task k, optimise an ELBO that includes the current-task likelihood plus KL terms for all previous tasks.
  • Optionally perform weight-space inference for the current task to improve posterior accuracy, then distill inducing-point summaries for regularisation.

Experimental results

Research questions

  • RQ1Does FRCL achieve state-of-the-art performance on standard continual learning benchmarks?
  • RQ2How important is inducing-point selection criteria for performance and scalability?
  • RQ3Can the method detect task boundaries automatically using Bayesian uncertainties?
  • RQ4How does function-space regularisation compare to weight-space regularisation and rehearsal-based approaches?
  • RQ5What is the impact of the number of inducing points per task on accuracy and forgetting?

Key findings

  • FRCL achieves strong results and sets new state-of-the-art on Permuted-MNIST and Omniglot benchmarks in their experiments.
  • Approximate posterior distributions over task-function values provide more effective regularisation than simple replay buffers.
  • Inducing-point optimisation (especially trace-based criterion) significantly improves performance as the inducing set size decreases.
  • Prediction in FRCL automatically adapts to changes in the feature representation, counteracting forgetting of previous tasks.
  • Inducing points tend to spread across classes when optimised, supporting diverse task representation.
  • Rehearsal-based baselines are strong competitors, but FRCL offers principled uncertainty-aware regularisation that complements replay buffers.

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.