NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Boosting meta-training with base class information for robust few-shot learning

Weihao Jiang, Guodong Liu, Di He, Kun HeEngineering Applications of AI 2025

Introduction

Few-shot learning (FSL) is a challenging paradigm in computer vision where models must learn to recognize novel object classes from only a handful of labeled examples (e.g., 1-shot or 5-shot tasks). The current state-of-the-art approach, Meta-Baseline, typically employs a two-stage training pipeline: a supervised pre-training stage on a large set of "base" classes, followed by a meta-training stage using episodic tasks to optimize for few-shot performance.

While effective, this sequential approach suffers from a phenomenon the authors identify as "mutual subtraction." During the second stage, the meta-learning objective often conflicts with the high-quality representations learned during pre-training, leading to a decline in validation accuracy after an early peak. To address this, the researchers introduced Boost-MT (Boosted Meta-Training), an end-to-end framework that integrates base class information directly into the meta-learning process.

The Boost-MT Framework

Boost-MT replaces the rigid two-stage sequence with a dual-loop training system that allows the model to learn from both global classification tasks and specific few-shot episodes simultaneously.

The Boost-MT architecture utilizes a dual-loop system to incorporate base class gradients into episodic meta-learning.

Dual-Loop Mechanism

  1. The Outer Loop: This loop processes large batches of the entire base training set. It calculates a standard cross-entropy loss to maintain global classification knowledge. Crucially, it only updates the final linear classification layer, keeping the feature extractor stable for the inner loop.
  2. The Inner Loop: This loop performs episodic meta-learning by sampling small N-way K-shot tasks.
  3. Gradient Innovation: The "boost" comes from a novel gradient update rule. Instead of updating the feature extractor based solely on the few-shot task loss, Boost-MT combines the task-specific gradient with the base class classification gradient and a bias correction term. This ensures the feature extractor is guided toward a parameter space that is robust for both general representation and rapid adaptation.

Experimental Evaluation

The researchers evaluated Boost-MT on standard benchmarks including miniImageNet and tieredImageNet, as well as a cross-domain test on the CUB (birds) dataset.

Comparison of validation accuracy over time shows that Boost-MT (right) achieves stable convergence, whereas Meta-Baseline (left) suffers from performance degradation (mutual subtraction).

Key Results

  • Stability and Convergence: As shown in the comparison above, Meta-Baseline's accuracy often peaks early and then declines. In contrast, Boost-MT exhibits stable, upward convergence, reaching its peak performance significantly faster (around epoch 40 on miniImageNet).
  • State-of-the-Art Accuracy: Boost-MT consistently outperformed existing baselines. On miniImageNet, it achieved 64.01% (1-shot) and 81.00% (5-shot) accuracy. On the larger tieredImageNet, it reached 69.73% (1-shot) and 84.91% (5-shot).
  • Robustness: In cross-domain evaluations (training on miniImageNet and testing on CUB), Boost-MT showed a 1% improvement over Meta-Baseline, suggesting that the end-to-end approach learns more transferable features.

Conclusion

Boost-MT demonstrates that the conflict between pre-training and meta-training in few-shot learning can be resolved through an end-to-end dual-loop architecture. By treating base class information as a continuous regularizer rather than a static starting point, the model avoids the "mutual subtraction" trap, resulting in faster training and superior generalization across diverse datasets.

Summary updated

BibTeX
@article{jiang2025boosting,
  author = {Weihao Jiang and Guodong Liu and Di He and Kun He},
  title = {{Boosting meta-training with base class information for robust few-shot learning}},
  journal = {Engineering Applications of AI},
  year = {2025},
  doi = {10.1016/j.engappai.2025.110780},
}

Loading related content...

Figure