Preserving Linear Separability in Continual Learning by Backward Feature Projection

Qiao Gu, Dongsub Shim, Florian Shkurti
3/26/2023
cs.LGcs.AIcs.CV

Official code: rvl-lab-utoronto/BFP (19 stars, last commit 2023-06-29).

Abstract

Catastrophic forgetting has been a major challenge in continual learning, where the model needs to learn new tasks with limited or no access to data from previously seen tasks. To tackle this challenge, methods based on knowledge distillation in feature space have been proposed and shown to reduce forgetting. However, most feature distillation methods directly constrain the new features to match the old ones, overlooking the need for plasticity. To achieve a better stability-plasticity trade-off, we propose Backward Feature Projection (BFP), a method for continual learning that allows the new features to change up to a learnable linear transformation of the old features. BFP preserves the linear separability of the old classes while allowing the emergence of new feature directions to accommodate new classes. BFP can be integrated with existing experience replay methods and boost performance by a significant margin. We also demonstrate that BFP helps learn a better representation space, in which linear separability is well preserved during continual learning and linear probing achieves high classification accuracy. The code can be found at https://github.com/rvl-lab-utoronto/BFP

View on arXivView PDF

Code Implementations(1)

Pytorch Implementation for "Preserving Linear Separability in Continual Learning by Backward Feature Projection" (CVPR 2023)

192PythonMar 25, 20233 years ago

Similar Papers

Cite this paper

@article{gu2023preserving,
  title  = {Preserving Linear Separability in Continual Learning by Backward Feature Projection},
  author = {Qiao Gu and Dongsub Shim and Florian Shkurti},
  year   = {2023},
  eprint = {2303.14595},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.14595v3},
  journal = {CVPR 2023 2023}
}

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/2303.14595.svg)](https://codeofpaper.com/paper/2303.14595)

Discussion