Towards Diverse and Accurate Image Captions via Reinforcing Determinantal Point Process

Qingzhong Wang, Antoni B. ChanarXiv 2019

Introduction

Automatic image captioning has seen significant progress, yet modern models often suffer from a "boring caption" problem. While systems can accurately identify the primary subject of an image—such as "a dog sitting on a grass field"—they frequently fail to provide a diverse set of descriptions that capture different nuances or perspectives. This lack of imagination limits the utility of AI in creative applications and natural user interfaces.

The Challenge of Diversity in Captioning

The root of this issue lies in the training objectives of current state-of-the-art models. Most systems employ Reinforcement Learning (RL) to maximize specific quality metrics like CIDEr. While effective for accuracy, these metrics do not reward variety. Consequently, models learn to "play it safe" by concentrating probability on the most generic, high-scoring descriptions. This behavior is exacerbated by decoding strategies like beam search, which prune away interesting but statistically less "probable" variations in favor of the most common patterns.

Methodology: Reinforcing Determinantal Point Process (R-DPP)

To address this, the researchers propose Reinforcing Determinantal Point Process (R-DPP). This approach reframes caption generation as a subset selection problem rather than a single-sequence prediction task.

Determinantal Point Processes (DPP)

A DPP is a probabilistic framework used to model the likelihood of selecting a specific subset of items. It is defined by a kernel matrix $L$, which encodes two critical properties:

  1. Quality: How well an individual caption describes the image.
  2. Similarity: How much two captions overlap in meaning or structure.

In R-DPP, the goal is to select a subset of captions that maximizes the determinant of this matrix. Geometrically, the determinant represents the volume of a parallelepiped spanned by the feature vectors of the captions. A larger volume indicates that the captions are both high-quality and distinct from one another.

The Reinforcing Framework

The "Reinforcing" aspect comes from a novel policy gradient derived by the authors. By using the derivative of the log-determinant as a reward signal, the model can be trained end-to-end. This allows the system to learn which caption pairs to promote or suppress to maximize the overall "diversity volume" of the generated set.

Experimental Results

The model was evaluated on the MSCOCO dataset, which contains over 123,000 images with multiple human-annotated captions.

Accuracy and Diversity Trade-offs

R-DPP demonstrates a superior ability to balance accuracy and diversity compared to traditional RL methods and generative models like GANs or VAEs.

Diversity vs. Accuracy trade-off for various models.

As shown in the performance plots, R-DPP roughly doubles the diversity score (Self-CIDEr) compared to the standard SCST baseline while simultaneously improving accuracy. Unlike previous "diverse" models that often sacrificed accuracy for variety, R-DPP pushes the Pareto frontier outward.

State-of-the-Art Performance

Beyond diversity, R-DPP also sets new benchmarks for pure accuracy. When generating a single caption via beam search, the model achieves a CIDEr score of 1.222, outperforming the SCST baseline (1.114) and even complex state-of-the-art models like Hieratt-RL (1.217).

Performance comparison of R-DPP against state-of-the-art baselines.

In "oracle" tests, where the best caption is selected from a generated set, R-DPP consistently provided higher upper-bound scores than AG-CVAE or POS-based models, proving that the pool of captions it generates contains higher-quality options.

Key Insights

  • Preserving Modes: A significant advantage of R-DPP is its ability to preserve the "modes" of the distribution—the most likely correct answers. This ensures that even the most probable caption remains highly accurate.
  • Architectural Simplicity: Unlike other diversity-focused methods that require multiple captioner modules or complex auxiliary predictors (like part-of-speech tags), R-DPP is a training objective that can be integrated into standard CNN-LSTM architectures.
  • Optimal Sampling: The researchers found that using approximately $m=5$ samples during training provides the best balance between computational efficiency and model performance.

Conclusion and Future Work

R-DPP represents a significant step toward more human-like image description systems. By mathematically formalizing the trade-off between quality and similarity, it enables the generation of caption sets that are both descriptive and varied. Future research may explore applying this framework to other domains, such as dialogue systems or machine translation, where providing a range of valid responses is essential for natural interaction.

Summary updated

BibTeX
@misc{wang2019towards,
  author = {Qingzhong Wang and Antoni B. Chan},
  title = {{Towards Diverse and Accurate Image Captions via Reinforcing Determinantal Point Process}},
  year = {2019},
  eprint = {1908.04919},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1908.04919},
}
Figure