Blockchain-based Federated Learning for Failure Detection in Industrial IoT

Federated learning is an emerging privacy-preserving machine learning paradigm which has attracted great interests from the community of Industrial Internet of Things (IIoT). Blockchain has been recently leveraged in IIoT federated learning to provide data integrity and incentives to attract sufficient client data and computation resources for training. However, there is a lack of systematic architecture design for blockchain-based federated learning systems to support methodical development and tackle the challenge of data heterogeneity in failure detection of IIoT. Also, the current solutions do not consider the incentive mechanism design and scalability issue of blockchain. Therefore, in this paper, we present a platform architecture of blockchain-based federated learning systems for failure detection in IIoT. To address the data heterogeneity issue in IIoT failure detection, we propose a novel centroid distance weighted federated averaging (CDW\_FedAvg) algorithm taking into account the distance between positive class and negative class of each client dataset. To enable verifiable integrity of client data in a scalable way, each client server periodically creates a Merkle tree in which each leaf node represents a client data record, and stores the tree root on a blockchain. An on-chain incentive mechanism is designed based on the size of client data used in local model training to accurately and timely calculate each client's contribution. A prototype of the proposed architecture is implemented with our industry partner, and evaluated in terms of feasibility, accuracy and performance. The results show that the approach ensures data integrity and has satisfactory detection accuracy and performance.

[1]  Tao Han,et al.  Smart Contract-Based Spectrum Sharing Transactions for Multi-Operators Wireless Communication Networks , 2020, IEEE Access.

[2]  Ian Sommerville,et al.  Requirements Engineering: Processes and Techniques , 1998 .

[3]  Jun Zhao,et al.  Mobile Edge Computing, Blockchain and Reputation-based Crowdsourcing IoT Federated Learning: A Secure, Decentralized and Privacy-preserving System , 2019, ArXiv.

[4]  Sebastian Caldas,et al.  LEAF: A Benchmark for Federated Settings , 2018, ArXiv.

[5]  Junghee Lee,et al.  A Hardware-assisted Heartbeat Mechanism for Fault Identification in Large-scale IoT Systems , 2020 .

[6]  Junghee Lee,et al.  IoTCop: A Blockchain-Based Monitoring Framework for Detection and Isolation of Malicious Devices in Internet-of-Things Systems , 2021, IEEE Internet of Things Journal.

[7]  Xiangliang Zhang,et al.  Robust Federated Learning via Collaborative Machine Teaching , 2020, AAAI.

[8]  Yan Huang,et al.  Realizing the Heterogeneity: A Self-Organized Federated Learning Framework for IoT , 2021, IEEE Internet of Things Journal.

[9]  Richard Nock,et al.  Advances and Open Problems in Federated Learning , 2019, Found. Trends Mach. Learn..

[10]  Steve Omohundro,et al.  Cryptocurrencies, smart contracts, and artificial intelligence , 2014, SIGAI.

[11]  Yan Zhang,et al.  Blockchain and Federated Learning for Privacy-Preserved Data Sharing in Industrial IoT , 2020, IEEE Transactions on Industrial Informatics.

[12]  Yue Zhang,et al.  DeepChain: Auditable and Privacy-Preserving Deep Learning with Blockchain-Based Incentive , 2019, IEEE Transactions on Dependable and Secure Computing.

[13]  Swaroop Ramaswamy,et al.  Federated Learning for Emoji Prediction in a Mobile Keyboard , 2019, ArXiv.

[14]  Seong-Lyun Kim,et al.  Blockchained On-Device Federated Learning , 2018, IEEE Communications Letters.

[15]  Spyridon Bakas,et al.  Multi-Institutional Deep Learning Modeling Without Sharing Patient Data: A Feasibility Study on Brain Tumor Segmentation , 2018, BrainLes@MICCAI.

[16]  Yuna Jiang,et al.  Smart Contract-Based Data Commodity Transactions for Industrial Internet of Things , 2019, IEEE Access.

[17]  Hubert Eichner,et al.  APPLIED FEDERATED LEARNING: IMPROVING GOOGLE KEYBOARD QUERY SUGGESTIONS , 2018, ArXiv.

[18]  Weisong Shi,et al.  The Promise of Edge Computing , 2016, Computer.

[19]  Wenchao Huang,et al.  FLChain: A Blockchain for Auditable Federated Learning with Trust and Incentive , 2019, 2019 5th International Conference on Big Data Computing and Communications (BIGCOM).

[20]  Chen Wang,et al.  A Systematic Literature Review on Federated Machine Learning , 2020, ACM Comput. Surv..

[21]  Blaise Agüera y Arcas,et al.  Federated Learning of Deep Networks using Model Averaging , 2016, ArXiv.

[22]  Peter Richtárik,et al.  Federated Learning: Strategies for Improving Communication Efficiency , 2016, ArXiv.

[23]  Satoshi Nakamoto Bitcoin : A Peer-to-Peer Electronic Cash System , 2009 .

[24]  Choong Seon Hong,et al.  FLchain: Federated Learning via MEC-enabled Blockchain Network , 2019, 2019 20th Asia-Pacific Network Operations and Management Symposium (APNOMS).

[25]  Takayuki Nishio,et al.  Client Selection for Federated Learning with Heterogeneous Resources in Mobile Edge , 2018, ICC 2019 - 2019 IEEE International Conference on Communications (ICC).

[26]  Björn Scheuermann,et al.  Bitcoin and Beyond: A Technical Survey on Decentralized Digital Currencies , 2016, IEEE Communications Surveys & Tutorials.

[27]  Shengli Xie,et al.  Incentive Mechanism for Reliable Federated Learning: A Joint Optimization Approach to Combining Reputation and Contract Theory , 2019, IEEE Internet of Things Journal.

[28]  Tom Ouyang,et al.  Federated Learning Of Out-Of-Vocabulary Words , 2019, ArXiv.