Pseudo-Labeling Based Practical Semi-Supervised Meta-Training for Few-Shot Learning

Xingping Dong, Tianran Ouyang, Shengcai Liao, Bo Du, Ling Shao

TL;DR

This paper introduces a practical semi-supervised meta-training (SSMT) setting for few-shot learning that eliminates the "cheating" requirement of knowing class labels for unlabeled data during training. The authors propose PLML (Pseudo-Labeling based Meta-Learning), a two-stage framework that uses standard semi-supervised learning to generate pseudo-labels, followed by meta-finetuning with novel noise-suppression techniques to achieve state-of-the-art performance with very few labeled samples.

What Problem Does This Paper Address?

Few-shot learning (FSL) aims to recognize new objects from just one or a few examples. However, most FSL models are "label-hungry" during their initial training phase (meta-training), requiring thousands of labeled images to learn how to learn.

While semi-supervised meta-training (SSMT) was proposed to fix this by using unlabeled data, previous methods relied on a "class-prior selecting strategy." Essentially, these methods "unlabeled" the data but still picked samples from specific classes to build training tasks—a luxury you don't have in the real world. When this "cheating" is removed, the performance of existing models collapses. This paper addresses the need for a truly practical SSMT setting where unlabeled data is treated as a black box.

Fig. 2: Existing semi-supervised meta-training task [32] (black box) v.s. the proposed (yellow box). Green and blue blocks represent labeled and unlabeled data, respectively.

Methods

The authors propose a two-stage framework called PLML:

  1. Pre-Training with SSL: Instead of jumping straight into meta-learning, the model first undergoes standard Semi-Supervised Learning (SSL) using algorithms like SemCo or FlexMatch. This stage uses the small labeled set and the large unlabeled set to train a base classifier and, crucially, to generate pseudo-labels for all the unlabeled data.
  2. Meta-Finetuning with Noise Suppression: The model is then finetuned using episodic meta-learning on a mix of labeled and pseudo-labeled data. Because pseudo-labels are inherently noisy, the authors introduce two key components:
  3. Learnable Smoothing Module: Uses a Transformer encoder and a Laplacian propagator to smooth feature embeddings. By letting samples in a task "attend" to each other, the model can adjust noisy features to be more consistent with correctly labeled neighbors.
  4. Noise Dropout Strategy: For each task, the model identifies an "anchor" sample and calculates distances to others. It then drops the samples furthest from the anchor (most likely to be mislabeled) to create a cleaner training task.
The two-stage PLML framework: SSL pre-training followed by meta-finetuning with noise suppression.

Datasets

The framework was evaluated on two standard FSL benchmarks:

  • miniImageNet: 100 classes with 600 images each. The authors tested settings with only 20, 50, or 100 labels per class (compared to the usual ~500).
  • tieredImageNet: A larger, more complex dataset with 608 classes. Evaluation settings included 20, 100, and 200 labels per class.

Key Insights and Ideas

  • The "Class-Prior" Trap: The paper proves that existing SSMT models like SPN rely heavily on knowing the labels of "unlabeled" data to construct tasks. Without this prior knowledge, their accuracy drops significantly (e.g., a ~8% drop for SPN on miniImageNet).
  • Pseudo-Labels as a Bridge: Simple pseudo-labeling, when combined with robust noise suppression, is surprisingly effective at bridging the gap between SSL and FSL.
  • Mutual Benefit: Meta-learning doesn't just help FSL; the authors found that their meta-finetuning stage actually improved the performance of the underlying SSL algorithms on standard classification tasks by up to 3%.
  • Model Agnostic: PLML works across different architectures (Conv4, ResNet12) and different FSL inference styles (Inductive, Transductive, and Semi-supervised).

Key Results

The results demonstrate that PLML can achieve performance with a fraction of the labels that matches or exceeds models trained on the full dataset.

  • Closing the Gap: On miniImageNet (5-way 5-shot), a standard model (S-EP) trained with only 20 labels per class scores 55.64%. The PLML version hits 69.19%, nearly reaching the "Full Label" performance of 72.45%.
  • Outperforming SOTA: PLML significantly outperformed previous SSMT leaders like M-PL and SPN across almost all label-limited settings.
  • Efficiency: In several tieredImageNet settings, PLML models trained with only 20 labels per class actually outperformed baseline models trained with all available labels.
Fig. 1: Illustrations of performance degradation with the reduction of labels in few-shot learning (FSL). The hor- izontal and vertical axes represent the number of labels per class and accuracy on miniImageNet [31]. We demonstrate the performance degradation of three representative Few-Shot Learning (FSL) models (inductive Proto (a), transductive T- EP [33] (b), and semi-supervised S-EP [33] (c)) when using different numbers of training labels in various tasks. ”Full” de- notes training with fully labeled data, while ”PLML” indicates incorporation with our pseudo-labeling based meta-learning approach. In (d), we compare two models: SPN [32], and M- PL [18], in both the original setting and our new setting (*-N).

Limitations and Future Work

  • Ultra-Low Label Regime: While PLML is robust, there is still a noticeable performance gap when labels drop to extremely low levels (e.g., 20 labels per class) compared to full-label training.
  • SSL Dependency: The final performance is closely tied to the quality of the initial SSL pre-training. If the initial pseudo-labels are too poor, the noise suppression modules have a harder time recovering.
  • Future Directions: The authors suggest that exploring more advanced ways to combine meta-learning and SSL could further improve results, potentially leading to models that require even fewer labels to reach peak performance.

Summary updated

BibTeX
@article{dong2022pseudo,
  author = {Xingping Dong and Tianran Ouyang and Shengcai Liao and Bo Du and Ling Shao},
  title = {{Pseudo-Labeling Based Practical Semi-Supervised Meta-Training for Few-Shot Learning}},
  journal = {IEEE Trans. Image Process.},
  year = {2022},
  url = {https://openreview.net/forum?id=1-MY5qvdIES},
}
Figure