Meta-learning with differentiable closed-form solvers
About
Adapting deep networks to new concepts from a few examples is challenging, due to the high computational requirements of standard fine-tuning procedures. Most work on few-shot learning has thus focused on simple learning techniques for adaptation, such as nearest neighbours or gradient descent. Nonetheless, the machine learning literature contains a wealth of methods that learn non-deep models very efficiently. In this paper, we propose to use these fast convergent methods as the main adaptation mechanism for few-shot learning. The main idea is to teach a deep network to use standard machine learning tools, such as ridge regression, as part of its own internal model, enabling it to quickly adapt to novel data. This requires back-propagating errors through the solver steps. While normally the cost of the matrix operations involved in such a process would be significant, by using the Woodbury identity we can make the small number of examples work to our advantage. We propose both closed-form and iterative solvers, based on ridge regression and logistic regression components. Our methods constitute a simple and novel approach to the problem of few-shot learning and achieve performance competitive with or superior to the state of the art on three benchmarks.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Few-shot classification | tieredImageNet (test) | -- | 282 | |
| Few-shot Image Classification | Mini-Imagenet (test) | Accuracy48.7 | 235 | |
| 5-way Classification | miniImageNet (test) | Accuracy68.2 | 231 | |
| Few-shot classification | Mini-ImageNet | 1-shot Acc51.2 | 175 | |
| 5-way Few-shot Classification | Mini-Imagenet (test) | 1-shot Accuracy51.8 | 141 | |
| Few-shot classification | miniImageNet standard (test) | 5-way 1-shot Acc51.2 | 138 | |
| Few-shot Image Classification | miniImageNet (test) | -- | 111 | |
| Few-shot classification | MiniImagenet | 5-way 5-shot Accuracy78.15 | 98 | |
| Few-shot Image Classification | FC100 (test) | Accuracy61.72 | 69 | |
| 5-way Few-shot Image Classification | CIFAR FS (test) | 1-shot Acc65.4 | 63 |