English

Text-Only Training for Image Captioning using Noise-Injected CLIP

Computer Vision and Pattern Recognition 2023-10-13 v1 Artificial Intelligence Machine Learning

Abstract

We consider the task of image-captioning using only the CLIP model and additional text data at training time, and no additional captioned images. Our approach relies on the fact that CLIP is trained to make visual and textual embeddings similar. Therefore, we only need to learn how to translate CLIP textual embeddings back into text, and we can learn how to do this by learning a decoder for the frozen CLIP text encoder using only text. We argue that this intuition is "almost correct" because of a gap between the embedding spaces, and propose to rectify this via noise injection during training. We demonstrate the effectiveness of our approach by showing SOTA zero-shot image captioning across four benchmarks, including style transfer. Code, data, and models are available on GitHub.

Keywords

Cite

@article{arxiv.2211.00575,
  title  = {Text-Only Training for Image Captioning using Noise-Injected CLIP},
  author = {David Nukrai and Ron Mokady and Amir Globerson},
  journal= {arXiv preprint arXiv:2211.00575},
  year   = {2023}
}

Comments

Will be presented at EMNLP 2022. GitHub: https://github.com/DavidHuji/CapDec

R2 v1 2026-06-28T04:56:44.142Z