arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.11464cs.DC
收藏

BagChain:一种利用基于Bagging的分布式学习的双功能区块链

BagChain: A Dual-functional Blockchain Leveraging Bagging-based Distributed Learning

Purple Mountain Laboratories(紫金山实验室);Department of Electrical and Computer Engineering, University of California at Davis(加州大学戴维斯分校电气与计算机工程系)

Zixiang Cui, Xintong Ling, Xingyu Zhou, Jiaheng Wang, Zhi Ding, Xiqi Gao

AI总结:

本文提出双功能区块链框架BagChain,用机器学习训练取代工作量证明的哈希计算,实现基于bagging的去中心化学习,并设计三层结构与跨分叉共享机制,在IID和非IID数据集上均表现出有效性与稳健性。

摘要:

本文提出了一种名为BagChain的双功能区块链框架,用于基于bagging的去中心化学习。BagChain通过用机器学习模型训练取代工作量证明中计算成本高昂的哈希操作,将区块链与分布式机器学习相结合。BagChain利用各个矿工的私有数据样本和有限的计算资源来训练潜在的弱基础模型(这些模型可能非常弱),并进一步将其聚合为强集成模型。具体而言,我们设计了一种三层区块链结构以及相应的生成和验证机制,以在无许可和开放的环境中实现非协调矿工之间的分布式机器学习。为了减少区块链分叉造成的计算浪费,我们进一步提出了适用于具有较长延迟的实际网络的跨分叉共享机制。大量实验表明,BagChain在处理独立同分布(IID)和非IID数据集上的各种机器学习任务时具有优越性和有效性。即使在面临受限的本地计算能力、异构的私有用户数据和稀疏的网络连接时,BagChain仍然保持稳健和有效。

英文摘要:

This work proposes a dual-functional blockchain framework named BagChain for bagging-based decentralized learning. BagChain integrates blockchain with distributed machine learning by replacing the computationally costly hash operations in proof-of-work with machine-learning model training. BagChain utilizes individual miners' private data samples and limited computing resources to train potentially weak base models, which may be very weak, and further aggregates them into strong ensemble models. Specifically, we design a three-layer blockchain structure associated with the corresponding generation and validation mechanisms to enable distributed machine learning among uncoordinated miners in a permissionless and open setting. To reduce computational waste due to blockchain forking, we further propose the cross fork sharing mechanism for practical networks with lengthy delays. Extensive experiments illustrate the superiority and efficacy of BagChain when handling various machine learning tasks on both independently and identically distributed (IID) and non-IID datasets. BagChain remains robust and effective even when facing constrained local computing capability, heterogeneous private user data, and sparse network connectivity.

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

↑