Class Gradient Projection For Continual Learning
Cheng Chen, Ji Zhang, Jingkuan Song et al. · ACM International Conference on Multimedia (ACM MM) · 2022
Catastrophic forgetting is one of the most critical challenges in Continual Learning (CL). Recent approaches tackle this problem by projecting the gradient update orthogonal to the gradient subspace of existing tasks. While the results are remarkable, those approaches ignore the fact that these calculated gradients are not guaranteed to be orthogonal to the gradient subspace of each class due to the class deviation in tasks, e.g., distinguishing "Man" from "Sea" v.s. differentiating "Boy" from "Girl". Therefore, this strategy may still cause catastrophic forgetting for some classes. In this paper, we propose Class Gradient Projection (CGP), which calculates the gradient subspace from individual classes rather than tasks. Gradient update orthogonal to the gradient subspace of existing classes can be effectively utilized to minimize interference from other classes. To improve the generalization and efficiency, we further design a Base Refining (BR) algorithm to combine similar classes and refine class bases dynamically. Moreover, we leverage a contrastive learning method to improve the model's ability to handle unseen tasks. Extensive experiments on benchmark datasets demonstrate the effectiveness of our proposed approach. It improves the previous methods by 2.0% on the CIFAR-100 dataset. The code is available at https://github.com/zackschen/CGP.
Cited by 14 works. doi:10.1145/3503161.3548054 Open-access PDF
Authors
References
- Learning Multiple Layers of Features from Tiny Images
- Advances in Neural Information Processing Systems 19
- Reading digits in natural images with unsupervised feature learning
- Overcoming catastrophic forgetting in neural networks
- A Simple Framework for Contrastive Learning of Visual Representations
- Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
- Representation Learning with Contrastive Predictive Coding
- Noise-contrastive estimation: A new estimation principle for unnormalized statistical models
- Catastrophic Interference in Connectionist Networks: The Sequential Learning Problem
- iCaRL: Incremental Classifier and Representation Learning