BlockDFL: A Blockchain-based Fully Decentralized Peer-to-Peer Federated Learning Framework

Zhen Qin, Xueqiang Yan, Mengchu Zhou, Shuiguang Deng

Research output: Chapter in Book/Report/Conference proceedingConference contribution

5 Scopus citations

Abstract

Federated learning (FL) enables the collaborative training of machine learning models without sharing training data. Traditional FL heavily relies on a trusted centralized server. Although decentralized FL eliminates the dependence on a centralized server, it faces such issues as poisoning attacks and data representation leakage due to insufficient restrictions on the behavior of participants, and heavy communication costs in fully decentralized scenarios, i.e., peer-to-peer (P2P) settings. This work proposes a blockchainbased fully decentralized P2P framework for FL, called BlockDFL. It takes blockchain as the foundation, leveraging the proposed voting mechanism and a two-layer scoring mechanism to coordinate FL among participants without mutual trust, while effectively defending against poisoning attacks. Gradient compression is introduced to lower communication cost and to prevent data from being reconstructed from transmitted model updates. The results of extensive experiments conducted on two real-world datasets exhibit that BlockDFL obtains competitive accuracy compared to centralized FL and can defend against poisoning attacks while achieving efficiency and scalability. Especially when the proportion of malicious participants is as high as 40%, BlockDFL can still preserve the accuracy of FL, outperforming existing fully decentralized P2P FL frameworks based on blockchain.

Original languageEnglish (US)
Title of host publicationWWW 2024 - Proceedings of the ACM Web Conference
PublisherAssociation for Computing Machinery, Inc
Pages2914-2925
Number of pages12
ISBN (Electronic)9798400701719
DOIs
StatePublished - May 13 2024
Externally publishedYes
Event33rd ACM Web Conference, WWW 2024 - Singapore, Singapore
Duration: May 13 2024May 17 2024

Publication series

NameWWW 2024 - Proceedings of the ACM Web Conference

Conference

Conference33rd ACM Web Conference, WWW 2024
Country/TerritorySingapore
CitySingapore
Period5/13/245/17/24

All Science Journal Classification (ASJC) codes

  • Computer Networks and Communications
  • Software

Keywords

  • blockchain
  • decentralized federated learning
  • peer-to-peer
  • trustworthy federated learning

Fingerprint

Dive into the research topics of 'BlockDFL: A Blockchain-based Fully Decentralized Peer-to-Peer Federated Learning Framework'. Together they form a unique fingerprint.

Cite this