Abstract
VAMPIRE (Variational Agnostic Modelling that Performs Inference for Robust Estimation) is a Bayesian meta-learning algorithm that extends Model-Agnostic Meta-Learning (MAML) by learning a probability distribution over model parameters. By utilizing variational inference, VAMPIRE significantly improves model calibration and uncertainty estimation in few-shot learning tasks. Experimental results on standard benchmarks like mini-ImageNet and tiered-ImageNet demonstrate that VAMPIRE achieves state-of-the-art accuracy while providing reliable confidence measures, addressing the overconfidence issues inherent in deterministic meta-learning approaches.
Introduction
Deep learning typically requires massive datasets to perform well. However, humans can learn new concepts from just a few examples—a capability known as few-shot learning. Meta-learning, or "learning to learn," attempts to bridge this gap by training models on a variety of tasks so they can quickly adapt to new ones. A popular method in this field is MAML, which finds a single set of initial model weights that can be quickly fine-tuned for a new task. However, MAML is deterministic, providing only a "point estimate" of weights. This often leads to overfitting on small task-specific datasets and offers no way to measure model uncertainty, which is critical in high-stakes fields like medical diagnosis or autonomous driving.
Methodology
The authors introduce VAMPIRE (Variational Agnostic Modelling that Performs Inference for Robust Estimation). Unlike MAML, which treats meta-parameters as fixed values, VAMPIRE treats them as a probability distribution (a prior).
Key technical features include:
- Variational Inference (VI): VAMPIRE uses VI to approximate the posterior distribution of weights for a specific task.
- Variational Free Energy (VFE): The algorithm optimizes a cost function that balances task data fit (likelihood) against deviation from the learned global prior (KL divergence).
- Model Agnostic: VAMPIRE can be applied to any neural network architecture and works for both regression and classification.
- Efficiency: It avoids the heavy computational costs of other Bayesian methods by using a straightforward gradient-based variational approach.
Experimental Setup
The researchers evaluated VAMPIRE across several standard benchmarks:
- Multi-modal Regression: A synthetic dataset of sinusoidal and linear functions.
- Omniglot: 1,623 handwritten characters from 50 alphabets.
- mini-ImageNet: 100 classes for few-shot evaluation.
- tiered-ImageNet: A larger, hierarchical subset of ImageNet.
Results and Discussion
VAMPIRE demonstrates superior performance in both uncertainty estimation and classification accuracy.
Calibration and Uncertainty
A well-calibrated model's predicted probability matches the actual likelihood of being correct. VAMPIRE excels here, producing much more reliable confidence scores than MAML. On mini-ImageNet, VAMPIRE achieved an Expected Calibration Error (ECE) of 0.008, significantly lower than MAML (0.041) and other Bayesian methods like PLATIPUS (0.032). In regression tasks, VAMPIRE successfully identifies when data is ambiguous, increasing its prediction variance in those regions.
Classification Performance
VAMPIRE does not trade accuracy for calibration. It outperformed MAML on mini-ImageNet 1-shot classification (51.54% vs 48.70%) and set new benchmarks on tiered-ImageNet (69.87% 1-shot).
Conclusion
VAMPIRE proves that a rigorously formulated Bayesian extension of MAML is both feasible and highly effective. By learning a distribution rather than a fixed point, VAMPIRE effectively regularizes the model, preventing overfitting to tiny support sets. While it relies on Monte Carlo sampling, which increases computational cost compared to standard MAML, the gains in calibration and accuracy make it a robust choice for few-shot learning.
Summary updated