Skip to main content
QUICK REVIEW

[论文解读] Blockchain-based Federated Learning for Device Failure Detection in Industrial IoT

Weishan Zhang, Qinghua Lu|arXiv (Cornell University)|Sep 6, 2020
Privacy-Preserving Technologies in DataComputer Science参考文献 25被引用 18
一句话总结

本文提出了一种基于区块链的联邦学习框架,用于工业物联网设备故障检测,可在保护数据隐私的同时确保数据完整性。通过使用基于质心距离加权的联邦平均(CDW_FedAvg)算法以及区块链锚定的Merkle树,该系统减轻了数据异质性的影响,并实现了可验证的、基于激励的客户端参与,在真实场景的冷水机组故障检测用例中实现了高检测准确率与低通信开销。

ABSTRACT

Device failure detection is one of most essential problems in industrial internet of things (IIoT). However, in conventional IIoT device failure detection, client devices need to upload raw data to the central server for model training, which might lead to disclosure of sensitive business data. Therefore, in this paper, to ensure client data privacy, we propose a blockchain-based federated learning approach for device failure detection in IIoT. First, we present a platform architecture of blockchain-based federated learning systems for failure detection in IIoT, which enables verifiable integrity of client data. In the architecture, each client periodically creates a Merkle tree in which each leaf node represents a client data record, and stores the tree root on a blockchain. Further, 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. In addition, to motivate clients to participate in federated learning, a smart contact based incentive mechanism is designed depending on the size and the centroid distance of client data used in local model training. 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 is feasible, and has satisfactory accuracy and performance.

研究动机与目标

  • 为解决工业物联网中因避免将原始数据传输至中心服务器而引发的数据隐私问题。
  • 通过区块链锚定的Merkle树,确保联邦学习中数据的可验证完整性。
  • 通过一种新型的CDW_FedAvg聚合算法,缓解工业物联网故障检测中的数据异质性问题。
  • 通过基于智能合约的机制,将激励与数据贡献和质量挂钩,激励客户端参与。
  • 在真实工业用例中验证所提出系统的可行性、准确率与性能。

提出的方法

  • 设计了一套平台架构,系统性地协调模型训练、数据存储、区块链锚定及激励分发。
  • 每个客户端从本地数据记录构建Merkle树,其根哈希定期存储于区块链,以确保数据完整性。
  • CDW_FedAvg算法根据每个客户端数据集中正样本(故障)与负样本(正常)类别之间的质心距离对模型更新进行加权,以减轻数据异质性带来的偏差。
  • 基于智能合约的激励机制根据客户端贡献数据的大小及其质心距离进行奖励,促进积极的参与。
  • 系统采用联邦学习机制,在边缘设备上进行本地模型训练,并在中心服务器上进行全局模型聚合,最大限度减少数据传输。
  • 与工业合作伙伴合作,基于真实冷水机组的运行数据实现了一个原型系统,以评估性能。

实验结果

研究问题

  • RQ1如何在不集中原始数据的前提下,保护工业物联网故障检测中的数据隐私?
  • RQ2如何有效利用区块链确保联邦学习中客户端数据的完整性与可验证性?
  • RQ3数据异质性对工业物联网故障检测中联邦学习的影响是什么?如何缓解?
  • RQ4如何在去中心化的联邦学习系统中有效激励客户端参与?
  • RQ5与集中式学习相比,所提出系统的通信与性能开销如何?

主要发现

  • 所提出的CDW_FedAvg算法在标准FedAvg基础上提升了检测准确率,尤其在逻辑回归模型上表现更优,其中客户端#3的提升最为显著。
  • 联邦学习相比集中式学习显著降低了通信开销——当数据量达到10^9条记录时,数据传输量最高可减少99%。
  • 联邦学习的通信开销与数据规模无关,保持恒定,因为仅传输模型更新;而集中式学习的通信开销随数据量线性增长。
  • 所提系统在所有客户端上均实现了高检测准确率,其中客户端#3表现最佳,客户端#4表现最低,表明其在异构数据分布下具有鲁棒性。
  • F1值、精确率与召回率指标表明,CDW_FedAvg在平衡性能方面优于标准联邦学习,尤其在LR模型上表现突出。
  • 激励机制成功量化并奖励了客户端的贡献,基于数据大小与质心距离,促进了公平且积极的参与。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。