Continual Learning with Scaled Gradient Projection

Gobinda Saha, Kaushik Roy
2/2/2023
cs.LGcs.AIcs.CV

No official code found. Best implementation: sahagobinda/SGP (17 stars, MIT, PyTorch, last commit 2023-06-28).

Abstract

In neural networks, continual learning results in gradient interference among sequential tasks, leading to catastrophic forgetting of old tasks while learning new ones. This issue is addressed in recent methods by storing the important gradient spaces for old tasks and updating the model orthogonally during new tasks. However, such restrictive orthogonal gradient updates hamper the learning capability of the new tasks resulting in sub-optimal performance. To improve new learning while minimizing forgetting, in this paper we propose a Scaled Gradient Projection (SGP) method, where we combine the orthogonal gradient projections with scaled gradient steps along the important gradient spaces for the past tasks. The degree of gradient scaling along these spaces depends on the importance of the bases spanning them. We propose an efficient method for computing and accumulating importance of these bases using the singular value decomposition of the input representations for each task. We conduct extensive experiments ranging from continual image classification to reinforcement learning tasks and report better performance with less training overhead than the state-of-the-art approaches.

View on arXivView PDF

Code Implementations(1)

sahagobinda/SGPCommunity100%
PyTorchMIT

Official [AAAI] Code Repository for "Continual Learning with Scaled Gradient Projection".

171Shell, PythonFeb 2, 20233 years agoMIT
continual-learningdeep-learningoptimization-algorithmspytorchreinforcement-learning

Similar Papers

Cite this paper

@article{saha2023continual,
  title  = {Continual Learning with Scaled Gradient Projection},
  author = {Gobinda Saha and Kaushik Roy},
  year   = {2023},
  eprint = {2302.01386},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.01386v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.01386.svg)](https://codeofpaper.com/paper/2302.01386)

Discussion