Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Machine learning›Bayesian Few-Shot Learning
Machine learningMachine learning

Bayesian Few-Shot Learning

Bayesian Few-Shot Learning (Meta-Learning with Bayesian Inference) · Also known as: Bayesian meta-learning, probabilistic few-shot learning, amortized Bayesian few-shot learning, Bayesian FSL

Bayesian few-shot learning combines Bayesian inference with meta-learning to enable a model to generalize from as few as one to five labeled examples per class. By treating task-specific parameters as random variables and learning an informative prior across many training tasks, the method produces calibrated uncertainty estimates alongside predictions — a key advantage over deterministic few-shot learners.

ScholarGate
  1. Machine learning
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Bayesian Few-Shot Learning
Bayesian Transfer Learni…Few-shot LearningGaussian ProcessSemi-supervised Few-shot…Transfer LearningBayesian Metric Learning

When to use it

Use Bayesian few-shot learning when labeled data for a new class or task is extremely scarce — typically one to twenty examples — and calibrated uncertainty matters: medical diagnosis from rare conditions, drug discovery with limited assay data, personalized recommendation with cold-start users, or safety-critical classification where knowing the model is uncertain is as important as its prediction. The approach assumes that many structurally similar tasks (or classes) exist for meta-training; if no such related-task data is available, the method loses its core advantage. Do not use it as a drop-in replacement for standard supervised learning when ample labeled data exists — a well-tuned Random Forest or gradient boosting model will typically outperform it in that regime.

Strengths & limitations

Strengths
  • Principled uncertainty quantification: predictions come with calibrated confidence intervals, not just point estimates.
  • Rapid adaptation to new classes from as few as one to five labeled examples per class.
  • Exploits structural similarity across tasks through an informative learned prior.
  • Amortized inference networks make Bayesian updating fast at test time despite formal complexity.
  • Strong performance in safety-critical domains where overconfident wrong predictions are especially harmful.
Limitations
  • Requires a large and diverse meta-training set of related tasks; performance degrades sharply if meta-training tasks do not resemble the target task.
  • Architectural complexity is higher than standard few-shot learners; amortized inference networks add design and tuning burden.
  • Approximation methods (variational inference, MCMC) introduce their own biases and may not converge to the true posterior.
  • Computational cost at meta-training time is substantially higher than deterministic counterparts such as Prototypical Networks.

Frequently asked

How is Bayesian few-shot learning different from standard few-shot learning?

Standard few-shot methods like Prototypical Networks produce a single point prediction. Bayesian few-shot learning additionally models uncertainty over task parameters, yielding a predictive distribution — so you get both a label and a calibrated confidence estimate.

What is amortized inference in this context?

Rather than running iterative MCMC or variational optimization for each new task, an inference network is trained to map the support set directly to posterior parameters in one forward pass. This makes Bayesian updating fast enough to use at test time.

How many meta-training tasks are typically needed?

Practical systems use thousands to tens of thousands of episodes drawn from a large pool of base classes. The exact number depends on task diversity and model capacity, but the meta-training set should be substantially larger than the target task pool.

Can I apply this without a GPU?

Meta-training is compute-intensive and practically requires a GPU. Inference (applying the trained meta-learner to a new task) can be done on CPU but is slow for large models. For resource-constrained settings, consider simpler prototypical or matching-network baselines.

How do I evaluate calibration?

Compute the Expected Calibration Error (ECE) alongside accuracy: bin predictions by confidence, then measure the gap between average confidence and average accuracy within each bin. A well-calibrated Bayesian few-shot model should show small ECE.

Sources

  1. Gordon, J., Bronskill, J., Bauer, M., Nowozin, S. & Turner, R. E. (2019). Meta-Learning Probabilistic Inference for Prediction. International Conference on Learning Representations (ICLR 2019). link ↗
  2. Finn, C., Xu, K. & Levine, S. (2018). Probabilistic Model-Agnostic Meta-Learning. Advances in Neural Information Processing Systems (NeurIPS 2018), 31. link ↗

How to cite this page

ScholarGate. (2026, June 3). Bayesian Few-Shot Learning (Meta-Learning with Bayesian Inference). ScholarGate. https://scholargate.app/en/machine-learning/bayesian-few-shot-learning

Related methods

Bayesian Transfer LearningFew-shot LearningGaussian ProcessSemi-supervised Few-shot LearningTransfer Learning

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Bayesian Transfer LearningMachine learning↔ compare
  • Few-shot LearningMachine learning↔ compare
  • Gaussian ProcessMachine learning↔ compare
  • Semi-supervised Few-shot LearningMachine learning↔ compare
  • Transfer LearningMachine learning↔ compare
Compare side by side →

Referenced by

Bayesian Metric Learning

Similar methods

Few-shot LearningOnline Few-shot LearningRegularized Few-Shot LearningSemi-supervised Few-shot LearningSelf-supervised Few-shot LearningBayesian Metric LearningEnsemble Few-shot learningBayesian Semi-supervised Learning

Related reference concepts

Variational InferenceHyperparameter OptimizationGaussian Process ModelsBias-Variance and OverfittingSelf-Supervised and Representation LearningClassification Algorithms

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Bayesian Few-Shot Learning (Bayesian Few-Shot Learning (Meta-Learning with Bayesian Inference)). Retrieved 2026-07-21 from https://scholargate.app/en/machine-learning/bayesian-few-shot-learning · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Gordon et al.; Finn, Xu & Levine
Year
2018-2019
Type
Probabilistic meta-learning
DataType
Labeled episodes with very few examples per class
Subfamily
Machine learning
Related methods
Bayesian Transfer LearningFew-shot LearningGaussian ProcessSemi-supervised Few-shot LearningTransfer Learning
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account