Skip to main content
QUICK REVIEW

[Paper Review] Zero-Knowledge Proof-based Practical Federated Learning on Blockchain

Zhibo Xing, Zijian Zhang|arXiv (Cornell University)|Apr 12, 2023
Privacy-Preserving Technologies in DataComputer Science8 citations
TL;DR

This paper presents ZKP-FL and PZKP-FL, schemes that use zero-knowledge proofs and blockchain to verifiably train federated learning models while protecting local data, including practical handling of fractions and non-linear operations.

ABSTRACT

Since the concern of privacy leakage extremely discourages user participation in sharing data, federated learning has gradually become a promising technique for both academia and industry for achieving collaborative learning without leaking information about the local data. Unfortunately, most federated learning solutions cannot efficiently verify the execution of each participant's local machine learning model and protect the privacy of user data, simultaneously. In this article, we first propose a Zero-Knowledge Proof-based Federated Learning (ZKP-FL) scheme on blockchain. It leverages zero-knowledge proof for both the computation of local data and the aggregation of local model parameters, aiming to verify the computation process without requiring the plaintext of the local data. We further propose a Practical ZKP-FL (PZKP-FL) scheme to support fraction and non-linear operations. Specifically, we explore a Fraction-Integer mapping function, and use Taylor expansion to efficiently handle non-linear operations while maintaining the accuracy of the federated learning model. We also analyze the security of PZKP-FL. Performance analysis demonstrates that the whole running time of the PZKP-FL scheme is approximately less than one minute in parallel execution.

Motivation & Objective

  • Motivate privacy-preserving federated learning with public verifiability of local computation and global aggregation.
  • Enable verifiable training and aggregation without exposing local data.
  • Extend ZKP-FL to support fractional and non-linear operations for practical ML models.

Proposed method

  • Convert training algorithms into arithmetic circuits suitable for zk-SNARKs (Groth16) and partition them into smaller sub-circuits for parallel proof generation.
  • Use zero-knowledge proofs to verify local training correctness without revealing plaintext inputs or intermediate outputs.
  • Employ a secure sum protocol on a blockchain smart contract to verify and perform the global aggregation in a privacy-preserving way.
  • Introduce a Fraction-Integer mapping and Taylor expansion-inspired approach to handle fractional values and non-linear operations in the arithmetic circuit.
  • Modify Groth16 proof generation and verification to conceal data and ensure continuity between sub-circuits via Sigma-protocols for consistency checks.

Experimental results

Research questions

  • RQ1How can federated learning be verifiable in a public, privacy-preserving manner on a blockchain?
  • RQ2Can zero-knowledge proofs verify both local training correctness and global aggregation without revealing local data?
  • RQ3How can fractional and non-linear operations be efficiently supported in zk-SNARK-based FL?
  • RQ4What are the security and performance characteristics of a ZKP-based FL system on a blockchain?

Key findings

  • The proposed ZKP-FL scheme enables public verification of local computation and secure aggregation on blockchain.
  • A Practical ZKP-FL (PZKP-FL) scheme extends the method to handle fractions and non-linear operations using a Fraction-Integer mapping and Taylor-expansion-like techniques.
  • The system supports parallel proof generation by dividing the training into multiple sub-circuits, improving efficiency.
  • Security analysis and experiments show the running time of the PZKP-FL scheme is approximately no more than one minute in experiments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.