Back to Search Start Over

Retrieval-Augmented Transformer for Image Captioning

Authors :
Sarto, Sara
Cornia, Marcella
Baraldi, Lorenzo
Cucchiara, Rita
Publication Year :
2022

Abstract

Image captioning models aim at connecting Vision and Language by providing natural language descriptions of input images. In the past few years, the task has been tackled by learning parametric models and proposing visual feature extraction advancements or by modeling better multi-modal connections. In this paper, we investigate the development of an image captioning approach with a kNN memory, with which knowledge can be retrieved from an external corpus to aid the generation process. Our architecture combines a knowledge retriever based on visual similarities, a differentiable encoder, and a kNN-augmented attention layer to predict tokens based on the past context and on text retrieved from the external memory. Experimental results, conducted on the COCO dataset, demonstrate that employing an explicit external memory can aid the generation process and increase caption quality. Our work opens up new avenues for improving image captioning models at larger scale.<br />Comment: CBMI 2022

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2207.13162
Document Type :
Working Paper