Data-Driven Invariant Learning for Probabilistic Programs
Jialu Bao, Nitesh Trivedi, Drashti Pathak, Justin Hsu, Subhajit Roy
摘要
Abstract Morgan and McIver’s weakest pre-expectation framework is one of the most well-established methods for deductive verification of probabilistic programs. Roughly, the idea is to generalize binary state assertions to real-valued expectations, which can measure expected values of probabilistic program quantities. While loop-free programs can be analyzed by mechanically transforming expectations, verifying loops usually requires finding an invariant expectation, a difficult task. We propose a new view of invariant expectation synthesis as a regression problem: given an input state, predict the average value of the post-expectation in the output distribution. Guided by this perspective, we develop the first data-driven invariant synthesis method for probabilistic programs. Unlike prior work on probabilistic invariant inference, our approach can learn piecewise continuous invariants without relying on template expectations. We also develop a data-driven approach to learn sub-invariants from data, which can be used to upper- or lower-bound expected values. We implement our approaches and demonstrate their effectiveness on a variety of benchmarks from the probabilistic programming literature.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- A pre-expectation calculus for probabilistic sensitivity 引用了 Aiming low is harder: induction for lower bounds in probabilistic program verification
- Learning Probabilistic Termination Proofs 引用了 Neural termination analysis
- Neural termination analysis 引用了 Learning Probabilistic Termination Proofs
- A Deductive Verification Infrastructure for Probabilistic Programs 引用了 Relatively complete verification of probabilistic programs: an expressive language for expectation-based reasoning
- A Deductive Verification Infrastructure for Probabilistic Programs 引用了 Aiming low is harder: induction for lower bounds in probabilistic program verification
- A Deductive Verification Infrastructure for Probabilistic Programs 引用了 Learning Probabilistic Termination Proofs
- A Deductive Verification Infrastructure for Probabilistic Programs 引用了 Symbolic execution for randomized programs
- Lower Bounds for Possibly Divergent Probabilistic Programs 引用了 A pre-expectation calculus for probabilistic sensitivity
- Lower Bounds for Possibly Divergent Probabilistic Programs 引用了 Aiming low is harder: induction for lower bounds in probabilistic program verification
引用它的顶会 Paper11
- This is the moment for probabilistic loopsMarcel Moosbrugger, Miroslav Stankovic, Ezio Bartocci, Laura KovácsOOPSLA 2022 · 30 次引用
- A Deductive Verification Infrastructure for Probabilistic ProgramsPhilipp Schröer, Kevin Batz, Benjamin Lucien Kaminski, Joost-Pieter Katoen 等OOPSLA 2023 · 22 次引用
- Symbolic execution for randomized programsZachary Susag, Sumit Lahiri, Justin Hsu, Subhajit RoyOOPSLA 2022 · 17 次引用
- Neural termination analysisMirco Giacobbe, Daniel Kroening, Julian ParsertFSE 2022 · 16 次引用
- Lower Bounds for Possibly Divergent Probabilistic ProgramsShenghua Feng, Mingshuai Chen, Han Su, Benjamin Lucien Kaminski 等OOPSLA 2023 · 14 次引用
它引用的 Paper9
- Aiming low is harder: induction for lower bounds in probabilistic program verificationMarcel Hark, Benjamin Lucien Kaminski, Jürgen Giesl, Joost-Pieter KatoenPOPL 2020 · 47 次引用
- Data-driven inference of representation invariantsAnders Miltner, Saswat Padhi, Todd D. Millstein, David WalkerPLDI 2020 · 33 次引用
- Relatively complete verification of probabilistic programs: an expressive language for expectation-based reasoningKevin Batz, Benjamin Lucien Kaminski, Joost-Pieter Katoen, Christoph MathejaPOPL 2021 · 33 次引用
- Learning Probabilistic Termination ProofsAlessandro Abate, Mirco Giacobbe, Diptarko RoyCAV 2021 · 26 次引用
- A pre-expectation calculus for probabilistic sensitivityAlejandro Aguirre, Gilles Barthe, Justin Hsu, Benjamin Lucien Kaminski 等POPL 2021 · 24 次引用
相关 Paper
- Supermartingales for Unique Fixed Points: A Unified Approach to Lower Bound VerificationSatoshi Kura, Hiroshi Unno, Takeshi TsukadaPLDI 2026
- Foundations for Deductive Verification of Continuous Probabilistic Programs: From Lebesgue to Riemann and BackKevin Batz, Joost-Pieter Katoen, Francesca Randone, Tobias WinklerOOPSLA 2025 · 2 次引用
- Automated Expected Value Analysis of Recursive ProgramsMartin Avanzini, Georg Moser, Michael SchaperPLDI 2023 · 6 次引用
- Data-Driven Verification of Procedural Programs with Integer ArraysAhmed Bouajjani, Wael-Amine Boutglay, Peter HabermehlCAV 2025
- Exact Bayesian Inference for Loopy Probabilistic Programs using Generating FunctionsLutz Klinkenberg, Christian Blumenthal, Mingshuai Chen, Darion Haase 等OOPSLA 2024 · 11 次引用
