arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2111.14447cs.CVcs.AIcs.CL
收藏

ZeroCap:视觉语义算法的Zero-Shot图像到文本生成

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

Tel Aviv University(特拉维夫大学)

Yoad Tewel, Yoav Shalev, Idan Schwartz, Lior Wolf

摘要:

最近的文本到图像匹配模型将对比学习应用于大型语料库的未经策划的图像和句子对。虽然这样的模型可以为匹配和随后的zero-shot任务提供强大的分数,但是它们不能在给定图像的情况下生成字幕。在这项工作中,我们重新设计了这些模型,以在推理时生成给定图像的描述性文本,而无需任何进一步的训练或调整步骤。这是通过将视觉语义模型与大语言模型相结合来完成的,受益于两个网络规模模型中的知识。由此产生的字幕比通过监督字幕方法获得的字幕限制少得多。此外,作为一种零样本学习方法,它是非常灵活的,我们证明了它的能力,执行图像运算,其中输入可以是图像或文本,输出是一个句子。这使得新的高级视觉功能,如比较两个图像或解决视觉模拟测试。我们的代码可在https://github.com/YoadTew/zero-shot-image-to-text上获得。

英文摘要:

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: https://github.com/YoadTew/zero-shot-image-to-text.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑