Image Captioning in news report scenario

Tianrui Liu, Qi Cai, Changxin Xu, Bo Hong, Jize Xiong, Yuxin Qiao, Tsungwei YangarXiv 2024 · DOI

Introduction

General-purpose image captioning models have achieved significant success in describing scenes and actions. However, in the specialized domain of news reporting, these models often fall short. A standard model might identify "a man in a suit speaking at a podium," but for a journalist, the identity of that man—for instance, Barack Obama—is the most critical piece of information. This "identity gap" renders generic captions practically useless for professional newsroom workflows.

This paper proposes a "celebrity-aware" image captioning pipeline designed to bridge the gap between general scene understanding and specific identity recognition. By modularizing the process, the system transforms generic descriptions into contextually rich, news-ready captions.

Proposed Pipeline

The authors move away from a monolithic end-to-end architecture in favor of a three-step modular pipeline.

Overview of the celebrity-aware image captioning pipeline.

1. Generic Image Captioning

The first stage generates a "name-less" caption. The encoder utilizes a ResNet-50 architecture (with the final pooling layers removed) to extract high-level visual features. These features are passed to a Long Short-Term Memory (LSTM) decoder equipped with Bahdanau attention, which generates a descriptive sentence like "a person in a suit shaking hands with another person."

2. Face Recognition

Simultaneously, a dedicated facial recognition branch processes the image. It employs MTCNN (Multi-task Cascaded Convolutional Networks) for robust face detection and bounding box generation. Detected faces are then classified using an Inception_v1 model pretrained on the VGGFace2 dataset to identify specific individuals.

3. Noun Phrase (NP) Chunk Matching

The final stage involves "stitching" the identity information into the generated text. Using NLP tools such as NLTK and spaCy, the system parses the generic caption to identify people-related noun phrases (e.g., "the man," "a woman"). A rule-based engine then replaces these generic chunks with the names identified by the face recognition module.

Datasets and Training

To ensure robust performance across different tasks, the researchers utilized several standard benchmarks:

  • Flickr 8k/30k & COCO Captions: These datasets, containing millions of human-annotated captions, were used to train the base captioning model's descriptive capabilities.
  • VGGFace2: This large-scale identity database provided the foundation for the facial recognition component.

Key Insights: Decoupling Identity from Action

A primary advantage of this modular approach is the decoupling of action recognition from identity recognition. This flexibility allows news organizations to update their celebrity database (e.g., adding new political figures) without the need to retrain the computationally expensive image captioning model.

The noun phrase replacement process.

However, this decoupling introduces an alignment challenge. In images featuring multiple people, the system must correctly map specific names to the correct noun phrases in the text. While the authors explored using attention matrices for this mapping, they found that standard attention often lacks the precision required for perfect alignment, necessitating the use of linguistic "NP chunking" and rule-based refinement to maintain grammatical stability.

Results and Future Directions

The proposed pipeline achieves an accuracy of over 90% in simple scenarios involving clear faces and straightforward actions. This demonstrates that combining specialized deep learning networks can outperform general-purpose models for niche, high-stakes applications like journalism.

Despite these results, limitations remain. The authors note that the system can struggle when the sequence of people mentioned in a caption does not match their physical positions in the frame. Future work includes exploring more powerful linguistic decoders like BERT, implementing joint training strategies to improve identity-to-object mapping, and utilizing multi-modal models like CLIP for more fluid integration of visual and textual features.

Summary updated

BibTeX
@misc{liu2024image,
  author = {Tianrui Liu and Qi Cai and Changxin Xu and Bo Hong and Jize Xiong and Yuxin Qiao and Tsungwei Yang},
  title = {{Image Captioning in news report scenario}},
  year = {2024},
  eprint = {2403.16209},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.16209},
}
Figure