LMCap: Few-shot Multilingual Image Captioning by Retrieval Augmented Language Model Prompting

Rita Ramos, Bruno Martins, Desmond Elliott


Abstract
Multilingual image captioning has recently been tackled by training with large-scale machine translated data, which is an expensive, noisy, and time-consuming process. Without requiring any multilingual caption data, we propose LMCap, an image-blind few-shot multilingual captioning model that works by prompting a language model with retrieved captions. Specifically, instead of following the standard encoder-decoder paradigm, given an image, LMCap first retrieves the captions of similar images using a multilingual CLIP encoder. These captions are then combined into a prompt for an XGLM decoder, in order to generate captions in the desired language. In other words, the generation model does not directly process the image, instead it processes retrieved captions. Experiments on the XM3600 dataset of geographically diverse images show that our model is competitive with fully-supervised multilingual captioning models, without requiring any supervised training on any captioning data.
Anthology ID:
2023.findings-acl.104
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:
1635–1651
Language:
URL:
https://aclanthology.org/2023.findings-acl.104
DOI:
10.18653/v1/2023.findings-acl.104
Bibkey:
Cite (ACL):
Rita Ramos, Bruno Martins, and Desmond Elliott. 2023. LMCap: Few-shot Multilingual Image Captioning by Retrieval Augmented Language Model Prompting. In Findings of the Association for Computational Linguistics: ACL 2023, pages 1635–1651, Toronto, Canada. Association for Computational Linguistics.
Cite (Informal):
LMCap: Few-shot Multilingual Image Captioning by Retrieval Augmented Language Model Prompting (Ramos et al., Findings 2023)
Copy Citation:
PDF:
https://aclanthology.org/2023.findings-acl.104.pdf
Video:
 https://aclanthology.org/2023.findings-acl.104.mp4