Prefix-diffusion: A Lightweight Diffusion Model for Diverse Image Captioning

Guisheng Liu, Yi Li, Zhengcong Fei, Haiyan Fu, Xiangyang Luo +1 more
9/10/2023
cs.CVcs.AIcs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

While impressive performance has been achieved in image captioning, the limited diversity of the generated captions and the large parameter scale remain major barriers to the real-word application of these systems. In this work, we propose a lightweight image captioning network in combination with continuous diffusion, called Prefix-diffusion. To achieve diversity, we design an efficient method that injects prefix image embeddings into the denoising process of the diffusion model. In order to reduce trainable parameters, we employ a pre-trained model to extract image features and further design an extra mapping network. Prefix-diffusion is able to generate diverse captions with relatively less parameters, while maintaining the fluency and relevance of the captions benefiting from the generative capabilities of the diffusion model. Our work paves the way for scaling up diffusion models for image captioning, and achieves promising performance compared with recent approaches.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{liu2023prefixdiffusion,
  title  = {Prefix-diffusion: A Lightweight Diffusion Model for Diverse Image Captioning},
  author = {Guisheng Liu and Yi Li and Zhengcong Fei and Haiyan Fu and Xiangyang Luo and Yanqing Guo},
  year   = {2023},
  eprint = {2309.04965},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.04965v2}
}

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

Discussion