DFL: High-Performance Blockchain-Based Federated Learning

Yongding Tian, Zhuoran Guo, Jiaxuan Zhang, Zaid Al-Ars
10/28/2021
cs.DC
federated

Official code: twoentartian/DFL (12 stars, C++, last commit 2022-12-08).

Abstract

Many researchers have proposed replacing the aggregation server in federated learning with a blockchain system to improve privacy, robustness, and scalability. In this approach, clients would upload their updated models to the blockchain ledger and use a smart contract to perform model averaging.

Show full abstract

However, the significant delay and limited computational capabilities of blockchain systems make it inefficient to support machine learning applications on the blockchain. In this paper, we propose a new public blockchain architecture called DFL, which is specially optimized for distributed federated machine learning. Our architecture inherits the merits of traditional blockchain systems while achieving low latency and low resource consumption by waiving global consensus. To evaluate the performance and robustness of our architecture, we implemented a prototype and tested it on a physical four-node network, and also developed a simulator to simulate larger networks and more complex situations. Our experiments show that the DFL architecture can reach over 90\% accuracy for non-I.I.D. datasets, even in the presence of model poisoning attacks, while ensuring that the blockchain part consumes less than 5\% of hardware resources.

View on arXivView PDF

Code Implementations(1)

twoentartian/DFLOfficial100%
123C++, CMakeFeb 8, 20213 years ago

Similar Papers

Cite this paper

@article{tian2021dfl,
  title  = {DFL: High-Performance Blockchain-Based Federated Learning},
  author = {Yongding Tian and Zhuoran Guo and Jiaxuan Zhang and Zaid Al-Ars},
  year   = {2021},
  eprint = {2110.15457},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.15457}
}

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/2110.15457.svg)](https://codeofpaper.com/paper/2110.15457)

Discussion