arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.04062cs.DCcs.AI
收藏

基于区块链的大规模模型可靠推理与训练平台

A Blockchain-based Platform for Reliable Inference and Training of Large-Scale Models

Seoul National University(首尔国立大学)

Sanghyeon Park, Junmo Lee, Soo-Mook Moon

AI总结:

针对区块链处理大规模模型推理训练效率低的问题,提出BRAIN平台,采用双阶段交易机制和随机委员会共识,实现高吞吐量推理与训练,性能提升454倍。

摘要:

随着人工智能(AI)持续渗透到各个领域,围绕AI驱动的推理和训练过程中的信任与透明度问题日益凸显,尤其是在潜在偏见和可追溯性挑战方面。诸如区块链之类的去中心化解决方案已被提出以解决这些问题,但它们在处理大规模模型时往往力不从心,导致推理耗时且训练验证效率低下。为克服这些局限,我们提出了BRAIN,一个基于区块链的可靠AI网络,这是一个专门设计用于确保大规模模型可靠推理与训练的新型平台。BRAIN利用一种独特的双阶段交易机制,通过分离请求和响应交易,实现流水线化的实时处理。每个随机选择的推理委员会提交并揭示推理结果,在通过智能合约达成共识后,所请求的操作将使用共识结果执行。此外,BRAIN通过采用随机选择的训练委员会来进行训练。他们提交提交和揭示交易以及各自的分数,从而基于分数的中值实现本地模型聚合。实验结果表明,BRAIN在合理的燃气费用下实现了显著更高的推理吞吐量。特别是,BRAIN的每秒任务数性能是朴素单阶段实现的454.4293倍。

英文摘要:

As artificial intelligence (AI) continues to permeate various domains, concerns surrounding trust and transparency in AI-driven inference and training processes have emerged, particularly with respect to potential biases and traceability challenges. Decentralized solutions such as blockchain have been proposed to tackle these issues, but they often struggle when dealing with large-scale models, leading to time-consuming inference and inefficient training verification. To overcome these limitations, we introduce BRAIN, a Blockchain-based Reliable AI Network, a novel platform specifically designed to ensure reliable inference and training of large models. BRAIN harnesses a unique two-phase transaction mechanism, allowing real-time processing via pipelining by separating request and response transactions. Each randomly-selected inference committee commits and reveals the inference results, and upon reaching an agreement through a smart contract, then the requested operation is executed using the consensus result. Additionally, BRAIN carries out training by employing a randomly-selected training committee. They submit commit and reveal transactions along with their respective scores, enabling local model aggregation based on the median value of the scores. Experimental results demonstrate that BRAIN delivers considerably higher inference throughput at reasonable gas fees. In particular, BRAIN's tasks-per-second performance is 454.4293 times greater than that of a naive single-phase implementation.

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

↑