PAC-Bayes meta-learning with implicit task-specific posteriors

Cuong Nguyen, Thanh-Toan Do, Gustavo Carneiro
3/5/2020
cs.LGstat.ML

Official code: cnguyen10/few_shot_meta_learning (257 stars, Python, MIT, PyTorch, last commit 2022-03-07).

Abstract

We introduce a new and rigorously-formulated PAC-Bayes meta-learning algorithm that solves few-shot learning. Our proposed method extends the PAC-Bayes framework from a single task setting to the meta-learning multiple task setting to upper-bound the error evaluated on any, even unseen, tasks and samples.

Show full abstract

We also propose a generative-based approach to estimate the posterior of task-specific model parameters more expressively compared to the usual assumption based on a multivariate normal distribution with a diagonal covariance matrix. We show that the models trained with our proposed meta-learning algorithm are well calibrated and accurate, with state-of-the-art calibration and classification results on few-shot classification (mini-ImageNet and tiered-ImageNet) and regression (multi-modal task-distribution regression) benchmarks.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Implementations of many meta-learning algorithms to solve the few-shot learning problem in Pytorch

25730Python, Jupyter NotebookOct 30, 20194 years agoMIT
algorithmsmamlmeta-learningprototypical-networkpytorch

Similar Papers

Cite this paper

@article{nguyen2020pacbayes,
  title  = {PAC-Bayes meta-learning with implicit task-specific posteriors},
  author = {Cuong Nguyen and Thanh-Toan Do and Gustavo Carneiro},
  year   = {2020},
  eprint = {2003.02455},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.02455}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2003.02455.svg)](https://codeofpaper.com/paper/2003.02455)

Discussion