Clue: Cross-modal coherence modeling for caption generation

Malihe Alikhani, Piyush Sharma, shengjie li, Radu Soricut, Matthew Stone

TL;DR

This paper introduces "Clue," a new dataset and framework for modeling cross-modal coherence between images and text. By annotating 10,000 image-caption pairs with discourse-inspired coherence relations, they enable the training of image captioning models that generate more consistent and contextually appropriate descriptions, addressing the subtle "hallucination" issues in large-scale datasets.

What Problem Does This Paper Address?

The task of image captioning aims to generate natural language descriptions for images. While large datasets like MSCOCO and Conceptual Captions have helped mitigate outright content hallucinations (e.g., describing objects not present), they often suffer from more subtle issues. These include "context hallucinations" (e.g., providing background information that isn't relevant or true) and "subjective-judgment hallucinations" (e.g., making subjective evaluations without a clear source). These problems arise because current large-scale datasets, often harvested from the web, don't guarantee consistent relationships between the image content and the descriptive text. The paper argues that by modeling the coherence relations between image and text, we can build captioning systems that better understand and fulfill specific information needs.

Methods

The core of this work lies in leveraging discourse coherence theory to model image-text relationships. They define five key coherence relations:

  • Visible: Text directly characterizes what's in the image (like a factual description).
  • Subjective: Text expresses the speaker's reaction or evaluation of the image.
  • Action: Text describes a dynamic process, with the image being a snapshot.
  • Story: Text provides a free-standing description of circumstances related to the image.
  • Meta: Text offers insights into the image's production or presentation.

They developed an annotation protocol to label these relations in image-caption pairs and created the Clue dataset. This dataset was used to train coherence relation classifiers to automatically predict these relations. Crucially, they then integrated these predicted coherence labels as control signals into a coherence-aware image captioning model based on the Transformer architecture. This model uses the coherence label as an input to guide the generation process, aiming to produce captions that align with the specified relation.

Datasets

  • Clue Dataset: A newly introduced dataset of 10,000 annotated image-caption pairs.
  • 5,000 pairs were randomly sampled from the training split of the Conceptual Captions dataset (representing human-authored captions).
  • 5,000 pairs were generated by top models from the Conceptual Captions challenge for the Open Images Dataset (representing machine-authored captions).
  • Conceptual Captions Dataset: Used for training and evaluating models, particularly for its large scale.
  • Open Images Dataset: Used to generate machine-authored captions for the Clue dataset.

Key Insights and Ideas

  • Discourse theory is applicable to images: The paper successfully adapts principles from text-based discourse coherence theory to the multimodal domain of images and captions.
  • Coherence is key to avoiding subtle hallucinations: By explicitly modeling coherence, models can move beyond just describing visible content to generating text that is contextually appropriate and fulfills specific communicative goals.
  • Controllable captioning is achievable: The coherence labels act as direct controls, allowing users or systems to specify the type of information they want in a caption (e.g., a factual description vs. a subjective evaluation).
  • Human annotation is crucial for nuanced understanding: While large datasets are useful, expert annotation was necessary to capture these subtle coherence relations effectively, as crowd-sourced annotations proved unsatisfactory.

Key Results

  • Coherence relation prediction: They achieved promising results in predicting coherence relations, with expert raters showing high agreement (Cohen's κ = 0.81). Their best multi-label classifier achieved an F₁ score of 0.67, and their single-label classifier achieved 0.57.
  • Coherence-aware captioning:
    • Human evaluations showed that captions generated by their coherence-aware model were rated as "good" 86% of the time, compared to 74% for the coherence-agnostic model.
  • Subjects preferred the coherence-aware model's captions 68.2% of the time.
  • Quality scores were significantly higher for the coherence-aware model (3.44 vs. 2.83), and relevance scores were comparable (4.43 vs. 4.40).
  • Crucially, the distribution of generated captions shifted significantly based on the input coherence label, demonstrating effective control. For example, when prompted for "Visible," 79.85% of captions were classified as Visible, a substantial increase from the agnostic model.

Limitations and Future Work

  • Limitations:
    • The paper notes that the CIDEr scores for the coherence-aware and agnostic models were very similar (0.958 vs. 0.964). This is attributed to CIDEr's reliance on reference captions that share the same coherence distribution, making it less sensitive to controlled generation.
  • The current annotation scheme does not include an "Identification" relation, where a caption names a specific object or entity (e.g., a brand name).
  • Future Work:
    • Investigate the "Identification" relation for more nuanced caption generation.
  • Explore further theoretical and computational explorations enabled by the Clue dataset.
  • Develop better models for inferring coherence relations for image-text pairs.
  • Design systems that can learn commonsense inferences in images and text to communicate more naturally.

Summary updated

BibTeX
@inproceedings{alikhani2020clue,
  author = {Malihe Alikhani and Piyush Sharma and shengjie li and Radu Soricut and Matthew Stone},
  title = {{Clue: Cross-modal coherence modeling for caption generation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  url = {https://openreview.net/forum?id=EtJFQVFkBBD},
}
Figure