Beyond entity alignment: Towards complete knowledge graph alignment via entity-relation synergy

Xiaohan Fang, Chaozhuo Li, Yi Zhao, Qian Zang, Litian Zhang, Jiquan Peng, Xi Zhang, Jibing Gong

TL;DR

Researchers have developed EREM, a novel framework that treats Knowledge Graph Alignment (KGA) as a dual task of aligning both entities and relations simultaneously. By using an Expectation-Maximization (EM) approach, the model allows entity and relation alignment to mutually reinforce each other, significantly boosting performance across multiple benchmarks and even enhancing state-of-the-art Large Language Models (LLMs).

What Problem Does This Paper Address?

Knowledge Graphs (KGs) store facts as triples: (head entity, relation, tail entity)—for example, (Napoleon, father of, Napoleon II). When we have two different KGs (like a Chinese version and an English version), we want to "align" them to create a single, comprehensive source of truth.

Traditionally, researchers have focused almost exclusively on Entity Alignment (EA)—finding out that "Napoleon" in Graph A is the same as "Napoléon" in Graph B. However, they often ignore Relation Alignment (RA)—confirming that the "father of" relationship in one graph matches "père de" in another.

The authors argue that this is a missed opportunity. Relations carry deep semantic meaning; if you know two entities are father and son, and you see a specific relation connecting them in both graphs, that relation is almost certainly the same. Conversely, knowing the relations are identical helps verify the entities. Ignoring this synergy leads to incomplete and sometimes erroneous graph integration.

Methods

The authors propose EREM (Expectation-Maximization-based model), which decomposes KGA into two highly correlated sub-tasks. The core of the method is a "virtuous cycle" optimized via a variational EM framework:

  1. The E-step (Entity Matching): The model optimizes entity alignment using "relation anchors" (already matched relations) learned in the previous step. It treats alignment as an Optimal Transport (OT) problem, solved efficiently using the Sinkhorn algorithm to find the most cost-effective global mapping between entities.
  2. The M-step (Relation Matching): The model then optimizes relation alignment by leveraging the "entity anchors" predicted in the E-step.
  3. Knowledge Graph Transformation (KGT): To help the model understand relations better, the authors transform the KG into an "R-KG," where relations become nodes and entities become the edges. This allows standard graph algorithms to capture the global context of how relations are used.
  4. Hybrid Embeddings: The system is flexible; it can use traditional Knowledge Graph Embeddings (like RotatE or GCNAlign) or modern text-based embeddings (like BERT or LaBSE).

Datasets

The study uses the DBP15K dataset, a standard benchmark containing three cross-lingual subsets:

  • ZH-EN (Chinese-English)
  • JA-EN (Japanese-English)
  • FR-EN (French-English)

Crucially, because existing datasets lacked ground-truth data for relations, the authors manually labeled relation alignment pairs for these datasets to validate their RA performance.

Key Insights and Ideas

  • Mutual Reinforcement: The most important insight is that EA and RA are not independent. High-quality entity anchors act as "constraints" that make relation matching easier, and vice versa.
  • The "Repair" Effect: The iterative EM process actually fixes errors. An entity that might look similar to many others (a "hub" node) can be correctly disambiguated once the model realizes its connecting relations only match one specific target.
  • LLM Integration: The authors show that EREM can be used as a "plug-in" for Large Language Models. By using a Chain-of-Thought (CoT) prompting strategy, they can use an LLM to "rethink" and correct alignments based on the structural evidence provided by the EM process.

Key Results

EREM demonstrated impressive gains across the board:

  • Massive Boosts for Older Models: When applied to foundational models like KECG or GCNAlign, EREM improved average Hits@1 (accuracy) by over 33%.
  • Setting New SOTAs: EREM improved upon the strongest existing baselines (like FGWEA and BERT-INT) by 0.1% to 2.9%, showing that even the best models benefit from considering relation synergy.
  • Relation Alignment Success: In the newly defined RA task, EREM improved relation matching accuracy for some models by as much as 17%.
  • Efficiency: Despite the iterative nature, the model is relatively fast. For example, adding EREM to the BootEA model only added about 21 minutes of training time while increasing performance by 28%.

Limitations and Future Work

While powerful, the authors note a few hurdles:

  • Base Model Sensitivity: EREM is an optimization framework; if the underlying embedding model (the "base") is very poor, EREM's ability to recover is limited.
  • Computational Resources: While faster than some methods, the Sinkhorn algorithm and iterative loops still require significant GPU memory, which might make it difficult to scale to "million-node" graphs without further optimization.
  • Dangling Entities: The current model assumes most entities have a match. It does not yet specifically address "dangling" entities or relations—those that exist in one graph but have no equivalent in the other.

Summary updated

BibTeX
@article{fang2025beyond,
  author = {Xiaohan Fang and Chaozhuo Li and Yi Zhao and Qian Zang and Litian Zhang and Jiquan Peng and Xi Zhang and Jibing Gong},
  title = {{Beyond entity alignment: Towards complete knowledge graph alignment via entity-relation synergy}},
  journal = {Expert Systems with Applications},
  year = {2025},
  doi = {10.1016/j.eswa.2025.128698},
}

Loading related content...

Figure