Robust Blockchained Federated Learning with Model Validation and Proof-of-Stake Inspired Consensus

Hang Chen, Syed Ali Asif, Jihong Park, Chien-Chung Shen, Mehdi Bennis
1/9/2021
68 citations
cs.LGcs.AIcs.CR
federated

Official code: hanglearning/VBFL (75 stars, Python, last commit 2023-10-30).

Abstract

Federated learning (FL) is a promising distributed learning solution that only exchanges model parameters without revealing raw data. However, the centralized architecture of FL is vulnerable to the single point of failure.

Show full abstract

In addition, FL does not examine the legitimacy of local models, so even a small fraction of malicious devices can disrupt global training. To resolve these robustness issues of FL, in this paper, we propose a blockchain-based decentralized FL framework, termed VBFL, by exploiting two mechanisms in a blockchained architecture. First, we introduced a novel decentralized validation mechanism such that the legitimacy of local model updates is examined by individual validators. Second, we designed a dedicated proof-of-stake consensus mechanism where stake is more frequently rewarded to honest devices, which protects the legitimate local model updates by increasing their chances of dictating the blocks appended to the blockchain. Together, these solutions promote more federation within legitimate devices, enabling robust FL. Our emulation results of the MNIST classification corroborate that with 15% of malicious devices, VBFL achieves 87% accuracy, which is 7.4x higher than Vanilla FL.

View on arXivView PDF

Code Implementations(1)

hanglearning/VBFLOfficial100%
7517PythonAug 19, 20203 years ago

Similar Papers

Cite this paper

@article{chen2021robust,
  title  = {Robust Blockchained Federated Learning with Model Validation and Proof-of-Stake Inspired Consensus},
  author = {Hang Chen and Syed Ali Asif and Jihong Park and Chien-Chung Shen and Mehdi Bennis},
  year   = {2021},
  eprint = {2101.03300},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.03300}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.03300.svg)](https://codeofpaper.com/paper/2101.03300)

Discussion