Skip to main content
QUICK REVIEW

[Paper Review] Discriminative k-shot learning using probabilistic models

Matthias Bauer, Mateo Rojas-Carulla|arXiv (Cornell University)|Jun 1, 2017
Domain Adaptation and Few-Shot LearningComputer Science10 references41 citations
TL;DR

This paper proposes a probabilistic framework for k-shot image classification that combines deep feature representations from a pre-trained CNN with a Bayesian prior over the final-layer weights, learned from a large-scale classification dataset. By treating the original network's top-layer weights as data to train a probabilistic prior, the method achieves state-of-the-art performance on miniImageNet (6% higher than prior work) and provides well-calibrated uncertainty estimates, outperforming complex deep learning approaches that rely on episodic training.

ABSTRACT

This paper introduces a probabilistic framework for k-shot image classification. The goal is to generalise from an initial large-scale classification task to a separate task comprising new classes and small numbers of examples. The new approach not only leverages the feature-based representation learned by a neural network from the initial task (representational transfer), but also information about the classes (concept transfer). The concept information is encapsulated in a probabilistic model for the final layer weights of the neural network which acts as a prior for probabilistic k-shot learning. We show that even a simple probabilistic model achieves state-of-the-art on a standard k-shot learning dataset by a large margin. Moreover, it is able to accurately model uncertainty, leading to well calibrated classifiers, and is easily extensible and flexible, unlike many recent approaches to k-shot learning.

Motivation & Objective

  • To address the challenge of few-shot image classification by leveraging both learned feature representations and conceptual knowledge from previously seen classes.
  • To improve generalization in k-shot learning by incorporating prior knowledge about class structure through a probabilistic model of final-layer weights.
  • To achieve better calibration of uncertainty in classifiers, which is often overlooked in existing k-shot learning methods.
  • To demonstrate that simple probabilistic models can outperform complex deep learning architectures in k-shot learning when combined with strong feature extractors.
  • To show that representational transfer and concept transfer—via a Bayesian prior—can be effectively combined for improved few-shot performance.

Proposed method

  • The method uses a pre-trained deep CNN to extract features from input images, leveraging representational transfer from large-scale classification.
  • It models the final-layer softmax weights of the CNN as random variables and learns a probabilistic prior over these weights using the original dataset.
  • The prior is used to regularize the learning of new weights for k-shot classes in a Bayesian manner, with inference performed via maximum a posteriori (MAP) or Markov Chain Monte Carlo (MCMC) sampling.
  • The framework recovers L2-regularized logistic regression as a special case when using a Gaussian prior with isotropic covariance.
  • Different prior distributions are evaluated, including Gaussian, Laplace, and Gaussian Mixture Models (GMMs), with hyperparameters optimized via held-out log-likelihood on training weights.
  • Calibration is assessed using Expected Calibration Error (ECE), and performance is evaluated on miniImageNet and CIFAR-100 using 1-, 5-, and 10-shot settings.

Experimental results

Research questions

  • RQ1Can a simple probabilistic model of final-layer weights improve few-shot generalization beyond feature transfer alone?
  • RQ2Does incorporating conceptual knowledge from previously learned classes via a Bayesian prior lead to better performance and calibration in k-shot learning?
  • RQ3How does the performance of this framework compare to state-of-the-art episodic training methods that use complex architectures?
  • RQ4Is there a benefit to using complex priors such as GMMs, or do simpler models like isotropic Gaussians suffice?
  • RQ5To what extent does the quality of the feature extractor influence k-shot performance when combined with a probabilistic prior?

Key findings

  • The proposed method achieves state-of-the-art performance on miniImageNet, outperforming prior work by approximately 6 percentage points in 1- and 5-shot learning.
  • The isotropic Gaussian prior with MAP inference provides the best balance of accuracy, calibration, and computational efficiency, outperforming more complex models like GMMs and Laplace priors.
  • All methods, except Laplace and GMM (10, iso), achieve low Expected Calibration Error (ECE), indicating well-calibrated uncertainty estimates.
  • The use of MCMC sampling for inference improves calibration slightly but at a significant computational cost, making it less practical than MAP inference.
  • The framework shows that better batch classification accuracy in the pre-training phase leads to better few-shot generalization, challenging the belief that episodic training is necessary for good performance.
  • Mixture models like GMMs do not improve performance despite higher capacity, due to the small number of original classes and high-dimensional weight space, which makes fitting complex models difficult.

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.