ADS-Cap: A Framework for Accurate and Diverse Stylized Captioning with Unpaired Stylistic Corpora

Kanzhi Cheng, Zheng Ma, Shi Zong, Jianbing Zhang, Xinyu Dai +1 more
8/2/2023
3 citations
cs.CVcs.CL

Official code: njucckevin/ADS-Cap (9 stars, OpenEdge ABL, last commit 2023-12-25).

Abstract

Generating visually grounded image captions with specific linguistic styles using unpaired stylistic corpora is a challenging task, especially since we expect stylized captions with a wide variety of stylistic patterns. In this paper, we propose a novel framework to generate Accurate and Diverse Stylized Captions (ADS-Cap).

Show full abstract

Our ADS-Cap first uses a contrastive learning module to align the image and text features, which unifies paired factual and unpaired stylistic corpora during the training process. A conditional variational auto-encoder is then used to automatically memorize diverse stylistic patterns in latent space and enhance diversity through sampling. We also design a simple but effective recheck module to boost style accuracy by filtering style-specific captions. Experimental results on two widely used stylized image captioning datasets show that regarding consistency with the image, style accuracy and diversity, ADS-Cap achieves outstanding performances compared to various baselines. We finally conduct extensive analyses to understand the effectiveness of our method. Our code is available at https://github.com/njucckevin/ADS-Cap.

View on arXivView PDF

Code Implementations(1)

njucckevin/ADS-CapOfficial100%

A Framework for Accurate and Diverse Stylized Captioning with Unpaired Stylistic Corpora

92OpenEdge ABL, PythonJul 16, 20222 years ago

Similar Papers

Cite this paper

@article{cheng2023adscap,
  title  = {ADS-Cap: A Framework for Accurate and Diverse Stylized Captioning with Unpaired Stylistic Corpora},
  author = {Kanzhi Cheng and Zheng Ma and Shi Zong and Jianbing Zhang and Xinyu Dai and Jiajun Chen},
  year   = {2023},
  eprint = {2308.01143},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.01143v1}
}

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

Discussion