Visually-Aware Context Modeling for News Image Captioning

Tingyu Qu, Tinne Tuytelaars, Marie-Francine Moens

Abstract

News image captioning requires models to go beyond simple visual descriptions, integrating specific entity names and contextual information from associated articles. We present VACNIC, a framework that addresses these challenges through three key innovations: a face-naming module for precise entity grounding, a CLIP-based retrieval mechanism for semantic context, and a novel "Contrasting with Language Model" (CoLaM) training strategy. VACNIC achieves state-of-the-art performance on the GoodNews and NYTimes800k benchmarks, outperforming significantly larger vision-language models.

Introduction: The Challenge of News Context

Generic image captioning models typically produce literal descriptions, such as "a person sitting at a desk." In contrast, professional news captions must provide specific details: who is in the image, where they are, and why the event is significant. This task presents three primary hurdles:

  1. Entity Grounding: Linking visual faces to specific names in a long article.
  2. Context Gap: Capturing non-visual information (e.g., a person's title or political goals).
  3. Context Imbalance: Effectively balancing visual cues with textual facts.
Figure 1: News image captioning requires identifying specific entities like Elizabeth Warren, which are often mentioned in the accompanying article but require visual grounding.

The VACNIC Framework

The proposed VACNIC model utilizes a BART-large backbone and introduces three specialized modules to bridge the gap between vision and text.

Figure 5: The complete VACNIC architecture, including (a) feature integration, (b) the Face Naming Module, (c) CLIP-based retrieval, and (d) the CoLaM training objective.

Face-Naming Module

Recognizing that faces are central to news, this module uses a prefix-augmented attention mechanism. It aligns detected faces with a "chain of names" extracted from the article, allowing the model to prioritize and correctly identify key individuals.

CLIP-based Sentence Retrieval

To handle the "context gap," the framework employs CLIP to retrieve the top-$N$ sentences from the article that are semantically most relevant to the image. This pre-filtering provides a cleaner signal to the caption generator than standard cross-attention over an entire long article.

Contrasting with Language Model (CoLaM)

CoLaM is a training strategy designed to maintain the informative style of news. It uses a margin loss to align the multimodal model's embeddings with those of a frozen, text-only BART model. This ensures the model leverages the rich contextual information of the article rather than defaulting to generic visual descriptions.

Experimental Results

VACNIC was evaluated on the GoodNews (~463k pairs) and NYTimes800k (~793k pairs) datasets.

  • State-of-the-Art: VACNIC surpassed previous benchmarks by 7.97 CIDEr points on GoodNews and 5.80 CIDEr points on NYTimes800k.
  • Entity Precision: The face-naming module significantly improved the accuracy of PERSON entity mentions, showing a 5% absolute increase in recall on NYTimes800k.
  • Efficiency: Despite having only ~400M parameters, VACNIC performed comparably to or better than 7B-parameter models like LLaVA-1.5 and InstructBLIP on these specialized news tasks.

Conclusion and Future Directions

VACNIC demonstrates that specialized architectural priors—like prioritizing faces and using retrieval-based context—can be more effective for news captioning than simply scaling up model size. While the model excels at visual entity grounding, future work could improve the handling of non-visual entities (like dates) and refine the CoLaM loss to adaptively weight the importance of article context for different types of images.

Summary updated

BibTeX
@inproceedings{qu2024visually,
  author = {Tingyu Qu and Tinne Tuytelaars and Marie-Francine Moens},
  title = {{Visually-Aware Context Modeling for News Image Captioning}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.naacl-long.162},
}
Figure