Entity recognition based on heterogeneous graph reasoning of visual region and text candidate

Xinzhi Wang, Nengjun Zhu, Jiahao Li, Yudong Chang, Zhennan Li

Introduction

In the field of Information Extraction, Named Entity Recognition (NER) is a fundamental task. However, as data becomes increasingly multimodal—incorporating social media posts with images or news articles with photo galleries—traditional text-only models often struggle. The paper "Entity recognition based on heterogeneous graph reasoning of visual region and text candidate" proposes a novel approach called Heterogeneous Graph Reasoning (HGR) to address semantic ambiguity by enabling effective communication between textual and visual modalities.

The Challenge of Multimodal NER

Existing Multimodal NER (MNER) methods face two primary obstacles:

  1. Semantic Disparity: Text and images exist in different feature spaces, making direct alignment difficult.
  2. Visual Noise: Not all parts of an image are relevant to the text. Irrelevant background objects (e.g., a house in a photo of a ship) can introduce noise that degrades model performance.

The HGR framework aims to bridge this gap by mining "pair projections" between specific text entities and corresponding image objects through a unified graph structure.

The HGR Framework

The HGR model consists of four integrated modules designed to refine features and perform cross-modal reasoning.

The HGR framework architecture, illustrating the pipeline from feature encoding to heterogeneous graph reasoning and final decoding.

1. Feature Encoding and Vision Refinement

The process begins with a Feature Encoder using a Transformer for text and ResNet-101 for images. To handle articles with multiple images, the Vision Refine module utilizes CLIP-based similarity to select the most relevant image, filtering out irrelevant content.

2. Graph Construction and Fusion

The model builds two separate graphs: a Token Graph for text and a Region Graph for image segments. In the Graph Fusion stage, text nodes are linked to image nodes if their semantic similarity exceeds a predefined threshold.

3. Region Refinement and Cross Inference

A critical innovation is the Region Refine unit, which uses Graph Attention Networks (GAT) to identify and discard image regions that do not contribute to the overall meaning. Following this, Cross Inference propagates information across the heterogeneous graph, allowing text nodes to attend to non-adjacent visual nodes, thereby enriching their context.

4. Decoding

Finally, a CRF Decoder layer ensures that the predicted entity labels follow logical sequences (e.g., ensuring an "I-PERSON" tag follows a "B-PERSON" tag).

Experimental Evaluation

The HGR model was evaluated on four diverse datasets: USV (technical Chinese), NEWS (journalism Chinese), and the standard Twitter-2015 and Twitter-2017 English benchmarks.

Key Results

HGR achieved state-of-the-art (SOTA) results across all benchmarks. Notably, it outperformed text-only BERT-CRF models by 12.49% in F1-score on the USV dataset, demonstrating the immense value of visual cues in domain-specific contexts. Compared to previous SOTA multimodal models, HGR showed improvements ranging from +0.12% to +1.55% in F1-score.

Visual Disambiguation

A practical example of HGR's effectiveness is its ability to distinguish between entity types based on fine-grained visual cues. For instance, while a standard model might misidentify "ASKO" as a ship because the text appears on a hull, HGR correctly classifies it as an Organization (ORG) by aligning the company's logo on the hull with the textual candidate.

Conclusion

The HGR framework demonstrates that simply concatenating visual features is insufficient for robust MNER. By treating the task as a graph reasoning problem and actively pruning visual noise, the model captures complex, non-linear relationships between modalities. Future work may extend this approach to include other modalities like audio or structured data, further pushing the boundaries of multimodal understanding.

Summary updated

BibTeX
@inproceedings{wang2024entity,
  author = {Xinzhi Wang and Nengjun Zhu and Jiahao Li and Yudong Chang and Zhennan Li},
  title = {{Entity recognition based on heterogeneous graph reasoning of visual region and text candidate}},
  booktitle = {Machine},
  year = {2024},
  doi = {10.1007/s10994-023-06456-0},
}
Figure