Language-Agnostic Static Analysis of Probabilistic Programs


연구 분야: Strategies



학회: 2024 39th IEEE/ACM International Conference on Automated Software Engineering (ASE)


초록

Probabilistic programming allows developers to focus on the modeling aspect in the Bayesian workflow by abstracting away the posterior inference machinery. In practice, however, programming errors specific to the probabilistic environment are hard to fix without deep knowledge of the underlying systems. Like in classical software engineering, static program analysis methods could be employed to catch many of these errors. In this work, we present the first framework to formulate static analyses for probabilistic programs in a language-agnostic manner: LASAPP. While prior work focused on specific languages, all analyses written with our framework can be readily applied to new languages by adding easy-to-implement API bindings. Our prototype supports five popular probabilistic programming languages out-of-the-box. We demonstrate the effectiveness and expressiveness of the LASAPP framework by presenting four provably-correct language-agnostic probabilistic program analyses that address problems discussed in the literature and evaluate them on over 200 real-world programs.CCS CONCEPTS• Mathematics of computing → Bayesian computation; • Theory of computation → Program analysis; • Software and its engineering → Abstraction, modeling and modularity.


Author Profile
Markus Böck

TU Wien Vienna Austria

Austria
Author Profile
Michael Schröder

TU Wien Vienna Austria

Austria
Author Profile
Jürgen Cito

TU Wien Vienna Austria

Austria

📄 논문 정보

발행 연도 2024년
인용수 52
출판 국가 Austria
사이트 IEEE
좋아요 수 0

연관 논문 목록 (100건)