Few-shot Continual Infomax Learning

Ziqi Gu, Chunyan Xu, Jian Yang, Zhen Cui

Abstract

Few-shot Continual Learning (FSCL) presents a significant challenge in artificial intelligence: the "stability-plasticity" dilemma. Models must learn new concepts from extremely limited data (few-shot) without overwriting previously acquired knowledge (catastrophic forgetting). This paper introduces the Few-shot Continual Infomax Learning (FCIL) framework. By leveraging Information Maximization (Infomax) principles, FCIL transfers the encoding intelligence of a pre-trained base network to new classes while preserving the relational structure of existing knowledge. Experimental results across multiple benchmarks demonstrate that FCIL achieves state-of-the-art performance and superior knowledge retention.

Introduction

Standard deep learning models are typically "data-hungry" and "forgetful." They require thousands of labeled images to learn a concept and often suffer from catastrophic forgetting when introduced to new tasks. In real-world scenarios, such as robotics, models must perform Few-shot Continual Learning (FSCL), learning to recognize new objects from only a few samples while maintaining performance on original classes. The challenge is twofold: preventing overfitting on data-scarce new classes and maintaining stability to avoid degrading performance on old ones.

The FCIL Framework

The proposed FCIL framework addresses these challenges through two primary mechanisms rooted in mutual information (MI) maximization.

The FCIL framework architecture showing the transition from time $t-1$ to $t$, highlighting the Feature Embedding Infomax (FEI) and Continual Structure Infomax (CSI) components.

Feature Embedding Infomax (FEI)

To mitigate overfitting in few-shot scenarios, FEI utilizes the pre-trained "base network" as a source of encoding intelligence. By maximizing the mutual information between the multi-level convolutional features of the frozen base network and the new class embeddings, the model forces new representations to inherit the sophisticated feature extraction capabilities developed during the initial large-scale training phase.

Continual Structure Infomax (CSI)

To prevent catastrophic forgetting, FCIL treats knowledge as a relational structure rather than a simple collection of class prototypes. This structure includes first-order attributes (class-wise embeddings) and second-order relations (inter-class relation matrices). CSI maximizes the MI between the current session's knowledge structure and those of previous sessions. This approach maintains a stable "relational map," ensuring that as new classes are added, the relative positioning and understanding of old classes remain intact.

Experimental Results

The researchers evaluated FCIL on three standard computer vision benchmarks: CIFAR100, miniImageNet, and CUB200 (Birds). In each case, the model was first trained on a set of base classes and then introduced to new classes in incremental steps.

Quantitative results and accuracy curves comparing FCIL against various state-of-the-art methods across miniImageNet, CIFAR100, and CUB200 datasets.

Performance and Knowledge Retention

FCIL established a new state-of-the-art (SOTA) across all evaluated datasets. On the miniImageNet benchmark, FCIL achieved a final accuracy of 52.76%, outperforming the previous leading method, C-FSCIL, by 1.35%. Furthermore, FCIL demonstrated exceptional stability, with a Knowledge Retention (KR) score of 69.11% on miniImageNet, significantly higher than competing methods.

Ablation studies confirmed that FEI and CSI are complementary. FEI provides a critical performance boost during the initial introduction of new classes, while CSI serves as the primary driver for stability in later sessions as the total number of classes increases.

Conclusion

Few-shot Continual Infomax Learning (FCIL) offers a robust solution to the stability-plasticity dilemma by focusing on the preservation of relational structures and the transfer of encoding intelligence. While the method introduces some computational overhead due to the need for auxiliary MI estimation networks, its superior performance and resistance to forgetting mark a significant advancement in the field of continual learning. Future work may explore extending this MI-based approach to other modalities, such as video or sensor data streams.

Summary updated

BibTeX
@inproceedings{gu2023few,
  author = {Ziqi Gu and Chunyan Xu and Jian Yang and Zhen Cui},
  title = {{Few-shot Continual Infomax Learning}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.01761},
}
Figure