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

TransAlign: Fully Automatic and Effective Entity Alignment for Knowledge Graphs

Rui Zhang, Xiaoyan Zhao, Bayu Distiawan Trisedya, Min Yang, Hong Cheng, Jianzhong QiarXiv 2022 · DOI

Abstract

Entity alignment (EA) is a critical task for integrating heterogeneous knowledge graphs (KGs). Traditional EA methods rely heavily on manually labeled seed alignments, which are labor-intensive and difficult to scale. We present TransAlign, a fully automatic EA framework that eliminates the need for human intervention. By jointly learning from predicate proximity, character-level attribute embeddings, and graph structure, TransAlign achieves state-of-the-art performance on large-scale benchmarks, outperforming even semi-supervised methods that utilize significant human-provided seeds.

Introduction

Knowledge Graphs (KGs) such as DBpedia, Wikidata, and Yago provide structured representations of world knowledge. However, these graphs often contain overlapping information under different identifiers. Entity Alignment (EA) aims to identify these equivalent entities across different KGs to create a unified, more comprehensive resource.

Example of entity alignment across different knowledge graphs.

The primary challenge in modern EA is the reliance on seed alignments—a small set of pre-aligned entity pairs used to train mapping models. Generating these seeds is expensive and limits the applicability of EA to new or niche domains. TransAlign addresses this by proposing a "seedless" pipeline that leverages the inherent information within the KGs themselves to bootstrap the alignment process.

Methodology

TransAlign employs a joint learning framework consisting of three specialized modules designed to capture different facets of entity similarity.

The TransAlign architecture, featuring Predicate, Attribute, and Structure Embedding modules.

1. Predicate Embedding Module

Instead of aligning entities directly, this module focuses on aligning predicates (relationships). It constructs a "predicate-proximity-graph" based on the types of entities a predicate connects. For instance, if two predicates in different KGs both connect entities of type "Village" to "Country," they are likely semantically equivalent (e.g., lgd:is_in and dbp:located_in). This allows the system to align the schema of the KGs automatically.

2. Attribute Embedding Module

Attributes (names, dates, coordinates) serve as the "Rosetta Stone" for seedless alignment. While entity IDs are arbitrary, their literal values are often identical or highly similar across graphs. TransAlign uses N-gram or LSTM-based encoders to transform these strings into a shared vector space. This enables the model to recognize that "Kromsdorf" in one graph corresponds to "Kromsdorf" in another based purely on textual content.

3. Structure Embedding Module

Building on the TransE algorithm, this module learns the structural topology of each KG. To improve accuracy, TransAlign introduces a weighting mechanism that prioritizes triples involving predicates already aligned by the Predicate Embedding Module. This focuses the learning process on high-confidence structural patterns, reducing the impact of noise.

Evaluation and Results

The framework was evaluated on the DWY-NB benchmark, which includes large-scale mappings between DBpedia, Wikidata, and Yago. This dataset is particularly challenging because over 36% of aligned entities have different names, requiring more than simple string matching.

Key findings include:

  • High Accuracy: TransAlign-A (the attention-based variant) achieved a Hits@10 of 96.91% on the DW-NB dataset.
  • Seedless Superiority: TransAlign outperformed state-of-the-art baseline methods like MultiKE, even when those baselines were provided with 30% of the alignment seeds as training data.
  • Robustness: In ablation studies, the authors found that the N-gram compositional function was the most effective at capturing string similarity, outperforming simpler summation or LSTM approaches.

Conclusion

TransAlign demonstrates that fully automatic entity alignment is not only possible but can exceed the performance of traditional human-in-the-loop methods. By effectively combining predicate semantics, literal attribute values, and graph structure, it provides a scalable solution for KG integration. Future work will explore more advanced graph architectures, such as Graph Neural Networks (GNNs), and multi-hop reasoning to further enhance alignment in sparse data scenarios.

Summary updated

BibTeX
@misc{zhang2022transalign,
  author = {Rui Zhang and Xiaoyan Zhao and Bayu Distiawan Trisedya and Min Yang and Hong Cheng and Jianzhong Qi},
  title = {{TransAlign: Fully Automatic and Effective Entity Alignment for Knowledge Graphs}},
  year = {2022},
  eprint = {2210.08540},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.08540},
}
Figure