On the Convergence of Continual Learning with Adaptive Methods

Seungyub Han, Yeongmo Kim, Taehyun Cho, Jungwoo Lee · DOI

Introduction

Continual Learning (CL) aims to train models on a sequence of tasks without "catastrophic forgetting"—the phenomenon where learning a new task causes the model to lose its ability to perform previously learned ones. While empirical strategies like storing a "replay memory" of old examples are common, a deep theoretical understanding of their convergence in non-convex settings (such as deep neural networks) has been lacking. This paper addresses this gap by providing the first rigorous theoretical convergence analysis for memory-based CL and introducing NCCL (Non-Convex Continual Learning), an adaptive step-size method grounded in this theory.

The NCCL Framework

The authors reformulate continual learning as a non-convex finite-sum optimization problem. Their core contribution is a theoretical decomposition of the update step into two main components:

  1. The Overfitting Term ($B_t$): Bias introduced by using a small, non-representative replay memory.
  2. The Catastrophic Forgetting Term ($\Gamma_t$): The primary driver of performance degradation on previous tasks.

Based on this decomposition, NCCL dynamically adjusts learning rates—$\alpha$ for previous tasks and $\beta$ for the current task—at every step. The algorithm handles two primary scenarios:

  • Interference Case: When the current gradient conflicts with previous tasks, NCCL uses a surrogate gradient to cancel out negative interference.
  • Transfer Case: When gradients align, NCCL calculates an optimal step size ($\beta^*$) that minimizes the catastrophic forgetting term $\Gamma_t$.
Geometric intuition of NCCL's adaptive gradient updates in interference and transfer cases.

Unlike previous methods that use fixed or heuristic step sizes, NCCL uses a "stepwise greedy" approach. A key theoretical finding is the $\beta < \alpha$ rule: for the model to converge on previous tasks, the step size for the current task ($\beta$) must generally be smaller than the step size for previous tasks ($\alpha$).

Experimental Results

The authors evaluated NCCL on standard benchmarks, including Permuted-MNIST, Split-MNIST, Split-CIFAR10/100, and Split-MiniImageNet.

Superior Forgetting Suppression

NCCL demonstrates a significant reduction in forgetting. For instance, on Permuted-MNIST, NCCL combined with Reservoir sampling reduced the forgetting metric to 0.028, compared to 0.19 for A-GEM and 0.07 for standard Experience Replay (ER). This empirical success aligns with the theoretical goal of minimizing the $\Gamma_t$ term.

Comparison of forgetting vs. cumulative gamma across different continual learning methods.

Accuracy and Complexity

On Split-CIFAR100, NCCL achieved 63.68% accuracy, outperforming A-GEM (59.9%) and matching or exceeding other state-of-the-art baselines. Crucially, the authors proved that NCCL achieves an Incremental First-order Oracle (IFO) complexity of $O(1/\epsilon^2)$, matching the convergence rate of standard Stochastic Gradient Descent (SGD) on a single task.

Conclusion

NCCL bridges the gap between empirical CL strategies and optimization theory. By identifying that the forgetting term is a quadratic function of the step size, the authors provide an analytical "sweet spot" for learning rates. While the method introduces some computational overhead due to inner product calculations and relies on standard smoothness assumptions, it offers a formal framework that previous methods like A-GEM lacked. Future work may extend this framework to non-memory-based methods like weight regularization.

Summary updated

BibTeX
@inproceedings{han2023convergence,
  author = {Seungyub Han and Yeongmo Kim and Taehyun Cho and Jungwoo Lee},
  title = {{On the Convergence of Continual Learning with Adaptive Methods}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=Q6ip0cNSCn},
}
Figure