Skip to main content
QUICK REVIEW

[Paper Review] Infinite Mixture Prototypes for Few-Shot Learning

Kelsey R. Allen, Evan Shelhamer|arXiv (Cornell University)|Feb 12, 2019
Domain Adaptation and Few-Shot LearningComputer Science80 citations
TL;DR

Introduces Infinite Mixture Prototypes (IMP) that represent each class with multiple clusters whose number is inferred from data, enabling adaptive capacity between nearest-neighbor and prototypical representations and improving few-shot learning, semi-supervised learning, and unsupervised clustering.

ABSTRACT

We propose infinite mixture prototypes to adaptively represent both simple and complex data distributions for few-shot learning. Our infinite mixture prototypes represent each class by a set of clusters, unlike existing prototypical methods that represent each class by a single cluster. By inferring the number of clusters, infinite mixture prototypes interpolate between nearest neighbor and prototypical representations, which improves accuracy and robustness in the few-shot regime. We show the importance of adaptive capacity for capturing complex data distributions such as alphabets, with 25% absolute accuracy improvements over prototypical networks, while still maintaining or improving accuracy on the standard Omniglot and mini-ImageNet benchmarks. In clustering labeled and unlabeled data by the same clustering rule, infinite mixture prototypes achieves state-of-the-art semi-supervised accuracy. As a further capability, we show that infinite mixture prototypes can perform purely unsupervised clustering, unlike existing prototypical methods.

Motivation & Objective

  • Motivate adaptive model capacity in few-shot learning to handle both simple and multi-modal class distributions.
  • Introduce Infinite Mixture Prototypes (IMP) that represent each class with a varying number of clusters inferred from data.
  • Extend the approach to semi-supervised and fully unsupervised clustering scenarios.
  • Demonstrate empirical gains over prototypical networks on Omniglot and mini-ImageNet, especially for complex alphabets, while preserving performance on simpler classes.

Proposed method

  • Represent each class as a set of clusters with learnable cluster means and variances.
  • Use DP-means inspired clustering to infer the number of clusters per class during episode processing.
  • Learn a deep embedding h_phi that maps inputs to a feature space where clusters are defined.
  • Incorporate separate cluster variances sigma_l and sigma_u for labeled vs unlabeled data and learn them end-to-end.
  • Optimize a multi-modal loss that focuses on the closest cluster per class to avoid over-penalizing multi-modality.
  • Adapt the threshold lambda for creating new clusters indirectly via a relation to CRP concentration and learned variances (equation-inspired).
  • Classify queries by the distance to the closest cluster within each class and apply a softmax over these classwise closest clusters.

Experimental results

Research questions

  • RQ1Can adaptive, multi-modal clustering per class improve few-shot classification over uni-modal prototypes?
  • RQ2Does learning per-cluster variance and multi-modal clustering enable effective use of unlabeled data and unsupervised clustering within the same framework?
  • RQ3How does IMP perform on simple (uni-modal) vs. complex (multi-modal) data distributions (e.g., Omniglot characters vs alphabets) and in semi-supervised settings?
  • RQ4Is end-to-end learning of cluster capacity robust across tasks and datasets compared to fixed-capacity prototypical networks?

Key findings

  • IMP achieves higher accuracy on complex multi-modal alphabets (Omniglot alphabets) while preserving performance on simple characters, compared to prototypical networks.
  • Learning cluster variances (sigma) and enabling multi-modal clustering substantially improves few-shot accuracy and robustness, especially in semi-supervised settings.
  • IMP unifies clustering of labeled and unlabeled data under a single rule, enabling fully unsupervised clustering that prototypical networks cannot perform.
  • In experiments, IMP demonstrates competitive or superior results against neighbors and prototypical methods across Omniglot and mini-ImageNet benchmarks in both fully supervised and semi-supervised regimes.
  • Ablation studies show that separate sigma_l and sigma_u for labeled vs unlabeled data improve results over a shared sigma, and that the multi-modal approach is more robust to threshold choices for creating new clusters.

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.