Watch What You Just Said: Image Captioning with Text-Conditional Attention

Luowei Zhou, Chenliang Xu, Parker Koch, Jason J. Corso
6/15/2016
44 citations
cs.CV
transformer-attention

Official code: LuoweiZhou/e2e-gLSTM-sc (61 stars, last commit 2017-08-17).

Abstract

Attention mechanisms have attracted considerable interest in image captioning due to its powerful performance. However, existing methods use only visual content as attention and whether textual context can improve attention in image captioning remains unsolved.

Show full abstract

To explore this problem, we propose a novel attention mechanism, called \textit{text-conditional attention}, which allows the caption generator to focus on certain image features given previously generated text. To obtain text-related image features for our attention model, we adopt the guiding Long Short-Term Memory (gLSTM) captioning architecture with CNN fine-tuning. Our proposed method allows joint learning of the image embedding, text embedding, text-conditional attention and language model with one network architecture in an end-to-end manner. We perform extensive experiments on the MS-COCO dataset. The experimental results show that our method outperforms state-of-the-art captioning methods on various quantitative metrics as well as in human evaluation, which supports the use of our text-conditional attention in image captioning.

View on arXivView PDF

Code Implementations(1)

Code for paper "Image Caption Generation with Text-Conditional Semantic Attention"

6115Jun 16, 20169 years ago

Similar Papers

Cite this paper

@article{zhou2016watch,
  title  = {Watch What You Just Said: Image Captioning with Text-Conditional Attention},
  author = {Luowei Zhou and Chenliang Xu and Parker Koch and Jason J. Corso},
  year   = {2016},
  eprint = {1606.04621},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1606.04621}
}

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

Discussion