Communication-efficient federated knowledge graph embedding with entity-wise top-K sparsification

Xiaoxiong Zhang, Zhiwei Zeng, Xin Zhou, Dusit Niyato, Zhiqi Shen

TL;DR

This paper tackles the communication bottleneck in Federated Knowledge Graph Embedding (FKGE) by proposing FedS, a novel method that selectively transmits only the most important entity embeddings. FedS significantly reduces communication overhead without sacrificing prediction accuracy, making FKGE more practical for real-world applications.

What Problem Does This Paper Address?

Federated Knowledge Graph Embedding (FKGE) aims to learn embeddings for knowledge graphs distributed across multiple clients while preserving data privacy. A major hurdle in FKGE is the substantial communication cost, stemming from the large size of embedding parameters and the numerous communication rounds required. Existing methods primarily focus on reducing the number of communication rounds by increasing local training steps. However, they often overlook the size of the data transmitted in each round. This paper addresses this gap by proposing a method to reduce the amount of data transmitted per round, thereby improving overall communication efficiency.

Methods

The core of the proposed solution, FedS, lies in its Entity-Wise Top-K Sparsification strategy, applied bidirectionally:

  • Upstream (Client to Server): Clients identify entity embeddings that have undergone the most significant changes since the last upload. They then transmit only the "Top-K" of these changed embeddings to the server. This is quantified by measuring the cosine similarity between the current and historical embeddings.
  • Downstream (Server to Client): The server first performs personalized embedding aggregation for each client. It then identifies the "Top-K" aggregated embeddings for each client based on their upload frequency (priority weight), rather than just the magnitude of change. This personalized selection aims to provide clients with the most relevant aggregated information.

Additionally, FedS incorporates an Intermittent Synchronization Mechanism. This mechanism periodically synchronizes all parameters between clients and the server at fixed intervals. This is crucial for mitigating the negative effects of data heterogeneity across clients, which can lead to inconsistent updates for shared entities.

Datasets

The experiments were conducted on three datasets derived from the widely used FB15k-237 knowledge graph:

  • FB15k-237-R10
  • FB15k-237-R5
  • FB15k-237-R3

These datasets were created by partitioning relations evenly and distributing triples into ten, five, and three clients, respectively, to simulate different levels of data distribution.

Key Insights and Ideas

  • Universal compression hurts: The paper's initial investigation revealed that uniformly reducing embedding precision across all entities significantly impedes convergence speed and can even increase total communication costs. This highlights the importance of preserving embedding precision for critical entities.
  • Entity-wise is key: Unlike previous methods that might sparsify individual parameters, FedS focuses on sparsifying entire entity embeddings. This is crucial because entity embeddings represent semantic units, and parameter-wise sparsification could corrupt this semantic integrity.
  • Personalization matters: The downstream sparsification by the server is personalized. Instead of a one-size-fits-all approach, the server considers each client's upload history and entity priority to select the most relevant aggregated embeddings.
  • Synchronization is vital for heterogeneity: The intermittent synchronization mechanism is a clever way to combat the inherent data heterogeneity in federated settings, ensuring that shared entities don't diverge too much across clients.

Key Results

  • Significant Communication Reduction: FedS achieves substantial reductions in transmitted parameters per communication round. For example, on FB15k-237-R10, FedS requires only 44.11% of the parameters of FedEP to reach 99% accuracy, a saving of 56%. Similar significant savings were observed across different datasets and KGE methods.
  • Comparable Accuracy: Despite the drastic reduction in communication, FedS maintains prediction accuracy comparable to, and in some cases even slightly better than, baseline methods like FedEP. For instance, FedS achieved higher MRR than FedEP by 0.24% and 0.19% in certain scenarios while transmitting fewer parameters.
  • Improved Efficiency over Dimension Reduction: FedS outperforms methods that simply reduce embedding dimensions (like FedEPL) by achieving higher accuracy with fewer transmitted parameters.
  • Effectiveness of Synchronization: Ablation studies showed that the intermittent synchronization mechanism, while potentially increasing communication rounds in some cases, generally leads to better overall performance and accuracy compared to a version without synchronization.

Limitations and Future Work

  • Dataset Specificity: While the experiments were conducted on three datasets, further validation on larger and more diverse real-world FKGE datasets would be beneficial.
  • Hyperparameter Tuning: The performance of FedS, particularly the sparsity ratio 'p' and synchronization interval 's', might be sensitive to hyperparameter tuning, which could require further investigation.
  • Complexity of Heterogeneity: While the intermittent synchronization mechanism addresses heterogeneity, more complex forms of data and system heterogeneity might require more advanced solutions.

The paper's success in significantly reducing communication overhead while maintaining high accuracy opens avenues for applying FKGE in more resource-constrained environments. Future work could explore adaptive sparsity ratios, more sophisticated synchronization strategies, and the application of FedS to other federated learning tasks beyond FKGE.

Summary updated

BibTeX
@article{zhang2025communication,
  author = {Xiaoxiong Zhang and Zhiwei Zeng and Xin Zhou and Dusit Niyato and Zhiqi Shen},
  title = {{Communication-efficient federated knowledge graph embedding with entity-wise top-K sparsification}},
  journal = {Knowledge-Based Systems},
  year = {2025},
  doi = {10.1016/j.knosys.2025.114147},
}
Figure