Federify: A Verifiable Federated Learning Scheme Based on zkSNARKs and Blockchain

Ghazaleh Keshavarzkalhori*, Cristina Perez-Sola, Guillermo Navarro-Arribas, Jordi Herrera-Joancomarti, Habib Yajam

*Corresponding author for this work

Research output: Contribution to journalArticleResearchpeer-review

1 Citation (Scopus)

Abstract

Federated learning (FL) has emerged as an alternative to traditional machine learning in scenarios where training data is sensitive. In federated learning, training is held at end devices, and thus data does not need to leave users' devices. However, most approaches to federated learning rely on a central server to coordinate the learning process which, in turn, introduces its own security and privacy problems. We propose Federify, a decentralized federated learning framework based on blockchain that employs homomorphic encryption and zero knowledge proofs to provide security, privacy, and transparency. The scheme successfully preserves the confidentiality of both the data used for training and the local models using homomorphic encryption. All model parameters are publicly verifiable using zkSNARKs, and transparency of both the learning process and the incentive mechanism is achieved by delegating coordination to a public blockchain. The evaluation of the proof of concept of our framework demonstrates its viability both in terms of required computational resources and the cost to train on a public generic blockchain such as Ethereum.

Original languageEnglish
Pages (from-to)3240-3255
Number of pages16
JournalIEEE Access
Volume12
DOIs
Publication statusPublished - 1 Jan 2024

Keywords

  • Blockchain
  • Decentralization
  • Ethereum
  • Federated learning
  • Privacy
  • Verifiable
  • zkSNARK

Fingerprint

Dive into the research topics of 'Federify: A Verifiable Federated Learning Scheme Based on zkSNARKs and Blockchain'. Together they form a unique fingerprint.

Cite this