Bayesian Meta-Learning for the Few-Shot Setting via Deep Kernels
Massimiliano Patacchiola, Jack Turner, Elliot J. Crowley, Michael O'Boyle, Amos Storkey
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/BayesWatch/deep-kernel-transferOfficialIn paperpytorch★ 0
- github.com/keanson/revisit-logistic-softmaxpytorch★ 13
- github.com/hhl60492/deep-kernel-transferpytorch★ 0
Abstract
Recently, different machine learning methods have been introduced to tackle the challenging few-shot learning scenario that is, learning from a small labeled dataset related to a specific task. Common approaches have taken the form of meta-learning: learning to learn on the new problem given the old. Following the recognition that meta-learning is implementing learning in a multi-level model, we present a Bayesian treatment for the meta-learning inner loop through the use of deep kernels. As a result we can learn a kernel that transfers to new tasks; we call this Deep Kernel Transfer (DKT). This approach has many advantages: is straightforward to implement as a single optimizer, provides uncertainty quantification, and does not require estimation of task-specific parameters. We empirically demonstrate that DKT outperforms several state-of-the-art algorithms in few-shot classification, and is the state of the art for cross-domain adaptation and regression. We conclude that complex meta-learning routines can be replaced by a simpler Bayesian model without loss of accuracy.
Tasks
Benchmark Results
| Dataset | Model | Metric | Claimed | Verified | Status |
|---|---|---|---|---|---|
| CUB 200 5-way 1-shot | DKT + BNCosSim | Accuracy | 72.27 | — | Unverified |
| CUB 200 5-way 5-shot | DKT + BNCosSim | Accuracy | 85.64 | — | Unverified |
| Mini-Imagenet 5-way (1-shot) | DKT + BNCosSim | Accuracy | 62.96 | — | Unverified |
| Mini-Imagenet 5-way (5-shot) | DKT + BNCosSim | Accuracy | 64 | — | Unverified |
| Mini-ImageNet-CUB 5-way (1-shot) | DKT + CosSim | Accuracy | 40.22 | — | Unverified |
| Mini-ImageNet-CUB 5-way (5-shot) | DKT + BNCosSim | Accuracy | 56.4 | — | Unverified |
| OMNIGLOT-EMNIST 5-way (1-shot) | DKT + BNCosSim | Accuracy | 75.4 | — | Unverified |
| OMNIGLOT-EMNIST 5-way (5-shot) | DKT + BNCosSim | Accuracy | 90.3 | — | Unverified |