IFCap: Image-like Retrieval and Frequency-based Entity Filtering for Zero-shot Captioning

Soeun Lee, Si-Woo Kim, Taewhan Kim, Dong-Jin Kim
9/26/2024
cs.CVcs.AIcs.CL

No official code found. Best implementation: boreng0817/IFCap (16 stars, last commit 2025-05-13).

Abstract

Recent advancements in image captioning have explored text-only training methods to overcome the limitations of paired image-text data. However, existing text-only training methods often overlook the modality gap between using text data during training and employing images during inference. To address this issue, we propose a novel approach called Image-like Retrieval, which aligns text features with visually relevant features to mitigate the modality gap. Our method further enhances the accuracy of generated captions by designing a Fusion Module that integrates retrieved captions with input features. Additionally, we introduce a Frequency-based Entity Filtering technique that significantly improves caption quality. We integrate these methods into a unified framework, which we refer to as IFCap ($\textbf{I}$mage-like Retrieval and $\textbf{F}$requency-based Entity Filtering for Zero-shot $\textbf{Cap}$tioning). Through extensive experimentation, our straightforward yet powerful approach has demonstrated its efficacy, outperforming the state-of-the-art methods by a significant margin in both image captioning and video captioning compared to zero-shot captioning based on text-only training.

View on arXivView PDF

Code Implementations(1)

boreng0817/IFCapCommunity100%

[EMNLP 2024] IFCap: Image-like Retrieval and Frequency-based Entity Filtering for Zero-shot Captioning

161Shell, PythonSep 25, 20241 years ago

Similar Papers

Cite this paper

@article{lee2024ifcap,
  title  = {IFCap: Image-like Retrieval and Frequency-based Entity Filtering for Zero-shot Captioning},
  author = {Soeun Lee and Si-Woo Kim and Taewhan Kim and Dong-Jin Kim},
  year   = {2024},
  eprint = {2409.18046},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.18046v1}
}

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/2409.18046.svg)](https://codeofpaper.com/paper/2409.18046)

Discussion