Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Training Networks in Null Space of Feature Covariance for Continual Learning

About

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.

Shipeng Wang, Xiaorong Li, Jian Sun, Zongben Xu• 2021

Related benchmarks

TaskDatasetResultRank
Mathematical ReasoningGSM8K
Math Score2
171
Commonsense ReasoningARC-C
Accuracy35
51
Continual LearningCIFAR-100 (10-split)
ACC73.77
42
Model EditingWikiBigEdit
MMLU69.2
34
Continual LearningTinyImageNet 25-split
ACC58.28
29
Continual LearningSplit CIFAR-100 20 tasks
Mean Test Accuracy75.95
26
Model EditingCounterFact
Reliability19.1
26
Model EditingzsRE
Reliability16.6
26
Model EditingzsRE
Reliability0.012
16
Multi-task Language UnderstandingMMLU
MMLU Score68.2
14
Showing 10 of 18 rows

Other info

Code

Follow for update