Skip to main content
QUICK REVIEW

[Paper Review] Semi-Supervised and Active Few-Shot Learning with Prototypical Networks

Rinu Boney, Alexander Ilin|arXiv (Cornell University)|Nov 29, 2017
Domain Adaptation and Few-Shot LearningComputer Science26 references4 citations
TL;DR

This paper proposes a semi-supervised and active few-shot learning method using Prototypical Networks by leveraging K-means clustering on feature embeddings, guided by a few labeled examples. The approach improves few-shot classification accuracy by utilizing unlabeled data and active user feedback, achieving state-of-the-art performance on miniImageNet with up to 63.23% accuracy in 120-shot settings.

ABSTRACT

We consider the problem of semi-supervised few-shot classification where a classifier needs to adapt to new tasks using a few labeled examples and (potentially many) unlabeled examples. We propose a clustering approach to the problem. The features extracted with Prototypical Networks are clustered using $K$-means with the few labeled examples guiding the clustering process. We note that in many real-world applications the adaptation performance can be significantly improved by requesting the few labels through user feedback. We demonstrate good performance of the active adaptation strategy using image data.

Motivation & Objective

  • Address the challenge of few-shot classification with limited labeled examples and abundant unlabeled data in real-world applications.
  • Improve adaptation performance in few-shot learning by incorporating unlabeled data through clustering in the embedding space.
  • Enable active learning by allowing user feedback to refine predictions when initial labeled examples are noisy or ambiguous.
  • Demonstrate that clustering-based adaptation using Prototypical Networks outperforms supervised baselines in semi-supervised and active learning settings.

Proposed method

  • Use Prototypical Networks to extract deep embeddings from input images, where each class is represented by the mean of its support set embeddings.
  • Apply K-means clustering to the full set of labeled and unlabeled embeddings, with initial cluster centers seeded by the prototypes from the labeled support set.
  • Use the cluster means as refined class prototypes for inference, improving generalization over the original support-set prototypes.
  • Integrate active learning by selecting the most informative unlabeled samples for labeling using uncertainty-based criteria (e.g., entropy, margin).
  • Combine active feedback with clustering: label clusters using the nearest labeled example or uncertainty-based selection to improve cluster assignment.
  • Train the embedding network via episodic meta-learning, optimizing for query set performance using cross-entropy loss on predicted class probabilities.

Experimental results

Research questions

  • RQ1Can K-means clustering on Prototypical Network embeddings improve few-shot classification when both labeled and unlabeled data are available?
  • RQ2How does semi-supervised adaptation using clustering compare to supervised adaptation using only labeled support sets?
  • RQ3Can active learning strategies—guided by uncertainty or proximity—further improve performance when labeled data is scarce and potentially noisy?
  • RQ4In what scenarios does active adaptation outperform semi-supervised clustering, especially when initial labeled examples are outliers or misrepresentative?
  • RQ5How robust is the proposed method to distribution shifts or poor initial prototypes in the embedding space?

Key findings

  • Semi-supervised adaptation using K-means clustering significantly improves few-shot classification accuracy over supervised baselines, with gains of up to 5.5% on 120-shot tasks.
  • Active learning with uncertainty-based sampling (e.g., margin or entropy) further boosts performance, achieving 63.23% accuracy in 120-shot settings on miniImageNet.
  • In cases where labeled examples are outliers (e.g., misclassified or atypical), active adaptation recovers better clustering than semi-supervised clustering alone.
  • The method outperforms supervised baselines even with only 15 labeled examples, showing strong generalization with minimal supervision.
  • Visualizations confirm that the proposed method produces more coherent and accurate cluster assignments than supervised or semi-supervised baselines in complex or noisy data configurations.
  • The ResNet-based Prototypical Network variant achieves higher accuracy than the standard PN, with 63.71% in 120-shot tasks, demonstrating the effectiveness of stronger feature extractors.

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.