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

FeCAM: Exploiting the Heterogeneity of Class Distributions in Exemplar-Free Continual Learning

About

Exemplar-free class-incremental learning (CIL) poses several challenges since it prohibits the rehearsal of data from previous tasks and thus suffers from catastrophic forgetting. Recent approaches to incrementally learning the classifier by freezing the feature extractor after the first task have gained much attention. In this paper, we explore prototypical networks for CIL, which generate new class prototypes using the frozen feature extractor and classify the features based on the Euclidean distance to the prototypes. In an analysis of the feature distributions of classes, we show that classification based on Euclidean metrics is successful for jointly trained features. However, when learning from non-stationary data, we observe that the Euclidean metric is suboptimal and that feature distributions are heterogeneous. To address this challenge, we revisit the anisotropic Mahalanobis distance for CIL. In addition, we empirically show that modeling the feature covariance relations is better than previous attempts at sampling features from normal distributions and training a linear classifier. Unlike existing methods, our approach generalizes to both many- and few-shot CIL settings, as well as to domain-incremental settings. Interestingly, without updating the backbone network, our method obtains state-of-the-art results on several standard continual learning benchmarks. Code is available at https://github.com/dipamgoswami/FeCAM.

Dipam Goswami, Yuyang Liu, Bart{\l}omiej Twardowski, Joost van de Weijer• 2023

Related benchmarks

TaskDatasetResultRank
Class-incremental learningCIFAR100 (test)--
76
Class-incremental learningStanford Cars (test)
Accuracy (Last)45.3
38
Class-incremental learningCUB-200 (test)
Alast53.47
38
Exemplar-Free Class-Incremental LearningImageNet subset (test)
A_last54.8
30
Exemplar-Free Class-Incremental LearningCIFAR-100 (test)
Accuracy Last (Alast)48.3
30
Incremental LearningCIFAR-100 (test)
Accuracy (S9)60.2
26
Class-incremental learningTiny ImageNet (val)--
21
Exemplar-Free Class-Incremental LearningTinyImageNet (test)
Avg Increment30.8
18
Class-incremental learningImageNet Subset (val)
Alast54.18
16
Exemplar-Free Class-Incremental LearningTinyImageNet T=10
Alast30.8
16
Showing 10 of 23 rows

Other info

Follow for update