Skip to main content
QUICK REVIEW

[Paper Review] Semi-Supervised Few-Shot Learning with Local and Global Consistency

Ahmed Ayyad, Nassir Navab|arXiv (Cornell University)|Mar 6, 2019
Domain Adaptation and Few-Shot LearningComputer Science13 citations
TL;DR

This paper proposes Consistent Prototypical Networks (CPN), a semi-supervised few-shot learning method that improves few-shot classification by enforcing local and global consistency on unlabeled data through novel loss terms. CPN achieves state-of-the-art performance, reaching 70.1% accuracy on mini-ImageNet 5-shot and outperforming a fully supervised prototypical network even with only 40% of the labels.

ABSTRACT

Learning from a few examples is a key characteristic of human intelligence that AI researchers have been excited about modeling. With the web-scale data being mostly unlabeled, few recent works showed that few-shot learning performance can be significantly improved with access to unlabeled data, known as semi-supervised few shot learning (SS-FSL). We introduce a SS-FSL approach that we denote as Consistent Prototypical Networks (CPN), which builds on top of Prototypical Networks. We propose new loss terms to leverage unlabelled data, by enforcing notions of local and global consistency. Our work shows the effectiveness of our consistency losses in semi-supervised few shot setting. Our model outperforms the state-of-the-art in most benchmarks, showing large improvements in some cases. For example, in one mini-Imagenet 5-shot classification task, we obtain 70.1% accuracy to the 64.59% state-of-the-art. Moreover, our semi-supervised model, trained with 40% of the labels, compares well against the vanilla prototypical network trained on 100% of the labels, even outperforming it in the 1-shot mini-Imagenet case with 51.03% to 49.4% accuracy. For reproducibility, we make our code publicly available.

Motivation & Objective

  • To improve few-shot learning performance by leveraging large-scale unlabeled data in a semi-supervised setting.
  • To address the challenge of limited labeled data in few-shot learning by incorporating unlabeled examples effectively.
  • To develop a method that maintains consistency across both local neighborhoods and global feature distributions in the embedding space.
  • To achieve performance comparable or superior to fully supervised models while using significantly fewer labeled examples.
  • To ensure reproducibility by publicly releasing the code.

Proposed method

  • Extends Prototypical Networks with new loss terms to exploit unlabeled data.
  • Introduces a local consistency loss that encourages similar features for nearby samples in the embedding space.
  • Implements a global consistency loss that encourages alignment between the model's predictions and the overall distribution of features.
  • Optimizes the combined loss using a meta-learning framework to adapt to few-shot episodes.
  • Uses a prototype-based classification head, where class prototypes are updated based on both labeled and unlabeled data.
  • Applies consistency regularization to improve generalization in low-shot scenarios.

Experimental results

Research questions

  • RQ1Can enforcing local and global consistency on unlabeled data improve few-shot classification performance?
  • RQ2How much improvement can be achieved by using only 40% of the labels compared to full supervision?
  • RQ3Does semi-supervised learning with consistency losses outperform fully supervised prototypical networks in low-shot regimes?
  • RQ4Can consistency regularization stabilize and improve generalization in few-shot learning with limited labeled data?
  • RQ5How does the proposed method compare to state-of-the-art approaches across multiple benchmarks?

Key findings

  • CPN achieves 70.1% accuracy on the mini-ImageNet 5-shot classification benchmark, surpassing the previous state-of-the-art of 64.59%.
  • With only 40% of the labels, CPN outperforms the fully supervised prototypical network, achieving 51.03% accuracy in the 1-shot setting compared to the baseline's 49.4%.
  • The model demonstrates significant gains in low-shot regimes, particularly in 5-shot settings, due to effective use of unlabeled data.
  • The combination of local and global consistency losses leads to more robust and generalizable feature representations.
  • The method achieves strong performance across multiple benchmarks, indicating broad applicability.
  • The code is publicly released, enabling reproducibility and further research.

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.