Skip to main content
QUICK REVIEW

[Paper Review] FedZKP: Federated Model Ownership Verification with Zero-knowledge Proof

Wenyuan Yang, Yuguo Yin|arXiv (Cornell University)|May 8, 2023
Privacy-Preserving Technologies in DataComputer Science5 citations
TL;DR

FedZKP proposes a zero-knowledge proof-based scheme for federated model ownership verification that eliminates the need for a trusted verifier by embedding a hash of the xLPN problem as a watermark. It achieves provable security through cryptographic soundness and resistance to near-collision attacks, with negligible breach probability and low computational overhead even under adversarial training or removal attempts.

ABSTRACT

Federated learning (FL) allows multiple parties to cooperatively learn a federated model without sharing private data with each other. The need of protecting such federated models from being plagiarized or misused, therefore, motivates us to propose a provable secure model ownership verification scheme using zero-knowledge proof, named FedZKP. It is shown that the FedZKP scheme without disclosing credentials is guaranteed to defeat a variety of existing and potential attacks. Both theoretical analysis and empirical studies demonstrate the security of FedZKP in the sense that the probability for attackers to breach the proposed FedZKP is negligible. Moreover, extensive experimental results confirm the fidelity and robustness of our scheme.

Motivation & Objective

  • To address the lack of provable security and reliance on trusted verifiers in existing federated model ownership schemes.
  • To eliminate the risk of credential leakage by enabling ownership proof without disclosing sensitive credentials.
  • To provide formal cryptographic security guarantees against a broad class of attacks through a defined security model.
  • To mitigate watermark errors caused by model training or malicious removal attacks using collision-resistant hashing.
  • To ensure high fidelity and robustness of ownership verification under realistic FL conditions, including pruning, fine-tuning, and targeted attacks.

Proposed method

  • Embeds the hash of a Learning Parity with Noise (xLPN) problem instance as a watermark within the federated model, ensuring unique and verifiable ownership credentials.
  • Uses zero-knowledge proof (ZKP) to allow the model owner to prove possession of the xLPN solution without revealing it, enabling trustless verification.
  • Employs a commitment scheme based on xLPN to bind the watermark to the model, with commitments opened in a zero-knowledge manner during verification.
  • Applies a collision-resistant hash function to the xLPN problem instance to prevent attackers from finding near-collisions that could bypass verification.
  • Integrates the ZKP mechanism into the federated learning pipeline, allowing clients to prove ownership using only public and private inputs without exposing secrets.
  • Uses a multi-round ZKP protocol with soundness error $(\frac{2}{3})^d$ for $d$ rounds, ensuring negligible probability of successful forgery.

Experimental results

Research questions

  • RQ1Can a model ownership verification scheme in federated learning achieve provable security without relying on a trusted verifier?
  • RQ2How can zero-knowledge proofs be effectively integrated into federated learning to protect ownership credentials while maintaining verification fidelity?
  • RQ3What is the impact of model training and adversarial attacks (e.g., pruning, fine-tuning) on watermark integrity and verification accuracy?
  • RQ4To what extent can the hardness of finding hash near-collisions prevent attackers from forging ownership credentials?
  • RQ5What are the practical performance costs (time, memory, communication) of deploying a ZKP-based ownership verification system in a real federated learning setting?

Key findings

  • The detection rate for FedZKP remains stable across different numbers of clients (within ±0.5% for 5, 10, and 20 clients), demonstrating robustness to system scale.
  • For AlexNet and ResNet, the lower bound on detection rate is guaranteed when watermark length is below 1664 and 4500 bits, respectively, with experimental detection rates exceeding theoretical lower bounds.
  • Proof generation for a 700-row xLPN matrix takes only 8 ms, and verification takes 86 ms, even at 300 rounds, indicating acceptable performance for real-world deployment.
  • With 600-row matrices and 300 rounds, proof generation takes 2.186 seconds and verification 17.919 seconds, with a soundness error of $(\frac{2}{3})^{300}$, ensuring negligible forgery risk.
  • Memory cost for verification is 1.54MB under typical settings (m=800, l=700, N=10, d=300), which is negligible compared to model size.
  • Communication cost for verification is 824KB under the same settings, which is negligible compared to the size of the federated model itself.

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.