Current browse context:
cs.AI
Change to browse by:
References & Citations
Computer Science > Computer Vision and Pattern Recognition
Title: ZeroCap: Zero-Shot Image-to-Text Generation for Visual-Semantic Arithmetic
(Submitted on 29 Nov 2021 (v1), last revised 31 Mar 2022 (this version, v2))
Abstract: 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 steps. 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: this https URL
Submission history
From: Idan Schwartz [view email][v1] Mon, 29 Nov 2021 11:01:49 GMT (34723kb,D)
[v2] Thu, 31 Mar 2022 14:53:47 GMT (34213kb,D)
Link back to: arXiv, form interface, contact.