Introduction
Generalized Few-Shot Learning (GFSL) and Incremental Few-Shot Learning (IFSL) present a complex "trilemma": models must learn novel classes from extremely limited data, avoid "catastrophic forgetting" of established base classes, and maintain balanced confidence across both. This paper introduces LCwoF (Learning and Calibration without Forgetting), a three-stage framework that addresses these hurdles through explicit learning objectives and a final calibration phase.
The GFSL Challenge
Standard few-shot learning often operates in a "closed-world," ignoring previously learned knowledge. In contrast, GFSL requires a model to recognize new classes while retaining its ability to classify base classes in a shared classification space. The authors identify three primary obstacles:
- Novel Class Learning: Extracting robust features from as few as one sample.
- Catastrophic Forgetting: Preventing updates for new classes from overwriting the weights optimized for base classes.
- Classifier Calibration: Correcting the inherent bias toward base classes, which typically have orders of magnitude more training data.
The LCwoF Framework
The proposed solution decomposes the learning process into three distinct phases to tackle each component of the trilemma.
- Phase 1: Base Training. The model learns general representations from a large dataset of base classes.
- Phase 2: Novel Class Training. To integrate new classes without access to the full base dataset, the authors introduce Base-Normalized Cross Entropy ($CE_{BN}$). This loss function includes base class logits in the softmax denominator, forcing novel class scores to compete directly with base classes. Simultaneously, Weight Constraints (WC)—an $L_2$ penalty—are applied to the backbone to prevent the "drifting" of weights that would lead to forgetting.
- Phase 3: Joint Calibration. A final "recuperation" phase uses a minimal memory buffer (one sample per base class) for balanced replay. This fine-tunes the classification layer to ensure fair competition between old and new class predictions.
Experimental Results
LCwoF was evaluated on image benchmarks (mini-ImageNet, tiered-ImageNet) and video benchmarks (UCF101, mini-Kinetics). A key metric is the Harmonic Mean ($hm_J$), which evaluates the balance between base and novel class accuracy in the joint space.
As shown in the results, LCwoF significantly outperforms previous state-of-the-art methods. On mini-ImageNet (5-way 1-shot), it achieved a harmonic mean of 57.39%, a notable improvement over the 53-54% range of prior work. In incremental settings, LCwoF demonstrated superior stability, maintaining a 35.02% harmonic mean over 9 tasks, compared to 22.65% for previous top-performing models.
Key Insights and Limitations
A critical finding is that explicit weight constraints are more effective than traditional Knowledge Distillation (KD) in extreme low-data regimes (e.g., 1-shot). KD can introduce noise when the teacher model's output is based on a single sample. Additionally, ablation studies confirm that Phase 2 is indispensable; skipping directly to calibration fails because novel class features are not sufficiently "boosted" into the joint space.
While LCwoF minimizes memory usage to one sample per class, it is not entirely "exemplar-free." Future research may focus on removing the replay buffer entirely and exploring the impact of task ordering in large-scale incremental scenarios involving thousands of classes.
Summary updated