Tractable Uncertainty-Aware Meta-Learning

Young-Jin Park, Cesar Almecija, Apoorva Sharma, Navid Azizan

TL;DR

This paper introduces LUMA, a novel meta-learning framework for regression tasks that tackles the challenges of limited data and out-of-distribution (OoD) tasks by incorporating uncertainty awareness. LUMA achieves efficient, probabilistic predictions and robust OoD detection, even for complex multimodal task distributions, by leveraging analytically tractable Bayesian inference on linearized neural networks.

What Problem Does This Paper Address?

Meta-learning aims to enable models to learn new tasks quickly with minimal data by leveraging commonalities across tasks. However, existing meta-learning methods often struggle in real-world scenarios. Specifically, they can perform poorly when:

  • Data is scarce: Limited context data makes it hard to accurately identify the specific task, leading to unreliable predictions.
  • Tasks are out-of-distribution (OoD): Models may fail to adapt when presented with tasks that are significantly different from those seen during meta-training. This is particularly critical in safety-sensitive applications.
  • Task distributions are multimodal: When tasks can be grouped into distinct clusters with different underlying characteristics, standard meta-learning approaches may not generalize well.

These challenges necessitate meta-learning methods that can not only adapt efficiently but also express uncertainty about their predictions and detect when they are encountering an unfamiliar task.

Methods

LUMA (Low-rank Uncertainty-aware Meta-learning Algorithm) addresses these issues through a principled, probabilistic approach:

  • Linearized Neural Networks and Bayesian Inference: LUMA models the underlying task distribution using a learnable, parametric distribution. It achieves analytically tractable Bayesian inference by linearizing the neural network with respect to its weights. This allows for efficient computation of posterior distributions and uncertainty estimates.
  • Probabilistic Task Distribution: Instead of directly learning a single model, LUMA learns a distribution over possible task models. This allows it to represent uncertainty about the task itself.
  • Low-Rank Covariance Parameterization: To handle the high dimensionality of neural network weights and make computations tractable, LUMA employs a low-rank prior covariance parameterization based on the Fisher Information Matrix (FIM). This efficiently captures relevant correlations in the weight space.
  • Mixture of Gaussian Processes (GPs): For multimodal task distributions, LUMA extends its framework by modeling the task distribution as a mixture of GPs. This allows it to capture distinct clusters of tasks and adapt accordingly.

Datasets

The paper evaluates LUMA on synthetic datasets and a vision regression benchmark:

  • Synthetic Regression Tasks: Inspired by Vuorio et al. (2019), these include three clusters of tasks: sines with varying amplitude/phase, lines with varying slopes, and quadratics with varying coefficients/phases. These are used to test unimodal and multimodal learning scenarios.
  • Shapenet1D: A vision meta-learning dataset (Gao et al., 2022) for predicting object orientations from images. This is used to evaluate LUMA on a deeper neural network and a more complex regression problem.

Key Insights and Ideas

  • Linearization as a Bridge: Linearizing deep neural networks provides a powerful theoretical bridge to Gaussian Processes, enabling tractable Bayesian inference and uncertainty quantification in a way that standard deep learning models struggle with.
  • Uncertainty for OoD Detection: By explicitly modeling uncertainty in a probabilistic framework, LUMA can effectively identify when it's encountering an out-of-distribution task, a crucial capability for safety-critical applications.
  • Low-Rank FIM for Scalability: Using the Fisher Information Matrix to guide a low-rank approximation of the covariance matrix is an effective strategy to balance model expressivity with computational tractability, allowing LUMA to scale to deep networks.
  • Mixture Models for Multimodality: The ability to model task distributions as a mixture of GPs is key to handling heterogeneous tasks, allowing LUMA to generalize better than single-GP approaches in such scenarios.

Key Results

  • Superior Prediction Accuracy: LUMA consistently outperforms baselines like MAML and MMAML in terms of prediction accuracy (MSE), especially in low-data regimes (e.g., with few context points). For instance, in unimodal regression, LUMA trained on a finite dataset outperforms baselines trained on infinite datasets.
  • Near-Perfect OoD Detection: LUMA achieves AUC-ROC scores above 0.99 for out-of-distribution detection in both unimodal and multimodal settings, even with as few as 5 context data points. This is a significant improvement over other methods, particularly in multimodal cases where baselines struggle.
  • Effective Multimodal Handling: The multimodal version of LUMA (using a mixture of GPs) significantly outperforms single-GP approaches and baselines like MMAML in multimodal regression tasks.
  • Scalability: The low-rank covariance parameterization makes LUMA computationally tractable for deep neural networks, with training costs scaling linearly with the number of parameters, comparable to MAML.

Limitations and Future Work

  • Gaussian Likelihood: The current framework is tailored for regression tasks with a Gaussian likelihood. The authors suggest generalizing to non-Gaussian likelihoods to enable LUMA for classification tasks.
  • Broader Benchmarks: While experiments on synthetic and vision tasks demonstrate LUMA's strengths, future work could involve evaluation on a wider range of large-scale meta-learning benchmarks to further validate its effectiveness and scalability.
  • Theoretical Exploration: The paper encourages further exploration of the intersection between linearized neural networks and probabilistic meta-learning, suggesting that the principles presented can form a strong foundation for future research.

Summary updated

BibTeX
@inproceedings{park2026tractable,
  author = {Young-Jin Park and Cesar Almecija and Apoorva Sharma and Navid Azizan},
  title = {{Tractable Uncertainty-Aware Meta-Learning}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2026},
  url = {https://openreview.net/forum?id=ftAZdcNSmL},
}
Figure