CrossTransformers: spatially-aware few-shot transfer

Carl Doersch, Ankush Gupta, Andrew Zisserman
7/22/2020
431 citations
cs.CV

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

Abstract

Given new tasks with very little data$-$such as new classes in a classification problem or a domain shift in the input$-$performance of modern vision systems degrades remarkably quickly. In this work, we illustrate how the neural network representations which underpin modern vision systems are subject to supervision collapse, whereby they lose any information that is not necessary for performing the training task, including information that may be necessary for transfer to new tasks or domains.

Show full abstract

We then propose two methods to mitigate this problem. First, we employ self-supervised learning to encourage general-purpose features that transfer better. Second, we propose a novel Transformer based neural network architecture called CrossTransformers, which can take a small number of labeled images and an unlabeled query, find coarse spatial correspondence between the query and the labeled images, and then infer class membership by computing distances between spatially-corresponding features. The result is a classifier that is more robust to task and domain shift, which we demonstrate via state-of-the-art performance on Meta-Dataset, a recent dataset for evaluating transfer from ImageNet to many other vision datasets.

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{doersch2020crosstransformers,
  title  = {CrossTransformers: spatially-aware few-shot transfer},
  author = {Carl Doersch and Ankush Gupta and Andrew Zisserman},
  year   = {2020},
  eprint = {2007.11498},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.11498}
}

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

Discussion