PAC-Bayesian Meta-learning with Implicit Prior

Cuong Nguyen, Thanh-Toan Do, Gustavo Carneiro

Abstract

Few-shot learning remains a significant challenge due to the high risk of overfitting when learning from limited data. While probabilistic meta-learning methods address uncertainty, they often lack theoretical guarantees and rely on overly simplistic Gaussian assumptions. We present SImPa (Statistical Implicit PAC-Bayes meta-learning), a framework that leverages PAC-Bayes theory and implicit generative posteriors to provide rigorous generalization bounds and superior uncertainty calibration. SImPa outperforms existing methods in accuracy and reliability across standard benchmarks.

Introduction

The core difficulty in few-shot learning is generalizing from a handful of examples to unseen tasks. Existing probabilistic meta-learning approaches, such as PLATIPUS or ABML, attempt to model task-specific uncertainty. However, these methods typically suffer from two critical limitations: a lack of formal theoretical upper bounds on error for unseen tasks, and limited expressivity due to "mean-field" Gaussian assumptions. These simplifications often result in poor model calibration, where predictive confidence does not align with actual accuracy.

Methodology: The SImPa Framework

SImPa addresses these issues through a bi-level optimization objective derived from PAC-Bayes theory. This provides a mathematically rigorous foundation for the train-validation split used in meta-learning, upper-bounding the expected error on any task sampled from the distribution.

Figure 1: Probabilistic graphical model representing the SImPa framework, illustrating the relationship between meta-parameters θ, task-specific parameters λ, and observed data.

Implicit Posteriors and the Compression Lemma

A key innovation in SImPa is the use of implicit posteriors. Instead of assuming task parameters follow a standard distribution (like a Gaussian), SImPa employs a generator network that transforms random noise into model parameters. This allows the model to capture complex, non-Gaussian parameter spaces. Since the density of these implicit distributions cannot be calculated analytically, the authors utilize the Compression Lemma to estimate the KL-divergence term in the PAC-Bayes bound using an auxiliary "critic" network (the $\phi$-network).

Experimental Evaluation

The authors evaluated SImPa on multi-modal regression and standard classification benchmarks, including Omniglot, mini-ImageNet, and tiered-ImageNet.

Figure 5: Quantitative comparison of SImPa against baselines. (a) Mean squared error on hold-out tasks; (b) Reliability diagram showing SImPa's superior calibration; (c) ECE and MCE metrics.

Performance and Calibration

SImPa achieved state-of-the-art accuracy, reaching 51.72% on mini-ImageNet (1-shot) and 70.26% on tiered-ImageNet (1-shot). Beyond raw accuracy, SImPa demonstrated exceptional calibration. As shown in the reliability diagrams, SImPa's expected probability closely matches the observed probability, resulting in the lowest Expected Calibration Error (ECE) and Maximum Calibration Error (MCE) among compared methods. This indicates that SImPa is significantly more "uncertainty-aware," a crucial trait for safety-critical applications.

Discussion and Future Work

While SImPa offers strong theoretical foundations and superior performance, it is computationally intensive. Training involves optimizing both a generator and a critic network for every task, leading to longer convergence times compared to simpler heuristics like MAML. Furthermore, scaling to very large neural networks presents memory challenges. Future research may explore the use of Hypernetworks or performing implicit modeling in lower-dimensional feature embedding spaces to improve scalability for deep architectures.

Summary updated

BibTeX
@misc{nguyen2020pac,
  author = {Cuong Nguyen and Thanh-Toan Do and Gustavo Carneiro},
  title = {{PAC-Bayesian Meta-learning with Implicit Prior}},
  year = {2020},
  eprint = {2003.02455},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.02455},
}
Figure