Aligned-entities-Based Fusion Embedding on Hetero-field Knowledge Graphs

Pengfeng Xiao, Chao Liu, Weijia Jia, Longjun DongData 2025

TL;DR

BlockEF (Block-building-like Embedding Fusion) is a new framework that merges knowledge graph embeddings from different domains (e.g., biology and chemistry) without retraining the entire combined graph from scratch. By treating shared entities as "rivets" to align two independent vector spaces and then fine-tuning the results, BlockEF reduces computational costs by approximately 70-80% while maintaining the predictive accuracy of traditional "brute-force" retraining methods.

What Problem Does This Paper Address?

Knowledge Graph (KG) embedding—the process of turning entities and relations into low-dimensional vectors—is essential for tasks like link prediction and recommendation systems. However, we often encounter "hetero-field" KGs: graphs from different domains that share only a handful of common entities.

The standard approach to fusing these graphs is to merge them into one giant "BigGraph" and retrain the embeddings from zero. This is incredibly inefficient because it ignores the high-quality embeddings already calculated for the individual graphs. The authors identify a "waste of work" problem: how can we fuse two disparate vector spaces into a unified one quickly, using only a few "aligned entities" as a bridge?

Methods

The authors propose BlockEF, which operates in two distinct phases:

  1. Conversion Fixation: Imagine two maps of different cities that share a few landmarks. Instead of redrawing both maps, you find a way to rotate and scale one map so those landmarks line up. BlockEF solves for an optimal mapping matrix ($M$) using a Hadamard product (element-wise multiplication) to transform the embedding space of Graph 1 into the space of Graph 2. It then "rivets" the shared entities together by forcing them to occupy the exact same coordinates.
  2. Fine-tuning Optimization: Simply aligning the shared points isn't enough; the surrounding structure of Graph 1 might be slightly distorted. To fix this, the model keeps Graph 2’s embeddings fixed and fine-tunes Graph 1’s non-aligned entities. Crucially, it uses global negative sampling, meaning when the model learns, it draws "fake" examples from the entire combined entity set. This allows information to flow between the two domains, ensuring the final unified space is cohesive.

The beauty of BlockEF is its versatility: it can be implemented on top of various base models like TransE, RotatE, or PairRE.

Datasets

To test the model, the authors used two gold-standard benchmarks:

  • WN18RR: A subset of WordNet (lexical relations).
  • FB15K237: A subset of Freebase (general world knowledge).

To simulate a realistic "hetero-field" scenario where shared entities aren't just the most famous ones, they used the k-shell algorithm. This allowed them to select "non-core" entities to serve as the alignment points, creating four test sets (A, B, C, and D) with varying "similar rates" (overlap) ranging from a sparse 1.62% to an extreme 70.97%.

Key Insights and Ideas

  • The "Building Block" Philosophy: The authors treat KGs like LEGO bricks. One graph serves as the fixed base (the framework), and the other is modified to fit into it. This "fix-and-adjust" approach is the secret to their speed.
  • Reusing Latent Knowledge: Traditional methods throw away the pre-trained vectors. BlockEF recognizes that the internal relationships within a single KG are already well-captured; you only need to learn the translation to the new space.
  • Global Negative Sampling is Key: By sampling negative entities from the entire merged graph during fine-tuning, the model prevents the two graphs from remaining "isolated islands" in the vector space.

Key Results

  • Massive Speedups: Across all tests, BlockEF reduced training time significantly. For example, using the RotatE model, BlockEF was 79.95% faster than retraining the entire graph.
  • Maintained Accuracy: In link prediction tasks (measured by Mean Reciprocal Rank and Hit@10), BlockEF performed almost identically to—and sometimes slightly better than—the "Entire Retraining" baseline in realistic low-overlap scenarios (Datasets A and B).
  • Robustness: Even when the overlap between graphs was as low as 1.62%, the model successfully fused the spaces without a drop in predictive power.

Limitations and Future Work

The authors note that in "extreme" cases where the two graphs are highly similar (e.g., 70% overlap), the performance of BlockEF starts to dip slightly compared to full retraining. This is because fixing a large portion of the entities limits the model's ability to optimize the remaining vectors.

Future Work: The authors suggest exploring the intersection between this fusion method and dynamic graph embedding (where KGs grow continuously over time). They aim to create a system that can handle both the fusion of different domains and the constant addition of new knowledge simultaneously.

Summary updated

Abstract

The means of knowledge graph embedding is to transform entities and relations into low-dimensional vectors. When it is necessary to obtain the embedding results of two hetero-field knowledge graphs in a unified vector space, there are only a few aligned entities between them, previous methods first need to merge the two graphs into a large graph, and then re-embed the entire large graph. This ignores the potential reuse of the original representation embeddings of two knowledge graphs and will lead to a lot of time consumption. To address this problem, this paper proposes a hetero-field knowledge graph embedding fusion model (BlockEF) based on aligned entities. According to the fact that the aligned entities of the two graphs should be located in the same position in the vector space, the transformation relationship between the embeddings of two graphs is firstly obtained, and then graph embedding is fine-tuned and optimized to achieve efficient fusion of hetero-field knowledge graph embeddings. The experimental results show that our method can significantly reduce the computational burden of hetero-field knowledge graph embedding fusion and ensure the quality of embedding fusion.
BibTeX
@inproceedings{xiao2025aligned,
  author = {Pengfeng Xiao and Chao Liu and Weijia Jia and Longjun Dong},
  title = {{Aligned-entities-Based Fusion Embedding on Hetero-field Knowledge Graphs}},
  booktitle = {Data},
  year = {2025},
  doi = {10.3724/2096-7004.di.2025.0023},
}

Loading related content...

Figure