Differentially Private Federated Knowledge Graphs Embedding

Hao Peng, Haoran Li, Yangqiu Song, Jianxin Li, Vincent W Zheng · OpenReview

TL;DR

This paper introduces FKGE, a novel decentralized framework for learning embeddings across multiple, independently-owned knowledge graphs (KGs) while preserving data privacy. By leveraging a privacy-preserving adversarial network, FKGE enables KGs to collaboratively improve their embeddings without sharing raw data, leading to significant performance gains in downstream tasks.

What Problem Does This Paper Address?

Knowledge graphs (KGs) are crucial for various AI applications, but their full potential is often hindered by data silos. Companies possess valuable KGs but are reluctant to share them due to privacy concerns, competitive advantages, or the sheer difficulty of integration. Existing KG embedding methods are typically centralized and cannot effectively leverage data from multiple, disparate KGs without compromising privacy. This limitation prevents the creation of more robust and comprehensive KG embeddings that could benefit all parties involved.

Methods

The core of FKGE is a Federated Knowledge Graphs Embedding (FKGE) framework that operates in a decentralized and asynchronous manner. It addresses the privacy challenge using a Privacy-Preserving Adversarial Translation (PPAT) network.

Here's how it works:

  • Decentralized Collaboration: Instead of a central server, FKGE allows KGs to pair up and collaborate directly. This is managed through a "handshake protocol" where KGs can choose to participate.
  • Adversarial Translation (PPAT): For each pair of KGs with overlapping entities or relations, a PPAT network is established. This network uses a Generative Adversarial Network (GAN) structure. A generator in one KG translates embeddings of shared entities/relations to match those in the other KG. A discriminator in the other KG tries to distinguish these translated embeddings from its own.
  • Differential Privacy: To ensure privacy, the PPAT network incorporates differential privacy. This is achieved by using a PATE (Predict, Aggregate, Transfer, Embed) mechanism, where multiple "teacher" discriminators vote on the translated embeddings, and noise is added to these votes before being used by a "student" discriminator. This process guarantees that individual data points cannot be inferred from the outputs.
  • Asynchronous Updates: KGs update their embeddings asynchronously, meaning they don't need to wait for all other participants to finish. If an update improves a KG's performance, it's kept; otherwise, the KG "backtracks" to its previous state.

Datasets

The paper evaluates FKGE on 11 knowledge graphs (KGs) from the Linked Data community. These KGs vary in size and domain. The paper also mentions using aligned entities (AEs) provided by the Linked Data community. For ablation studies, the Geonames KG was manually divided into two subsets to simulate scenarios with and without aligned relations.

Key Insights and Ideas

  • Privacy-Preserving Collaboration is Key: The most significant insight is that effective KG embedding can be achieved across independent KGs without sacrificing privacy, opening doors for broader data utilization.
  • Adversarial Learning for Alignment: Using GANs to align embedding spaces of different KGs is a powerful technique for transferring knowledge and improving representations.
  • Differential Privacy is Essential: Simply exchanging embeddings can leak information. The integration of differential privacy is crucial for robustly protecting individual data.
  • Decentralization and Asynchronicity are Scalable: The peer-to-peer, asynchronous nature of FKGE makes it suitable for large-scale, real-world scenarios where centralized control is impractical.
  • Aligned Entities and Relations Both Matter: The ablation study highlights that both aligned entities and relations contribute significantly to performance improvements, underscoring the importance of comprehensive alignment.

Key Results

FKGE demonstrated significant improvements across various tasks and KGs:

  • Triple Classification: Achieved performance increases of up to 17.85% compared to baseline methods.
  • Link Prediction: Showed improvements of up to 7.90% in metrics like Hit@10, Hit@3, and Hit@1.
  • Compatibility: FKGE proved to be compatible with different base KG embedding models (TransE, TransH, TransR, TransD), consistently improving their performance.
  • Scalability: The time cost for PPAT network training increased linearly with the number of aligned entities, indicating good scalability.

Limitations and Future Work

  • Limitations:
    • The paper notes that while FKGE is compatible with different KGE models, it relies on existing ones.
  • The performance of FKGE is dependent on the availability and quality of aligned entities and relations.
  • The privacy guarantee is based on differential privacy, which involves a trade-off between privacy and utility (controlled by epsilon and delta).
  • Future Work:
    • Integrate more advanced knowledge graph representation learning models into the FKGE framework.
  • Extend the federated learning framework to other complex knowledge data exchanging scenarios beyond KGs.
  • Further explore strategies for improving the efficiency and effectiveness of alignment discovery.

Summary updated

BibTeX
@misc{peng2021differentially,
  author = {Hao Peng and Haoran Li and Yangqiu Song and Jianxin Li and Vincent W Zheng},
  title = {{Differentially Private Federated Knowledge Graphs Embedding}},
  year = {2021},
  eprint = {2105.07615},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.07615},
}
Figure