Multimodal Few-Shot Learning with Frozen Language Models

Maria Tsimpoukelli, Jacob Menick, Serkan Cabi, S. M. Ali Eslami, Oriol Vinyals +1 more
6/25/2021
1,035 citations
cs.CVcs.CLcs.LG

No official code found. Best implementation: ilkerkesen/frozen (43 stars). 1 more below.

Abstract

When trained at sufficient scale, auto-regressive language models exhibit the notable ability to learn a new language task after being prompted with just a few examples. Here, we present a simple, yet effective, approach for transferring this few-shot learning ability to a multimodal setting (vision and language).

Show full abstract

Using aligned image and caption data, we train a vision encoder to represent each image as a sequence of continuous embeddings, such that a pre-trained, frozen language model prompted with this prefix generates the appropriate caption. The resulting system is a multimodal few-shot learner, with the surprising ability to learn a variety of new tasks when conditioned on examples, represented as a sequence of multiple interleaved image and text embeddings. We demonstrate that it can rapidly learn words for new objects and novel visual categories, do visual question-answering with only a handful of examples, and make use of outside knowledge, by measuring a single model on a variety of established and new benchmarks.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
ilkerkesen/frozenCommunity43–––
viv92/FrozenCommunity6–––
ilkerkesen/frozenCommunity25%

A PyTorch implementation of Multimodal Few-Shot Learning with Frozen Language Models with OPT.

431
viv92/FrozenCommunity25%

Implementation of Multimodal Few-shot Learning with Frozen Language Models [https://arxiv.org/abs/2106.13884]

61

Similar Papers

Cite this paper

@article{tsimpoukelli2021multimodal,
  title  = {Multimodal Few-Shot Learning with Frozen Language Models},
  author = {Maria Tsimpoukelli and Jacob Menick and Serkan Cabi and S. M. Ali Eslami and Oriol Vinyals and Felix Hill},
  year   = {2021},
  eprint = {2106.13884},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.13884}
}

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

Discussion