Knowledge Transfer-Driven Few-Shot Class-Incremental Learning

Ye Wang, Yaxiong Wang, Guoshuai Zhao, Xueming QianarXiv 2023 · DOI

Introduction

Deep learning models are notoriously prone to catastrophic forgetting, where learning new information leads to the erasure of previously acquired knowledge. This challenge is amplified in Few-Shot Class-Incremental Learning (FSCIL). In this setting, a model must continuously integrate new classes from extremely limited data (e.g., 5 examples) while maintaining high performance on a large set of "base" classes.

The fundamental hurdle is the stability-plasticity dilemma: freezing a model preserves old knowledge (stability) but prevents it from learning new features (plasticity), while fine-tuning for new classes often destroys the representation of old ones.

The KT-RCNet Framework

To address these issues, the authors propose the Knowledge Transfer-driven Relation Complementation Network (KT-RCNet). This framework introduces two primary mechanisms to balance stability and plasticity: Random Episode Sampling and Augmentation (RESA) and a Dual-Metric Learning architecture (RCNet).

Random Episode Sampling and Augmentation (RESA)

The core philosophy of RESA is to "rehearse" incremental learning during the initial base training phase. By constructing pseudo-incremental tasks, the model learns the dynamics of adaptation before encountering real novel classes.

  • Global Pseudo-Tasks: The model samples "pseudo-old" and "pseudo-new" classes from the existing base dataset to simulate the final evaluation environment.
  • Local Pseudo-Tasks: To further enhance plasticity, the framework uses data augmentation—specifically rotation—to synthesize entirely new "pseudo-classes." This forces the model to learn discriminative features for novel variations without requiring external data.
Overview of the KT-RCNet framework illustrating the transition from base sessions to incremental sessions and the construction of pseudo-tasks.

Dual-Metric Learning (RCNet)

Standard classification models typically rely on a single metric, such as cosine similarity. However, when data is scarce, a single metric can be unreliable. KT-RCNet employs two parallel classifiers to provide a more robust "second opinion":

  1. Cosine Similarity Classifier: Provides scale-invariant feature matching.
  2. Squared Euclidean Distance Classifier: Captures the magnitude of feature vectors, offering a complementary perspective.

By ensembling these metrics, the model calibrates its predictions, leading to more accurate relation estimation between class prototypes and test features.

Experimental Evaluation

The model was rigorously tested on three major FSCIL benchmarks: miniImageNet, CIFAR100, and CUB200.

Key Results

KT-RCNet consistently outperformed existing state-of-the-art (SOTA) methods across all incremental sessions. Notably, on the miniImageNet dataset, the framework achieved an average accuracy improvement of 5.26% over the previous best-performing method.

Performance comparison on miniImageNet, showing KT-RCNet (Ours) consistently leading across all 8 incremental sessions.

Similar gains were observed on other datasets:

  • CIFAR100: Outperformed SOTA by 3.49%.
  • CUB200: Outperformed SOTA by 2.25% on the fine-grained bird classification task.

Beyond quantitative metrics, GradCAM visualizations indicated that the dual-metric ensemble allows the model to focus more precisely on relevant object features rather than being distracted by background noise, which often plagues single-metric models in few-shot scenarios.

Limitations and Future Outlook

While KT-RCNet sets a new benchmark for FSCIL, it is not without limitations. The ensemble approach increases the computational and memory footprint during inference. Additionally, "failure cases" occur when both metrics focus on the wrong image regions, suggesting that the ensemble cannot correct fundamental feature extraction errors.

Future research may explore more diverse data synthesis techniques beyond simple rotation and the development of more sophisticated relation modules to further refine how the model compares novel samples to established prototypes.

Summary updated

BibTeX
@misc{wang2023knowledge,
  author = {Ye Wang and Yaxiong Wang and Guoshuai Zhao and Xueming Qian},
  title = {{Knowledge Transfer-Driven Few-Shot Class-Incremental Learning}},
  year = {2023},
  eprint = {2306.10942},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.10942},
}
Figure