Lune

OSDI2021顶会

DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols

Jianan Yao, Runzhou Tao, Ronghui Gu, Jason Nieh, Suman Jana, Gabriel Ryan

摘要

Distributed systems are notoriously hard to implement correctly due to non-determinism. Finding the inductive invariant of the distributed protocol is a critical step in verifying the correctness of distributed systems, but takes a long time to do even for simple protocols. We present DistAI, a data-driven automated system for learning inductive invariants for distributed protocols. DistAI generates data by simulating the distributed protocol at different instance sizes and recording states as samples. Based on the observation that invariants are often concise in practice, DistAI starts with small invariant formulas and enumerates all strongest possible invariants that hold for all samples. It then feeds those invariants and the desired safety properties to an SMT solver to check if the conjunction of the invariants and the safety properties is inductive. Starting with small invariant formulas and strongest possible invariants avoids large SMT queries, improving SMT solver performance. Because DistAI starts with the strongest possible invariants, if the SMT solver fails, DistAI does not need to discard failed invariants, but knows to monotonically weaken them and try again with the solver, repeating the process until it eventually succeeds. We prove that DistAI is guaranteed to find the ∃-free inductive invariant that proves the desired safety properties in finite time, if one exists. Our evaluation shows that DistAI successfully verifies 13 common distributed protocols automatically and outperforms alternative methods both in the number of protocols it verifies and the speed at which it does so, in some cases by more than two orders of magnitude.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 28 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing 引用了 DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols
  • Anvil: Verifying Liveness of Cluster Management Controllers 引用了 Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
  • Anvil: Verifying Liveness of Cluster Management Controllers 引用了 DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols
  • Verus: A Practical Foundation for Systems Verification 引用了 Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
  • Verus: A Practical Foundation for Systems Verification 引用了 DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols
  • Finding Invariants of Distributed Systems: It's a Small (Enough) World After All 引用了 First-order quantified separators
  • DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols 引用了 CLN2INV: Learning Loop Invariants with Continuous Logic Networks
  • DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols 引用了 Data-driven inference of representation invariants
  • DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols 引用了 Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
  • DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols 引用了 First-order quantified separators
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper28

  1. Anvil: Verifying Liveness of Cluster Management ControllersXudong Sun, Wenjie Ma, Jiawei Tyler Gu, Zicheng Ma 等OSDI 2024 · 50 次引用
  2. DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed ProtocolsJianan Yao, Runzhou Tao, Ronghui Gu, Jason NiehOSDI 2022 · 50 次引用
  3. Modular Control Plane Verification via Temporal InvariantsTimothy Alberdingk Thijm, Ryan Beckett, Aarti Gupta, David WalkerPLDI 2023 · 22 次引用
  4. Verus: A Practical Foundation for Systems VerificationAndrea Lattuada, Travis Hance, Jay Bosamiya, Matthias Brun 等SOSP 2024 · 22 次引用
  5. Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless ComputingSheng Qi, Xuanzhe Liu, Xin JinSOSP 2023 · 16 次引用

它引用的 Paper6

  1. HVLearn: Automated Black-Box Analysis of Hostname Verification in SSL/TLS ImplementationsSuphannee Sivakorn, George Argyros, Kexin Pei, Angelos D. Keromytis 等S&P 2017 · 88 次引用
  2. CLN2INV: Learning Loop Invariants with Continuous Logic NetworksGabriel Ryan, Justin Wong, Jianan Yao, Ronghui Gu 等ICLR 2020 · 72 次引用
  3. Finding Invariants of Distributed Systems: It's a Small (Enough) World After AllTravis Hance, Marijn Heule, Ruben Martins, Bryan ParnoNSDI 2021 · 69 次引用
  4. Data-driven inference of representation invariantsAnders Miltner, Saswat Padhi, Todd D. Millstein, David WalkerPLDI 2020 · 33 次引用
  5. First-order quantified separatorsJason R. Koenig, Oded Padon, Neil Immerman, Alex AikenPLDI 2020 · 31 次引用

相关 Paper

  1. Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable ProtocolsTony Nuda Zhang, Keshav Singh, Tej Chajed, Manos Kapritsos 等OSDI 2025 · 9 次引用
  2. Mostly Automated Verification of Liveness Properties for Distributed Protocols with Ranking FunctionsJianan Yao, Runzhou Tao, Ronghui Gu, Jason NiehPOPL 2024 · 12 次引用
  3. I3DP: Neuro-Symbolic Inductive Invariant Inference for Distributed ProtocolsWeining Cao, Guangyuan Wu, Yuan Yao, Hengfeng Wei 等SOSP 2026
  4. Learning to Synthesize Relational InvariantsJingbo Wang, Chao WangASE 2022 · 9 次引用
  5. Multi-phase invariant synthesisDaniel Riley, Grigory FedyukovichFSE 2022 · 13 次引用
黄昏的海面,两侧是细线勾勒的悬崖