Can images help recognize entities? A study of the role of images for Multimodal NER

Shuguang Chen, Gustavo Aguilar, Leonardo Neves, Thamar Solorio

Abstract

While integrating visual data into Named Entity Recognition (NER) appears intuitive, raw pixels often introduce noise rather than clarity. This study investigates Multimodal NER (MNER) in the context of social media, revealing that converting images into semantically dense captions is a superior strategy for boosting performance. This approach is particularly effective in "low-context" scenarios, such as short social media posts, where textual information is sparse.

The Challenges of Multimodal NER

Named Entity Recognition (NER) involves identifying and categorizing entities like people, locations, or organizations within text. On social media, text is frequently accompanied by images, leading to the development of Multimodal NER (MNER). However, current MNER research faces two significant hurdles:

  1. The Alignment Assumption: Models often assume perfect alignment between text and images. In practice, users frequently post images that are abstract, ironic, or only tangentially related, which can mislead a model.
  2. The Semantic Gap: There is a fundamental mismatch in semantic density. Named entities are highly specific (e.g., "Justin Trudeau"), whereas standard visual features extracted by models like ResNet are generic (e.g., "man," "suit"). Bridging this gap is a primary challenge for neural architectures.

Methodology: From Pixels to Captions

The researchers compared various image representations and fusion modules to determine the most effective way to integrate visual signals.

Image Representations

  • Global Features: Representations of the entire image via ResNet.
  • Regional Features: Features from specific objects detected using Faster-RCNN.
  • Image Captions: Utilizing a pre-trained model (BUTD) to generate text descriptions. This method effectively translates visual data into the same "semantic language" as the NER task.

Model Architectures and Fusion

Using BERT as a unimodal baseline and VisualBERT as a multimodal baseline, the study tested four fusion modules: Concatenation (CM), Visual Attention (VAM), Co-Attention (CAM), and Transformer Attention (TAM). Interestingly, the study found that simple concatenation often outperformed more complex attention mechanisms, suggesting that current fusion techniques struggle to filter out visual noise when images are not perfectly relevant.

The Power of Captions

The study's most significant finding is that representing images as captions outperforms raw visual features. Captions provide specific labels that are easier for the model to link to entities, effectively bridging the semantic gap.

Comparison of generated vs. crafted captions and their impact on entity prediction.

As shown in the figure above, the quality of the caption directly impacts prediction accuracy. When "crafted" (manually corrected) captions are used, the model can correctly identify entities that were missed or misidentified with standard generated captions. This highlights that the current bottleneck in MNER is often the quality of the initial image-to-text translation.

Key Insights and Results

  • The "Crutch" Effect: Images are most beneficial when text is short and ambiguous. For sentences with fewer than seven words, multimodal models significantly outperformed text-only baselines. As text length increases, the relative value of the image context diminishes.
  • State-of-the-Art Performance: On the Twitter-2017 benchmark, a BERT + CRF + Captions model achieved an F1 score of 86.82, surpassing more complex multimodal fusion methods.
  • Snapchat Dataset: The authors introduced a new Snapchat dataset characterized by extremely short text (averaging 37 characters). On this "hard mode" dataset, adding captions improved the F1 score by over 1%, proving visual signals are vital when text is sparse.
  • The Generalization Wall: Despite improvements, models still struggle with "unseen" entities not present in the training set. Images currently assist with disambiguation but do not yet enable models to generalize to entirely new concepts.

Conclusion and Future Directions

The reliance on pre-trained captioning models means MNER systems are currently limited by the captioner's accuracy. If a captioner misses a critical detail, the NER model remains uninformed. Future work should focus on developing models that better handle the inherent noise of social media and creating more robust methods to bridge the gap between specific named entities and general visual objects.

Summary updated

BibTeX
@inproceedings{chen2021can,
  author = {Shuguang Chen and Gustavo Aguilar and Leonardo Neves and Thamar Solorio},
  title = {{Can images help recognize entities? A study of the role of images for Multimodal NER}},
  booktitle = {W-NUT},
  year = {2021},
  doi = {10.18653/v1/2021.wnut-1.11},
}
Figure