Skip to main content
QUICK REVIEW

[Paper Review] Analysis of diversity-accuracy tradeoff in image captioning

Ruotian Luo, Gregory Shakhnarovich|arXiv (Cornell University)|Feb 27, 2020
Multimodal Machine Learning ApplicationsComputer Science34 references11 citations
TL;DR

This paper investigates the diversity-accuracy tradeoff in image captioning by evaluating various decoding strategies, training objectives, and hyperparameters on state-of-the-art models. It finds that naive sampling with low temperature produces diverse and accurate caption sets, while CIDEr-based reinforcement learning harms diversity, which cannot be recovered via decoding adjustments. The authors introduce AllSPICE, a novel metric combining SPICE for accuracy and self-CIDEr for diversity, enabling joint evaluation of caption sets.

ABSTRACT

We investigate the effect of different model architectures, training objectives, hyperparameter settings and decoding procedures on the diversity of automatically generated image captions. Our results show that 1) simple decoding by naive sampling, coupled with low temperature is a competitive and fast method to produce diverse and accurate caption sets; 2) training with CIDEr-based reward using Reinforcement learning harms the diversity properties of the resulting generator, which cannot be mitigated by manipulating decoding parameters. In addition, we propose a new metric AllSPICE for evaluating both accuracy and diversity of a set of captions by a single value.

Motivation & Objective

  • To systematically evaluate how model architecture, training objectives, hyperparameters, and decoding strategies affect the diversity and accuracy of generated image caption sets.
  • To identify effective, simple methods for generating diverse and accurate caption sets without complex model modifications.
  • To propose a new metric, AllSPICE, capable of evaluating both accuracy and diversity of a caption set in a single score.
  • To investigate whether CIDEr-optimized models can achieve better diversity-accuracy balance than cross-entropy trained models under different decoding settings.
  • To clarify the role of sampling temperature and other decoding hyperparameters in controlling the diversity-accuracy tradeoff.

Proposed method

  • Uses an attention-based LSTM model with 512 hidden units as the base generator, trained with three objectives: cross-entropy (XE), CIDEr-based reinforcement learning (RL), and a combination of both (XE+RL).
  • Employs multiple decoding strategies: naive sampling (SP), top-K sampling, nucleus (top-p) sampling, beam search (BS), and diverse beam search (DBS), each with adjustable temperature and native hyperparameters.
  • Introduces AllSPICE, a metric derived from SPICE that jointly evaluates caption set accuracy and diversity by measuring similarity to ground truth and inter-caption dissimilarity.
  • Measures diversity using mBLEU, Distinct-1/2, Self-CIDEr, vocabulary size, and % novel sentences; accuracy via SPICE and CIDEr.
  • Fixes model parameters across experiments to isolate the effect of decoding and hyperparameter choices on the diversity-accuracy tradeoff.
  • Evaluates models on COCO dataset using standard splits and reports metrics across multiple images and caption sets.

Experimental results

Research questions

  • RQ1Does naive sampling with low temperature produce more diverse and accurate caption sets than standard beam search or other decoding strategies?
  • RQ2Can CIDEr-based reinforcement learning improve the diversity-accuracy tradeoff compared to cross-entropy training, even with optimal decoding hyperparameters?
  • RQ3To what extent can diversity be recovered from a CIDEr-optimized model using different decoding methods, such as low-temperature sampling or top-p sampling?
  • RQ4How effective is the proposed AllSPICE metric in capturing both accuracy and diversity of a caption set in a single, unified score?
  • RQ5What is the relative impact of sampling temperature, top-K, and nucleus sampling on the diversity-accuracy tradeoff in caption generation?

Key findings

  • Naive sampling with low temperature (T=0.5) consistently produces the most diverse caption sets while maintaining high accuracy, outperforming beam search and other decoding methods.
  • CIDEr-based reinforcement learning significantly reduces caption diversity, and this negative effect cannot be mitigated by adjusting decoding hyperparameters such as temperature or beam size.
  • The XE+RL training objective leads to higher CIDEr scores but lower diversity compared to XE-only training, especially when decoded with diverse sampling strategies.
  • AllSPICE effectively captures both accuracy and diversity, showing strong correlation with human judgments and outperforming separate metrics in joint evaluation.
  • Top-K and top-p sampling with moderate temperature (T=0.75) produce more diverse outputs than beam search, but less than low-temperature naive sampling.
  • The study demonstrates that simple, low-cost decoding strategies like low-temperature sampling can achieve better diversity-accuracy balance than complex training objectives like CIDER-RL.

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.