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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Qin, Zhen, Yan, Xueqiang, Zhou, Mengchu, Deng, Shuiguang
Natura: Preprint
Pubblicazione: 2022
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916104070234112
author Qin, Zhen
Yan, Xueqiang
Zhou, Mengchu
Deng, Shuiguang
author_facet Qin, Zhen
Yan, Xueqiang
Zhou, Mengchu
Deng, Shuiguang
contents Federated learning (FL) enables collaborative training of machine learning models without sharing training data. Traditional FL heavily relies on a trusted centralized server. Although decentralized FL eliminates the central dependence, it may worsen the other inherit problems faced by FL such as poisoning attacks and data representation leakage due to insufficient restrictions on the behavior of participants, and heavy communication cost, especially in fully decentralized scenarios, i.e., peer-to-peer (P2P) settings. In this paper, we propose a blockchain-based fully decentralized P2P framework for FL, called BlockDFL. It takes blockchain as the foundation, leveraging the proposed PBFT-based voting mechanism and two-layer scoring mechanism to coordinate FL among peer participants without mutual trust, while effectively defending against poisoning attacks. Gradient compression is introduced to lowering communication cost and prevent data from being reconstructed from transmitted model updates. Extensive experiments conducted on two real-world datasets exhibit that BlockDFL obtains competitive accuracy compared to centralized FL and can defend 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.
format Preprint
id arxiv_https___arxiv_org_abs_2205_10568
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle BlockDFL: A Blockchain-based Fully Decentralized Peer-to-Peer Federated Learning Framework
Qin, Zhen
Yan, Xueqiang
Zhou, Mengchu
Deng, Shuiguang
Distributed, Parallel, and Cluster Computing
Federated learning (FL) enables collaborative training of machine learning models without sharing training data. Traditional FL heavily relies on a trusted centralized server. Although decentralized FL eliminates the central dependence, it may worsen the other inherit problems faced by FL such as poisoning attacks and data representation leakage due to insufficient restrictions on the behavior of participants, and heavy communication cost, especially in fully decentralized scenarios, i.e., peer-to-peer (P2P) settings. In this paper, we propose a blockchain-based fully decentralized P2P framework for FL, called BlockDFL. It takes blockchain as the foundation, leveraging the proposed PBFT-based voting mechanism and two-layer scoring mechanism to coordinate FL among peer participants without mutual trust, while effectively defending against poisoning attacks. Gradient compression is introduced to lowering communication cost and prevent data from being reconstructed from transmitted model updates. Extensive experiments conducted on two real-world datasets exhibit that BlockDFL obtains competitive accuracy compared to centralized FL and can defend 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.
title BlockDFL: A Blockchain-based Fully Decentralized Peer-to-Peer Federated Learning Framework
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2205.10568