MEAformer: Multi-modal Entity Alignment Transformer for Meta Modality Hybrid

Zhuo Chen, Jiaoyan Chen, Wen Zhang, Lingbing Guo, Yin Fang, Yufeng Huang, Yichi Zhang, Yuxia Geng, Jeff Z. Pan, Wenting Song, Huajun Chen

TL;DR

This paper introduces MEAformer, a novel transformer-based approach for multi-modal entity alignment (MMEA) that dynamically learns entity-specific modality fusion weights. By moving beyond static, KG-level fusion, MEAformer achieves state-of-the-art performance across various MMEA scenarios, demonstrating improved robustness and efficiency.

What Problem Does This Paper Address?

Entity alignment (EA) is crucial for integrating knowledge graphs (KGs) by identifying equivalent entities across different KGs. Multi-modal entity alignment (MMEA) extends this by incorporating visual information (images) associated with entities. However, existing MMEA methods typically fuse modalities at the KG level, treating all entities similarly. This approach is brittle, as it fails to account for individual entities' varying preferences for different modalities (e.g., some entities might be better represented by images, others by textual attributes or relations) and their susceptibility to noise (e.g., blurry images, incomplete relations). This limitation compromises robustness and alignment accuracy.

Methods

MEAformer tackles this by introducing a Meta Modality Hybrid (MMH) module that dynamically predicts entity-level modality weights. The core of this is the Dynamic Cross-modal Weighted (DCMW) module, which leverages a transformer architecture with multi-head cross-modal attention (MHCA).

Here's a breakdown of the key components:

  • Multi-modal Knowledge Embedding: Entities are first embedded into low-dimensional vectors. This involves:
  • Graph Neighborhood Structure Embedding: Using a Graph Attention Network (GAT) to capture relational structure.
  • Modality-Specific Embeddings: Separate fully connected layers for relation, attribute, and visual modalities. For visual features, pre-trained models are used.
  • Meta Modality Hybrid (MMH): This module dynamically fuses the modality embeddings.
  • Dynamic Cross-modal Weighted (DCMW): This is the heart of MEAformer. It uses MHCA to compute attention weights between different modalities for each entity. These weights are then used to create a weighted sum of modality embeddings, effectively creating an entity-specific "meta modality" representation.
  • Modality Fusion: The weighted modality embeddings are fused (late fusion is used for evaluation) to produce a final entity representation.
  • Modal-adaptive Contrastive Learning: To improve performance with limited seed alignments, the authors employ contrastive learning. This includes:
  • Intra-modal Contrastive Loss (LICL): Encourages alignment within each modality.
  • Late Intra-modal Contrastive Loss (LLICL): Promotes complementarity among modalities.
  • Modal-aware Hard Entity Replay (MERP): An optional technique to further improve performance on difficult entity pairs by actively searching for hard negatives.

Datasets

The paper evaluates MEAformer on several standard MMEA benchmarks:

  • Bilingual Datasets:
    • DBP15K: Consists of three language pairs (ZH-EN, JA-EN, FR-EN), derived from multilingual DBpedia. These datasets include entities, relations, attributes, and images, with a fixed percentage of pre-aligned entity pairs for training.
  • Monolingual Datasets:
    • FB15K-DB15K (FBDB15K) and FB15K-YAGO15K (FBYG15K): These datasets are derived from MMKG, also featuring multi-modal information.

Key Insights and Ideas

  • Entity-Level Modality Fusion is Crucial: The core insight is that static, KG-level modality fusion is insufficient. MEAformer's success highlights the importance of dynamically adapting modality weights to individual entities, recognizing that different entities have different "personalities" regarding their reliance on visual, relational, or attribute information.
  • Transformer Architecture for Cross-Modal Interaction: The use of MHCA within the DCMW module effectively captures the complex interdependencies between modalities for each entity, allowing for a more nuanced fusion.
  • Robustness to Noise and Ambiguity: By learning adaptive weights, MEAformer is inherently more robust to noisy or ambiguous modalities, as it can down-weight less reliable information for a given entity.
  • Efficiency and Parameter Count: Despite its advanced capabilities, MEAformer achieves competitive or superior performance with a limited number of learnable parameters, making it computationally efficient.
  • Interpretability through Meta Weights: The learned meta modality weights offer a degree of interpretability, showing which modalities are prioritized for specific entities (as illustrated in Figure 1).

Key Results

MEAformer consistently achieves state-of-the-art (SOTA) performance across various MMEA scenarios:

  • Supervised, Unsupervised, Iterative, and Low-Resource Settings: The model demonstrates strong results across all these settings, outperforming existing baselines.
  • Bilingual Datasets (DBP15K): MEAformer achieves significant improvements, for example, boosting Hits@1 scores by 5-6% on average compared to previous SOTA methods.
  • Monolingual Datasets (FBDB15K/FBYG15K): Similar gains are observed, with improvements of 3-11% in Hits@1.
  • Low Resource Settings: MEAformer shows remarkable stability and performance even with very few seed alignments (e.g., achieving .392 Hits@1 with only 1% seed alignments on DBP15KFR-EN).
  • Efficiency: The model exhibits efficient training progress and a favorable trade-off between convergence time and performance.
  • Parameter Count: MEAformer maintains a comparable or even lower parameter count (around 14M) than many strong baselines.

Limitations and Future Work

  • Missing Modality Handling: The authors acknowledge that the frequent absence of visual modality in real-world MMEA is a challenge. Their future work will focus on improving the handling of missing visual modality to boost alignment performance and scope.
  • FFN Role in Monolingual Datasets: While the FFN plays a crucial role in bilingual datasets, its performance improvement is less pronounced in monolingual datasets, suggesting potential for further optimization in those scenarios.
  • MERP Policy Applicability: The MERP policy is noted as an optional technique that can further boost performance but is not applied during iterative or unsupervised training to avoid potential noise amplification.
  • Parameter Scaling: The paper mentions discussing parameter scaling ability in the appendix, suggesting that further exploration of MEAformer's scalability with varying model sizes could be beneficial.

Summary updated

BibTeX
@inproceedings{chen2023meaformer,
  author = {Zhuo Chen and Jiaoyan Chen and Wen Zhang and Lingbing Guo and Yin Fang and Yufeng Huang and Yichi Zhang and Yuxia Geng and Jeff Z. Pan and Wenting Song and Huajun Chen},
  title = {{MEAformer: Multi-modal Entity Alignment Transformer for Meta Modality Hybrid}},
  booktitle = {ACM Multimedia},
  year = {2023},
  doi = {10.1145/3581783.3611786},
}
Figure