Rethinking Few-Shot Class-Incremental Learning: Learning from Yourself

Yu-Ming Tang, Yi-Xing Peng, Jingke Meng, Wei-Shi Zheng

Introduction

Few-Shot Class-Incremental Learning (FSCIL) presents a significant challenge in computer vision: models must learn a continuous stream of new tasks from very few examples without forgetting previously learned "base" classes. This paper identifies a fundamental flaw in how FSCIL is currently evaluated and proposes a novel architectural solution that leverages a model's own internal features to improve generalization.

The Evaluation Bias in FSCIL

A critical observation made by the authors is the "dirty secret" of current FSCIL research: the standard evaluation metric, Average Accuracy ($aAcc$), is heavily biased. In typical benchmarks, base classes constitute the majority of the total classes and possess significantly more training data. Consequently, a model can achieve a high $aAcc$ by simply maintaining high performance on base classes, even if it fails to recognize novel classes effectively. This creates a shortcut that masks the true performance of incremental learning algorithms.

Comparison of aAcc and gAcc metrics across tasks. Figure 1 illustrates how the standard aAcc metric can hide performance drops in novel classes compared to the proposed gAcc.

A Balanced Metric: Generalized Average Accuracy ($gAcc$)

To provide a more equitable assessment, the authors introduce Generalized Average Accuracy ($gAcc$). This metric incorporates a parameter $\alpha$ to weight the importance of base versus novel classes:

  • $\alpha = 0$: Focuses exclusively on novel class performance.
  • $\alpha = 1$: Reverts to the standard $aAcc$.

By calculating the Area Under the Curve (AUC) across the range of $\alpha$, researchers can obtain a single, comprehensive score that rewards models for being "all-rounders." This framework reveals that many state-of-the-art (SOTA) methods struggle significantly when novel class performance is prioritized (low $\alpha$ values).

The gAcc metric framework, showing the effect of weighting parameter alpha and task-wise performance curves.

Feature Rectification: Learning from Yourself

The authors observed an "overfitting paradox" in Vision Transformers (ViTs): while deeper layers are typically better for the initial training data, they often lose the plasticity required for novel concepts. The final layers become so specialized to base classes that they fail to represent new classes effectively. However, intermediate layers often contain more flexible, generalizable features.

To exploit this, they developed a lightweight Feature Rectification (FR) module. This module "rectifies" the final feature representation using information from intermediate layers, essentially treating the model's own earlier layers as a "generalist teacher." This process is guided by two novel losses:

  • Instance-level Relation transfer (IR): Maintains geometric relationships between data points.
  • Class-center Relation transfer (CR): Ensures consistency between samples and class prototypes.

Experimental Results

The proposed method, named "YourSelf," was validated on CIFAR-100, miniImageNet, and CUB-200 benchmarks. It consistently outperformed existing methods in both traditional and new metrics:

  • miniImageNet: Achieved 68.80% $aAcc$, a 0.9% improvement over the previous SOTA, with a significant lead in $gAcc$ (AUC).
  • CUB-200: Reached 69.85% $aAcc$, surpassing the strong SAVC baseline by 1.52%.
  • Ablation Studies: Confirmed that the FR module alone boosted $gAcc$ by over 3%, proving the effectiveness of the self-learning strategy.

Conclusion

By rethinking evaluation through $gAcc$ and introducing the Feature Rectification module, this work provides a more honest look at FSCIL performance and a practical way to improve it. Future research may explore automated layer selection for rectification or applying this "learning from yourself" philosophy to larger foundation models to further enhance incremental learning robustness.

Summary updated

BibTeX
@inproceedings{tang2024rethinking,
  author = {Yu-Ming Tang and Yi-Xing Peng and Jingke Meng and Wei-Shi Zheng},
  title = {{Rethinking Few-Shot Class-Incremental Learning: Learning from Yourself}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73030-6\_7},
}
Figure