Abstract
Multi-Modal Relation Extraction (MMRE) aims to identify relationships between entities using both textual and visual information. Traditional models often struggle with the ambiguity and complex high-order correlations inherent in multi-modal data, particularly when a single context contains multiple overlapping entity pairs. This paper introduces the Variational Multi-Modal Hypergraph Attention Network (VM-HAN), which leverages hypergraphs to model high-order connections and variational modeling to represent entity features as probability distributions. VM-HAN achieves state-of-the-art performance on the MNRE and MORE benchmarks while maintaining high computational efficiency.
Introduction
The task of Relation Extraction (RE) involves identifying the semantic relationship between entity pairs in text. In the multi-modal setting (MMRE), this task is enriched with visual data. However, existing approaches often fail to distinguish between multiple entity pairs within the same sentence-image context. For instance, a social media post featuring an award ceremony might mention several individuals; a model must accurately associate specific visual cues with the correct textual entity pair to avoid "confusion" caused by identical global contexts for every pair.
Methods
The VM-HAN framework addresses these challenges through two primary innovations:
1. Multi-Modal Hypergraph Construction
Hypergraphs are utilized to capture complex relationships where a single hyperedge can connect any number of nodes, unlike standard graphs that only connect pairs. Nodes represent textual entities (extracted via Llama3) and visual objects (identified via LLaVa and YOLOv3). Hyperedges are categorized into three types:
- Global: Connecting all nodes in the sample.
- Intra-modal: Connecting nodes within the same modality (text-only or image-only).
- Inter-modal: Linking specific textual entities to their relevant visual objects.
2. Variational Hypergraph Attention (V-HAN)
To account for uncertainty and polysemy, nodes are represented as Gaussian distributions (defined by a mean and variance) rather than fixed vectors. The mean captures core semantic features, while the variance represents the uncertainty or diversity of the relationship. An attention mechanism dynamically updates these distributions, allowing the model to focus on the most relevant connections while explicitly modeling data ambiguity.
Experimental Results
Evaluation on the MNRE and MORE datasets demonstrates that VM-HAN outperforms previous state-of-the-art models:
- MNRE Dataset: VM-HAN improved the F1 score by 1.73% over the previous best model.
- MORE Dataset: On this more challenging benchmark, the model saw a significant jump of 2.01% in F1 score.
- Efficiency: Despite the structural complexity of hypergraphs, VM-HAN demonstrated substantially reduced training times compared to heavy BERT-based alignment models like MEGA or HVPNet, making it more viable for real-world deployment.
Conclusion
VM-HAN effectively models high-order correlations and uncertainty in MMRE by combining hypergraph structures with variational inference. While the model currently relies on external pre-processing tools for node selection, its success highlights the potential of variational hypergraph networks for complex multi-modal tasks. Future work will explore scaling these methods to long-form content and improving robustness against contradictory multi-modal signals.
Summary updated