Forward Compatible Few-Shot Class-Incremental Learning

Da-Wei Zhou, Fu-Yun Wang, Han-Jia Ye, Liang Ma, Shiliang Pu +1 more
3/14/2022
cs.CVcs.LG

Official code: LAMDA-CL/CVPR22-Fact (142 stars, Python, last commit 2023-10-31).

Abstract

Novel classes frequently arise in our dynamically changing world, e.g., new users in the authentication system, and a machine learning model should recognize new classes without forgetting old ones. This scenario becomes more challenging when new class instances are insufficient, which is called few-shot class-incremental learning (FSCIL).

Show full abstract

Current methods handle incremental learning retrospectively by making the updated model similar to the old one. By contrast, we suggest learning prospectively to prepare for future updates, and propose ForwArd Compatible Training (FACT) for FSCIL. Forward compatibility requires future new classes to be easily incorporated into the current model based on the current stage data, and we seek to realize it by reserving embedding space for future new classes. In detail, we assign virtual prototypes to squeeze the embedding of known classes and reserve for new ones. Besides, we forecast possible new classes and prepare for the updating process. The virtual prototypes allow the model to accept possible updates in the future, which act as proxies scattered among embedding space to build a stronger classifier during inference. FACT efficiently incorporates new classes with forward compatibility and meanwhile resists forgetting of old ones. Extensive experiments validate FACT's state-of-the-art performance. Code is available at: https://github.com/zhoudw-zdw/CVPR22-Fact

View on arXivView PDF

Code Implementations(1)

Forward Compatible Few-Shot Class-Incremental Learning (CVPR'22)

14223PythonMar 14, 20223 years ago
catastrophic-forgettingclass-incremental-learningcontinual-learningfew-shot-class-incremental-learninglifelong-learning

Similar Papers

Cite this paper

@article{zhou2022forward,
  title  = {Forward Compatible Few-Shot Class-Incremental Learning},
  author = {Da-Wei Zhou and Fu-Yun Wang and Han-Jia Ye and Liang Ma and Shiliang Pu and De-Chuan Zhan},
  year   = {2022},
  eprint = {2203.06953},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.06953}
}

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

Discussion