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

BFTBrain:基于强化学习的自适应BFT共识

BFTBrain: Adaptive BFT Consensus with Reinforcement Learning

Chenyuan Wu, Haoyun Qin, Mohammad Javad Amiri, Boon Thau Loo, Dahlia Malkhi, Ryan Marcus

AI总结:

本文提出基于强化学习的自适应拜占庭容错系统BFTBrain,通过实时切换协议适配场景,采用去中心化RL协调抵御数据污染,在动态环境下吞吐量大幅优于固定协议与现有同类学习方法。

摘要:

本文提出BFTBrain,这是一种基于强化学习(RL)的拜占庭容错(BFT)系统,具备显著的运维优势:它是一套即插即用的系统,适配广泛的硬件与网络配置,且能针对不断变化的故障场景与工作负载实时有效调整。BFTBrain通过在一组BFT协议之间实时切换,来适配系统状态与应用需求。\nBFTBrain的灵活性与性能得益于两项核心进展。首先,BFTBrain基于对各类指标的系统性全面建模,这些指标将所研究BFT协议的性能与不同故障场景、工作负载关联起来。这些指标作为特征输入BFTBrain的RL引擎,以实时选择性能最优的BFT协议。其次,BFTBrain以去中心化方式协调RL,可抵御恶意数据污染:节点共享本地计量值,并通过共识达成一致的学习输出。\n结果表明,除了显著的运维优势外,在动态条件下,BFTBrain的吞吐量比固定协议提升18%至119%,性能优于现有最先进的基于学习的方法44%至154%。

英文摘要:

This paper presents BFTBrain, a reinforcement learning (RL) based Byzantine fault-tolerant (BFT) system that provides significant operational benefits: a plug-and-play system suitable for a broad set of hardware and network configurations, and adjusts effectively in real-time to changing fault scenarios and workloads. BFTBrain adapts to system conditions and application needs by switching between a set of BFT protocols in real-time. Two main advances contribute to BFTBrain's agility and performance. First, BFTBrain is based on a systematic, thorough modeling of metrics that correlate the performance of the studied BFT protocols with varying fault scenarios and workloads. These metrics are fed as features to BFTBrain's RL engine in order to choose the best-performing BFT protocols in real-time. Second, BFTBrain coordinates RL in a decentralized manner which is resilient to adversarial data pollution, where nodes share local metering values and reach the same learning output by consensus. As a result, in addition to providing significant operational benefits, BFTBrain improves throughput over fixed protocols by $18\%$ to $119\%$ under dynamic conditions and outperforms state-of-the-art learning based approaches by $44\%$ to $154\%$.

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

↑