Pragmatic Inference with a CLIP Listener for Contrastive Captioning

Jiefu Ou, Benno Krojer, Daniel Fried


Abstract
We propose a simple yet effective and robust method for contrastive captioning: generating discriminative captions that distinguish target images from very similar alternative distractor images. Our approach is built on a pragmatic inference procedure that formulates captioning as a reference game between a speaker, which produces possible captions describing the target, and a listener, which selects the target given the caption. Unlike previous methods that derive both speaker and listener distributions from a single captioning model, we leverage an off-the-shelf CLIP model to parameterize the listener. Compared with captioner-only pragmatic models, our method benefits from rich vision-language alignment representations from CLIP when reasoning over distractors. Like previous methods for discriminative captioning, our method uses a hyperparameter to control the tradeoff between the informativity (how likely captions are to allow a human listener to discriminate the target image) and the fluency of the captions. However, we find that our method is substantially more robust to the value of this hyperparameter than past methods, which allows us to automatically optimize the captions for informativity — outperforming past methods for discriminative captioning by 11% to 15% accuracy in human evaluations.
Anthology ID:
2023.findings-acl.120
Volume:
Findings of the Association for Computational Linguistics: ACL 2023
Month:
July
Year:
2023
Address:
Toronto, Canada
Editors:
Anna Rogers, Jordan Boyd-Graber, Naoaki Okazaki
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
1904–1917
Language:
URL:
https://aclanthology.org/2023.findings-acl.120
DOI:
10.18653/v1/2023.findings-acl.120
Bibkey:
Cite (ACL):
Jiefu Ou, Benno Krojer, and Daniel Fried. 2023. Pragmatic Inference with a CLIP Listener for Contrastive Captioning. In Findings of the Association for Computational Linguistics: ACL 2023, pages 1904–1917, Toronto, Canada. Association for Computational Linguistics.
Cite (Informal):
Pragmatic Inference with a CLIP Listener for Contrastive Captioning (Ou et al., Findings 2023)
Copy Citation:
PDF:
https://preview.aclanthology.org/nschneid-patch-5/2023.findings-acl.120.pdf
Video:
 https://preview.aclanthology.org/nschneid-patch-5/2023.findings-acl.120.mp4