Improved Image Captioning via Policy Gradient optimization of SPIDEr
Siqi Liu, Zhenhai Zhu, Ning Ye, Sergio Guadarrama, Kevin Murphy
TL;DR
The paper identifies the mismatch between traditional maximum-likelihood training and human judgments in image captioning and proposes a robust policy-gradient framework to directly optimize a new SPIDEr metric (SPICE + CIDEr). By employing Monte Carlo rollouts for value estimation and a learned baseline to reduce variance, the method achieves faster convergence and greater stability than MIXER, enabling optimization of both BCMR metrics and SPIDEr. Empirically, PG-BCMR attains state-of-the-art BCMR results on COCO, while SPIDEr optimization yields captions that humans rate as significantly better than those produced by MLE or BCMR-focused training. This approach advances captioning quality by balancing semantic fidelity with syntactic fluency and demonstrates practical benefits for applications requiring high-quality image descriptions.
Abstract
Current image captioning methods are usually trained via (penalized) maximum likelihood estimation. However, the log-likelihood score of a caption does not correlate well with human assessments of quality. Standard syntactic evaluation metrics, such as BLEU, METEOR and ROUGE, are also not well correlated. The newer SPICE and CIDEr metrics are better correlated, but have traditionally been hard to optimize for. In this paper, we show how to use a policy gradient (PG) method to directly optimize a linear combination of SPICE and CIDEr (a combination we call SPIDEr): the SPICE score ensures our captions are semantically faithful to the image, while CIDEr score ensures our captions are syntactically fluent. The PG method we propose improves on the prior MIXER approach, by using Monte Carlo rollouts instead of mixing MLE training with PG. We show empirically that our algorithm leads to easier optimization and improved results compared to MIXER. Finally, we show that using our PG method we can optimize any of the metrics, including the proposed SPIDEr metric which results in image captions that are strongly preferred by human raters compared to captions generated by the same model but trained to optimize MLE or the COCO metrics.
