TransMatch: A Transfer-Learning Scheme for Semi-Supervised Few-Shot Learning

Zhongjie Yu, Lin Chen, Zhongwei Cheng, Jiebo Luo

Introduction

Deep learning models typically require vast amounts of labeled data to achieve high performance. Few-shot learning (FSL) aims to overcome this limitation by enabling models to recognize new categories from only a handful of examples. Semi-supervised few-shot learning (SSFSL) further enhances this by utilizing a pool of unlabeled images from the target categories to assist the learning process.

While most existing SSFSL methods rely on complex episodic meta-learning—where models are trained in "episodes" to mimic the few-shot task—TransMatch proposes a more effective and simpler transfer-learning approach. The authors argue that pre-training on large datasets and carefully adapting to new tasks can better exploit the rich information available in base datasets.

The TransMatch Framework

TransMatch breaks down the SSFSL task into three distinct stages, moving away from the traditional episodic training paradigm:

  1. Pre-training: A deep neural network (feature extractor) is trained on a large, labeled "base" dataset to learn robust visual representations.
  2. Classifier Weight Imprinting: To avoid the pitfalls of random initialization in data-scarce scenarios, TransMatch uses "weight imprinting." The initial weights for new class classifiers are set to the mean feature vectors of the few available labeled examples, providing a mathematically grounded "head start."
  3. Semi-Supervised Fine-tuning: The model is fine-tuned using the MixMatch algorithm. This holistic method combines data augmentation, "label guessing" for unlabeled data, and MixUp (linear interpolation of image-label pairs) to regularize the training process effectively.
The three stages of the TransMatch framework: Pre-training on base classes, Weight Imprinting for novel classes, and Semi-supervised Fine-tuning using MixMatch.

Experimental Evaluation

The authors evaluated TransMatch on standard benchmarks, including miniImageNet and the fine-grained CUB-200-2011 bird species dataset.

Key Results

TransMatch demonstrated significant improvements over previous state-of-the-art (SOTA) meta-learning methods. On the miniImageNet 1-shot task, TransMatch achieved an accuracy of 63.02%, a substantial increase over the previous leader, TPN-semi, which sat at 52.78%. In the 5-shot setting, it reached a peak accuracy of 82.24%.

Comparison of TransMatch against state-of-the-art meta-learning and transfer-learning methods on the miniImageNet benchmark.

Insights and Analysis

  • The Power of Initialization: A critical insight of the paper is that standard semi-supervised methods often fail in few-shot scenarios because the initial classifier is too weak. Weight imprinting provides the necessary quality to allow semi-supervised fine-tuning to succeed.
  • Transfer vs. Meta-Learning: The results suggest that a well-designed transfer-learning pipeline can exploit base dataset information more effectively than complex episodic frameworks.
  • Robustness and Scalability: TransMatch showed resilience to "distractor" images (unlabeled data from irrelevant classes). However, performance gains from unlabeled data tend to saturate; on miniImageNet, the benefit leveled off at approximately 100 to 200 unlabeled images per class.

Conclusion

TransMatch establishes a powerful powerhouse for semi-supervised few-shot learning by combining smart initialization with advanced semi-supervised fine-tuning. While fine-tuning during the test phase is computationally more intensive than feed-forward metric-based methods, its superior accuracy makes it a compelling choice for practical few-shot recognition tasks. Future research may explore how these methods scale with modern architectures like Vision Transformers.

Summary updated

BibTeX
@inproceedings{yu2020transmatch,
  author = {Zhongjie Yu and Lin Chen and Zhongwei Cheng and Jiebo Luo},
  title = {{TransMatch: A Transfer-Learning Scheme for Semi-Supervised Few-Shot Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.01287},
}
Figure