Learning Implicit Entity-object Relations by Bidirectional Generative Alignment for Multimodal NER

Feng Chen, Jiajia Liu, Kaixiang Ji, Wang Ren, Jian Wang, Jingdong WangACM Multimedia 2023

TL;DR

This paper introduces BGA-MNER, a novel approach for multimodal named entity recognition (MNER) that tackles the challenge of aligning implicit entity-object relationships between text and images. By employing a bidirectional generative alignment strategy, BGA-MNER effectively bridges the semantic gap and achieves state-of-the-art performance, even without requiring image input during inference.

What Problem Does This Paper Address?

Multimodal Named Entity Recognition (MNER) aims to identify named entities within text, leveraging accompanying images to improve accuracy, especially for ambiguous or out-of-vocabulary terms. However, MNER faces two primary challenges: bridging the semantic gap between text and images, and accurately matching entities to their corresponding objects in images. Existing methods often struggle with implicit entity-object relations, where the connection isn't explicitly stated and requires deeper contextual understanding. This is particularly problematic with social media data, where entities might refer to people, places, or organizations, and their visual counterparts can be subtle or indirect. Current approaches often rely on attention mechanisms or external knowledge, but they still fall short in directly capturing these implicit relationships, leading to potential misclassifications.

Methods

The core innovation of BGA-MNER lies in its bidirectional generative alignment strategy. Instead of directly fusing features, it uses generative models to align modalities. The method comprises:

  • Stage-refined Context Sampler (SCS): This module intelligently prunes irrelevant content from both text and image pairs, focusing on the most semantically matched elements. This is crucial because real-world multimodal data often contains noisy or mismatched components that can hinder generation. SCS uses a recursive-refined approach to estimate token/patch masks.
  • Multi-level Cross-modal Generator (MCG): This component performs bidirectional generation. It takes entity-salient content from one modality (e.g., text) and generates corresponding pseudo-features for the other modality (e.g., image), and vice-versa. This generative process, guided by reconstruction and cycle-consistency losses (borrowed from CycleGAN), directly enforces alignment of implicit entity-object relations.
  • Feature Extractor and CRF Decoder: Standard Transformer-based feature extractors (initialized with pre-trained BERT and ViT) process the aligned features, and a Conditional Random Field (CRF) decoder performs the final sequence labeling for MNER.

A key advantage is that during inference, BGA-MNER can utilize the generated visual features, allowing it to operate effectively even with text-only input.

Datasets

The paper evaluates BGA-MNER on two publicly available multimodal Twitter datasets:

  • Twitter2015
  • Twitter2017

These datasets are characterized by social media posts containing text and associated images, making them representative of real-world MNER challenges.

Key Insights and Ideas

  • Generative Alignment as a Constraint: The paper argues that directly generating cross-modal content (image-to-text and text-to-image) provides a more powerful and direct constraint for learning implicit entity-object relationships than traditional attention mechanisms.
  • The Power of Implicit Relations: The work highlights that many MNER errors stem from failing to capture subtle, implicit connections between entities and their visual representations, especially when entities are proper nouns.
  • Noise Reduction is Crucial: The Stage-refined Context Sampler (SCS) is vital for practical application. By filtering out irrelevant or noisy cross-modal content, it significantly improves the quality of the generated features and the overall model performance.
  • Image-Free Inference is Practical: The ability to generate visual features during inference makes the model robust to missing image data, a common scenario in real-world applications. This also implies that the generated features can be more reliable than potentially noisy real visual features.

Key Results

BGA-MNER achieves state-of-the-art performance on both Twitter2015 and Twitter2017 datasets.

  • Overall F1 Scores: 76.31% on Twitter2015 and 87.71% on Twitter2017.
  • Outperforms Baselines: Significantly outperforms previous state-of-the-art methods, including attention-based, visual grounding-based, and knowledge-based approaches.
  • Image-Free Inference Advantage: Using generated visual features during inference yields a 1.2% improvement over using real visual features, demonstrating the effectiveness and robustness of the generated features.
  • Data Efficiency: BGA-MNER shows better data efficiency, performing well even with limited training samples.
  • Model Efficiency: The model is relatively lightweight, with negligible additional parameters from the SCS and MCG modules.

Limitations and Future Work

  • Limitations: The paper acknowledges that while SCS filters irrelevant content, the inherent noise in social media data can still pose challenges. The reliance on pre-trained models (BERT, ViT) means performance is also influenced by the quality of these pre-trained representations.
  • Future Work: The authors propose extending their bidirectional generative alignment framework to vision-and-language pretraining, aiming for a more unified structure than current two-stream designs. They also suggest exploring its application in other vision-language tasks.

Summary updated

BibTeX
@inproceedings{chen2023learning,
  author = {Feng Chen and Jiajia Liu and Kaixiang Ji and Wang Ren and Jian Wang and Jingdong Wang},
  title = {{Learning Implicit Entity-object Relations by Bidirectional Generative Alignment for Multimodal NER}},
  booktitle = {ACM Multimedia},
  year = {2023},
  url = {https://openreview.net/forum?id=6Nq8Ao-fTT},
}
Figure