NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Probabilistic Model-Agnostic Meta-Learning

Chelsea Finn, Kelvin Xu, Sergey Levine

TL;DR

This paper introduces PLATIPUS, an extension of the popular Model-Agnostic Meta-Learning (MAML) algorithm that allows models to reason about uncertainty. By treating meta-learning as a hierarchical Bayesian inference problem, the authors enable a model to sample multiple possible solutions for a new task. This capability is essential when a few data points are too ambiguous to point to a single "correct" answer.

The Challenge of Ambiguity in Few-Shot Learning

Few-shot learning—learning a new concept from just one or five examples—is inherently ambiguous. If you see a single picture of a red fruit, it could represent "apple," "red things," or "fruit."

Standard meta-learning algorithms like MAML are deterministic; they try to find a single set of parameters that can quickly adapt to a new task. However, when the data is sparse, there might be many valid functions that fit the training points. A deterministic model will pick one (often an average), losing the ability to express doubt. This paper addresses the need for uncertainty awareness: the ability to propose multiple plausible solutions and identify where more data is needed.

Methods: Introducing PLATIPUS

The authors propose PLATIPUS (Probabilistic LATent model for Incorporating Priors and Uncertainty in few-Shot learning) to tackle this ambiguity.

  1. Graphical Model Reframing: They re-interpret MAML through the lens of a graphical model where task-specific parameters ($\phi_i$) depend on a global prior ($\theta$).
Graphical models showing the progression from the original MAML formulation to the inference and MAP approximation models used in PLATIPUS.
  1. Amortized Variational Inference: To make the math tractable for deep networks with millions of parameters, they use variational inference (similar to the logic behind Variational Autoencoders). Instead of learning a single point estimate, they learn a distribution over the initial parameters.
  2. Hybrid Inference: During training, an inference network is used to estimate the posterior of the parameters. At test time, the model uses a simpler procedure: it samples from the learned prior and then performs a few steps of gradient descent (Maximum A Posteriori or MAP estimation).
  3. Scalability: By sharing parameters between the model and the inference network, the approach adds very little overhead compared to standard MAML, making it applicable to large convolutional neural networks.

Datasets and Evaluation

The authors evaluated PLATIPUS on several benchmarks designed to test ambiguity:

  • 1D Toy Regression: A mixture of sinusoids and linear functions. This tests if the model can recognize that a few points might belong to two very different types of functions.
  • 1-Shot 2D Classification: Classifying points within circular boundaries of varying sizes and locations.
  • Ambiguous CelebA: A modified version of the CelebA facial attribute dataset where a "positive" class is defined by a combination of attributes (e.g., "Smiling" AND "Wearing Hat"), forcing the model to handle multiple valid interpretations of a few examples.
  • Mini-ImageNet: A standard few-shot classification benchmark used to ensure the method still performs well on traditional, less ambiguous tasks.

Key Insights

  • Uncertainty as a Tool for Active Learning: Because PLATIPUS can sample different versions of a "learned" function, you can measure the variance between those samples. If the samples disagree wildly in a certain region of the input space, the model is uncertain. The authors show this can be used for active learning, where the model specifically asks for labels for the data points it is most confused about.
  • Capturing Multimodality: Unlike standard MAML, which might produce a "blurry" average of possible solutions, PLATIPUS can capture distinct "modes." In the CelebA experiment, it could propose different classifiers that focused on different facial attributes, all of which were consistent with the small training set.
  • Gradient Descent as Inference: The paper reinforces the idea that taking gradient steps is not just an optimization trick—it can be viewed as a formal step in Bayesian inference.

Key Results

  • Qualitative Success in Regression: In the 1D regression task, when given only a few points, PLATIPUS generated a variety of curves (some linear, some sinusoidal) that all passed through the data points. In contrast, MAML produced a single, often incorrect, fit.
PLATIPUS generates multiple plausible curves (colored dashed lines) fitting the ambiguous datapoints, whereas MAML (black dashed line) collapses to a single fit.
  • Ambiguous CelebA: PLATIPUS covered nearly twice as many "modes" (possible task interpretations) as standard MAML while maintaining comparable accuracy.
  • Active Learning Efficiency: In regression tasks, PLATIPUS reduced error significantly faster than MAML. By picking points with the highest variance to be labeled next, it reached low error rates with far fewer queries.

Limitations and Future Work

  • Impoverished Variance: The current version uses a diagonal covariance matrix for the posterior, which might be too simple to capture complex dependencies between millions of neural network weights.
  • Task-Specific Ambiguity: The model doesn't explicitly account for the fact that some tasks are more ambiguous than others; it applies a similar level of "prior noise" to everything.
  • Reinforcement Learning: While the authors suggest this approach would be great for exploration in RL (where an agent could use uncertainty to decide where to explore next), they did not include RL experiments in this specific paper.

Summary updated

BibTeX
@inproceedings{finn2018probabilistic,
  author = {Chelsea Finn and Kelvin Xu and Sergey Levine},
  title = {{Probabilistic Model-Agnostic Meta-Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=iCvv-QeIs_b},
}
Figure