Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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

Yibo Yang, Haobo Yuan, Xiangtai Li, Zhouchen Lin, Philip Torr, Dacheng Tao• 2023

Related benchmarks

TaskDatasetResultRank
Few-Shot Class-Incremental LearningminiImageNet (test)
Accuracy (Session 1)76.8
173
Out-of-Distribution DetectionSUN OOD with ImageNet-1k In-distribution (test)
FPR@9587.4
159
Few-Shot Class-Incremental LearningCIFAR100 (test)
Session 4 Top-1 Acc66.19
122
Out-of-Distribution DetectionPlaces with ImageNet-1k OOD In-distribution (test)
FPR9588.6
99
Few-Shot Class-Incremental LearningCUB200 (test)
Accuracy (Session 1)75.98
92
Out-of-Distribution DetectionImageNet-1k ID iNaturalist OOD
FPR9583.5
87
Few-Shot Class-Incremental LearningCUB-200
Session 1 Accuracy75.98
75
Out-of-Distribution DetectionImageNet-O
AUROC0.758
74
Few-Shot Class-Incremental LearningCIFAR100
Accuracy (S0)89.51
67
Out-of-Distribution DetectionImageNet-1k Textures ID OOD
AUROC95.7
59
Showing 10 of 31 rows

Other info

Follow for update