Federated Graph Learning for Cross-Domain Recommendation

Ziqi Yang, Zhaopeng Peng, Zihui Wang, Jianzhong Qi, Chaochao Chen, Weike Pan, Chenglu Wen, Cheng Wang, Xiaoliang Fan · DOI

Abstract

Cross-Domain Recommendation (CDR) is a powerful technique to mitigate data sparsity by leveraging user preferences from auxiliary domains. However, existing CDR methods often struggle with privacy preservation and "negative transfer"—where irrelevant source data degrades recommendation quality, a problem that intensifies in "Broader-Source" (BS-CDR) scenarios. This paper introduces FedGCDR, a federated learning framework that securely ingests knowledge from multiple source domains. FedGCDR utilizes differential privacy and a novel graph-expansion strategy to filter out negative transfer while maintaining high utility.

Introduction

Modern recommendation systems frequently encounter the "cold-start" problem due to data sparsity. CDR addresses this by "borrowing" insights from related domains (e.g., using movie ratings to predict book interests). Despite its potential, two major challenges persist:

  1. Privacy (CH1): Sharing raw user data across platforms risks sensitive information leaks.
  2. Negative Transfer (CH2): Irrelevant source domains (e.g., "Clothing" for "Books") can introduce noise that harms the target model's performance.

As the number of source domains increases—a scenario termed Broader-Source CDR—the risk of negative transfer grows significantly, often causing CDR models to underperform compared to simple single-domain baselines.

The BS-CDR scenario and the impact of domain scaling on performance.

Methodology: The FedGCDR Framework

The authors propose a Horizontal-Vertical-Horizontal (HVH) pipeline that keeps data localized on user devices. The framework is divided into two primary modules:

Positive Knowledge Transfer Module

This module handles the "Vertical" stage of the pipeline. It extracts user embeddings from source domains and applies Differential Privacy (DP) by adding Gaussian noise. This mathematical guarantee ensures that original rating matrices cannot be reconstructed by attackers. These noisy embeddings are then mapped into the target domain's feature space using Multi-Layer Perceptrons (MLPs).

Positive Knowledge Activation Module

To combat negative transfer, FedGCDR treats source domain knowledge as "virtual users" within a social graph. By expanding the target domain's local graph with these virtual links, the model employs a Graph Attention Network (GAT) to learn domain-specific weights. The GAT automatically assigns lower attention to "garbage" data from irrelevant sources, effectively filtering out negative transfer.

The FedGCDR architecture featuring the HVH pipeline and its core modules.

Fine-Tuning

A final fine-tuning stage freezes the message-propagation layers. This prevents residual DP noise from leaking into the final prediction layers, ensuring that privacy does not come at the cost of utility.

Experimental Evaluation

FedGCDR was evaluated using 16 domains from the Amazon 2018 dataset, including categories like Books, CDs, and Electronics. Subsets (Amazon-4, 8, and 16) were used to test scalability.

Key Results

  • Accuracy Boost: On the Amazon-16 dataset (target: Books), FedGCDR achieved a Hit Ratio (HR@5) of 0.5016, significantly outperforming the single-domain baseline (0.4693) and state-of-the-art CDR models like FedCT (0.3926).
  • Scalability: While competing models experienced performance cliffs as more source domains were added, FedGCDR remained stable or improved, demonstrating its effectiveness in BS-CDR scenarios.
  • Privacy Protection: Experiments confirmed that the attention mechanism successfully "ignores" DP noise, maintaining high accuracy even with a strict privacy budget ($\epsilon=8$).

Conclusion

FedGCDR demonstrates that "reckless" transfer is a significant risk in multi-domain recommendation. By framing source knowledge as virtual social links and applying graph attention, the framework successfully filters out negative transfer. This approach proves that strong privacy guarantees and high recommendation utility can coexist, even when scaling to a broad range of source domains. Future work will explore zero-user-overlap scenarios and the integration of diverse auxiliary information.

Summary updated

BibTeX
@inproceedings{yang2024federated,
  author = {Ziqi Yang and Zhaopeng Peng and Zihui Wang and Jianzhong Qi and Chaochao Chen and Weike Pan and Chenglu Wen and Cheng Wang and Xiaoliang Fan},
  title = {{Federated Graph Learning for Cross-Domain Recommendation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=UBpPOqrBKE},
}
Figure