Neural Collapse Inspired Feature-Classifier Alignment for Few-Shot Class Incremental Learning

Yibo Yang, Haobo Yuan, Xiangtai Li, Zhouchen Lin, Philip Torr +1 more
2/6/2023
cs.CVcs.LG

Official code: NeuralCollapseApplications/FSCIL (94 stars, last commit 2023-08-07).

Abstract

Few-shot class-incremental learning (FSCIL) has been a challenging problem as only a few training samples are accessible for each novel class in the new sessions. Finetuning the backbone or adjusting the classifier prototypes trained in the prior sessions would inevitably cause a misalignment between the feature and classifier of old classes, which explains the well-known catastrophic forgetting problem. In this paper, we deal with this misalignment dilemma in FSCIL inspired by the recently discovered phenomenon named neural collapse, which reveals that the last-layer features of the same class will collapse into a vertex, and the vertices of all classes are aligned with the classifier prototypes, which are formed as a simplex equiangular tight frame (ETF). It corresponds to an optimal geometric structure for classification due to the maximized Fisher Discriminant Ratio. We propose a neural collapse inspired framework for FSCIL. A group of classifier prototypes are pre-assigned as a simplex ETF for the whole label space, including the base session and all the incremental sessions. During training, the classifier prototypes are not learnable, and we adopt a novel loss function that drives the features into their corresponding prototypes. Theoretical analysis shows that our method holds the neural collapse optimality and does not break the feature-classifier alignment in an incremental fashion. Experiments on the miniImageNet, CUB-200, and CIFAR-100 datasets demonstrate that our proposed framework outperforms the state-of-the-art performances. Code address: https://github.com/NeuralCollapseApplications/FSCIL

View on arXivView PDF

Code Implementations(1)

[ICLR 2023] The official code for our ICLR 2023 (top25%) paper: "Neural Collapse Inspired Feature-Classifier Alignment for Few-Shot Class-Incremental Learning"

946Shell, PythonFeb 2, 20233 years ago
class-incremental-learningfew-shot-learningneural-collapse

Similar Papers

Cite this paper

@article{yang2023neural,
  title  = {Neural Collapse Inspired Feature-Classifier Alignment for Few-Shot Class Incremental Learning},
  author = {Yibo Yang and Haobo Yuan and Xiangtai Li and Zhouchen Lin and Philip Torr and Dacheng Tao},
  year   = {2023},
  eprint = {2302.03004},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.03004v1},
  journal = {ICLR 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/2302.03004.svg)](https://codeofpaper.com/paper/2302.03004)

Discussion