Zero-Knowledge Proof-Based Consensus for Blockchain-Secured Federated Learning

Tianxing Fu, Jia Hu, Geyong Min, Zi Wang · 2025

Read Zero-Knowledge Proof-Based Consensus for Blockchain-Secured Federated Learning by Tianxing Fu, Jia Hu, Geyong Min, Zi Wang (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-13255.txt.

Introduction

Tianxing Fu, Jia Hu, Geyong Min, and Zi Wang proposed a privacy-preserving consensus scheme in twenty twenty-five for blockchain-secured federated learning. Federated learning trains a shared model without moving private data, and a blockchain adds audit trails and tamper resistance. But classic consensus wastes energy or favors the rich, while learning-based consensus can leak information through shared updates.

Their Zero-Knowledge Proof of Training uses zk-SNARK proofs to verify that participants truly trained and performed, without revealing their models or data. Security analysis shows no sensitive information escapes to untrusted parties during the process. Experiments report robustness against privacy and Byzantine attacks with no accuracy trade-off, and scalability across blockchain settings. The design aims to make collaborative learning both auditable and confidential.

Catalog record

CREATORTianxing Fu, Jia Hu, Geyong Min, Zi Wang
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE51 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2503-13255

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Zero-Knowledge Proof-Based Consensus for Blockchain-Secured Federated Learning Tianxing Fu, Jia Hu, Geyong Min, Zi Wang Abstract Federated learning (FL) enables multiple participants to collaboratively train machine learning models while ensuring their data remains private and secure. Blockchain technology further enhances FL by providing stronger security, a transparent audit trail, and protection against data tampering and model manipulation. Most blockchain-secured FL systems rely on conventional consensus mechanisms: Proof-of-Work (PoW) is computationally expensive, while Proof-of-Stake (PoS) improves energy efficiency but risks centralization as it inherently favors participants with larger stakes. Recently, learning-based consensus has emerged as an alternative by replacing cryptographic tasks with model training to save energy. However, this approach introduces potential privacy vulnerabilities, as the training process may inadvertently expose sensitive information through gradient sharing and model updates. To address these challenges, we propose a novel Zero-Knowledge Proof of Training (ZKPoT) consensus mechanism. This method leverages the zero-knowledge succinct non-interactive argument of knowledge proof (zk-SNARK) protocol to validate participants’ contributions based on their model performance, effectively eliminating the inefficiencies of traditional consensus methods and mitigating the privacy risks posed by learning-based consensus. Based on this consensus mechanism, we design a blockchain-secured FL system, integrating a ZKPoT-customized block and transaction structure alongside IPFS to streamline the FL and consensus processes while significantly reducing communication and storage costs. We analyze our system’s security, demonstrating its capacity to prevent the disclosure of sensitive information about local models or training data to untrusted parties during the entire FL process. Extensive experiments demonstrate that our system is robust against privacy and Byzantine attacks while maintaining accuracy and utility without trade-offs, scalable across various blockchain settings, and efficient in both computation and communication. † † Tianxing Fu, Jia Hu, and Geyong Min are with the Department of Computer Science, University of Exeter, Exeter EX4 4QJ, U.K. (e-mail: tf407; j.hu; [email protected]) Zi Wang is currently with the University of Electronic Science and Technology of China. (e-mail: [email protected]) I Introduction The conventional deep learning (DL) training process involves centralized collection and processing of vast amounts of local private data, raising significant privacy concerns [ 1 ] . To address this issue, federated learning (FL) [ 2 ] was introduced as a promising solution, enabling distributed model training by aggregating locally trained models on a central server without collecting local data. However, the central server is at risk of single-point failures, making it susceptible to potential collusion or tampering [ 3 ] . On the client side, FL is vulnerable to poisoning and privacy attacks by malicious clients, which jeopardize the system performance and trustworthiness [ 4 ] . To mitigate these risks, the model aggregation process can be shifted from the central server to a decentralized network of nodes (e.g., edge servers), significantly reducing the likelihood of collusion and tampering. Moreover, this decentralized approach can be enhanced in terms of reliability and secured by leveraging the blockchain technology [ 5 , 6 , 7 ] . As a decentralized ledger, blockchain ensures data consistency across a network of distributed nodes and offers salient security features including tamper-proof records and traceability, making it difficult for any individual blockchain node to alter data without detection, thereby strengthening defenses against malicious behaviors within the network [ 3 ] . Blockchain’s security features are underpinned by consensus mechanisms, such as Proof-of-Work (PoW) and Proof-of-Stake (PoS) [ 8 ] , which enable distributed nodes to reach an agreement on the state of the network without relying on a central authority. PoW requires participating nodes (miners) to solve complex mathematical puzzles to validate transactions and select leaders, while PoS selects validators based on the amount of stake (e.g., cryptocurrency) they hold and are willing to “stake” as a guarantee that they will act honestly in the network. Recently, some blockchain-secured FL systems have demonstrated substantial improvements in security and robustness against various attacks [ 9 , 10 , 11 , 12 , 13 ] . For example, several studies [ 8 , 14 ] integrate FL with PoW-based blockchains. While enhancing security, PoW consumes substantial computational resources that could otherwise be utilized for FL model training. This is particularly problematic for resource-constrained edge devices, as they may struggle to handle the intensive cryptographic puzzles required by PoW. Additionally, Proof-of-Stake (PoS)-based systems, although more energy efficient, may introduce centralization risks by favoring participants with larger stakes, which could undermine fairness and security [ 3 ] . Consensus mechanisms based on model performance, such as Proof of Deep Learning (PoDL) [ 15 ] and Proof of Federated Learning (PoFL) [ 16 ] , offer promising solutions to address this issue. These mechanisms replace the computationally intensive mathematical puzzles in PoW with DL training tasks, selecting the client with the best model as the leader. However, to ensure the soundness of the leader selection, verifying clients’ model performance is necessary. This verification process typically requires clients to access and run others’ models on a shared test dataset, which inadvertently leads to information leakage, as model parameters might reveal insights derived from the training data [ 4 , 17 ] . To address the above privacy risks, several studies [ 18 , 19 ] apply differential privacy (DP) techniques, which introduce Gaussian noise during training, to safeguard model parameters. Nonetheless, existing research [ 4 , 20 , 21 ] indicates that while DP helps in maintaining model confidentiality, it typically results in longer training and aggregation times, as well as lower model accuracy, due to the noise added to the gradients of the target classifier during training. Furthermore, several studies have shown that DP is insufficient in fully preventing privacy attacks. Gupta et al. [ 22 ] conducted a gradient inversion attack (GIA) to recover training data from model parameters, while Truex et al. [ 21 ] performed a membership inference attack (MIA) to determine whether certain data points are within the training dataset, both targeting at models protected by DPs. To address these challenges, we propose a novel consensus mechanism, namely Zero-Knowledge Proof of Training (ZKPoT), which enables clients to prove their training results without sharing models. Recently, zero-knowledge proofs (ZKPs) have been used to demonstrate the integrity of inference results of DL models [ 23 , 24 ] . As a cryptographic technique, ZKP allows a prover to convince a verifier of the truth of a statement without revealing any information beyond the statement itself. Specifically, ZKPoT leverages a specific type of ZKP, known as the zero-knowledge succinct non-interactive argument of knowledge (zk-SNARK). Using the zk-SNARK scheme, clients generate cryptographic proofs that encapsulate both the model’s accuracy and the results of the inference computation. These proofs validate the correctness of the inference without revealing the underlying model parameters or sensitive training data, thereby verifying performance while ensuring privacy. Moreover, these proofs are stored on a blockchain, ensuring they remain immutable and can be easily verified by any client within the network. To reduce the computational burden for clients, ZKPoT centralizes essential, repetitive proof generation operations required for verifying model updates to a trusted third party - the publisher of FL tasks, which initiates the training process and provides a set of test data [ 7 ] . ZKPoT also incorporates the Inter-Planetary File System (IPFS) to

Read the complete text