Skip to main content
QUICK REVIEW

[Paper Review] Phrase-based Image Captioning with Hierarchical LSTM Model

Ying Hua Tan, Chee Seng Chan|arXiv (Cornell University)|Nov 11, 2017
Multimodal Machine Learning ApplicationsComputer Science41 references4 citations
TL;DR

This paper proposes a phrase-based hierarchical LSTM model (phi-LSTM) that generates image captions by first decoding noun phrases at the phrase level and then assembling them into full sentences at the sentence level, using compositional vector representations. The model achieves improved caption quality, greater lexical diversity, and higher novelty in generated captions compared to standard sequential LSTM models on Flickr8k, Flickr30k, and MS-COCO datasets.

ABSTRACT

Automatic generation of caption to describe the content of an image has been gaining a lot of research interests recently, where most of the existing works treat the image caption as pure sequential data. Natural language, however possess a temporal hierarchy structure, with complex dependencies between each subsequence. In this paper, we propose a phrase-based hierarchical Long Short-Term Memory (phi-LSTM) model to generate image description. In contrast to the conventional solutions that generate caption in a pure sequential manner, our proposed model decodes image caption from phrase to sentence. It consists of a phrase decoder at the bottom hierarchy to decode noun phrases of variable length, and an abbreviated sentence decoder at the upper hierarchy to decode an abbreviated form of the image description. A complete image caption is formed by combining the generated phrases with sentence during the inference stage. Empirically, our proposed model shows a better or competitive result on the Flickr8k, Flickr30k and MS-COCO datasets in comparison to the state-of-the art models. We also show that our proposed model is able to generate more novel captions (not seen in the training data) which are richer in word contents in all these three datasets.

Motivation & Objective

  • To address the limitation of sequential captioning models that fail to model syntactic hierarchy in natural language.
  • To improve caption quality and diversity by explicitly modeling phrase-level structures in image descriptions.
  • To investigate whether hierarchical decoding from phrase to sentence enhances caption generation performance.
  • To reduce redundancy in long-term memory by aligning phrase and sentence time-scales.
  • To increase the generation of novel, out-of-vocabulary captions not seen during training.

Proposed method

  • The model uses a phrase decoder at the lower hierarchy to generate variable-length noun phrases (NPs) using words as atomic units.
  • Each generated NP is encoded into a compositional vector representation, which is fed as input to the upper-level abbreviated sentence (AS) decoder.
  • The AS decoder generates an abbreviated caption composed of the last word of each NP and connecting words (e.g., 'on', 'by').
  • A complete caption is formed during beam search inference by combining the generated phrases and sentence components.
  • Length normalization is applied at both phrase and sentence levels during inference to encourage longer, more descriptive captions.
  • Phrase refinement strategies are introduced to improve parsing quality and enhance output consistency.

Experimental results

Research questions

  • RQ1Can a hierarchical captioning model that decodes from phrases to sentences outperform standard sequential models in image captioning?
  • RQ2Does hierarchical decoding improve the diversity and novelty of generated captions?
  • RQ3How does modeling phrase-level structure affect the accuracy of object and attribute recognition in generated captions?
  • RQ4To what extent does the model reduce redundancy in long-term memory during caption generation?
  • RQ5Can the model better generate rare or low-frequency words (e.g., 'an', 'there', 'three') compared to sequential models?

Key findings

  • The phi-LSTM model achieves competitive or better performance than state-of-the-art models on Flickr8k, Flickr30k, and MS-COCO datasets.
  • The model generates more novel captions not present in the training data, indicating improved generalization and lexical diversity.
  • It shows improved inference of low-frequency words such as 'an', 'there', and 'three', which are often missed by sequential models due to local statistical bias.
  • The model successfully generates possessive pronouns like 'her' and 'their' more consistently than the baseline, particularly in MS-COCO due to larger training data.
  • The hierarchical decoding process increases the likelihood of generating prepositions like 'by' and conjunctions like 'while', which are often omitted in sequential models.
  • The model demonstrates better handling of attributes starting with vowels (e.g., 'an orange shirt') due to reduced interference from high-frequency articles like 'a' during beam search.

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.