Abstract
Knowledge representation learning has received a lot of attention in the past few years. The success of existing methods heavily relies on the quality of knowledge graphs. The entities with few triplets tend to be learned with less expressive power. Fortunately, there are many knowledge graphs constructed from various sources, the representations of which could contain much information. We propose an adversarial embedding transfer network ATransN, which transfers knowledge from one or more teacher knowledge graphs to a target one through an aligned entity set without explicit data leakage. Specifically, we add soft constraints on aligned entity pairs and neighbours to the existing knowledge representation learning methods. To handle the problem of possible distribution differences between teacher and target knowledge graphs, we introduce an adversarial adaption module. The discriminator of this module evaluates the degree of consistency between the embeddings of an aligned entity pair. The consistency score is then used as the weights of soft constraints. It is not necessary to acquire the relations and triplets in teacher knowledge graphs because we only utilize the entity representations. Knowledge graph completion results show that ATransN achieves better performance against baselines without transfer on three datasets, CN3l, WK3l, and DWY100k. The ablation study demonstrates that ATransN can bring steady and consistent improvement in different settings. The extension of combining other knowledge graph embedding algorithms and the extension with three teacher graphs display the promising generalization of the adversarial transfer network.
Introduction
Knowledge Graphs (KGs)—structured databases of facts like (head_entity, relation, tail_entity)—are essential for AI tasks like recommendation and question answering. However, they are almost always incomplete. While representation learning helps predict missing links, these models struggle with "long-tail" entities that appear in very few triplets.
Transfer learning—using a well-populated "teacher" KG to help a "student" KG—is a promising alternative. However, "brute-force" transfer can lead to negative transfer. If an entity has different semantic neighbors or meanings in the teacher graph versus the target graph (e.g., "rash" meaning a skin condition vs. "rash" meaning haste), forcing the embeddings to be similar can degrade the model's performance.
Methodology: The ATransN Framework
The authors propose ATransN, which consists of three integrated modules designed to facilitate knowledge transfer while mitigating negative transfer through dynamic weighting.
- Embedding Module: A standard shallow KG embedding model (like TransE) that learns representations from the target graph's triplets.
- Embedding Transfer Module: This module bridges the teacher and target KGs using a set of "aligned entities" (entities present in both). It applies a Distance Constraint (projecting teacher embeddings into the target space) and a Triplet Constraint (ensuring triplets hold when entities are replaced by projected teacher embeddings).
- Adversarial Adaptation Module: This is the core innovation. A discriminator evaluates the consistency between the teacher and target embeddings. If the local graph structures around an entity are similar in both KGs, the discriminator assigns a high consistency score. This score is then used as a dynamic weight for the transfer constraints, ensuring the model only "listens" to the teacher when the information is actually relevant.
Experiments and Results
ATransN was evaluated on three benchmarking datasets: CN3l (EN-DE), WK3l-15k (EN-FR), and DWY100k. The framework consistently outperformed state-of-the-art baselines (TransE, DistMult, ComplEx, RotatE) across all datasets:
- Massive Gains in Mean Rank (MR): On the DWY100k (DBP-WD) dataset, ATransN improved the Mean Rank from 3,148 (TransE) to 636. This indicates the model is much better at ranking the correct entity near the top of the list.
- Hits@10 Improvements: On the CN3l dataset, ATransN improved the Hits@10 (the probability that the correct answer is in the top 10 results) by over 10% compared to the base TransE model.
- Robustness to Sparsity: The framework showed the most significant improvements on entities with very few triplets, proving its effectiveness for the "long-tail" problem.
Discussion and Conclusion
ATransN demonstrates that dynamic weighting via adversarial adaptation is vital for successful knowledge transfer between KGs. By using an adversarial discriminator to generate a consistency score, the model automatically filters out noisy or irrelevant features from the teacher graph. Furthermore, ATransN is computationally efficient and data-secure, as it only requires the entity embeddings from the teacher graph, not the raw triplets or relations.
While highly effective for translation-based models, aligning entities in complex vector spaces (like RotatE) remains more challenging. Future work will explore more advanced entity alignment techniques to automatically find bridges between KGs, further reducing the need for manual annotations.
Summary updated