Skip to main content
QUICK REVIEW

[Paper Review] Attend More Times for Image Captioning

Jiajun Du, Yu Qin|arXiv (Cornell University)|Dec 8, 2018
Multimodal Machine Learning ApplicationsComputer Science26 references3 citations
TL;DR

This paper proposes a two-LSTM merge model that enables attending to image features multiple times per generated word, improving caption quality without increasing model parameters. By decoupling language and attention sequence encoding, the model achieves state-of-the-art performance on MSCOCO, with a CIDEr score of 1.261 using self-critical training and three attention iterations per word.

ABSTRACT

Most attention-based image captioning models attend to the image once per word. However, attending once per word is rigid and is easy to miss some information. Attending more times can adjust the attention position, find the missing information back and avoid generating the wrong word. In this paper, we show that attending more times per word can gain improvements in the image captioning task, without increasing the number of parameters. We propose a flexible two-LSTM merge model to make it convenient to encode more attentions than words. Our captioning model uses two LSTMs to encode the word sequence and the attention sequence respectively. The information of the two LSTMs and the image feature are combined to predict the next word. Experiments on the MSCOCO caption dataset show that our method outperforms the state-of-the-art. Using bottom up features and self-critical training method, our method gets BLEU-4, METEOR, ROUGE-L, CIDEr and SPICE scores of 0.381, 0.283, 0.580, 1.261 and 0.220 on the Karpathy test split.

Motivation & Objective

  • Address the limitation of conventional image captioning models that attend to the image only once per word, which may miss salient visual details.
  • Improve caption fluency and accuracy by allowing the model to refine attention over multiple iterations before generating each word.
  • Design a parameter-efficient architecture that supports flexible, multiple attention steps per word without increasing model complexity.
  • Demonstrate that repeated attention per word leads to better performance on standard image captioning benchmarks, especially in diversity and accuracy metrics.

Proposed method

  • Propose a two-LSTM merge model that separately encodes the word sequence (language LSTM) and the attention sequence (attention LSTM).
  • Use the language LSTM to process the previous word and maintain language context, while the attention LSTM iteratively attends to image features.
  • At each word generation step, the model performs multiple attention computations on the image, updating the attention LSTM state each time.
  • Combine the final hidden states of both LSTMs and the average image feature to predict the next word using a fusion layer.
  • Train the model using either cross-entropy or self-critical sequence training to optimize for automatic captioning metrics.
  • Enable flexible attention scheduling by decoupling attention computation from word generation, allowing arbitrary numbers of attention steps per word.

Experimental results

Research questions

  • RQ1Can attending to the image multiple times per word improve image captioning performance compared to attending only once per word?
  • RQ2Does the proposed two-LSTM architecture effectively support multiple attention iterations without increasing model parameters?
  • RQ3How does the number of attention iterations per word affect key captioning metrics like BLEU-4, METEOR, ROUGE-L, CIDEr, and SPICE?
  • RQ4Can repeated attention help the model recover missed visual details and generate more descriptive and accurate captions?
  • RQ5Does the model achieve state-of-the-art performance on the MSCOCO benchmark when using multiple attention steps per word?

Key findings

  • Attending multiple times per word significantly improves caption quality, especially on the CIDEr metric, which measures caption diversity and relevance.
  • With self-critical training and three attention iterations per word, the model achieves a CIDEr score of 1.261 on the Karpathy test split, surpassing the previous SOTA of 1.201 from the Up-Down model.
  • The model improves BLEU-4 from 0.376 (once) to 0.381, METEOR from 0.283 to 0.284, ROUGE-L from 0.581 to 0.582, and SPICE from 0.217 to 0.219 when attending three times.
  • Qualitative analysis shows that multiple attention steps help detect previously missed visual elements, such as tables, people in the background, and object colors.
  • The model outperforms existing state-of-the-art methods across all five evaluation metrics: BLEU-4, METEOR, ROUGE-L, CIDEr, and SPICE.
  • The performance gain is consistent across both cross-entropy and self-critical training, confirming the robustness of the multi-attention mechanism.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.