Stack-Captioning: Coarse-to-Fine Learning for Image Captioning

Jiuxiang Gu, Jianfei Cai, Gang Wang, Tsuhan Chen

arXiv (Cornell University) · 2017 · 59 citations · 0 references

DOIFull text

Open access

Concepts

TL;DR

Current image captioning methods rely on single‑stage decoders that struggle to produce fine‑grained descriptions, while multi‑stage models suffer from vanishing gradients. This work introduces a coarse‑to‑fine multi‑stage prediction framework that refines image descriptions through successive decoders. The framework employs intermediate supervision and a reinforcement‑learning objective that normalizes rewards using each decoder’s test‑time output and its predecessor, mitigating vanishing gradients, exposure bias, and loss‑evaluation mismatch. On the MSCOCO benchmark, the method attains state‑of‑the‑art results.

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.