[Paper Review] Zero-shot Image Captioning by Anchor-augmented Vision-Language Space Alignment
This paper proposes Anchor-augmented Vision-Language Space Alignment to improve zero-shot image captioning by addressing the contextual language prior issue in CLIP-based models. It introduces Cross-modal Language Models (CLMs) for unsupervised cross-modal learning and Anchor Augment to guide fine-grained visual attention using linguistic and object-level anchors, achieving state-of-the-art captioning quality and high generation efficiency on MS COCO and Flickr 30K without annotated data.
CLIP (Contrastive Language-Image Pre-Training) has shown remarkable zero-shot transfer capabilities in cross-modal correlation tasks such as visual classification and image retrieval. However, its performance in cross-modal generation tasks like zero-shot image captioning remains unsatisfied. In this work, we discuss that directly employing CLIP for zero-shot image captioning relies more on the textual modality in context and largely ignores the visual information, which we call \emph{contextual language prior}. To address this, we propose Cross-modal Language Models (CLMs) to facilitate unsupervised cross-modal learning. We further propose Anchor Augment to guide the generative model's attention to the fine-grained information in the representation of CLIP. Experiments on MS COCO and Flickr 30K validate the promising performance of proposed approach in both captioning quality and computational efficiency.
Motivation & Objective
- To address the contextual language prior problem in CLIP-based zero-shot image captioning, where language models generate irrelevant content by relying on textual context rather than visual input.
- To enable unsupervised cross-modal learning by leveraging CLIP’s vision-language representation space without requiring human-annotated paired data.
- To improve the generative model’s attention to fine-grained visual details through anchor-based supervision using linguistic and object-level cues.
- To achieve high-quality, accurate image captioning with superior computational efficiency compared to existing zero-shot approaches.
Proposed method
- Cross-modal Language Models (CLMs) are trained in an auto-regressive, self-supervised manner by using CLIP-encoded text representations as prefix tokens and the original sentences as autoregressive labels.
- Anchors—extracted as nouns via a grammar parser from training sentences—are used to guide the generative model’s attention to relevant visual concepts during CLM training.
- Anchor random dropout is introduced to improve robustness by randomly dropping all anchors in a sample with a given probability during training.
- During inference, object detector predictions (e.g., 'baby', 'elephant') are used as anchors to ground the caption generation on the image’s actual content.
- The generative model is conditioned on CLIP image features and object-level anchors, enabling vision-grounded, high-quality caption generation without query-based attention mechanisms.
- The training process is entirely unsupervised and does not require any annotated image-text pairs, relying only on CLIP’s pre-trained representations and unpaired text data.
Experimental results
Research questions
- RQ1How can we reduce the influence of contextual language prior in zero-shot image captioning when using CLIP-based language models?
- RQ2Can we enable effective unsupervised cross-modal learning using only CLIP’s pre-trained vision-language representations and unpaired text data?
- RQ3How can we improve the generative model’s attention to fine-grained visual details without relying on supervised visual annotations?
- RQ4To what extent does anchor-based supervision enhance the accuracy and relevance of generated captions in zero-shot settings?
- RQ5Can we achieve high generation speed while maintaining state-of-the-art captioning quality in zero-shot image captioning?
Key findings
- The proposed method achieves state-of-the-art performance on both MS COCO and Flickr 30K benchmarks in terms of captioning quality, outperforming existing zero-shot baselines.
- The model significantly reduces hallucinated or irrelevant content in captions, such as generating 'grassy' after 'elephant' when the image does not show grass, due to language prior.
- The use of object detector-derived anchors during inference improves object recognition accuracy, such as correctly identifying 'baby' in images where other models fail.
- The training process shows that CLMs initially boost cross-modal transfer but eventually inhibit it if trained too long, indicating the need for early stopping.
- The approach achieves high generation efficiency due to its non-query-based architecture, making it faster than previous methods while maintaining high quality.
- The method reveals spurious stereotypes in CLIP, such as gender-based changes in clothing patterns, by applying counterfactual representations to assess concept dependencies.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.