Massimiliano Patacchiola, Jack Turner, Elliot J. Crowley, Michael O'Boyle, Amos Storkey
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.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Image Classification | CUB 200 5-way 5-shot | Accuracy | 85.64 | DKT + BNCosSim |
| Image Classification | Mini-ImageNet-CUB 5-way (5-shot) | Accuracy | 56.4 | DKT + BNCosSim |
| Image Classification | CUB 200 5-way 1-shot | Accuracy | 72.27 | DKT + BNCosSim |
| Image Classification | Mini-ImageNet-CUB 5-way (1-shot) | Accuracy | 40.22 | DKT + CosSim |
| Image Classification | Mini-Imagenet 5-way (5-shot) | Accuracy | 64 | DKT + BNCosSim |
| Image Classification | Mini-Imagenet 5-way (1-shot) | Accuracy | 62.96 | DKT + BNCosSim |
| Image Classification | OMNIGLOT-EMNIST 5-way (1-shot) | Accuracy | 75.4 | DKT + BNCosSim |
| Image Classification | OMNIGLOT-EMNIST 5-way (5-shot) | Accuracy | 90.3 | DKT + BNCosSim |
| Few-Shot Image Classification | CUB 200 5-way 5-shot | Accuracy | 85.64 | DKT + BNCosSim |
| Few-Shot Image Classification | Mini-ImageNet-CUB 5-way (5-shot) | Accuracy | 56.4 | DKT + BNCosSim |
| Few-Shot Image Classification | CUB 200 5-way 1-shot | Accuracy | 72.27 | DKT + BNCosSim |
| Few-Shot Image Classification | Mini-ImageNet-CUB 5-way (1-shot) | Accuracy | 40.22 | DKT + CosSim |
| Few-Shot Image Classification | Mini-Imagenet 5-way (5-shot) | Accuracy | 64 | DKT + BNCosSim |
| Few-Shot Image Classification | Mini-Imagenet 5-way (1-shot) | Accuracy | 62.96 | DKT + BNCosSim |
| Few-Shot Image Classification | OMNIGLOT-EMNIST 5-way (1-shot) | Accuracy | 75.4 | DKT + BNCosSim |
| Few-Shot Image Classification | OMNIGLOT-EMNIST 5-way (5-shot) | Accuracy | 90.3 | DKT + BNCosSim |