Beyond Not-Forgetting: Continual Learning with Backward Knowledge Transfer

Sen Lin, Li Yang, Deliang Fan, Junshan Zhang

Introduction

Most continual learning (CL) research focuses on "not forgetting" old tasks, but this paper aims higher: achieving Backward Knowledge Transfer (BWT). The authors introduce CUBER, a method that identifies when a new task is positively correlated with an old one. This allows the model to selectively update "old" weights to actually improve performance on previous tasks—all without storing old data or expanding the network.

The Problem: Catastrophic Forgetting vs. Model Freezing

Artificial intelligence aims to mimic the human ability to learn tasks sequentially. However, neural networks suffer from catastrophic forgetting: learning a new task often overwrites the knowledge required for previous ones.

To combat this, most CL strategies are defensive. They "freeze" important weights or project gradients into orthogonal spaces to ensure they don't interfere with old tasks. While this prevents forgetting, it creates a "model-freezing" bottleneck. If a new task is very similar to an old task, the insights gained should make the model better at the old task. Most current methods skip this opportunity, resulting in zero or negative backward transfer. The challenge is identifying when it is safe—and beneficial—to modify old knowledge without relying on a "safety net" like data replay.

Methods: Introducing CUBER

The authors propose CUBER (ContinUal learning with Backward knowlEdge tRansfer). It operates on a fixed-capacity network without using any stored data from previous tasks.

The core of CUBER is a layer-wise task correlation detection mechanism that categorizes the relationship between the new task and an old task into three distinct regimes based on gradient projections:

Gradient Projection Regimes
  1. Regime 1 (No Forgetting): The tasks are nearly orthogonal. CUBER uses orthogonal projection to ensure the new task's updates don't touch the subspace used by the old task.
  2. Regime 2 (Forward Transfer): The tasks share a subspace but are not positively correlated. CUBER protects the old task while using a "scaled weight projection" to help the new task learn faster from the old one.
  3. Regime 3 (Backward Transfer): The tasks are positively correlated. If the gradient for the new task aligns well with the gradient of the old task, CUBER allows the model to update the old task's parameters, actively improving past performance.

To prevent "over-optimistic" updates, CUBER includes a regularization term and a degeneration check: if a model update causes the new task's gradient to start conflicting with the old task's gradient, that task is demoted to Regime 2 to stop further modification.

Key Insights

  • Gradient Alignment as a Green Light: The paper mathematically defines "Positive Correlation." If the inner product of the gradients for two tasks is sufficiently high, moving in the direction of the new task's gradient will likely decrease the loss for the old task.
  • Layer-wise Granularity: Correlation isn't a global property. Two tasks might be highly correlated in early convolutional layers (sharing edge detectors) but totally different in final classification layers. CUBER evaluates these regimes independently for every layer.
  • Breaking the Replay Requirement: Traditionally, positive BWT was thought to require "experience replay" (storing old images). CUBER proves that by carefully analyzing the geometry of the weight space and gradient projections, you can achieve BWT with zero stored data.

Key Results

The researchers evaluated CUBER on four standard CL benchmarks: Permuted MNIST, Split CIFAR-100, 5-Datasets, and Split MiniImageNet.

Main Results Table

CUBER achieved positive backward transfer on several benchmarks where all other baselines (including state-of-the-art methods like TRGP and GPM) showed negative transfer (forgetting).

  • Split CIFAR-100: CUBER achieved a BWT of +0.13%, whereas the best baseline (HAT) was at 0% and others were as low as -30%.
  • Split MiniImageNet: CUBER reached +0.23% BWT, while baselines suffered forgetting (e.g., TRGP at -0.5%).
  • Overall Accuracy: Because it improves on the past while learning the present, CUBER's final average accuracy (ACC) outperformed baselines by roughly 1% on CIFAR-100 and MiniImageNet. On Permuted MNIST, it even outperformed "Multitask" learning (training on all data at once), highlighting the power of sequential knowledge transfer.

Limitations and Future Work

  • Computational Complexity: CUBER relies on Singular Value Decomposition (SVD) to extract bases for task subspaces. For very large, high-dimensional models, this can be computationally expensive.
  • Task Boundaries: The method assumes clear boundaries between tasks (i.e., the agent knows exactly when Task 1 ends and Task 2 begins). Future work is needed to adapt this to "blurrier" real-world scenarios.
  • Scaling: While tested on AlexNet and ResNet-18, scaling these projection-based methods to massive Transformer-based architectures remains an open research question.

Summary updated

BibTeX
@inproceedings{lin2022beyond,
  author = {Sen Lin and Li Yang and Deliang Fan and Junshan Zhang},
  title = {{Beyond Not-Forgetting: Continual Learning with Backward Knowledge Transfer}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=o_TJQH3kpM},
}
Figure