English

Retrieval-Augmented Transformer for Image Captioning

Computer Vision and Pattern Recognition 2022-08-23 v2 Artificial Intelligence Computation and Language Multimedia

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.

Keywords

Cite

@article{arxiv.2207.13162,
  title  = {Retrieval-Augmented Transformer for Image Captioning},
  author = {Sara Sarto and Marcella Cornia and Lorenzo Baraldi and Rita Cucchiara},
  journal= {arXiv preprint arXiv:2207.13162},
  year   = {2022}
}

Comments

CBMI 2022

R2 v1 2026-06-25T01:15:18.426Z