Lune

NSDI2025Top-tier venue

BFTBrain: Adaptive BFT Consensus with Reinforcement Learning

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

Abstract

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%18\% to 119%119\% under dynamic conditions and outperforms state-of-the-art learning based approaches by 44%44\% to 154%154\%.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Byzantine Machine Learning Made Easy By Resilient Averaging of Momentums cites Learning from History for Byzantine Robust Optimization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Jetpack: Consensus Made Generally FastZe Tang, Zihao Zhang, Weihai Shen, Jicheng Shi et al.OSDI 2026

Builds on7

  1. Learning from History for Byzantine Robust OptimizationSai Praneeth Karimireddy, Lie He, Martin JaggiICML 2021 · 247 citations
  2. Lero: A Learning-to-Rank Query OptimizerRong Zhu, Wei Chen, Bolin Ding, Xingguang Chen et al.VLDB 2023 · 102 citations
  3. Balsa: Learning a Query Optimizer Without Expert DemonstrationsZongheng Yang, Wei-Lin Chiang, Sifei Luan, Gautam Mittal et al.SIGMOD 2022 · 99 citations
  4. Byzantine Machine Learning Made Easy By Resilient Averaging of MomentumsSadegh Farhadkhani, Rachid Guerraoui, Nirupam Gupta, Rafael Pinot et al.ICML 2022 · 96 citations
  5. Diablo: A Benchmark Suite for BlockchainsVincent Gramoli, Rachid Guerraoui, Andrei Lebedev, Chris Natoli et al.EuroSys 2023 · 41 citations

Related papers

  1. AdaChain: A Learned Adaptive BlockchainChenyuan Wu, Bhavana Mehta, Mohammad Javad Amiri, Ryan Marcus et al.VLDB 2023 · 20 citations
  2. FC: Adaptive Atomic Commit via Failure DetectionHexiang Pan, Quang-Trung Ta, Meihui Zhang, Zhanhao Zhao et al.ICDE 2024
  3. BEAT: Asynchronous BFT Made PracticalSisi Duan, Michael K. Reiter, Haibin ZhangCCS 2018 · 255 citations
  4. Randomized Testing of Byzantine Fault Tolerant AlgorithmsLevin N. Winter, Florena Buse, Daan de Graaf, Klaus von Gleissenthall et al.OOPSLA 2023 · 23 citations
  5. RoboRebound: Multi-Robot System Defense with Bounded-Time InteractionNeeraj Gandhi, Yifan Cai, Andreas Haeberlen, Linh Thi Xuan PhanEuroSys 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines