Injecting Semantic Concepts into End-to-End Image Captioning

Zhiyuan Fang, Jianfeng Wang, Xiaowei Hu, Lin Liang, Zhe Gan +3 more
12/9/2021
cs.CVcs.CL
transformer-attention

Official code: jacobswan1/ViTCAP (43 stars, Python, last commit 2022-05-28).

Abstract

Tremendous progress has been made in recent years in developing better image captioning models, yet most of them rely on a separate object detector to extract regional features. Recent vision-language studies are shifting towards the detector-free trend by leveraging grid representations for more flexible model training and faster inference speed.

Show full abstract

However, such development is primarily focused on image understanding tasks, and remains less investigated for the caption generation task. In this paper, we are concerned with a better-performing detector-free image captioning model, and propose a pure vision transformer-based image captioning model, dubbed as ViTCAP, in which grid representations are used without extracting the regional features. For improved performance, we introduce a novel Concept Token Network (CTN) to predict the semantic concepts and then incorporate them into the end-to-end captioning. In particular, the CTN is built on the basis of a vision transformer and is designed to predict the concept tokens through a classification task, from which the rich semantic information contained greatly benefits the captioning task. Compared with the previous detector-based models, ViTCAP drastically simplifies the architectures and at the same time achieves competitive performance on various challenging image captioning datasets. In particular, ViTCAP reaches 138.1 CIDEr scores on COCO-caption Karpathy-split, 93.8 and 108.6 CIDEr scores on nocaps, and Google-CC captioning datasets, respectively.

View on arXivView PDF

Code Implementations(1)

jacobswan1/ViTCAPOfficial100%

Implementation for CVPR 2022 paper " Injecting Semantic Concepts into End-to-End Image Captionin".

430Python, Jupyter NotebookMay 14, 20224 years ago

Similar Papers

Cite this paper

@article{fang2021injecting,
  title  = {Injecting Semantic Concepts into End-to-End Image Captioning},
  author = {Zhiyuan Fang and Jianfeng Wang and Xiaowei Hu and Lin Liang and Zhe Gan and Lijuan Wang and Yezhou Yang and Zicheng Liu},
  year   = {2021},
  eprint = {2112.05230},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.05230}
}

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

Discussion