Skip to main content
QUICK REVIEW

[Paper Review] GFL: A Decentralized Federated Learning Framework Based On Blockchain

Yifan Hu, Zhou, Yuhang|arXiv (Cornell University)|Oct 21, 2020
Privacy-Preserving Technologies in DataComputer Science30 references22 citations
TL;DR

This paper proposes GFL, a decentralized federated learning framework leveraging blockchain, consistent hashing, IPFS, and a novel ring decentralized FL algorithm (RDFL) to enhance communication efficiency, model robustness under non-IID data and data poisoning, and security. GFL reduces communication overhead and improves performance and stability compared to existing decentralized FL systems.

ABSTRACT

Federated learning(FL) is a rapidly growing field and many centralized and decentralized FL frameworks have been proposed. However, it is of great challenge for current FL frameworks to improve communication performance and maintain the security and robustness under malicious node attacks. In this paper, we propose Galaxy Federated Learning Framework(GFL), a decentralized FL framework based on blockchain. GFL introduces the consistent hashing algorithm to improve communication performance and proposes a novel ring decentralized FL algorithm(RDFL) to improve decentralized FL performance and bandwidth utilization. In addition, GFL introduces InterPlanetary File System(IPFS) and blockchain to further improve communication efficiency and FL security. Our experiments show that GFL improves communication performance and decentralized FL performance under the data poisoning of malicious nodes and non-independent and identically distributed(Non-IID) datasets.

Motivation & Objective

  • To address communication bottlenecks and security vulnerabilities in existing decentralized federated learning (FL) frameworks.
  • To improve decentralized FL performance under non-i.i.d. (Non-IID) data distributions and data poisoning attacks.
  • To enhance system stability and reduce communication pressure through novel topology and aggregation mechanisms.
  • To ensure model update integrity and traceability using blockchain and IPFS for secure, decentralized FL.

Proposed method

  • Employing consistent hashing to construct a stable ring topology among data nodes, minimizing communication overhead and improving scalability.
  • Designing a novel Ring Decentralized FL (RDFL) algorithm that integrates ring-allreduce and knowledge distillation to enhance bandwidth utilization and model convergence.
  • Integrating InterPlanetary File System (IPFS) to distribute and store model updates efficiently, reducing reliance on centralized communication channels.
  • Using blockchain to enforce consensus on model updates, ensuring auditability, integrity, and resistance to tampering.
  • Implementing end-to-end encryption via AES and public-key cryptography for secure model transmission between nodes.
  • Combining IPFS with blockchain to encrypt model hashes in transactions, preventing data leakage and enhancing privacy.

Experimental results

Research questions

  • RQ1How can communication overhead and topology instability in decentralized FL frameworks be reduced?
  • RQ2To what extent can a ring-based decentralized aggregation mechanism improve model convergence and bandwidth utilization under Non-IID data?
  • RQ3Can the integration of IPFS and blockchain significantly enhance communication efficiency and security in decentralized FL?
  • RQ4How does the proposed RDFL algorithm perform under data poisoning and non-i.i.d. data distributions compared to FedAvg?
  • RQ5What is the trade-off between security (via blockchain) and communication performance in decentralized FL?

Key findings

  • The RDFL algorithm outperforms FedAvg in both accuracy and convergence speed under various non-i.i.d. data partitioning schemes, including label partitioning and LDA-based partitioning.
  • Under data poisoning with 20% malicious nodes, RDFL maintains significantly higher test accuracy than FedAvg, demonstrating improved robustness.
  • The use of IPFS reduces communication time and data volume by up to 60% compared to conventional decentralized FL frameworks.
  • Blockchain integration increases communication time slightly due to consensus overhead but provides strong security guarantees against tampering and unauthorized updates.
  • The combination of consistent hashing, RDFL, IPFS, and blockchain results in a stable, scalable, and secure decentralized FL framework with improved overall performance.

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.