Understanding Retrieval Robustness for Retrieval-Augmented Image Captioning

Authors:
  • WLWenyan Li
    Wenyan Li
  • JLJiaang Li
    Jiaang Li
  • RRRita Ramos
    Rita Ramos
  • RTRaphael Tang
    Raphael Tang
  • DEDesmond Elliott
    Desmond Elliott

Abstract
Recent advancements in retrieval-augmented models for image captioning highlight the significance 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. Retrieved information can sometimes mislead the model generation, negatively impacting performance. In this paper, we analyze the robustness of the SmallCap retrieval-augmented captioning model. Our analysis shows that SmallCap is sensitive to tokens that appear in the majority of the retrieved captions, and integrated gradients attribution shows that those tokens are likely copied into the final caption. Given these findings, we propose to train the model by sampling retrieved captions from more diverse sets. This reduces the probability that the model learns to copy majority tokens and improves both in-domain and cross-domain performance effectively.