Skip to main content
QUICK REVIEW

[Paper Review] Stack-Captioning: Coarse-to-Fine Learning for Image Captioning

Jiuxiang Gu, Jianfei Cai|arXiv (Cornell University)|Sep 11, 2017
Multimodal Machine Learning ApplicationsComputer Science59 citations
TL;DR

Proposes a coarse-to-fine multi-stage captioning framework with intermediate supervision and reinforcement learning to optimize evaluation metrics, achieving state-of-the-art results on MSCOCO.

ABSTRACT

The existing image captioning approaches typically train a one-stage sentence decoder, which is difficult to generate rich fine-grained descriptions. On the other hand, multi-stage image caption model is hard to train due to the vanishing gradient problem. In this paper, we propose a coarse-to-fine multi-stage prediction framework for image captioning, composed of multiple decoders each of which operates on the output of the previous stage, producing increasingly refined image descriptions. Our proposed learning approach addresses the difficulty of vanishing gradients during training by providing a learning objective function that enforces intermediate supervisions. Particularly, we optimize our model with a reinforcement learning approach which utilizes the output of each intermediate decoder's test-time inference algorithm as well as the output of its preceding decoder to normalize the rewards, which simultaneously solves the well-known exposure bias problem and the loss-evaluation mismatch problem. We extensively evaluate the proposed approach on MSCOCO and show that our approach can achieve the state-of-the-art performance.

Motivation & Objective

  • Address difficulty in generating rich, fine-grained captions with one-stage decoders.
  • Mitigate vanishing gradients in deep multi-stage captioning by enforcing intermediate supervision.
  • Reduce exposure bias and loss-evaluation mismatch via a reinforcement learning objective with normalized intermediate rewards.
  • Leverage stacked attention to progressively refine visual regions for word prediction across stages.
  • Demonstrate state-of-the-art performance on MSCOCO compared to baselines and existing methods.

Proposed method

  • Construct a coarse-to-fine encoder-decoder architecture with one coarse decoder followed by multiple fine decoders.
  • Use a stacked attention mechanism where each stage receives attention weights and hidden states from the preceding stage to refine predictions.
  • Train with cross-entropy losses at each stage to provide intermediate supervision, then optimize with a reinforcement learning objective using stage-wise rewards.
  • Define a reward normalization strategy that incorporates both the stage’s test-time inference output and the preceding stage’s output to address exposure bias and loss-evaluation mismatch.
  • Implement a coarse decoder (LSTMcoarse) operating on global image features, and fine decoders (LSTMi fine) with attention over spatial image regions; employ a stacked attention model to progressively filter visual noise.

Experimental results

Research questions

  • RQ1Can a coarse-to-fine, multi-stage captioning framework improve the richness of generated descriptions over traditional one-stage decoders?
  • RQ2Does intermediate supervision alleviate the vanishing gradient problem in deep multi-stage captioning models?
  • RQ3Can reinforcement learning with normalized intermediate rewards address exposure bias and evaluation-metric alignment in multi-stage captioning?
  • RQ4Does stacked attention across stages yield more accurate and descriptive attention maps for word generation?

Key findings

  • Stack-Cap (C2F) achieves the best performance across generated metrics on MSCOCO Karpathy test split when trained with cross-entropy and CIDEr-optimized RL, e.g., BLEU-1 78.6, BLEU-2 62.5, BLEU-3 47.9, BLEU-4 36.1, METEOR 27.4, CIDEr 120.4.
  • Stack-Cap (XE) outperforms baselines including LSTM, LSTM3 layers, and attention-based models on multiple metrics, demonstrating the benefit of coarse-to-fine learning with intermediate supervision.
  • Directly optimizing with CIDEr via RL (SCST) further improves results for Stack-Cap, achieving CIDEr 120.4 compared to alternatives.
  • Online MSCOCO evaluation shows Stack-Cap providing competitive single-model performance compared to state-of-the-art ensembles.
  • Qualitative analyses show attention maps and captions becoming progressively more precise and descriptive across stages, e.g., identifying objects and relationships with refined attention.

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.