Cost analysis of nondeterministic probabilistic programs

40Citations
Citations of this article
18Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We consider the problem of expected cost analysis over nondeterministic probabilistic programs, which aims at automated methods for analyzing the resource-usage of such programs. Previous approaches for this problem could only handle nonnegative bounded costs. However, in many scenarios, such as queuing networks or analysis of cryptocurrency protocols, both positive and negative costs are necessary and the costs are unbounded as well. In this work, we present a sound and efficient approach to obtain polynomial bounds on the expected accumulated cost of nondeterministic probabilistic programs. Our approach can handle (a) general positive and negative costs with bounded updates in variables; and (b) nonnegative costs with general updates to variables. We show that several natural examples which could not be handled by previous approaches are captured in our framework. Moreover, our approach leads to an efficient polynomial-time algorithm, while no previous approach for cost analysis of probabilistic programs could guarantee polynomial runtime. Finally, we show the effectiveness of our approach using experimental results on a variety of programs for which we efficiently synthesize tight resource-usage bounds.

References Powered by Scopus

MapReduce: Simplified data processing on large clusters

11940Citations
N/AReaders
Get full text

Abstract interpretation: "A" unified lattice model for static analysis of programs by construction or approximation of fixpoints

4601Citations
N/AReaders
Get full text

Amdahl's law in the multicore era

915Citations
N/AReaders
Get full text

Cited by Powered by Scopus

Polynomial invariant generation for non-deterministic recursive programs

30Citations
N/AReaders
Get full text

A modular cost analysis for probabilistic programs

26Citations
N/AReaders
Get full text

Aiming low is harder: Induction for lower bounds in probabilistic program verification

25Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Wang, P., Chatterjee, K., Fu, H., Qin, X., Goharshady, A. K., & Shi, W. (2019). Cost analysis of nondeterministic probabilistic programs. In Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) (pp. 204–220). Association for Computing Machinery. https://doi.org/10.1145/3314221.3314581

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 11

73%

Professor / Associate Prof. 2

13%

Researcher 2

13%

Readers' Discipline

Tooltip

Computer Science 12

75%

Business, Management and Accounting 2

13%

Physics and Astronomy 1

6%

Engineering 1

6%

Save time finding and organizing research with Mendeley

Sign up for free