Abstract
Knowledge Graphs (KGs) are powerful tools for representing relational data, yet they are frequently incomplete. While pooling data from multiple sources is a logical solution for Knowledge Graph Completion (KGC), strict privacy regulations often prohibit direct data sharing. This paper introduces FedE, a federated learning framework for Knowledge Graph Embedding (KGE). FedE enables multiple clients to collaboratively learn high-quality global entity representations without sharing private relational triples. By decoupling shared entity embeddings from private relation embeddings, FedE maintains privacy while facilitating knowledge transfer. Our experiments on newly created federated KG benchmarks show that FedE significantly outperforms isolated local training and, surprisingly, often surpasses centralized training on pooled datasets.
Introduction
In real-world domains like finance and healthcare, entities (e.g., specific individuals or corporations) often have footprints across multiple distinct Knowledge Graphs held by different organizations. For instance, a single user might have different financial records across three separate banks. Combining these KGs would vastly improve link prediction and fact completion. However, strict data privacy regulations (such as GDPR) and commercial sensitivities prevent organizations from pooling their raw data.
The authors address this "Multi-Source KG" completion challenge by proposing a framework that allows multiple clients to collaboratively train a KGE model. The goal is to benefit from the collective structural knowledge of all participants without ever exposing private relations or triples to the server or other clients.
Methods
FedE adapts standard federated learning principles to the unique structure of KGs through a specialized client-server architecture.
- Client-Server Architecture: The central server maintains a global entity embedding table. Each client holds its own private KG consisting of relations and triples.
- Decoupled Embeddings: A key innovation is the separation of entity and relation embeddings. While entity embeddings are shared and aggregated globally, relation embeddings remain strictly private and local to each client. This ensures that sensitive graph structures cannot be inferred.
- Federated Aggregation: The server sends global entity embeddings to a subset of clients. After local training, the server aggregates the updated entity embeddings using a weighted average based on entity frequency. Permutation matrices are employed to securely map local entity IDs to the global table.
- Model Fusion: To optimize performance, clients use a linear classifier to fuse scores from the federated model with scores from a model trained purely on their local, isolated data.
Key Insights and Results
The authors evaluated FedE using new benchmarks derived from FB15k-237 and NELL-995, simulating environments with 3, 5, and 10 clients.
Performance Gains
FedE demonstrated significant improvements over isolated training. For example, using the RotatE model, FedE improved Mean Reciprocal Rank (MRR) by an average of 5.7% on FB15k-237-Fed3 and 14.2% on NELL-995-Fed3.
Surpassing Centralized Training
One of the most striking results is that FedE frequently outperformed the "Entire" setting—where all data is pooled together in a way that violates privacy. This suggests that the federated architecture may act as a form of beneficial regularization, preventing the model from being overwhelmed by the noise of heterogeneous relations found in a single massive pool.
Scalability and Parallelism
The framework remains effective as the number of clients increases. Furthermore, increasing the fraction of clients participating in each communication round significantly boosts the convergence rate, highlighting the benefits of multi-client parallelism.
Conclusion and Future Work
FedE proves that sharing entity embeddings is sufficient for effective knowledge transfer across siloed Knowledge Graphs. The framework successfully balances the need for collaborative learning with the requirements of data privacy.
While effective, the current approach requires transmitting entire entity embedding tables, which may pose communication bottlenecks for massive, industry-scale KGs. Future research could explore more communication-efficient methods or the integration of complex Graph Neural Network (GNN) architectures within the federated setting. Additionally, addressing scenarios where entity sets are largely disjoint remains an open challenge for cross-KG knowledge transfer.
Summary updated