[Paper Review] Defining Benchmarks for Continual Few-Shot Learning
This paper introduces a new benchmark framework for continual few-shot learning, proposing SlimageNet64—a compact 64×64 variant of ImageNet with 200 samples per class (200K total). It evaluates state-of-the-art few-shot models across multiple continual learning settings, revealing that hybrid models combining embedding-based and gradient-based methods outperform single-approach models by 100–200% in generalization, especially in dynamic class scenarios.
Both few-shot and continual learning have seen substantial progress in the last years due to the introduction of proper benchmarks. That being said, the field has still to frame a suite of benchmarks for the highly desirable setting of continual few-shot learning, where the learner is presented a number of few-shot tasks, one after the other, and then asked to perform well on a validation set stemming from all previously seen tasks. Continual few-shot learning has a small computational footprint and is thus an excellent setting for efficient investigation and experimentation. In this paper we first define a theoretical framework for continual few-shot learning, taking into account recent literature, then we propose a range of flexible benchmarks that unify the evaluation criteria and allows exploring the problem from multiple perspectives. As part of the benchmark, we introduce a compact variant of ImageNet, called SlimageNet64, which retains all original 1000 classes but only contains 200 instances of each one (a total of 200K data-points) downscaled to 64 x 64 pixels. We provide baselines for the proposed benchmarks using a number of popular few-shot learning algorithms, as a result, exposing previously unknown strengths and weaknesses of those algorithms in continual and data-limited settings.
Motivation & Objective
- To address the lack of standardized benchmarks for continual few-shot learning, a setting combining low-data few-shot learning with sequential task streaming.
- To formalize a theoretical framework for continual few-shot learning that unifies episodic and continual learning dynamics.
- To provide a minimal, efficient, and memory-friendly dataset (SlimageNet64) for systematic evaluation of continual few-shot models.
- To expose previously unknown strengths and weaknesses of existing few-shot learning algorithms under continual, data-limited, and memory-constrained conditions.
- To enable systematic study of catastrophic forgetting and sample efficiency in mini-batch stochastic training regimes.
Proposed method
- Proposes a new benchmark setting where a model learns one few-shot task at a time from sequential support sets, with no access to past or future tasks during training.
- Introduces SlimageNet64: a 64×64, 200K-data-point subset of ImageNet preserving all 1,000 classes with only 200 samples per class, requiring only 9 GB RAM.
- Designs four evaluation settings: New Samples (A), New Classes (B), New Classes with Overwrite (C), and New Classes and Samples (D), to test generalization under varying task shifts.
- Employs a shared memory bank to store task-specific knowledge, allowing the model to access prior information during inference on a unified target set.
- Uses standard few-shot learning models (e.g., ProtoNets, MAML++, SCA) as baselines, evaluating performance across all four settings.
- Measures efficiency via ATM (activation-to-memories) and MAC (multiply-accumulate) costs to compare computational overhead across models.
Experimental results
Research questions
- RQ1How do existing few-shot learning models perform under continual, sequential, and data-limited learning conditions?
- RQ2What is the relative performance of embedding-based, gradient-based, and hybrid few-shot learning models in continual few-shot learning?
- RQ3How does the choice of dataset (e.g., SlimageNet64 vs. Omniglot) affect model generalization and efficiency in continual few-shot learning?
- RQ4To what extent do memory constraints and task shift (e.g., new classes, new samples) impact model performance and forgetting?
- RQ5What is the computational cost trade-off between low-end and high-end MAML++ variants in continual few-shot learning?
Key findings
- Hybrid models combining embedding-based and gradient-based optimization (e.g., High-End MAML++, SCA) consistently outperform single-method models by 100–200% in generalization accuracy.
- In the New Classes and Samples setting (D), embedding-based methods outperform gradient-based methods by a significant margin, indicating better retention of novel class information.
- ProtoNets consistently outperform Low-End MAML++ in SlimageNet64, even in the New Classes with Overwrite setting (C), suggesting that class retention is more critical than disentanglement in this dataset.
- ProtoNets are the most computationally efficient model, with ATM and MAC costs two orders of magnitude lower than MAML++ variants.
- The Low-End MAML++ becomes significantly more expensive than the High-End variant as the number of support samples increases, due to its feature flattening and linear layer design.
- In the New Samples setting (A), embedding-based and gradient-based methods perform similarly on SlimageNet64, unlike in Omniglot where gradient-based methods dominate, indicating dataset-dependent performance shifts.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.