Skip to main content
QUICK REVIEW

[Paper Review] Training Networks in Null Space of Feature Covariance for Continual Learning

Shipeng Wang, Xiaorong Li|arXiv (Cornell University)|Mar 12, 2021
Domain Adaptation and Few-Shot LearningComputer Science53 references10 citations
TL;DR

This paper proposes Adam-NSCL, a novel continual learning algorithm that trains deep networks by projecting Adam's parameter updates into the approximate null space of previous tasks' feature covariance matrices, enabling stable learning without forgetting. The method achieves state-of-the-art performance on CIFAR-100 and TinyImageNet benchmarks by incrementally computing uncentered covariance matrices and using SVD to approximate null spaces layer-wise.

ABSTRACT

In the setting of continual learning, a network is trained on a sequence of tasks, and suffers from catastrophic forgetting. To balance plasticity and stability of network in continual learning, in this paper, we propose a novel network training algorithm called Adam-NSCL, which sequentially optimizes network parameters in the null space of previous tasks. We first propose two mathematical conditions respectively for achieving network stability and plasticity in continual learning. Based on them, the network training for sequential tasks can be simply achieved by projecting the candidate parameter update into the approximate null space of all previous tasks in the network training process, where the candidate parameter update can be generated by Adam. The approximate null space can be derived by applying singular value decomposition to the uncentered covariance matrix of all input features of previous tasks for each linear layer. For efficiency, the uncentered covariance matrix can be incrementally computed after learning each task. We also empirically verify the rationality of the approximate null space at each linear layer. We apply our approach to training networks for continual learning on benchmark datasets of CIFAR-100 and TinyImageNet, and the results suggest that the proposed approach outperforms or matches the state-ot-the-art continual learning approaches.

Motivation & Objective

  • To address the plasticity-stability dilemma in continual learning, where networks forget previous tasks while learning new ones.
  • To develop a method that maintains network stability on past tasks while enabling plasticity for new task learning.
  • To design an efficient, incremental algorithm that avoids catastrophic forgetting without requiring access to previous task data.
  • To theoretically justify the use of null space projection for balancing stability and plasticity in deep networks.
  • To empirically validate the effectiveness of the proposed method on standard continual learning benchmarks.

Proposed method

  • The method introduces two theoretical conditions: one for stability (parameter updates orthogonal to previous feature gradients) and one for plasticity (parameter updates aligned with current gradient direction).
  • It projects the candidate parameter update from Adam into the approximate null space of the uncentered covariance matrix of input features from all previous tasks at each layer.
  • The approximate null space is computed via singular value decomposition (SVD) of the uncentered covariance matrix, retaining only singular vectors corresponding to the smallest singular values.
  • The uncentered covariance matrix is incrementally updated after each task to ensure computational efficiency and avoid storing all past data.
  • The algorithm integrates this projection into the Adam optimizer by layer-wise projecting the gradient update before applying it to the network weights.
  • A hyperparameter controls the approximation of the null space, balancing stability and plasticity in practice.

Experimental results

Research questions

  • RQ1Can projecting parameter updates into the null space of previous task feature covariance improve continual learning performance?
  • RQ2How can stability and plasticity be theoretically balanced in continual learning using feature covariance?
  • RQ3Can the null space of feature covariance be efficiently and incrementally computed without storing past data?
  • RQ4How does the proposed method compare to state-of-the-art continual learning approaches in terms of accuracy and backward transfer?
  • RQ5Is the approximate null space derived from SVD of uncentered covariance matrices a rational and effective subspace for preventing forgetting?

Key findings

  • Adam-NSCL outperforms state-of-the-art methods on CIFAR-100 and TinyImageNet, achieving 4.88%, 7.48%, and 8.3% higher accuracy than OWM on three benchmarks with comparable backward transfer.
  • The method achieves strong performance without requiring access to previous task data, making it suitable for real-world continual learning settings.
  • The approximate null space derived from SVD of uncentered covariance matrices is empirically rational and effective in preserving knowledge from prior tasks.
  • The incremental computation of uncentered covariance matrices enables efficient online adaptation without storing past features or data.
  • The hyperparameter controlling null space approximation allows for effective trade-off between stability and plasticity, and is easier to tune than comparable methods like OWM.
  • The theoretical conditions for stability and plasticity are validated through mathematical analysis and empirical results, demonstrating their soundness in guiding the algorithm design.

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.