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

Meta-Learning across Meta-Tasks for Few-Shot Learning

Tao XiangarXiv 2020

TL;DR

This paper introduces Meta-Learning across Meta-Tasks (MLMT), a novel strategy that explicitly leverages relationships between different few-shot learning (FSL) tasks during meta-training. By introducing two new objectives, Meta-Domain Adaptation (MDA) and Meta-Knowledge Distillation (MKD), MLMT significantly improves the performance of existing FSL methods, achieving new state-of-the-art results on several benchmarks.

What Problem Does This Paper Address?

Few-shot learning (FSL) aims to train models that can recognize new classes with very few labeled examples. A dominant approach in FSL is meta-learning, which trains models on a series of "episodes," each representing a small classification task. Traditionally, these episodes are sampled randomly and treated as independent, ignoring any potential relationships between them. This paper argues that these relationships are valuable and, if exploited, can lead to more robust and accurate FSL models. Specifically, the authors identify two key challenges in FSL that can be addressed by considering inter-task relationships: the domain gap between seen and unseen classes, and the instability caused by poorly sampled few-shot examples.

Methods

The core contribution of this paper is the Meta-Learning across Meta-Tasks (MLMT) strategy, which involves sampling and processing multiple meta-tasks simultaneously during training. MLMT introduces two novel learning objectives:

  • Meta-Domain Adaptation (MDA): This objective addresses the domain gap between seen and unseen classes. It considers two meta-tasks with disjoint sets of classes. By treating these tasks as different domains, MDA aims to make the meta-learned model more robust to class differences, inspired by domain adaptation techniques. It uses a minimax approach to minimize a "margin disparity discrepancy" between the tasks.
  • Meta-Knowledge Distillation (MKD): This objective tackles the issue of poorly sampled few-shot examples. It considers two meta-tasks with the same set of classes but different sample instances. MKD leverages knowledge distillation to enforce consistency between the classifiers learned from these two tasks. This helps the model become less sensitive to outlying samples in the support set, leading to more stable performance.

MLMT combines these two objectives within a single meta-training iteration, processing three tasks: one "source" task for MDA and two "target" tasks for MKD.

Datasets

The paper evaluates its proposed methods on three widely-used benchmark datasets for few-shot learning:

  • miniImageNet: A subset of ImageNet, commonly used in FSL research.
  • tieredImageNet: A larger and more hierarchical version of ImageNet.
  • CUB-200-2011 Birds (CUB): A dataset focused on bird species.

The standard splits for training, validation, and testing are used for each dataset.

Key Insights and Ideas

  • Relationships between FSL tasks are valuable: The paper's central thesis is that treating FSL episodes as independent is suboptimal. Explicitly modeling relationships between tasks during meta-training can significantly boost performance.
  • Two key relationships, two key solutions: The authors cleverly identify two distinct types of task relationships (disjoint classes and identical classes) and propose tailored solutions (MDA and MKD) for the two primary challenges in FSL (domain gap and sample instability).
  • MDA for domain gap: By framing tasks with different classes as domains, MDA directly tackles the challenge of generalizing from seen to unseen classes, a fundamental problem in FSL.
  • MKD for sample instability: The idea of using knowledge distillation to enforce consistency between models trained on different samples of the same classes is a novel way to combat the sensitivity to noisy or outlier few-shot examples.
  • Complementary objectives: The experiments show that MDA and MKD are not only effective individually but also complementary, with their combination (MLMT) yielding the best results.

Key Results

  • State-of-the-art performance: The proposed MLMT strategy, when applied to existing FSL methods like MetaOptNet, IMP, and FEAT, achieves new state-of-the-art results on miniImageNet, tieredImageNet, and CUB datasets across both 1-shot and 5-shot settings.
  • Significant improvements: MLMT consistently improves performance over the baseline methods, with gains ranging from 1.4% to 4.8%.
  • Greater impact on 1-shot learning: The improvements are generally larger in the 1-shot setting, suggesting MLMT is particularly effective at stabilizing models when data is extremely scarce.
  • Ablation studies confirm effectiveness: Experiments show that both MDA and MKD contribute to the overall performance, and their combination is superior to using either alone.
  • Visualization evidence: Visualizations demonstrate that MLMT leads to higher classification accuracies and reduced domain gap (MDA) or improved consistency (MKD) compared to baseline methods.

Limitations and Future Work

  • Computational cost: While MLMT improves performance, it involves processing multiple tasks per iteration, which can increase computational overhead compared to standard meta-training. The paper does not explicitly quantify this increase but mentions the strategy is applicable to most episodic training methods.
  • Generalizability beyond FSL: The authors suggest that their approach of exploiting inter-task relationships could be beneficial for other meta-learning tasks beyond few-shot learning.
  • Extension to cross-domain FSL: The paper notes that their MDA approach could potentially be extended to address cross-domain FSL settings, where unseen classes are from a different domain altogether.

Summary updated

BibTeX
@misc{xiang2020meta,
  author = {Tao Xiang},
  title = {{Meta-Learning across Meta-Tasks for Few-Shot Learning}},
  year = {2020},
  eprint = {2002.04274},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.04274},
}
Figure