An Effective Span-based Multimodal Named Entity Recognition with Consistent Cross-Modal Alignment

Yongxiu Xu, Hao Xu, Heyan Huang, Shiyao Cui, Minghao Tang, Longzheng Wang, Hongbo Xu

Introduction

Multimodal Named Entity Recognition (MNER) has emerged as a critical task for processing social media content, where short, informal text is frequently accompanied by images that provide essential context. While traditional NER focuses solely on textual cues, MNER leverages visual information to disambiguate entities. However, existing MNER models often struggle with "misalignment noise." This noise arises from two primary sources: the semantic gap between individual words and visual regions, and the presence of irrelevant background elements in images.

The Challenge of Misalignment

Most current MNER approaches rely on word-level sequence labeling. This method attempts to align individual tokens (e.g., "Adam" and "Levine") with image regions. However, named entities are often multi-word spans that represent a single semantic concept. Aligning these components separately is inherently inconsistent and introduces noise into the model. Furthermore, images often contain "visual fluff"—background details that do not relate to the textual entities, further complicating the alignment process.

Figure 2: Illustration of span-based alignment in a unified semantic space, demonstrating how aligning the full entity "Adam Levine" is more semantically consistent than aligning individual name components.

The SMNER Framework

To address these issues, we introduce SMNER (Span-based Multimodal NER). Unlike traditional models, SMNER treats MNER as a span classification problem, ensuring that complete semantic units are aligned with visual context. The architecture is divided into three functional stages:

1. Modal-specific Encoding

The framework utilizes a pretrained BERT-base model for text encoding and a ResNet-152 for image feature extraction. These unimodal encoders provide the foundational representations for subsequent cross-modal processing.

2. Cross-Modal Information Bottleneck (CMIB)

The CMIB module serves as a global alignment and denoising mechanism. Grounded in the Information Bottleneck principle, it compresses visual information to retain only the features most relevant to the text. By minimizing the Kullback-Leibler (KL) divergence between textual and visual semantic distributions, CMIB effectively filters out background noise, ensuring the model focuses on entity-related visual cues.

3. Cross-Modal Attention (CMA)

While CMIB handles global denoising, the CMA module focuses on local, fine-grained alignment. It employs multi-head attention to map specific text spans to corresponding image regions. This ensures that for a given multi-word entity, the model attends to the precise visual object it describes.

Figure 3: The SMNER architecture, highlighting the Cross-Modal Information Bottleneck (CMIB) for global denoising and the Cross-Modal Attention (CMA) for local span-to-region alignment.

Experimental Evaluation

SMNER was evaluated on the Twitter-2015 and Twitter-2017 benchmarks, which consist of informal tweets categorized into four entity types: Person (PER), Location (LOC), Organization (ORG), and Miscellaneous (MISC).

Performance and Efficiency

SMNER achieved state-of-the-art (SOTA) results, reaching an F1 score of 87.81 on the Twitter-2017 dataset. This performance surpasses both previous span-based models (like SMVAE) and complex word-based models (like HVPNet). Notably, SMNER is highly efficient; it maintains a smaller parameter footprint (169.89M) and operates nearly twice as fast as HVPNet during inference testing on the Twitter-2015 dataset.

Ablation Studies

Ablation experiments confirmed the necessity of both core modules. Removing either the CMIB (global denoising) or the CMA (local alignment) resulted in a significant performance decline, demonstrating that consistent alignment at both global and local levels is vital for robust MNER.

Conclusion and Future Work

SMNER demonstrates that shifting from word-based labeling to span-based classification significantly improves MNER by reducing misalignment noise. While the model excels in standard benchmarks, future work will focus on handling highly complex sentences with numerous entities and scenarios where modalities are partially missing. Integrating external knowledge bases could further enhance the model's reasoning capabilities in ambiguous contexts.

Summary updated

BibTeX
@inproceedings{xu2024effective,
  author = {Yongxiu Xu and Hao Xu and Heyan Huang and Shiyao Cui and Minghao Tang and Longzheng Wang and Hongbo Xu},
  title = {{An Effective Span-based Multimodal Named Entity Recognition with Consistent Cross-Modal Alignment}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
}
Figure