Sequential Learning in GPs with Memory and Bayesian Leverage Score

Prakhar Verma, Paul Edmund Chang, Arno Solin, Mohammad Emtiyaz KhanCLL @ ACML 2022

TL;DR

This paper tackles the challenge of hyperparameter learning in Gaussian Processes (GPs) for sequential learning scenarios where past data is inaccessible. They introduce a "memory" mechanism and a novel "Bayesian Leverage Score" (BLS) to select representative past data points, enabling effective hyperparameter estimation and improving sequential learning performance.

What Problem Does This Paper Address?

Sequential decision-making tasks, like reinforcement learning or Bayesian optimization, often involve models that need to learn and adapt over time. Gaussian Processes (GPs) are powerful tools for these tasks due to their inherent uncertainty quantification. However, standard GP methods, even their sparse variants, typically require access to all historical data for accurate posterior inference and hyperparameter learning. This is often infeasible in sequential settings where data access is limited or costly. Existing methods struggle to efficiently learn hyperparameters without this full data access, leading to performance degradation.

Methods

The authors build upon the recently proposed "dual" Sparse Variational Gaussian Process (SVGP) framework. This dual parameterization separates the posterior and hyperparameters, making it more amenable to sequential updates. The core innovation is the introduction of a "memory" mechanism. To intelligently select which past data points to store in this memory, they propose the Bayesian Leverage Score (BLS).

The BLS is an extension of the traditional ridge leverage score, adapted for the Bayesian, non-conjugate setting of GPs. It quantifies the sensitivity of the model's predictions to individual data points. Intuitively, points with high BLS are those that are difficult to predict but carry significant information. The BLS is derived from the approximate GP regression model's posterior, where the "noise precision" parameter (related to the likelihood's curvature) plays a key role. For computational feasibility, they leverage sparse GP approximations for the BLS calculation.

Datasets

The experiments were conducted on split MNIST, a variant of the MNIST dataset designed for continual learning. In this setup, the dataset is divided into five batches, with each batch introducing two new digits. The model learns incrementally on these batches, and performance is measured by multi-class classification accuracy on all digits seen up to that point.

Key Insights and Ideas

  • Memory is Crucial for Sequential Hyperparameter Learning: The paper highlights that without access to past data, learning GP hyperparameters becomes a significant challenge. Introducing a memory mechanism is a direct and effective solution.
  • Bayesian Leverage Score (BLS) as a Smart Memory Selector: The BLS provides a principled way to select representative past data points for memory. It goes beyond random selection by identifying data points that are most informative for the model's learning process, especially in the context of non-Gaussian likelihoods.
  • Dual SVGP as a Strong Foundation: The dual SVGP framework proves to be a suitable backbone for sequential learning, allowing for efficient updates of variational parameters without needing to reprocess all historical data.
  • BLS Captures Data Difficulty: The BLS score effectively identifies data points that are challenging for the model to predict, suggesting that these are the most valuable for retaining in memory to aid future learning.

Key Results

  • The proposed method, using memory selected by BLS, demonstrates improved performance in sequential learning tasks compared to methods that forget past data or rely on generic regularization.
  • An ablation study on split MNIST showed that randomly selecting memory points had a small negative effect, while using BLS for selection was detrimental, highlighting the importance of the selected examples.
  • The accuracy of the sequential model increased with memory size, but remarkably, a memory size of just 5% achieved optimal performance, indicating the efficiency of the BLS-based selection.
  • The method successfully avoids forgetting previous tasks, with accuracy recovering after introducing new tasks.

Limitations and Future Work

  • Computational Cost of BLS: While the paper mentions using sparse GP approximations to make BLS feasible, calculating it for very large datasets might still be computationally intensive.
  • Generalization to Other Continual Learning Settings: The experiments were primarily on split MNIST. Further validation on more diverse and complex continual learning benchmarks would be beneficial.
  • Optimal Memory Size: While 5% memory size was optimal for the tested split MNIST setup, determining the optimal memory size for different tasks and datasets might require further investigation.
  • Future Work: The authors suggest exploring the BLS for other applications in online learning and potentially developing more sophisticated memory management strategies.

Summary updated

BibTeX
@inproceedings{verma2022sequential,
  author = {Prakhar Verma and Paul Edmund Chang and Arno Solin and Mohammad Emtiyaz Khan},
  title = {{Sequential Learning in GPs with Memory and Bayesian Leverage Score}},
  booktitle = {CLL @ ACML},
  year = {2022},
  url = {https://openreview.net/forum?id=_RvQKPW8ZCp},
}
Figure