Diverse Image Captioning with Grounded Style

Franz Klein, Shweta Mahajan, Stefan Roth
5/3/2022
cs.CVcs.LG

Official code: visinf/style-seqcvae (6 stars, Python, Apache-2.0, last commit 2022-02-04).

Abstract

Stylized image captioning as presented in prior work aims to generate captions that reflect characteristics beyond a factual description of the scene composition, such as sentiments. Such prior work relies on given sentiment identifiers, which are used to express a certain global style in the caption, e.g. positive or negative, however without taking into account the stylistic content of the visual scene.

Show full abstract

To address this shortcoming, we first analyze the limitations of current stylized captioning datasets and propose COCO attribute-based augmentations to obtain varied stylized captions from COCO annotations. Furthermore, we encode the stylized information in the latent space of a Variational Autoencoder; specifically, we leverage extracted image attributes to explicitly structure its sequential latent space according to different localized style characteristics. Our experiments on the Senticap and COCO datasets show the ability of our approach to generate accurate captions with diversity in styles that are grounded in the image.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Diverse Image Captioning with Grounded Style (GCPR 2021)

61Python, CudaSep 16, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{klein2022diverse,
  title  = {Diverse Image Captioning with Grounded Style},
  author = {Franz Klein and Shweta Mahajan and Stefan Roth},
  year   = {2022},
  eprint = {2205.01813},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.01813}
}

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

Discussion