Blockchain-Based Decentralized Federated Learning Method in Edge Computing Environment

In recent years, federated learning has been able to provide an effective solution for data privacy protection, so it has been widely used in financial, medical, and other fields. However, traditional federated learning still suffers from single-point server failure, which is a frequent issue from t...

Full description

Bibliographic Details
Main Authors: Song Liu, Xiong Wang, Longshuo Hui, Weiguo Wu
Format: Article
Language:English
Published: MDPI AG 2023-01-01
Series:Applied Sciences
Subjects:
Online Access:https://www.mdpi.com/2076-3417/13/3/1677
_version_ 1827760388418043904
author Song Liu
Xiong Wang
Longshuo Hui
Weiguo Wu
author_facet Song Liu
Xiong Wang
Longshuo Hui
Weiguo Wu
author_sort Song Liu
collection DOAJ
description In recent years, federated learning has been able to provide an effective solution for data privacy protection, so it has been widely used in financial, medical, and other fields. However, traditional federated learning still suffers from single-point server failure, which is a frequent issue from the centralized server for global model aggregation. Additionally, it also lacks an incentive mechanism, which leads to the insufficient contribution of local devices to global model training. In this paper, we propose a blockchain-based decentralized federated learning method, named BD-FL, to solve these problems. BD-FL combines blockchain and edge computing techniques to build a decentralized federated learning system. An incentive mechanism is introduced to motivate local devices to actively participate in federated learning model training. In order to minimize the cost of model training, BD-FL designs a preference-based stable matching algorithm to bind local devices with appropriate edge servers, which can reduce communication overhead. In addition, we propose a reputation-based practical Byzantine fault tolerance (R-PBFT) algorithm to optimize the consensus process of global model training in the blockchain. Experiment results show that BD-FL effectively reduces the model training time by up to 34.9% compared with several baseline federated learning methods. The R-PBFT algorithm can improve the training efficiency of BD-FL by 12.2%.
first_indexed 2024-03-11T09:51:52Z
format Article
id doaj.art-44d10a9287f94b4fa5ada3620f3c7696
institution Directory Open Access Journal
issn 2076-3417
language English
last_indexed 2024-03-11T09:51:52Z
publishDate 2023-01-01
publisher MDPI AG
record_format Article
series Applied Sciences
spelling doaj.art-44d10a9287f94b4fa5ada3620f3c76962023-11-16T16:08:53ZengMDPI AGApplied Sciences2076-34172023-01-01133167710.3390/app13031677Blockchain-Based Decentralized Federated Learning Method in Edge Computing EnvironmentSong Liu0Xiong Wang1Longshuo Hui2Weiguo Wu3School of Computer Science and Technology, Xi’an Jiaotong University, Xi’an 710049, ChinaSchool of Computer Science and Technology, Xi’an Jiaotong University, Xi’an 710049, ChinaSchool of Computer Science and Technology, Xi’an Jiaotong University, Xi’an 710049, ChinaSchool of Computer Science and Technology, Xi’an Jiaotong University, Xi’an 710049, ChinaIn recent years, federated learning has been able to provide an effective solution for data privacy protection, so it has been widely used in financial, medical, and other fields. However, traditional federated learning still suffers from single-point server failure, which is a frequent issue from the centralized server for global model aggregation. Additionally, it also lacks an incentive mechanism, which leads to the insufficient contribution of local devices to global model training. In this paper, we propose a blockchain-based decentralized federated learning method, named BD-FL, to solve these problems. BD-FL combines blockchain and edge computing techniques to build a decentralized federated learning system. An incentive mechanism is introduced to motivate local devices to actively participate in federated learning model training. In order to minimize the cost of model training, BD-FL designs a preference-based stable matching algorithm to bind local devices with appropriate edge servers, which can reduce communication overhead. In addition, we propose a reputation-based practical Byzantine fault tolerance (R-PBFT) algorithm to optimize the consensus process of global model training in the blockchain. Experiment results show that BD-FL effectively reduces the model training time by up to 34.9% compared with several baseline federated learning methods. The R-PBFT algorithm can improve the training efficiency of BD-FL by 12.2%.https://www.mdpi.com/2076-3417/13/3/1677decentralized federated learningblockchainedge computingstable matchingconsensus algorithm
spellingShingle Song Liu
Xiong Wang
Longshuo Hui
Weiguo Wu
Blockchain-Based Decentralized Federated Learning Method in Edge Computing Environment
Applied Sciences
decentralized federated learning
blockchain
edge computing
stable matching
consensus algorithm
title Blockchain-Based Decentralized Federated Learning Method in Edge Computing Environment
title_full Blockchain-Based Decentralized Federated Learning Method in Edge Computing Environment
title_fullStr Blockchain-Based Decentralized Federated Learning Method in Edge Computing Environment
title_full_unstemmed Blockchain-Based Decentralized Federated Learning Method in Edge Computing Environment
title_short Blockchain-Based Decentralized Federated Learning Method in Edge Computing Environment
title_sort blockchain based decentralized federated learning method in edge computing environment
topic decentralized federated learning
blockchain
edge computing
stable matching
consensus algorithm
url https://www.mdpi.com/2076-3417/13/3/1677
work_keys_str_mv AT songliu blockchainbaseddecentralizedfederatedlearningmethodinedgecomputingenvironment
AT xiongwang blockchainbaseddecentralizedfederatedlearningmethodinedgecomputingenvironment
AT longshuohui blockchainbaseddecentralizedfederatedlearningmethodinedgecomputingenvironment
AT weiguowu blockchainbaseddecentralizedfederatedlearningmethodinedgecomputingenvironment