Twice the Gradient, Twice the Privacy Risk in Federated Learning? A Case Study of Federated Recommendation Systems

  • Zhenyu Deng
  • , Ying Liu*
  • , Ming Tang
  • , Xiangyu Zhao
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Federated learning mitigates data leakage risks while maintaining training efficiency via gradient sharing. Nonetheless, previous studies have demonstrated persistent privacy vulnerabilities because attackers can reconstruct training data from shared gradients. Existing reconstruction methods assume attackers can access all model parameters; however, sensitive parameters (such as user embeddings in federated recommendation systems) often remain private. Limited access results in inaccurate reconstructions. Using federated recommendation systems as a case study, we identify insufficient attack constraints as the root cause of reconstruction failures. To address this limitation, we propose the MGradInv method, which leverages gradients from multiple training steps as additional reconstruction constraints. The experimental results demonstrate that this approach prevents convergence to local optima and reduces reconstruction errors by establishing sufficient constraints. We investigated two key factors affecting MGradInv's performance: target model convergence and gradient intervals. Results indicate that attacks are most effective during the early training stages but deteriorate as the model converges. MGradInv is clearly effective even with gradient intervals of up to 230 steps. Our code and data are available here.

Original languageEnglish
Title of host publicationInternational Joint Conference on Neural Networks, IJCNN 2025 - Proceedings
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798331510428
DOIs
StatePublished - 2025
Event2025 International Joint Conference on Neural Networks, IJCNN 2025 - Rome, Italy
Duration: 30 Jun 20255 Jul 2025

Publication series

NameProceedings of the International Joint Conference on Neural Networks
ISSN (Print)2161-4393
ISSN (Electronic)2161-4407

Conference

Conference2025 International Joint Conference on Neural Networks, IJCNN 2025
Country/TerritoryItaly
CityRome
Period30/06/255/07/25

Keywords

  • Federated learning
  • Recommendation systems
  • Trustworthy machine learning

Fingerprint

Dive into the research topics of 'Twice the Gradient, Twice the Privacy Risk in Federated Learning? A Case Study of Federated Recommendation Systems'. Together they form a unique fingerprint.

Cite this