This paper, recently published by researchers from Nanyang Technological University and the Joint NTU-WeBank Research Institute, introduces a more nuanced way to handle distributed data in Knowledge Graphs.
TL;DR
Standard Federated Knowledge Graph Embedding (FKGE) methods often fail because they force a "one-size-fits-all" global embedding on clients with very different local contexts. This paper proposes PFedEG, a framework that builds a "client-wise relation graph" to measure semantic affinity between clients, allowing for personalized knowledge sharing that significantly improves embedding accuracy while maintaining privacy.
What Problem Does This Paper Address?
Knowledge Graphs (KGs)—structured representations of real-world facts like (Tom, Graduated_from, Univ_A)—are increasingly siloed across different organizations due to privacy regulations like GDPR. Federated learning allows these organizations (clients) to collaboratively train models without sharing their raw data.
However, existing FKGE methods suffer from semantic disparity. For example, a "Company KG" might care about Tom’s age and job, while a "Book Store KG" cares about his interest in Deep Learning. If a central server simply averages these different views into one "global Tom," the resulting embedding becomes noisy and loses the specific meaning required by each client. This creates a conflict between local needs and global consensus, ultimately degrading the quality of the learned embeddings.
Methods
The authors introduce PFedEG (Personalized Federated knowledge graph Embedding with client-wise relation Graph). The core innovation is moving away from simple averaging toward a weighted, personalized aggregation.
- Client-Wise Relation Graph: The server maintains a graph where nodes are clients and edges represent "affinity." The paper proposes two strategies to calculate this affinity:
- Shared Entities Number-based: A static weight based on the ratio of entities two clients have in common.
- Shared Entities Embeddings Distance-based: A dynamic weight that uses the cosine distance between the embeddings of shared entities. This allows the "affinity" to evolve as the model learns.
- Personalized Supplementary Knowledge: Instead of receiving a universal global update, each client receives a personalized update ($K_c$) aggregated from its "neighbors" in the relation graph.
- Hybrid Local Training: During local updates, clients don't just train on their own triples. They use a loss function (inspired by FedProx) that includes a regularization term. This term ensures the local embedding doesn't drift too far from the personalized global knowledge, preventing the model from "forgetting" the useful information gained from other clients.
Datasets
The researchers evaluated their method on four benchmark datasets commonly used in federated KG research:
- FB15k-237-fed3, -fed5, and -fed10: Versions of the standard Freebase dataset split into 3, 5, and 10 clients respectively.
- NELL-995-Fed3: A version of the Never-Ending Language Learning dataset split into 3 clients.
These datasets simulate scenarios where clients have partially overlapping entities but distinct relations.
Key Insights and Ideas
- Context is King: The "aha moment" here is the realization that a "global consensus" is actually a bug, not a feature, when clients have different semantic focuses. By allowing "Tom" to look different for the Company than he does for the Club, the model captures more useful information.
- Affinity as a Filter: Not all clients are equally helpful. A "Book Store" KG likely provides more relevant supplementary data for a "Company" KG (like education and residence) than a "Sports Club" KG does. The relation graph acts as a filter to prioritize high-quality, relevant information.
- Initialization + Regularization: The authors found that simply initializing local models with global data isn't enough; you need a continuous "tether" (the regularization term) during local training to truly leverage federated knowledge without losing local specificity.
Key Results
PFedEG consistently outperformed state-of-the-art baselines (like FedE and FedEC) across all metrics, including Mean Reciprocal Rank (MRR) and Hits@N.
- Significant Gains: On the FB15k-237-Fed10 dataset, PFedEG achieved a relative rise in MRR of up to 4.73% over previous federated models.
- Beating the "Collective": Remarkably, in several tests using TransE and RotatE, PFedEG even outperformed the "Collective" setting (a theoretical scenario where all data is centralized and privacy is ignored). This suggests that personalization can actually be more effective than raw data volume.
- Scalability: The model showed even stronger relative performance as the number of clients increased, suggesting it is well-suited for larger, more fragmented federated networks.
Limitations and Future Work
- Weighting Strategies: While effective, the authors acknowledge that their current affinity strategies (entity counts and cosine distance) are relatively simple. They suggest that more sophisticated ways to learn these weights could further boost performance.
- Privacy Integration: While the architecture is designed for privacy, the paper does not explicitly implement advanced privacy-preserving techniques like Differential Privacy or Secure Multi-Party Computation, which would be necessary for real-world deployment in highly sensitive sectors.
- Computational Overhead: Maintaining and updating a client-wise relation graph adds a layer of complexity to the server, which may need optimization as the number of clients scales into the thousands.
Summary updated