Abstract
Graph neural network (GNN) is effective in modeling high-order interactions and has been widely used in various personalized applications such as recommendation. However, mainstream personalization methods rely on centralized GNN learning on global graphs, which have considerable privacy risks due to the privacy-sensitive nature of user data. Here, we present a federated GNN framework named FedGNN for both effective and privacy-preserving personalization. Through a privacy-preserving model update method, we can collaboratively train GNN models based on decentralized graphs inferred from local data. To further exploit graph information beyond local interactions, we introduce a privacy-preserving graph expansion protocol to incorporate high-order information under privacy protection. Experimental results on six datasets for personalization in different scenarios show that FedGNN achieves 4.0%~9.6% lower errors than the state-of-the-art federated personalization methods under good privacy protection. FedGNN provides a novel direction to mining decentralized graph data in a privacy-preserving manner for responsible and intelligent personalization.
Introduction
Modern personalization engines, such as those used by major streaming and e-commerce platforms, increasingly rely on Graph Neural Networks (GNNs) to model complex, high-order user-item interactions. However, traditional GNN training requires a centralized global graph, creating a significant privacy bottleneck. Centralized data repositories are vulnerable to leaks and often conflict with strict data protection regulations like GDPR. While standard Federated Learning (FL) keeps data on-device, it typically limits models to "first-order" interactions—only what a specific user has done—leading to a performance gap compared to centralized models. This paper introduces FedGNN, a framework designed to bridge this gap by enabling high-order graph modeling without centralizing sensitive user data.
The FedGNN Framework
FedGNN achieves privacy-preserving personalization through two primary innovations: privacy-preserving graph expansion and secure model updates.
Privacy-Preserving Graph Expansion
To capture high-order information without a global graph, FedGNN utilizes a trusted third-party server. Clients upload RSA-encrypted item IDs and their own user embeddings. The third-party server matches these encrypted IDs to identify "neighbors" (users who interacted with the same items) and returns their anonymous embeddings to the client. This allows the local device to construct a high-order subgraph without exposing raw interaction data.
Privacy-Preserving Model Updates
To prevent information leakage through gradients, FedGNN employs two safeguards:
- Pseudo Interacted Item Sampling: Clients generate "fake" gradients for items they did not interact with, masking the true interaction history from the learning server.
- Local Differential Privacy (LDP): Laplacian noise is added to gradients before upload, providing mathematical privacy guarantees.
Experimental Evaluation
The framework was evaluated on six benchmarks: MovieLens (100K, 1M, 10M), Flixster, Douban, and YahooMusic. FedGNN consistently outperformed state-of-the-art federated methods like FedMF and FCF, achieving 4.0% to 9.6% lower Root Mean Square Error (RMSE). Notably, on the Yahoo dataset, the performance of FedGNN was statistically comparable to centralized GNN models, suggesting that privacy can be achieved with minimal cost to utility.
Privacy-Utility Trade-offs
A critical aspect of FedGNN is the balance between recommendation accuracy and privacy protection. The researchers found that information within three "hops" (user → item → user → item) is the most critical; expanding further can lead to "over-smoothing," where user representations become too similar.
As shown in the experimental results, the system can achieve a robust privacy guarantee (e.g., 3-differential privacy) under specific hyperparameter settings ($\delta=0.1, \lambda=0.2$). The trade-off curves illustrate that while increasing privacy noise ($\delta$) or the privacy parameter ($\lambda$) can lead to higher RMSE, FedGNN maintains competitive performance even under strict privacy budgets.
Conclusion
FedGNN demonstrates that decentralization does not require a sacrifice in personalization quality. By protecting the "fact" of interaction through pseudo-sampling and enabling high-order modeling via secure graph expansion, it provides a viable path for responsible AI in sensitive domains. Future work will focus on defending against malicious poisoning attacks and extending the framework to healthcare and finance.
Summary updated