DiffCap: Exploring Continuous Diffusion on Image Captioning

Yufeng He, Zefan Cai, Xu Gan, Baobao Chang
5/20/2023
cs.CVcs.AI

No official code found. Best implementation: arealgoodname/DiffCap (8 stars, last commit 2023-08-23).

Abstract

Current image captioning works usually focus on generating descriptions in an autoregressive manner. However, there are limited works that focus on generating descriptions non-autoregressively, which brings more decoding diversity. Inspired by the success of diffusion models on generating natural-looking images, we propose a novel method DiffCap to apply continuous diffusions on image captioning. Unlike image generation where the output is fixed-size and continuous, image description length varies with discrete tokens. Our method transforms discrete tokens in a natural way and applies continuous diffusion on them to successfully fuse extracted image features for diffusion caption generation. Our experiments on COCO dataset demonstrate that our method uses a much simpler structure to achieve comparable results to the previous non-autoregressive works. Apart from quality, an intriguing property of DiffCap is its high diversity during generation, which is missing from many autoregressive models. We believe our method on fusing multimodal features in diffusion language generation will inspire more researches on multimodal language generation tasks for its simplicity and decoding flexibility.

View on arXivView PDF

Code Implementations(1)

official repository for DiffCap: Exploring Continuous Diffusion on Image Captioning

81PythonMay 20, 20233 years ago

Similar Papers

Cite this paper

@article{he2023diffcap,
  title  = {DiffCap: Exploring Continuous Diffusion on Image Captioning},
  author = {Yufeng He and Zefan Cai and Xu Gan and Baobao Chang},
  year   = {2023},
  eprint = {2305.12144},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.12144v1}
}

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

Discussion