Image Captioning with Multi-Context Synthetic Data

Feipeng Ma, Yizhou Zhou, Fengyun Rao, Yueyi Zhang, Xiaoyan Sun
5/29/2023
cs.CV

No official code found. Best implementation: FeipengMa6/ICSD (2 stars, last commit 2025-03-10).

Abstract

Image captioning requires numerous annotated image-text pairs, resulting in substantial annotation costs. Recently, large models (e.g. diffusion models and large language models) have excelled in producing high-quality images and text. This potential can be harnessed to create synthetic image-text pairs for training captioning models. Synthetic data can improve cost and time efficiency in data collection, allow for customization to specific domains, bootstrap generalization capability for zero-shot performance, and circumvent privacy concerns associated with real-world data. However, existing methods struggle to attain satisfactory performance solely through synthetic data. We identify the issue as generated images from simple descriptions mostly capture a solitary perspective with limited context, failing to align with the intricate scenes prevalent in real-world imagery. To tackle this, we present an innovative pipeline that introduces multi-context data generation. Beginning with an initial text corpus, our approach employs a large language model to extract multiple sentences portraying the same scene from diverse viewpoints. These sentences are then condensed into a single sentence with multiple contexts. Subsequently, we generate intricate images using the condensed captions through diffusion models. Our model is exclusively trained on synthetic image-text pairs crafted through this process. The effectiveness of our pipeline is validated through experimental results in both the in-domain and cross-domain settings, where it achieves state-of-the-art performance on well-known datasets such as MSCOCO, Flickr30k, and NoCaps.

View on arXivView PDF

Code Implementations(1)

FeipengMa6/ICSDCommunity67%

[AAAI 2024 Poster] Pytorch implementation for "Image Captioning with Multi-context Synthetic Data"

20Shell, PythonMay 18, 20231 years ago

Cite this paper

@article{ma2023image,
  title  = {Image Captioning with Multi-Context Synthetic Data},
  author = {Feipeng Ma and Yizhou Zhou and Fengyun Rao and Yueyi Zhang and Xiaoyan Sun},
  year   = {2023},
  eprint = {2305.18072},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.18072v2}
}

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

Discussion