IEEE Access (Jan 2024)

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

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

DOI
https://doi.org/10.1109/ACCESS.2023.3347039
Journal volume & issue
Vol. 12
pp. 3240 – 3255

Abstract

Read online

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.

Keywords