Does a Program Yield the Right Distribution? Verifying Probabilistic Programs via Generating Functions. Chen, M., Katoen, J., Klinkenberg, L., & Winkler, T. May, 2022.
Paper doi abstract bibtex We study discrete probabilistic programs with potentially unbounded looping behaviors over an infinite state space. We present, to the best of our knowledge, the first decidability result for the problem of determining whether such a program generates exactly a specified distribution over its outputs (provided the program terminates almost surely). The class of distributions that can be specified in our formalism consists of standard distributions (geometric, uniform, etc.) and finite convolutions thereof. Our method relies on representing these (possibly infinite-support) distributions as probability generating functions which admit effective arithmetic operations. We have automated our techniques in a tool called prodigy, which supports automatic invariance checking, compositional reasoning of nested loops, and efficient queries on various quantities of to the output distribution, as demonstrated by experiments.
@article{chen_does_2022,
title = {Does a {Program} {Yield} the {Right} {Distribution}? {Verifying} {Probabilistic} {Programs} via {Generating} {Functions}},
shorttitle = {Does a {Program} {Yield} the {Right} {Distribution}?},
url = {https://arxiv.org/abs/2205.01449v1},
doi = {10.48550/arXiv.2205.01449},
abstract = {We study discrete probabilistic programs with potentially unbounded looping behaviors over an infinite state space. We present, to the best of our knowledge, the first decidability result for the problem of determining whether such a program generates exactly a specified distribution over its outputs (provided the program terminates almost surely). The class of distributions that can be specified in our formalism consists of standard distributions (geometric, uniform, etc.) and finite convolutions thereof. Our method relies on representing these (possibly infinite-support) distributions as probability generating functions which admit effective arithmetic operations. We have automated our techniques in a tool called prodigy, which supports automatic invariance checking, compositional reasoning of nested loops, and efficient queries on various quantities of to the output distribution, as demonstrated by experiments.},
language = {en},
urldate = {2022-05-08},
author = {Chen, Mingshuai and Katoen, Joost-Pieter and Klinkenberg, Lutz and Winkler, Tobias},
month = may,
year = {2022},
keywords = {logic, mentions sympy, symbolic programming},
}
Downloads: 0
{"_id":"6yBjhkNAT8NAerN2j","bibbaseid":"chen-katoen-klinkenberg-winkler-doesaprogramyieldtherightdistributionverifyingprobabilisticprogramsviageneratingfunctions-2022","author_short":["Chen, M.","Katoen, J.","Klinkenberg, L.","Winkler, T."],"bibdata":{"bibtype":"article","type":"article","title":"Does a Program Yield the Right Distribution? Verifying Probabilistic Programs via Generating Functions","shorttitle":"Does a Program Yield the Right Distribution?","url":"https://arxiv.org/abs/2205.01449v1","doi":"10.48550/arXiv.2205.01449","abstract":"We study discrete probabilistic programs with potentially unbounded looping behaviors over an infinite state space. We present, to the best of our knowledge, the first decidability result for the problem of determining whether such a program generates exactly a specified distribution over its outputs (provided the program terminates almost surely). The class of distributions that can be specified in our formalism consists of standard distributions (geometric, uniform, etc.) and finite convolutions thereof. Our method relies on representing these (possibly infinite-support) distributions as probability generating functions which admit effective arithmetic operations. We have automated our techniques in a tool called prodigy, which supports automatic invariance checking, compositional reasoning of nested loops, and efficient queries on various quantities of to the output distribution, as demonstrated by experiments.","language":"en","urldate":"2022-05-08","author":[{"propositions":[],"lastnames":["Chen"],"firstnames":["Mingshuai"],"suffixes":[]},{"propositions":[],"lastnames":["Katoen"],"firstnames":["Joost-Pieter"],"suffixes":[]},{"propositions":[],"lastnames":["Klinkenberg"],"firstnames":["Lutz"],"suffixes":[]},{"propositions":[],"lastnames":["Winkler"],"firstnames":["Tobias"],"suffixes":[]}],"month":"May","year":"2022","keywords":"logic, mentions sympy, symbolic programming","bibtex":"@article{chen_does_2022,\n\ttitle = {Does a {Program} {Yield} the {Right} {Distribution}? {Verifying} {Probabilistic} {Programs} via {Generating} {Functions}},\n\tshorttitle = {Does a {Program} {Yield} the {Right} {Distribution}?},\n\turl = {https://arxiv.org/abs/2205.01449v1},\n\tdoi = {10.48550/arXiv.2205.01449},\n\tabstract = {We study discrete probabilistic programs with potentially unbounded looping behaviors over an infinite state space. We present, to the best of our knowledge, the first decidability result for the problem of determining whether such a program generates exactly a specified distribution over its outputs (provided the program terminates almost surely). The class of distributions that can be specified in our formalism consists of standard distributions (geometric, uniform, etc.) and finite convolutions thereof. Our method relies on representing these (possibly infinite-support) distributions as probability generating functions which admit effective arithmetic operations. We have automated our techniques in a tool called prodigy, which supports automatic invariance checking, compositional reasoning of nested loops, and efficient queries on various quantities of to the output distribution, as demonstrated by experiments.},\n\tlanguage = {en},\n\turldate = {2022-05-08},\n\tauthor = {Chen, Mingshuai and Katoen, Joost-Pieter and Klinkenberg, Lutz and Winkler, Tobias},\n\tmonth = may,\n\tyear = {2022},\n\tkeywords = {logic, mentions sympy, symbolic programming},\n}\n\n\n\n","author_short":["Chen, M.","Katoen, J.","Klinkenberg, L.","Winkler, T."],"key":"chen_does_2022","id":"chen_does_2022","bibbaseid":"chen-katoen-klinkenberg-winkler-doesaprogramyieldtherightdistributionverifyingprobabilisticprogramsviageneratingfunctions-2022","role":"author","urls":{"Paper":"https://arxiv.org/abs/2205.01449v1"},"keyword":["logic","mentions sympy","symbolic programming"],"metadata":{"authorlinks":{}}},"bibtype":"article","biburl":"https://bibbase.org/zotero-group/nicoguaro/525293","dataSources":["YtBDXPDiQEyhyEDZC","fhHfrQgj3AaGp7e9E","qzbMjEJf5d9Lk78vE","45tA9RFoXA9XeH4MM","MeSgs2KDKZo3bEbxH","nSXCrcahhCNfzvXEY","ecatNAsyr4f2iQyGq","tpWeaaCgFjPTYCjg3"],"keywords":["logic","mentions sympy","symbolic programming"],"search_terms":["program","yield","right","distribution","verifying","probabilistic","programs","via","generating","functions","chen","katoen","klinkenberg","winkler"],"title":"Does a Program Yield the Right Distribution? Verifying Probabilistic Programs via Generating Functions","year":2022}