Enhancing Journalism with AI: A Study of Contextualized Image Captioning for News Articles using LLMs and LMMs

Aliki Anagnostopoulou, Thiago S. Gouvêa, Daniel Sonntag

Abstract

Generating accurate image captions for news articles requires more than just visual recognition; it necessitates grounding the image within its specific journalistic context. This study evaluates two primary approaches for contextualized image captioning (CIC): a modular two-stage pipeline combining image captioning models with Large Language Models (LLMs), and end-to-end Large Multimodal Models (LMMs). By testing various context types—full articles versus specific named entities—on the GoodNews dataset, the researchers demonstrate that focused context significantly improves performance. Notably, open-source models like LLaVA are found to be competitive with proprietary models like GPT-4v in this specialized task.

Introduction

In the field of journalism, an image caption serves a critical role beyond simple description. While standard computer vision models can identify objects (e.g., "a person at a podium"), a news-worthy caption must provide the "who, where, and why" (e.g., "President Smith addressing the UN General Assembly in New York"). This information is often absent from the image pixels and must be retrieved from the surrounding text.

The core challenge is "contextualization": effectively merging visual features with dense, often noisy, textual information from news articles. This paper investigates whether a modular approach—using a captioner to translate an image into text before processing with an LLM—or a unified multimodal model is more effective for this task.

Methodology

The researchers compared two architectural paradigms for generating news-accurate captions:

  1. Contextualized Image Captioning (CIC) Pipeline: This modular approach uses a base model (e.g., BLIP-2, OFA) to generate a generic caption. This caption is then passed to an LLM (like GPT-3.5 or Llama 3) along with external context to produce a "journalized" final version.
  2. Large Multimodal Model (LMM) Approach: A single-stage system where both the image and the text context are processed simultaneously by a multimodal model (e.g., GPT-4v, LLaVA).
Comparison of the modular CIC pipeline and the end-to-end LMM approach.

Context and Data

The study utilized a subset of the GoodNews dataset, featuring images and articles from The New York Times. A key variable was the type of context provided to the models:

  • Full Article: The entire text of the news story.
  • Named Entities (NE): Only the specific names of people, locations, and dates extracted from the original caption.
Example of an image from the GoodNews dataset with its corresponding professional caption, full article text, and extracted Named Entities.

Key Insights and Results

The experimental results revealed several critical findings regarding the nature of contextualized captioning:

The Power of Focused Context

A primary finding was that "less is more." Models performed significantly better when provided with specific Named Entities rather than the full article text. For instance, the BLIP-2 + GPT-3 pipeline achieved a METEOR score of 0.344 with NE context, compared to just 0.164 with the full article. Full articles often led to "hallucinations" or the inclusion of irrelevant details, whereas named entities provided a precise anchor for factual grounding.

Architecture and Performance

  • Information Bottleneck: In the CIC pipeline, the LLM never sees the image directly. Despite this bottleneck, the results suggest that for news, textual context is often more influential on the final output than raw visual nuances.
  • Open-Source Competitiveness: Open-source LMMs, particularly LLaVA, performed remarkably well, matching or even exceeding the performance of GPT-4v on certain metrics like BLEU-3 and BLEU-4. LLaVA achieved a BERTScore F1 of 0.878 with NE context, nearly identical to GPT-4v’s 0.879.
  • Instruction Following: The choice of LLM in the modular pipeline is crucial. Llama 3 struggled to follow specific prompt constraints compared to GPT-3.5, leading to lower automated scores despite its general capabilities.

Limitations and Future Outlook

While promising, the study highlights several areas for further development. The sensitivity of models to specific prompts suggests that advanced prompt engineering could further unlock performance. Additionally, traditional automated metrics (BLEU, ROUGE) may not fully capture "journalistic quality," pointing toward the need for more human-centric evaluation frameworks.

The authors suggest that rather than fully autonomous systems, the near future of AI in journalism lies in human-AI collaboration. AI can serve as a powerful assistant, suggesting contextually grounded captions that professional journalists then verify and refine for publication.

Conclusion

This research demonstrates that providing targeted, entity-based context is the most effective way to generate news-accurate image captions. By leveraging the strengths of both specialized image captioners and powerful language models, or through emerging multimodal architectures, AI can significantly assist in the complex task of journalistic storytelling.

Summary updated

BibTeX
@inproceedings{anagnostopoulou2024enhancing,
  author = {Aliki Anagnostopoulou and Thiago S. Gouvêa and Daniel Sonntag},
  title = {{Enhancing Journalism with AI: A Study of Contextualized Image Captioning for News Articles using LLMs and LMMs}},
  booktitle = {TIDMwFM @ IJCAI},
  year = {2024},
  url = {https://openreview.net/forum?id=L6OosgRO0K},
}
Figure