Learning a Universal Template for Few-shot Dataset Generalization

Eleni Triantafillou, Hugo Larochelle, Richard Zemel, Vincent Dumoulin
5/14/2021
cs.LGcs.CV
benchmark-dataset

Official code: google-research/meta-dataset (804 stars, Jupyter Notebook, Apache-2.0, TensorFlow, last commit 2024-05-24).

Abstract

Few-shot dataset generalization is a challenging variant of the well-studied few-shot classification problem where a diverse training set of several datasets is given, for the purpose of training an adaptable model that can then learn classes from new datasets using only a few examples. To this end, we propose to utilize the diverse training set to construct a universal template: a partial model that can define a wide array of dataset-specialized models, by plugging in appropriate components.

Show full abstract

For each new few-shot classification problem, our approach therefore only requires inferring a small number of parameters to insert into the universal template. We design a separate network that produces an initialization of those parameters for each given task, and we then fine-tune its proposed initialization via a few steps of gradient descent. Our approach is more parameter-efficient, scalable and adaptable compared to previous methods, and achieves the state-of-the-art on the challenging Meta-Dataset benchmark.

View on arXivView PDF

Code Implementations(1)

TensorFlowApache-2.0

A dataset of datasets for learning to learn from few examples

804139Jupyter Notebook, PythonMar 5, 20192 years agoApache-2.0
benchmarkfew-shot-learningmachine-learningmamlmeta-learning+1 more

Similar Papers

Cite this paper

@article{triantafillou2021learning,
  title  = {Learning a Universal Template for Few-shot Dataset Generalization},
  author = {Eleni Triantafillou and Hugo Larochelle and Richard Zemel and Vincent Dumoulin},
  year   = {2021},
  eprint = {2105.07029},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.07029}
}

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/2105.07029.svg)](https://codeofpaper.com/paper/2105.07029)

Discussion