ZeroCap: Zero-Shot Image-to-Text Generation for Visual-Semantic Arithmetic

By Yoad Tewel, Yoav Shalev, Idan Schwartz, Lior Wolf. 2021

260 citations recorded by the source corpus.

Recent text-to-image matching models apply contrastive learning to large corpora of uncurated pairs of images and sentences. While such models can provide a powerful score for matching and subsequent zero-shot tasks, they are not capable of generating caption given an image. In this work, we repurpose such models to generate a descriptive text given an image at inference time, without any further training or tuning step. This is done by combining the visual-semantic model with a large language model, benefiting from the knowledge in both web-scale models. The resulting captions are much less restrictive than those obtained by supervised captioning methods. Moreover, as a zero-shot learning method, it is extremely flexible and we demonstrate its ability to perform image arithmetic in which the inputs can be either images or text and the output is a sentence. This enables novel high-level vision capabilities such as comparing two images or solving visual analogy tests. Our code is available at: https://github.com/YoadTew/zero-shot-image-to-text.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Multimodal Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Furu Wei
  2. Sergey Levine
  3. Mohit Bansal
  4. Li Dong
  5. Jianfeng Gao
  6. Antonio Torralba
  7. Josh Tenenbaum
  8. Trevor Darrell

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Trevor Darrell
  3. Dacheng Tao
  4. Jitendra Malik
  5. Xiaogang Wang
  6. Antonio Torralba
  7. Andrew Zisserman
  8. Ming-Hsuan Yang

In Multimodal Learning

  1. Li Dong
  2. Furu Wei
  3. Alexei A. Efros
  4. Wenhui Wang
  5. Antonio Torralba
  6. Shaohan Huang
  7. Shuming Ma
  8. Josh Tenenbaum

Citations in the corpus