Dual-Level Collaborative Transformer for Image Captioning

Yunpeng Luo, Jiayi Ji, Xiaoshuai Sun, Liujuan Cao, Yongjian Wu +3 more
1/16/2021
cs.CV
transformer-attention

Official code: luo3300612/image-captioning-DLCT (203 stars, Jupyter Notebook, BSD-3-Clause, last commit 2022-06-08).

Abstract

Descriptive region features extracted by object detection networks have played an important role in the recent advancements of image captioning. However, they are still criticized for the lack of contextual information and fine-grained details, which in contrast are the merits of traditional grid features.

Show full abstract

In this paper, we introduce a novel Dual-Level Collaborative Transformer (DLCT) network to realize the complementary advantages of the two features. Concretely, in DLCT, these two features are first processed by a novelDual-way Self Attenion (DWSA) to mine their intrinsic properties, where a Comprehensive Relation Attention component is also introduced to embed the geometric information. In addition, we propose a Locality-Constrained Cross Attention module to address the semantic noises caused by the direct fusion of these two features, where a geometric alignment graph is constructed to accurately align and reinforce region and grid features. To validate our model, we conduct extensive experiments on the highly competitive MS-COCO dataset, and achieve new state-of-the-art performance on both local and online test sets, i.e., 133.8% CIDEr-D on Karpathy split and 135.4% CIDEr on the official split. Code is available at https://github.com/luo3300612/image-captioning-DLCT.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Official pytorch implementation of paper "Dual-Level Collaborative Transformer for Image Captioning" (AAAI 2021).

20330Jupyter Notebook, PythonJan 11, 20214 years agoBSD-3-Clause
image-captioning

Similar Papers

Cite this paper

@article{luo2021duallevel,
  title  = {Dual-Level Collaborative Transformer for Image Captioning},
  author = {Yunpeng Luo and Jiayi Ji and Xiaoshuai Sun and Liujuan Cao and Yongjian Wu and Feiyue Huang and Chia-Wen Lin and Rongrong Ji},
  year   = {2021},
  eprint = {2101.06462},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.06462}
}

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

Discussion