PMAF: an algebraic framework for static analysis of probabilistic programs

Author:

Wang Di1,Hoffmann Jan1,Reps Thomas2

Affiliation:

1. Carnegie Mellon University, USA

2. University of Wisconsin, USA / GrammaTech, USA

Abstract

Automatically establishing that a probabilistic program satisfies some property ϕ is a challenging problem. While a sampling-based approach—which involves running the program repeatedly—can suggest that ϕ holds, to establish that the program satisfies ϕ, analysis techniques must be used. Despite recent successes, probabilistic static analyses are still more difficult to design and implement than their deterministic counterparts. This paper presents a framework, called PMAF , for designing, implementing, and proving the correctness of static analyses of probabilistic programs with challenging features such as recursion, unstructured control-flow, divergence, nondeterminism, and continuous distributions. PMAF introduces pre-Markov algebras to factor out common parts of different analyses. To perform interprocedural analysis and to create procedure summaries , PMAF extends ideas from non-probabilistic interprocedural dataflow analysis to the probabilistic setting. One novelty is that PMAF is based on a semantics formulated in terms of a control-flow hyper-graph for each procedure, rather than a standard control-flow graph. To evaluate its effectiveness, PMAF has been used to reformulate and implement existing intra procedural analyses for Bayesian-inference and the Markov decision problem, by creating corresponding inter procedural analyses. Additionally, PMAF has been used to implement a new interprocedural linear expectation-invariant analysis . Experiments with benchmark programs for the three analyses demonstrate that the approach is practical.

Funder

a gift from Rajiv and Ritu Batra

AFRL under DARPA STAC award

AFRL under DARPA award

the Wisconsin Alumni Research Foundation

the UW-Madison Office of the Vice Chancellor for Research and Graduate Education

AFRL under DARPA MUSE award

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference82 articles.

1. S. Abramsky and A. Jung. 1994. Domain Theory. In Handbook of Logic in Computer Science. Oxford University Press Oxford UK. S. Abramsky and A. Jung. 1994. Domain Theory. In Handbook of Logic in Computer Science . Oxford University Press Oxford UK.

2. R. I. Bahar E. A. Frohm C. M. Gaona G. D. Hachtel E. Macii A. Pardo and F. Somenzi. 1997. Algebraic Decision Diagrams and their Applications. Formal Methods in System Design 10 (April 1997). Issue 2. R. I. Bahar E. A. Frohm C. M. Gaona G. D. Hachtel E. Macii A. Pardo and F. Somenzi. 1997. Algebraic Decision Diagrams and their Applications. Formal Methods in System Design 10 (April 1997). Issue 2.

3. T. Ball A. Podelski and S. K. Rajamani. 2001. Boolean and Cartesian Abstraction for Model Checking C Programs. In Tools and Algs. for the Construct. and Anal. of Syst. (TACAS'01). T. Ball A. Podelski and S. K. Rajamani. 2001. Boolean and Cartesian Abstraction for Model Checking C Programs. In Tools and Algs. for the Construct. and Anal. of Syst. (TACAS'01) .

4. G. Barthe T. Espitau M. Gaboardi B. Gregoire J. Hsu and P.-Y. Strub. 2016. A Program Logic for Probabilistic Programs. Available at justinh.su/files/papers/ellora.pdf. G. Barthe T. Espitau M. Gaboardi B. Gregoire J. Hsu and P.-Y. Strub. 2016. A Program Logic for Probabilistic Programs. Available at justinh.su/files/papers/ellora.pdf.

Cited by 2 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. On Lexicographic Proof Rules for Probabilistic Termination;Formal Methods;2021

2. Scaling exact inference for discrete probabilistic programs;Proceedings of the ACM on Programming Languages;2020-11-13

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3