arXiv · 2611.39410
Dora and Dave: Learning to Synthesize Verified Broadcast Algorithms
Abstract
Distributed computing relies on fault-tolerant algorithms to ensure reliable operation despite failures. However, designing such algorithms is complex and time-consuming, which has motivated recent approaches to automate this process. These efforts have remained limited in scale and scope, as the enormous search space, with tens of millions of possible candidate solutions, inherent in distributed algorithm design, poses a major scalability obstacle. To address this challenge, we introduce a verifier-guided test-time search approach over a grammar-constrained program space, based on a per-run online learning process, rather than relying on a pretrained neural model. Our approach is supported by two agents: Dora, an efficient self-learning agent for the automatic synthesis of distributed algorithms, and Dave, a formal verifier agent that automatically verifies the algorithms. Dora explores design spaces by generating algorithms in parallel, combining Monte Carlo Tree Search with a flexible verifiable reward mechanism, enabling effective exploration of design spaces. We apply our approach to different broadcast problems such as Reliable Broadcast, Uniform Reliable Broadcast, and Terminating Reliable Broadcast. The experimental results show that Dora and Dave synthesize algorithms that rival the manually designed algorithms within one day of computation. Compared with the previous single machine-learning-based approach, Dora identifies up to 18x more correct algorithms while exploring only 3x more states, demonstrating substantially improved sample efficiency.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Diogo Vaz, David R. Matos, Miguel L. Pardal, Miguel Correia. 2026-11-29. Dora and Dave: Learning to Synthesize Verified Broadcast Algorithms. https://searcharxiv.org/abs/2611.39410
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.