NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-Modal Knowledge Graph Transformer Framework for Multi-Modal Entity Alignment

Qian Li, Cheng Ji, Shu Guo, Zhaoji Liang, Lihong Wang, Jianxin Li

Abstract

Multi-Modal Entity Alignment (MMEA) is a critical task that aims to identify equivalent entity pairs across multi-modal knowledge graphs (MMKGs). However, this task faces challenges due to the presence of different types of information, including neighboring entities, multi-modal attributes, and entity types. Directly incorporating the above information (e.g., concatenation or attention) can lead to an unaligned information space. To address these challenges, we propose a novel MMEA transformer, called MoAlign (also referred to as Meaformer), that hierarchically introduces neighbor features, multi-modal attributes, and entity types to enhance the alignment task. Taking advantage of the transformer's ability to better integrate multiple information, we design a hierarchical modifiable self-attention block in a transformer encoder to preserve the unique semantics of different information. Furthermore, we design two entity-type prefix injection methods to redintegrate entity-type information using type prefixes, which help to restrict the global information of entities not present in the MMKGs.

Introduction: The Challenge of Multi-Modal Alignment

In the domain of Knowledge Graphs (KGs), Entity Alignment (EA) is the process of identifying identical entities across disparate databases—for instance, recognizing that "Apple Inc." in one graph is the same as "Apple" in another. This task is significantly more complex in Multi-Modal Knowledge Graphs (MMKGs), which augment relational data with images and textual descriptions.

Ambiguity in MMKGs: The entity 'Ruby' can represent a programming language or a mineral depending on the graph context.

The authors identify three primary hurdles in MMEA:

  1. Heterogeneity: Simple concatenation of text and image embeddings often fails to create a unified semantic space, leading to "misaligned" information.
  2. Ambiguity: Entities with identical names (e.g., "Ruby") may belong to entirely different categories (e.g., software vs. minerals), as illustrated in Figure 1.
  3. Incomplete Data: Real-world entities often lack specific modalities, such as missing images or descriptions, which standard models struggle to handle.

The MoAlign Framework

To overcome these issues, the researchers developed MoAlign, a framework centered on a specialized Transformer encoder that processes information hierarchically to maintain semantic integrity.

The MoAlign Architecture: Illustrating the Hierarchical Modifiable Self-Attention (HMSA) block and the Prefix-Injected Self-Attention Mechanism.

1. Hierarchical Modifiable Self-Attention (HMSA)

Rather than processing all modalities simultaneously, MoAlign introduces data in stages: Neighbor Attention (graph structure), followed by Textual Attention, and finally Visual Attention. This "modifiable" mechanism uses fusion masks to handle missing attributes, ensuring the model does not attend to "empty" or null data points.

2. Entity-Type Prefix Injection

Inspired by prompt engineering in large language models, MoAlign injects entity-type prefixes (e.g., "Person," "Software") into the attention mechanism and feed-forward networks. This acts as a semantic anchor, restricting the global search space to relevant categories and significantly reducing alignment errors caused by name ambiguity.

3. Dual Positional Encoding

The model utilizes Modality Encoding to help the Transformer distinguish between different data types (text, image, entity) and Structure Encoding to capture the relative topology of neighboring entities within the graph.

Experimental Evaluation

MoAlign was evaluated on two standard benchmarks: FB15K-DB15K (Freebase to DBpedia) and FB15K-YAGO15K (Freebase to YAGO). Testing across various training "seed" ratios (20%, 50%, and 80%) demonstrated the model's robustness under varying levels of supervision.

Key Results

  • State-of-the-Art Performance: MoAlign achieved superior results across nearly all metrics. On the FB15K-DB15K (80% split), it reached a Mean Reciprocal Rank (MRR) of 77.3 and a Hits@1 of 69.9%, outperforming previous leaders like ACK-MMEA by approximately 2%.
  • Robustness to Noise: The model showed higher tolerance to "interference data" (randomly perturbed neighbors or attributes) compared to baseline models, suggesting the hierarchical structure effectively filters noise.
  • Ablation Insights: Removing the type-prefix injection or the modifiable attention layers resulted in a performance drop of 2.4% to 3.0%, confirming that these specific architectural choices are critical to the model's success.

Conclusion

MoAlign demonstrates that a hierarchical approach to multi-modal fusion, combined with semantic type-prefixing, effectively addresses the core challenges of heterogeneity and ambiguity in entity alignment. While computationally intensive, the framework sets a new standard for accuracy and robustness in multi-modal knowledge graph integration.

Summary updated

BibTeX
@inproceedings{li2023multi,
  author = {Qian Li and Cheng Ji and Shu Guo and Zhaoji Liang and Lihong Wang and Jianxin Li},
  title = {{Multi-Modal Knowledge Graph Transformer Framework for Multi-Modal Entity Alignment}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=xzveggFhiQ},
}
Figure