A modular cost analysis for probabilistic programs
Martin Avanzini, Georg Moser, Michael Schaper
摘要
We present a novel methodology for the automated resource analysis of non-deterministic, probabilistic imperative programs, which gives rise to a unique modular approach. Program fragments are analysed in full independence. Further, the results established allow us to incorporate sampling from dynamic distributions, making our analysis applicable to realistic examples.
We have implemented our contributions in the tool eco-imp, exploiting a constraint-solver over iterative refineable cost functions facilitated by off-the-shelf SMT-solvers. We provide ample experimental evidence of the prototypes' algorithmic superiority. Our experiments show that our tool runs typically at least one order of magnitude faster than comparable tools. On realistic examples, it is even the case that execution times of seconds become milliseconds. At the same time we retain the precision of existing tools.
The extensions in applicability and the greater efficiency of our prototype, yield scalabilty of the tool. This effects into more realistic examples, whose expected cost analysis can be thus performed fully automatically. In particular, our tool is the first establishing an automated analysis of the Coupon Collector's problem.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper17
- Learning Probabilistic Termination ProofsAlessandro Abate, Mirco Giacobbe, Diptarko RoyCAV 2021 · 26 次引用
- A Deductive Verification Infrastructure for Probabilistic ProgramsPhilipp Schröer, Kevin Batz, Benjamin Lucien Kaminski, Joost-Pieter Katoen 等OOPSLA 2023 · 22 次引用
- Automated Expected Amortised Cost Analysis of Probabilistic Data StructuresLorenz Leutgeb, Georg Moser, Florian ZulegerCAV 2022 · 19 次引用
- On Lexicographic Proof Rules for Probabilistic TerminationKrishnendu Chatterjee, Ehsan Kafshdar Goharshady, Petr Novotný, Jiri Zárevúcky 等FM 2021 · 11 次引用
- Quantum Expectation Transformers for Cost AnalysisMartin Avanzini, Georg Moser, Romain Péchoux, Simon Perdrix 等LICS 2022 · 10 次引用
它引用的 Paper1
相关 Paper
- Quantitative Bounds on Resource Usage of Probabilistic ProgramsKrishnendu Chatterjee, Amir Kafshdar Goharshady, Tobias Meggendorfer, Dorde ZikelicOOPSLA 2024 · 16 次引用
- Tachis: Higher-Order Separation Logic with Credits for Expected CostsPhilipp G. Haselwarter, Kwing Hei Li, Markus de Medeiros, Simon Oddershede Gregersen 等OOPSLA 2024 · 5 次引用
- Eco Search: A No-delay Best-First Search Algorithm for Program SynthesisThéo Matricon, Nathanaël Fijalkow, Guillaume LagardeAAAI 2025 · 1 次引用
- Probabilistic Resource-Aware Session TypesAnkush Das, Di Wang, Jan HoffmannPOPL 2023 · 11 次引用
- Highly Incremental: A Simple Programmatic Approach for Many ObjectivesPhilipp Schröer, Joost-Pieter KatoenFM 2026 · 1 次引用
