Understanding Retrieval Robustness for Retrieval-Augmented Image Captioning

Wenyan Li, Jiaang Li, Rita Ramos, Raphael Tang, Desmond Elliott
6/4/2024
cs.CVcs.CL

No official code found. Best implementation: lyan62/RobustCap (6 stars, last commit 2024-08-08).

Abstract

Recent advances in retrieval-augmented models for image captioning highlight the benefit of retrieving related captions for efficient, lightweight models with strong domain-transfer capabilities. While these models demonstrate the success of retrieval augmentation, retrieval models are still far from perfect in practice: the retrieved information can sometimes mislead the model, resulting in incorrect generation and worse performance. In this paper, we analyze the robustness of a retrieval-augmented captioning model SmallCap. Our analysis shows that the model is sensitive to tokens that appear in the majority of the retrieved captions, and the input attribution shows that those tokens are likely copied into the generated output. Given these findings, we propose to train the model by sampling retrieved captions from more diverse sets. This decreases the chance that the model learns to copy majority tokens, and improves both in-domain and cross-domain performance.

View on arXivView PDF

Code Implementations(1)

lyan62/RobustCapCommunity100%
60PythonJun 4, 20242 years ago

Cite this paper

@article{li2024understanding,
  title  = {Understanding Retrieval Robustness for Retrieval-Augmented Image Captioning},
  author = {Wenyan Li and Jiaang Li and Rita Ramos and Raphael Tang and Desmond Elliott},
  year   = {2024},
  eprint = {2406.02265},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.02265v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.02265.svg)](https://codeofpaper.com/paper/2406.02265)

Discussion