Big-model Driven Few-shot Continual Learning

Ziqi Gu, Chunyan Xu, Zihan Lu, Xin Liu, Anbo Dai, Zhen CuiarXiv 2023 · DOI

Introduction

Artificial Intelligence faces a persistent challenge in balancing two conflicting objectives: learning new tasks from minimal data (Few-shot Learning) and retaining knowledge from previously learned tasks (Continual Learning). In the combined domain of Few-shot Continual Learning (FSCL), models must learn a stream of new classes with only a handful of labeled examples per class.

Standard neural networks typically encounter two major hurdles in this setting:

  1. Overfitting: With extremely limited data (e.g., 5-10 images), models often memorize specific pixel patterns rather than learning generalizable features.
  2. Catastrophic Forgetting: Updating model weights to accommodate new information frequently "overwrites" the parameters essential for recognizing previously learned classes.

Drawing inspiration from human cognition, which utilizes a lifetime of accumulated knowledge to contextualize new information, researchers have developed B-FSCL. This framework leverages massive pre-trained "big models" (such as CLIP) to guide smaller models through incremental learning tasks.

The B-FSCL Framework

The B-FSCL (Big-model driven Few-shot Continual Learning) framework introduces two primary innovations designed to anchor the learning process in robust, pre-existing world knowledge.

Overview of the B-FSCL framework architecture, illustrating the Big-model driven Embedding Transfer (BET) and Instance-level Adaptive Decision (IAD) modules.

Big-model driven Embedding Transfer (BET)

Instead of training a small model in isolation, B-FSCL uses a frozen "Big Model" as a teacher. The BET module employs Mutual Information Maximization to force the smaller "continual model" to align its internal feature maps with the Big Model's high-level representations. This alignment occurs across multiple network layers (Multi-scale Learning), ensuring the capture of both fine-grained details and broad conceptual categories. This "traction" from the Big Model prevents the smaller model's weights from drifting into overfitted states.

Instance-level Adaptive Decision (IAD)

To resolve potential disagreements between the Big Model and the Continual Model, the framework incorporates an α-Net. This small sub-network analyzes features from both models to predict a weighting factor, α. The final classification is a dynamic combination of both models' predictions, allowing the system to rely more on general world knowledge or specialized task knowledge on an instance-by-instance basis.

Experimental Evaluation

The researchers evaluated B-FSCL on three standard computer vision benchmarks: CUB200 (fine-grained bird species), CIFAR100 (general objects), and miniImageNet. In these experiments, models were initialized with a "base" set of 60 classes and subsequently required to learn the remaining 40 classes in incremental batches.

Key Results

B-FSCL consistently outperformed existing state-of-the-art (SOTA) methods across all benchmarks.

Performance comparison of B-FSCL against state-of-the-art methods across miniImageNet, CIFAR100, and CUB200 benchmarks.
  • Accuracy Improvements: On the CUB200 dataset, B-FSCL achieved an average accuracy of 73.31%, representing a 4.7% improvement over the previous leading method, CABD.
  • Knowledge Retention (KR): B-FSCL demonstrated exceptional stability, achieving a KR of 84.93% on CUB200. In contrast, traditional methods often see performance drops into the 30-60% range as new tasks are added.
  • Stability: As shown in the accuracy curves, while competing models' performance degrades sharply with additional tasks, B-FSCL maintains a significantly more stable performance trajectory.

Discussion and Conclusion

The primary insight of this work is that massive models like CLIP provide a "well-embedded stimulus space" that mirrors human experience. By tethering a smaller model to this space, B-FSCL provides a safety net against forgetting. Furthermore, unlike many FSCL methods that freeze the backbone to prevent forgetting, B-FSCL allows the backbone to evolve, improving its representational power over time.

While the framework requires the availability of a "Big Model" during learning—imposing some computational and memory overhead—it sets a new standard for robust, incremental AI. Future work will focus on reducing this dependency and further enhancing the autonomous learning capabilities of neural networks.

Summary updated

BibTeX
@misc{gu2023big,
  author = {Ziqi Gu and Chunyan Xu and Zihan Lu and Xin Liu and Anbo Dai and Zhen Cui},
  title = {{Big-model Driven Few-shot Continual Learning}},
  year = {2023},
  eprint = {2309.00862},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.00862},
}
Figure