Generalisation Guarantees For Continual Learning With Orthogonal Gradient Descent

Mehdi Abbana Bennani, Thang Doan, Masashi Sugiyama

TL;DR

This paper introduces a theoretical framework for analyzing Continual Learning (CL) algorithms within the Neural Tangent Kernel (NTK) regime. They prove that Orthogonal Gradient Descent (OGD) is robust to catastrophic forgetting and derive the first generalization bounds for both SGD and OGD in CL settings, highlighting the role of task similarity.

What Problem Does This Paper Address?

Continual Learning (CL) aims to train models on a sequence of tasks without forgetting previously learned knowledge. A major challenge in CL is "catastrophic forgetting," where learning a new task drastically degrades performance on older tasks. While various methods have been proposed to mitigate this, theoretical guarantees, especially for gradient-based approaches like Orthogonal Gradient Descent (OGD), have been lacking. This paper addresses this gap by providing a theoretical framework to analyze CL algorithms, specifically OGD, under the NTK regime, which offers a powerful lens for understanding deep learning dynamics.

Methods

The authors leverage the Neural Tangent Kernel (NTK) regime, which assumes infinite width neural networks behave like kernel methods. Within this framework, they model Continual Learning as a recursive kernel ridge regression problem. This allows them to derive closed-form expressions for model predictions across tasks. Key contributions include:

  • Theoretical Framework: A framework to study CL algorithms in the NTK regime, enabling analysis of transfer learning, generalization, and task similarity.
  • OGD Robustness Proof: Theoretical proof that OGD is robust to catastrophic forgetting under an infinite memory assumption.
  • Generalization Bounds: Derivation of the first generalization bounds for both Stochastic Gradient Descent (SGD) and OGD in the CL setting, showing how task similarity impacts generalization.
  • NTK Variation Study: Investigation into the practical implications of NTK variation in non-overparameterized settings, revealing its impact on OGD's robustness.

Datasets

The paper uses standard benchmarks for evaluation:

  • Permuted MNIST
  • Rotated MNIST
  • Split CIFAR-100
  • CUB200

Key Insights and Ideas

  • OGD's Theoretical Robustness: The paper provides the first theoretical proof that OGD, under specific conditions (infinite memory, NTK regime), is inherently robust to catastrophic forgetting. This is a significant theoretical contribution to understanding why OGD works.
  • Task Similarity is Key: The derived generalization bounds explicitly show that the similarity between tasks, as measured by the NTK, plays a crucial role in how well a model generalizes across tasks. More similar tasks lead to better generalization.
  • NTK Assumption Limits: The theoretical guarantees are derived under the NTK assumption (infinite width, constant kernel). The paper empirically shows that when this assumption breaks down (non-overparameterized settings), the NTK variation becomes critical, and OGD's performance can degrade. This highlights the importance of understanding CL beyond the idealized NTK regime.
  • Curriculum Learning Connection: The dependence of generalization bounds on task ordering suggests a theoretical basis for the effectiveness of curriculum learning strategies.

Key Results

  • Generalization Bounds: The paper derives generalization bounds for SGD and OGD, showing that OGD's bound is tighter, reflecting its robustness to forgetting.
  • Empirical Validation: Experiments on Permuted MNIST and Rotated MNIST show that OGD+ (a variant accounting for NTK variation) significantly improves performance over OGD in non-overparameterized settings, confirming the theoretical findings about NTK variation's impact.
  • Overparameterization's Role: Results indicate that increased overparameterization (larger hidden sizes) reduces forgetting for OGD, aligning with the NTK regime's assumptions.

Limitations and Future Work

  • NTK Regime Assumption: The theoretical framework relies heavily on the NTK regime, which assumes infinite width and a constant kernel. The paper acknowledges that this assumption doesn't always hold in practice, particularly for smaller networks.
  • Infinite Memory: The proof of OGD's robustness to forgetting assumes infinite memory, which is not practical.
  • Future Work: The authors suggest extending the theoretical framework beyond the over-parameterization assumption to better understand CL algorithms in more realistic settings. They also propose investigating other CL algorithms within this framework.

Summary updated

BibTeX
@misc{bennani2020generalisation,
  author = {Mehdi Abbana Bennani and Thang Doan and Masashi Sugiyama},
  title = {{Generalisation Guarantees For Continual Learning With Orthogonal Gradient Descent}},
  year = {2020},
  eprint = {2006.11942},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.11942},
}
Figure