Abstract
Majority of the modern meta-learning methods for few-shot classification tasks operate in two phases: a meta-training phase where the meta-learner learns a generic representation by solving multiple few-shot tasks sampled from a large dataset and a testing phase, where the meta-learner leverages its learnt internal representation for a specific few-shot task involving classes which were not seen during the meta-training phase. To the best of our knowledge, all such meta-learning methods use a single base dataset for meta-training to sample tasks from and do not adapt the algorithm after meta-training. This strategy may not scale to real-world use-cases where the meta-learner does not potentially have access to the full meta-training dataset from the very beginning and we need to update the meta-learner in an incremental fashion when additional training data becomes available. Through our experimental setup, we develop a notion of incremental learning during the meta-training phase of meta-learning and propose a method which can be used with multiple existing metric-based meta-learning algorithms. Experimental results on benchmark dataset show that our approach performs favorably at test time as compared to training a model with the full meta-training set and incurs negligible amount of catastrophic forgetting.
Introduction
Standard meta-learning typically involves a fixed meta-training phase followed by deployment. Once deployed, these models generally do not improve their ability to learn new concepts based on previously solved tasks. Conversely, traditional Incremental Learning focuses on adding new classes to a model without "catastrophic forgetting" but rarely addresses improving generalization to entirely unseen future tasks.
The challenge in combining these into Incremental Meta-Learning (IML) is that different tasks often involve disjoint sets of classes, making direct comparison difficult. Simple feature alignment is often too restrictive, preventing the model from adapting its internal representation to new data types. This paper addresses the need for a model that evolves its backbone while maintaining a stable relationship to previously learned concepts.
Methods: Indirect Discriminant Alignment (IDA)
The core innovation presented is Indirect Discriminant Alignment (IDA). Rather than forcing new features to match old ones exactly, IDA focuses on the discriminant—the relative signature of a data point compared to a set of reference points.
- Anchor Classes: The model retains prototypes (mean embeddings) of classes from previous tasks to serve as fixed landmarks in the embedding space.
- Alignment via Discriminants: When processing new data, IDA ensures that the vector of distances to these old anchor classes remains consistent across both the old and updated backbones.
- Flexibility: This indirect alignment allows the model to shift or stretch the embedding space to solve new tasks while preserving the relative "meaning" of the anchors.
Experimental Results
The method was evaluated on benchmarks including MiniImageNet, TieredImageNet, and DomainImageNet. IDA significantly outperformed simple fine-tuning (FT) and direct feature alignment (DFA).
As shown in the MiniImageNet results, IDA approaches the performance of the "Paragon" (PAR) model—a theoretical upper bound trained on all data simultaneously. For instance, in the 5-shot 5-way setup, IDA achieved 75.11% accuracy on unseen classes, nearly matching the Paragon's 75.27%. This demonstrates a "virtuous cycle" where the model becomes better at learning novel tasks as it incrementally processes specific new data.
Conclusion
IDA provides an efficient framework for incremental meta-learning that avoids the need to store raw images from previous tasks. While it effectively bridges the gap to joint-training performance for unseen classes, future work remains to further reduce the performance gap on the original "old" classes and explore "Hard Task Mining" to accelerate the learning cycle.
Summary updated