arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.13130cs.CRcs.AIcs.ITmath.IT
收藏

基于分层与分片区块链的安全高效联邦学习

Secure and Efficient Federated Learning Through Layering and Sharding Blockchain

Beijing University of Posts and Telecommunications(北京邮电大学);University of Glasgow(格拉斯哥大学);Zhejiang Lab(之江实验室)

Shuo Yuan, Bin Cao, Yao Sun, Zhiguo Wan, Mugen Peng

AI总结:

针对传统区块链支撑联邦学习时资源消耗高、吞吐量低的问题,提出双层区块链驱动的ChainFL系统,通过子链分片、DAG主链及改进共识机制,实现训练效率与鲁棒性的显著提升。

摘要:

将区块链引入联邦学习(Federated Learning, FL)以构建可信的边缘计算传输与学习环境,作为一种新型去中心化学习模式已受到广泛关注。然而,传统区块链系统的共识机制与架构在处理大规模FL任务时面临严峻挑战,尤其是在物联网(Internet of Things, IoT)设备上,原因在于其资源消耗巨大、交易吞吐量有限且通信需求复杂。为应对这些挑战,本文提出ChainFL——一种由双层区块链驱动的新型FL系统。该系统在子链层将IoT网络划分为多个分片,有效缩小了信息交换规模,并采用基于有向无环图(Direct Acyclic Graph, DAG)的主链作为主链层,实现并行异步的跨分片验证。此外,本文对FL流程进行定制化改造以深度融合区块链技术,还设计了改进的DAG共识机制以缓解异常模型导致的失真。为提供概念验证实现与评估,研究部署了多个基于Hyperledger Fabric的子链以及一条自主研发的基于DAG的主链。大量实验表明,ChainFL的性能显著优于传统FL系统,训练效率最高提升14%,鲁棒性提升至原来的3倍。

英文摘要:

Introducing blockchain into Federated Learning (FL) to build a trusted edge computing environment for transmission and learning has attracted widespread attention as a new decentralized learning pattern. However, traditional consensus mechanisms and architectures of blockchain systems face significant challenges in handling large-scale FL tasks, especially on Internet of Things (IoT) devices, due to their substantial resource consumption, limited transaction throughput, and complex communication requirements. To address these challenges, this paper proposes ChainFL, a novel two-layer blockchain-driven FL system. It splits the IoT network into multiple shards within the subchain layer, effectively reducing the scale of information exchange, and employs a Direct Acyclic Graph (DAG)-based mainchain as the mainchain layer, enabling parallel and asynchronous cross-shard validation. Furthermore, the FL procedure is customized to integrate deeply with blockchain technology, and a modified DAG consensus mechanism is designed to mitigate distortion caused by abnormal models. To provide a proof-of-concept implementation and evaluation, multiple subchains based on Hyperledger Fabric and a self-developed DAG-based mainchain are deployed. Extensive experiments demonstrate that ChainFL significantly surpasses conventional FL systems, showing up to a 14% improvement in training efficiency and a threefold increase in robustness.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑