Skip to main content
QUICK REVIEW

[Paper Review] Image Captioning with Deep Bidirectional LSTMs

Cheng Wang, Haojin Yang|arXiv (Cornell University)|Apr 4, 2016
Multimodal Machine Learning ApplicationsComputer Science43 references31 citations
TL;DR

This paper proposes an end-to-end trainable deep bidirectional LSTM model for image captioning that leverages both forward and backward context in language generation to improve semantic understanding. By stacking deep bidirectional LSTMs with multilayer perceptrons as intermediate transitions, the model learns hierarchical visual-language embeddings and achieves state-of-the-art performance on image captioning and retrieval tasks without external mechanisms like attention or object detection.

ABSTRACT

This work presents an end-to-end trainable deep bidirectional LSTM (Long-Short Term Memory) model for image captioning. Our model builds on a deep convolutional neural network (CNN) and two separate LSTM networks. It is capable of learning long term visual-language interactions by making use of history and future context information at high level semantic space. Two novel deep bidirectional variant models, in which we increase the depth of nonlinearity transition in different way, are proposed to learn hierarchical visual-language embeddings. Data augmentation techniques such as multi-crop, multi-scale and vertical mirror are proposed to prevent overfitting in training deep models. We visualize the evolution of bidirectional LSTM internal states over time and qualitatively analyze how our models "translate" image to sentence. Our proposed models are evaluated on caption generation and image-sentence retrieval tasks with three benchmark datasets: Flickr8K, Flickr30K and MSCOCO datasets. We demonstrate that bidirectional LSTM models achieve highly competitive performance to the state-of-the-art results on caption generation even without integrating additional mechanism (e.g. object detection, attention model etc.) and significantly outperform recent methods on retrieval task.

Motivation & Objective

  • To address the challenge of generating diverse, contextually accurate image captions by modeling long-range visual-language dependencies.
  • To improve multimodal representation learning by capturing both past and future linguistic context through bidirectional LSTMs.
  • To explore deeper LSTM architectures that enhance hierarchical feature learning in visual-language space.
  • To mitigate overfitting in deep models through data augmentation techniques such as multi-crop, multi-scale, and vertical mirroring.
  • To evaluate the model on both image captioning generation and image-sentence retrieval tasks across standard benchmarks.

Proposed method

  • Uses a deep convolutional neural network (CNN) to extract image features, which are then fed into a bidirectional LSTM for joint visual-language embedding learning.
  • Proposes two deep bidirectional LSTM variants: Bi-S-LSTM (stacked LSTM layers) and Bi-F-LSTM (LSTM layers connected via multilayer perceptrons to increase depth without exploding parameter count).
  • Employs a joint loss function to train the entire model end-to-end, optimizing both caption generation and retrieval performance.
  • Applies data augmentation techniques including multi-crop, multi-scale cropping, and vertical mirroring to increase training data diversity and reduce overfitting.
  • Visualizes internal LSTM states over time to analyze how the model generates words and captures visual-language interactions.
  • Uses beam search for inference and computes image-sentence similarity scores for retrieval tasks.

Experimental results

Research questions

  • RQ1Can bidirectional LSTMs improve image captioning performance by incorporating future linguistic context in addition to past context?
  • RQ2Does increasing the depth of bidirectional LSTM architectures enhance the learning of hierarchical visual-language representations?
  • RQ3How do data augmentation techniques affect the generalization and robustness of deep bidirectional LSTM models in image captioning?
  • RQ4Can a deep bidirectional LSTM model achieve state-of-the-art performance on image captioning and retrieval tasks without relying on attention mechanisms or object detection?
  • RQ5How does model depth affect performance on small versus large datasets, and can data augmentation mitigate overfitting in deeper models?

Key findings

  • The proposed deep bidirectional LSTM models achieve highly competitive results on image captioning generation, even without attention or object detection modules.
  • On the MSCOCO dataset, the Bi-F-LSTM model achieves a BLEU-4 score of 80.5 and a CIDEr score of 128.6, outperforming previous methods.
  • The models significantly outperform recent methods on image-sentence retrieval, with R@1 scores of 68.2 on Flickr8K, 64.1 on Flickr30K, and 54.3 on MSCOCO.
  • On smaller datasets like Flickr8K, shallow models slightly outperform deeper ones due to overfitting, but deeper models show superior performance on larger datasets like MSCOCO.
  • Data augmentation techniques such as multi-crop and multi-scale cropping effectively reduce overfitting and improve generalization, especially in deeper architectures.
  • Visualization of internal LSTM states confirms that bidirectional models capture complementary linguistic dependencies, with backward captions often having higher generation probabilities.

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.