Knowing the No-match: Entity Alignment with Dangling Cases

Zequn Sun, Muhao Chen, Wei Hu

Abstract

Entity alignment (EA) typically assumes a closed-world scenario where every entity in a source knowledge graph (KG) has a counterpart in the target KG. However, real-world KGs often contain "dangling entities" that lack matches. This paper formalizes the dangling entity alignment task, introduces a large-scale dataset (DBP2.0), and proposes a multi-task framework that jointly learns entity alignment and dangling entity detection. By incorporating techniques like Marginal Ranking and Background Ranking, the proposed approach effectively identifies non-matchable entities while improving overall alignment accuracy.

Introduction

Knowledge Graphs (KGs) such as Wikidata and DBpedia serve as critical backbones for modern AI applications. Merging these siloed KGs through Entity Alignment (EA) is essential for creating a unified knowledge base. Traditional EA models operate under a "closed-world" assumption, presuming a 1-to-1 mapping for all entities. In practice, KGs vary in scope and coverage, leading to many entities being "dangling"—having no equivalent in the target graph.

Conceptual illustration of dangling entities in source and target knowledge graphs.

When forced to align these dangling entities, standard models produce incorrect matches, introducing noise into the merged KG. This research addresses this gap by treating dangling entity detection as a first-class citizen in the alignment process.

Methodology: A Multi-Task Framework

The authors propose a framework that optimizes for two concurrent objectives: finding matches for alignable entities and detecting those that should remain unlinked.

The proposed multi-task framework consisting of input, learning, and inference stages.

The framework introduces three primary detection strategies based on distance distributions in the embedding space:

  1. Nearest Neighbor (NN) Classification: Uses the distance to the closest target entity as a signal for a binary "match vs. dangling" classifier.
  2. Marginal Ranking (MR): A loss function that enforces a safety margin between dangling entities and any potential target matches.
  3. Background Ranking (BR): Treats dangling entities as a "background" class, pushing them away from randomly sampled target entities to isolate them in the embedding space without the overhead of exhaustive nearest-neighbor searches.

The DBP2.0 Dataset

Existing benchmarks often suffer from bias where dangling entities have lower connectivity (degree), making them artificially easy to detect. To provide a more rigorous evaluation, the authors developed DBP2.0. This large-scale dataset, covering Chinese-English (ZH-EN), Japanese-English (JA-EN), and French-English (FR-EN) pairs, ensures that matchable and dangling entities share similar degree distributions, reflecting real-world complexity.

Key Insights and Results

The study reveals that joint learning provides a mutual benefit: the dangling detection module doesn't just filter out bad matches; it actually improves the alignment of the remaining entities by creating a cleaner embedding space.

  • Detection Performance: The framework achieved F1 scores between 0.75 and 0.80 for dangling entity detection.
  • Alignment Accuracy: Adding Marginal Ranking improved Hits@1 scores for base models. For instance, on the ZH-EN dataset, adding MR improved MTransE's Hits@1 from 0.358 to 0.378.
  • Efficiency: Background Ranking proved to be a highly efficient alternative to NN-based methods, achieving superior results through random sampling.

Conclusion

"Knowing the no-match" is vital for reliable entity alignment. By formalizing the dangling entity problem and providing the DBP2.0 dataset, this work moves EA toward more realistic, open-world applications. Future research will explore more advanced abstention policies and the application of these techniques to cross-lingual relation extraction.

Summary updated

BibTeX
@inproceedings{sun2021knowing,
  author = {Zequn Sun and Muhao Chen and Wei Hu},
  title = {{Knowing the No-match: Entity Alignment with Dangling Cases}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.acl-long.278},
}
Figure