Skip to main content
QUICK REVIEW

[Paper Review] The Role of Global Labels in Few-Shot Classification and How to Infer Them

Ruohan Wang, Massimiliano Pontil|arXiv (Cornell University)|Aug 9, 2021
Domain Adaptation and Few-Shot LearningComputer Science28 references5 citations
TL;DR

This paper proposes MetaLabel Learning (MeLa), a novel meta-learning framework that infers latent global labels from local task labels to enable effective feature pre-training in few-shot learning. By leveraging these inferred labels, MeLa achieves state-of-the-art performance on benchmark datasets like tiered ImageNet and MetaDataset, demonstrating that pre-training remains highly effective even without access to true global labels.

ABSTRACT

Few-shot learning is a central problem in meta-learning, where learners must quickly adapt to new tasks given limited training data. Recently, feature pre-training has become a ubiquitous component in state-of-the-art meta-learning methods and is shown to provide significant performance improvement. However, there is limited theoretical understanding of the connection between pre-training and meta-learning. Further, pre-training requires global labels shared across tasks, which may be unavailable in practice. In this paper, we show why exploiting pre-training is theoretically advantageous for meta-learning, and in particular the critical role of global labels. This motivates us to propose Meta Label Learning (MeLa), a novel meta-learning framework that automatically infers global labels to obtains robust few-shot models. Empirically, we demonstrate that MeLa is competitive with existing methods and provide extensive ablation experiments to highlight its key properties.

Motivation & Objective

  • To theoretically explain why feature pre-training improves meta-learning performance in few-shot learning.
  • To address the limitation that pre-training requires global labels, which are often unavailable in real-world settings with independently annotated tasks.
  • To develop a practical framework that automatically infers consistent global labels from local task constraints to enable pre-training in such settings.
  • To empirically validate that pre-training with inferred labels yields robust generalization performance comparable to state-of-the-art methods.

Proposed method

  • MeLa formulates the problem of global label inference as a constrained clustering task, where each task's local labels are used as constraints.
  • It enforces two key constraints: (1) all samples with the same local label in a task must be assigned to the same global cluster, and (2) the number of global clusters must match the number of unique local labels across tasks.
  • The method uses a differentiable clustering objective to jointly optimize the embedding space and global label assignments, enabling end-to-end training.
  • It leverages the inferred global labels to perform feature pre-training on a merged dataset, which is then used to initialize meta-learners.
  • The framework is trained via a joint objective that balances meta-learning performance and accurate global label inference.
  • The approach is evaluated on tiered ImageNet and MetaDataset, with ablation studies confirming the importance of local constraints in label inference.

Experimental results

Research questions

  • RQ1Why does feature pre-training lead to significant performance gains in few-shot meta-learning, and what is its theoretical connection to meta-learning?
  • RQ2Can global labels be effectively inferred from local task labels when they are not directly available?
  • RQ3Does pre-training with inferred global labels still yield strong generalization performance in few-shot learning?
  • RQ4How do local task constraints influence the accuracy and robustness of global label inference?

Key findings

  • MeLa achieves 66.3% accuracy at 1-shot and 82.4% at 5-shot on MetaDataset (Aircraft, CUB, VGG-F lower), outperforming FEAT and FRN, which were not pre-trained.
  • On tiered ImageNet, MeLa achieves 69.0% 1-shot and 84.1% 5-shot accuracy, demonstrating competitive performance despite the absence of true global labels.
  • Clustering accuracy of 79.3% on MetaDataset and 94.7% of tasks successfully clustered indicate that MeLa reliably infers global labels even with noisy or diverse annotations.
  • Ablation studies show that enforcing local constraints—especially the constraint that same-local-label samples are grouped—significantly improves label inference accuracy and downstream performance.
  • When local constraints are ignored, test accuracy drops by over 5% on tiered ImageNet, confirming their critical role in robust label inference.
  • The method shows consistent performance gains over random initialization and baseline models, with improvements of over 4% on MetaDataset, validating the efficacy of pre-training even with inferred labels.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.