Pragmatic Issue-Sensitive Image Captioning

Allen Nie, Reuben Cohn-Gordon, Christopher Potts

Introduction

Standard image captioning systems have made significant strides in generating grammatically correct descriptions of visual scenes. However, these models often produce generic, "one-size-fits-all" outputs that are technically accurate but contextually irrelevant. When humans describe an image, they naturally tailor their language to the specific context or question at hand—a behavior known as pragmatic communication. For instance, if asked about a bird's beak, a human would focus on that specific feature rather than providing a general description of the bird's species or environment.

This paper introduces Issue-Sensitive Image Captioning (ISIC), a framework designed to bridge this gap. By leveraging the Rational Speech Acts (RSA) model, the authors enable captioning systems to generate descriptions that specifically address a given "issue" (a context or question) without requiring the underlying neural network to be retrained.

The ISIC Framework

The core innovation of ISIC is the mathematical definition of relevance as a partition of the image space. An "issue" is defined as a specific way of grouping images based on shared traits (e.g., grouping birds by wing color versus beak shape). The goal of the captioner is to produce a description that uniquely identifies the correct "cell" of that partition.

Figure 5: The ISIC model generates different captions for the same target image depending on the "issue" (color vs. head pattern). The colored boxes represent the partitions created by the specific question.

To achieve this, the researchers utilize the Rational Speech Acts (RSA) framework, a Bayesian model where speakers and listeners reason about each other's intentions. The system consists of several components:

  1. The Base Model ($S_0$): A standard, pretrained neural image captioner that provides literal probabilities for word sequences.
  2. The Pragmatic Listener ($L_1$): A component that "imagines" which image a caption is most likely referring to, given the literal model's output.
  3. The Issue-Sensitive Speaker ($S_1^C$): This model selects words that help the listener distinguish the target image's group (its partition cell) from other groups.
  4. The Entropy Penalty ($S_1^{C+H}$): To prevent the model from over-specifying details that are unique to a single image but irrelevant to the broader issue, an information-theoretic entropy term is added. This encourages the model to describe the entire group of images sharing the relevant trait.

Because calculating every possible caption is computationally prohibitive, the authors implement an incremental reasoning approach. This "greedy" version of RSA performs pragmatic reasoning word-by-word during the decoding process, making the system more efficient.

Experimental Setup

The authors evaluated the ISIC framework on two primary datasets:

  • CUB (Caltech-UCSD Birds): A fine-grained dataset featuring 200 bird species and 312 binary attributes. These attributes were used to create controlled "issues," such as partitioning the dataset by beak shape or belly color.
  • MS COCO & VQA 2.0: To test the model's performance in general scenes, the researchers used MS COCO images paired with questions from the Visual Question Answering (VQA) dataset. In this context, the "issue" is defined by the specific question asked (e.g., "What color is the sky?").

Results and Insights

The ISIC model demonstrated a significant improvement in relevance over standard baselines. On the CUB dataset, the issue-sensitive model ($S_1^{C+H}$) achieved an F1 score of 66.2 for attribute coverage, more than doubling the 28.3 score of the base literal model ($S_0$).

Human evaluations further confirmed these findings. In a study using Amazon Mechanical Turk, participants were asked to answer a question based solely on the generated caption. They could correctly answer the question 44% of the time using issue-sensitive captions, compared to only 20.9% with standard captions.

Key Takeaways

  • Plug-and-Play Pragmatics: The RSA logic sits on top of existing, "frozen" neural networks. This allows for sophisticated control without the need for expensive retraining.
  • The Specificity Trap: The researchers found that being purely "informative" can lead to hallucinations or over-specification. The entropy penalty ($U_2$) is crucial for ensuring captions remain representative of the category defined by the issue.

Conclusion and Future Work

While ISIC represents a major step toward context-aware AI, challenges remain. The model occasionally includes "gratuitous" information, and the current method for creating partitions in general scenes relies on simple string matching. Future work may involve using trained VQA models to create more robust partitions and optimizing the incremental approach to reduce computational overhead for real-time applications.

Summary updated

BibTeX
@inproceedings{nie2020pragmatic,
  author = {Allen Nie and Reuben Cohn-Gordon and Christopher Potts},
  title = {{Pragmatic Issue-Sensitive Image Captioning}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.findings-emnlp.173},
}
Figure