[Paper Review] BlockFLow: An Accountable and Privacy-Preserving Solution for Federated Learning
BlockFLow is a decentralized, privacy-preserving federated learning system that uses differential privacy, blockchain-based smart contracts, and a novel auditing mechanism to score model contributions and reward agents proportionally to their quality. It ensures accountability without centralized trust, resists up to 50% malicious collusion, and maintains data privacy while enabling secure, cryptographically enforced incentives via Ethereum.
Federated learning enables the development of a machine learning model among collaborating agents without requiring them to share their underlying data. However, malicious agents who train on random data, or worse, on datasets with the result classes inverted, can weaken the combined model. BlockFLow is an accountable federated learning system that is fully decentralized and privacy-preserving. Its primary goal is to reward agents proportional to the quality of their contribution while protecting the privacy of the underlying datasets and being resilient to malicious adversaries. Specifically, BlockFLow incorporates differential privacy, introduces a novel auditing mechanism for model contribution, and uses Ethereum smart contracts to incentivize good behavior. Unlike existing auditing and accountability methods for federated learning systems, our system does not require a centralized test dataset, sharing of datasets between the agents, or one or more trusted auditors; it is fully decentralized and resilient up to a 50% collusion attack in a malicious trust model. When run on the public Ethereum blockchain, BlockFLow uses the results from the audit to reward parties with cryptocurrency based on the quality of their contribution. We evaluated BlockFLow on two datasets that offer classification tasks solvable via logistic regression models. Our results show that the resultant auditing scores reflect the quality of the honest agents' datasets. Moreover, the scores from dishonest agents are statistically lower than those from the honest agents. These results, along with the reasonable blockchain costs, demonstrate the effectiveness of BlockFLow as an accountable federated learning system.
Motivation & Objective
- To address the lack of accountability and trust in federated learning, especially from malicious agents submitting low-quality or adversarial models.
- To eliminate reliance on centralized test datasets, trusted auditors, or data sharing between agents in model evaluation.
- To design a fully decentralized system that fairly rewards agents based on contribution quality while preserving dataset privacy.
- To ensure resilience against up to 50% malicious collusion in a malicious threat model.
- To enable secure, automated incentive distribution using blockchain-based smart contracts.
Proposed method
- Integrates differential privacy into model updates to protect against membership and model inversion attacks.
- Employs a novel, decentralized auditing mechanism that evaluates each agent’s contribution without revealing underlying data.
- Uses Ethereum smart contracts to store audit scores and automatically distribute cryptocurrency rewards based on contribution quality.
- Deploys a reputation-based scoring system where each agent evaluates others’ models using a shared, verifiable protocol.
- Relies on public blockchain immutability and consensus to ensure audit results cannot be tampered with.
- Enables trustless collaboration by eliminating the need for a central authority or shared test data.
Experimental results
Research questions
- RQ1Can a fully decentralized federated learning system fairly evaluate and reward model contributions without a centralized test set or trusted auditor?
- RQ2How can differential privacy be combined with blockchain-based incentives to ensure both privacy and accountability?
- RQ3To what extent can the system resist collusion attacks involving up to 50% of malicious agents?
- RQ4Can the auditing mechanism reliably distinguish between high-quality and low-quality contributions in practice?
- RQ5What are the practical trade-offs in terms of blockchain gas costs and scalability for real-world deployment?
Key findings
- The auditing scores generated by BlockFLow accurately reflect the quality of honest agents’ datasets, with statistically significant differences observed between honest and dishonest contributions.
- Dishonest agents who submit models trained on inverted labels or random data received significantly lower audit scores, demonstrating effective detection.
- The system achieved effective accountability and privacy preservation without requiring shared data, centralized test sets, or trusted third parties.
- The use of Ethereum smart contracts enabled secure, automated reward distribution based on verifiable audit results.
- Gas costs for blockchain operations remained reasonable, indicating practical feasibility for real-world federated learning deployments.
- The system is resilient to up to 50% malicious collusion, maintaining integrity under a strong malicious threat model.
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.