CLIP-Diffusion-LM: Apply Diffusion Model on Image Captioning

Shitong Xu
10/10/2022
cs.CVcs.LG
diffusion-flow

Official code: xu-shitong/diffusion-image-captioning (56 stars, Jupyter Notebook, last commit 2025-11-26).

Abstract

Image captioning task has been extensively researched by previous work. However, limited experiments focus on generating captions based on non-autoregressive text decoder.

Show full abstract

Inspired by the recent success of the denoising diffusion model on image synthesis tasks, we apply denoising diffusion probabilistic models to text generation in image captioning tasks. We show that our CLIP-Diffusion-LM is capable of generating image captions using significantly fewer inference steps than autoregressive models. On the Flickr8k dataset, the model achieves 0.1876 BLEU-4 score. By training on the combined Flickr8k and Flickr30k dataset, our model achieves 0.2470 BLEU-4 score. Our code is available at https://github.com/xu-shitong/diffusion-image-captioning.

View on arXivView PDF

Code Implementations(1)

implementation of paper https://arxiv.org/abs/2210.04559

5614Jupyter Notebook, PythonAug 14, 20221 years ago
deep-learning

Similar Papers

Cite this paper

@article{xu2022clipdiffusionlm,
  title  = {CLIP-Diffusion-LM: Apply Diffusion Model on Image Captioning},
  author = {Shitong Xu},
  year   = {2022},
  eprint = {2210.04559},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.04559}
}

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

Discussion