Reproduce “Re-ViLM: Retrieval-Augmented Visual Language Model for Zero and Few-Shot Image Captioning” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Zhuolin Yang, Wei Ping, Zihan Liu, Vijay Korthikanti, Weili Nie, De-An Huang, Linxi Fan, Zhiding Yu and 8 more
Re-ViLM, a retrieval-augmented visual language model developed by NVIDIA and collaborators, significantly improves zero-shot and few-shot image captioning by dynamically retrieving external image-text knowledge. The model achieves a ~10.0 CIDEr point increase over baseline Flamingo models and outperforms models with 4x more parameters in zero-shot settings.
Key insights
- Dynamically retrieving external knowledge allows smaller Re-ViLM models to achieve superior zero-shot and few-shot image captioning performance, often outperforming non-retrieval models with significantly more parameters.
- A filtering mechanism to discard identical retrieved image-text pairs during training is essential to prevent 'copy-paste' shortcuts and improve the model's generalization capabilities.
- Integrating retrieved information via dedicated cross-attention layers in the language model decoder is more effective than simply prepending retrieved captions as text prefixes.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.