[Paper Review] Proof of Federated Learning: A Novel Energy-recycling Consensus Algorithm
This paper proposes Proof of Federated Learning (PoFL), a novel energy-recycling consensus algorithm that replaces the computation-intensive puzzles of traditional Proof of Work (PoW) with federated learning tasks, repurposing mining energy for useful model training. The framework ensures data privacy through a reverse game-based data trading mechanism and a privacy-preserving model verification protocol using homomorphic encryption and secure two-party computation, demonstrating high efficiency and effectiveness in simulations.
Proof of work (PoW), the most popular consensus mechanism for Blockchain, requires ridiculously large amounts of energy but without any useful outcome beyond determining accounting rights among miners. To tackle the drawback of PoW, we propose a novel energy-recycling consensus algorithm, namely proof of federated learning (PoFL), where the energy originally wasted to solve difficult but meaningless puzzles in PoW is reinvested to federated learning. Federated learning and pooled-ming, a trend of PoW, have a natural fit in terms of organization structure. However, the separation between the data usufruct and ownership in Blockchain lead to data privacy leakage in model training and verification, deviating from the original intention of federal learning. To address the challenge, a reverse game-based data trading mechanism and a privacy-preserving model verification mechanism are proposed. The former can guard against training data leakage while the latter verifies the accuracy of a trained model with privacy preservation of the task requester's test data as well as the pool's submitted model. To the best of our knowledge, our paper is the first work to employ federal learning as the proof of work for Blockchain. Extensive simulations based on synthetic and real-world data demonstrate the effectiveness and efficiency of our proposed mechanisms.
Motivation & Objective
- To address the massive energy waste of traditional Proof of Work (PoW) in blockchain by repurposing computational energy for useful tasks.
- To overcome data privacy leakage risks in federated learning when integrated into open blockchain systems, where data ownership and usage are separated.
- To design a secure and efficient mechanism for verifying model accuracy without exposing test data or model weights.
- To enable a practical blockchain consensus mechanism that combines the scalability of pooled mining with the privacy benefits of federated learning.
Proposed method
- Proposes a general PoFL framework where miners in pooled mining contribute local model updates to train a global model, replacing PoW puzzles.
- Designs a new PoFL block structure that includes model accuracy, encrypted test labels, and homomorphic encryption for secure verification.
- Introduces a reverse game-based data trading mechanism that incentivizes pools to train models without leaking training data by aligning utility with honest behavior.
- Employs homomorphic encryption to securely compare predicted labels with ground truth during model verification, preserving test data privacy.
- Uses secure two-party computation to compare model accuracy between the task requester and the pool without revealing the model or test data.
- Simulates the system using synthetic and real-world data to evaluate efficiency, accuracy, and privacy under various conditions.
Experimental results
Research questions
- RQ1Can federated learning be effectively used as a substitute for cryptographic puzzles in blockchain consensus, thereby recycling wasted mining energy?
- RQ2How can data privacy be preserved when training data is owned by miners but the model is trained in a public blockchain environment?
- RQ3What mechanisms can ensure that pools do not leak training data while still being incentivized to participate honestly?
- RQ4How can model accuracy be verified without exposing the test data or the model weights to untrusted parties?
- RQ5What is the performance overhead of privacy-preserving verification in terms of time and scalability?
Key findings
- The time required for full nodes to sort and verify model accuracies in PoFL is under 60 microseconds, even with 9,364 nodes, indicating high scalability.
- The average time for full nodes to verify model accuracy using encrypted test data is between 1.65 and 1.7 seconds, with total verification time not exceeding 2 seconds.
- The reverse game-based data trading mechanism successfully incentivizes pools to avoid data leakage, as utility maximization occurs only when data remains private.
- The privacy-preserving model verification mechanism effectively protects both the task requester’s test data and the pool’s model from exposure during accuracy comparison.
- Simulations on synthetic and real-world data confirm that PoFL achieves high model accuracy while maintaining strong privacy guarantees and low verification latency.
- PoFL is the first work to integrate federated learning as the proof-of-work mechanism in blockchain, offering a sustainable and privacy-preserving alternative to traditional PoW.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.