Introduction
Few-shot learning aims to enable models to learn new concepts from a handful of examples. However, a significant challenge often overlooked is task ambiguity. When provided with a very small dataset, multiple valid hypotheses may exist. For instance, a single image of a person wearing a hat and smiling could represent the task of identifying "people with hats" or "people smiling." Standard deterministic meta-learners, such as the original Model-Agnostic Meta-Learning (MAML), typically attempt to find a single set of parameters that performs well on average. This often results in a "blurry" solution that fails to capture the true underlying distribution of possibilities, which is problematic in safety-critical applications or active learning scenarios.
The PLATIPUS Framework
To address this, the authors introduce PLATIPUS (Probabilistic LATent model for Incorporating Priors and Uncertainty in few-Shot learning). PLATIPUS extends the MAML framework by reframing meta-learning as a hierarchical Bayesian inference problem.
The core technical innovations include:
- Hierarchical Bayesian Modeling: Instead of a single initialization point, the model learns a distribution over initial parameters $\theta$.
- Hybrid Inference: To maintain scalability for deep neural networks, PLATIPUS uses amortized variational inference to estimate the global prior distribution, while employing simple gradient descent (MAP inference) to adapt that prior to specific tasks.
- Stochastic Adaptation: During meta-testing, the algorithm samples from the learned prior and performs gradient descent steps. By repeating this process, the model generates a "forest" of potential solutions, effectively quantifying its uncertainty.
Experimental Evaluation
The authors evaluated PLATIPUS across several benchmarks designed to highlight its ability to handle ambiguity:
- Illustrative 1D Regression: A toy dataset where tasks consist of either sinusoids or linear functions.
- 1-Shot 2D Classification: Classifying points relative to circular boundaries of varying sizes.
- Ambiguous CelebA: A modified CelebA dataset where images share multiple attributes, making 5-shot classification inherently ambiguous.
- MiniImageNet: A standard high-dimensional benchmark to ensure competitive performance on traditional few-shot tasks.
Key Insights: Visualizing Uncertainty
A primary advantage of PLATIPUS is its ability to capture multi-modal task distributions. In the 1D regression experiments, when only a few data points are available, PLATIPUS samples multiple distinct hypotheses that represent the ambiguity between a sinusoid and a line.
As shown in the figure above, as more data points are added (moving from left to right), the sampled hypotheses (dashed lines) converge toward the ground truth. This "disagreement" between samples serves as a natural measure of uncertainty, which the authors successfully leveraged for active learning. By selecting unlabeled points where the model's samples varied the most, PLATIPUS reduced error significantly faster than random selection.
Results and Conclusion
In the Ambiguous CelebA experiments, PLATIPUS covered nearly twice as many modes (1.94 vs 1.00) as standard MAML while maintaining comparable accuracy. On MiniImageNet, PLATIPUS achieved 50.13% accuracy on the 5-way, 1-shot benchmark, slightly outperforming the original MAML (48.70%) and remaining competitive with other probabilistic methods.
While PLATIPUS demonstrates strong performance, limitations remain. The current use of a diagonal covariance matrix for posterior estimation may be too simplistic for complex parameter correlations in large networks. Additionally, the variance estimator is currently task-agnostic. Future work may involve making the variance dependent on the specific few-shot training set and extending the framework to meta-reinforcement learning, where uncertainty modeling is critical for exploration.
Summary updated