2022
DOI: 10.48550/arxiv.2211.06747
|View full text |Cite
Preprint
|
Sign up to set email alerts
|

Formally Verified Samplers From Probabilistic Programs With Loops and Conditioning

Abstract: We present Zar: a formally verified compiler pipeline from discrete probabilistic programs with unbounded loops in the conditional probabilistic guarded command language (cpGCL) to proved-correct executable samplers in the random bit model. We exploit the key idea that all discrete probability distributions can be reduced to unbiased coin-flipping schemes. The compiler pipeline first translates a cpGCL program into choice-fix trees, an intermediate representation suitable for reduction of biased probabilistic … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1

Citation Types

0
3
0

Year Published

2023
2023
2023
2023

Publication Types

Select...
1

Relationship

0
1

Authors

Journals

citations
Cited by 1 publication
(3 citation statements)
references
References 38 publications
0
3
0
Order By: Relevance
“…A cotree 𝑡 : T * 𝐴 can be interpreted as a sampling procedure over sample space 𝐴 in the random bit model, where it is provided a stream of uniformly distributed random bits from which to generate samples. Indeed, that is the approach taken in the Zar [6] system, in which probabilistic programs with unbounded loops and conditioning are compiled to cotree representations of samplers over their posterior distributions.…”
Section: Discrete Distribution Samplersmentioning
confidence: 99%
See 2 more Smart Citations
“…A cotree 𝑡 : T * 𝐴 can be interpreted as a sampling procedure over sample space 𝐴 in the random bit model, where it is provided a stream of uniformly distributed random bits from which to generate samples. Indeed, that is the approach taken in the Zar [6] system, in which probabilistic programs with unbounded loops and conditioning are compiled to cotree representations of samplers over their posterior distributions.…”
Section: Discrete Distribution Samplersmentioning
confidence: 99%
“…The Zar system [6] does not extract cotrees directly for execution. Rather, it compiles probabilistic programs to interaction trees [42] (itrees) for sampling execution in OCaml and relates them to equivalent cotree constructions from which correctness guarantees (e.g., Theorem 6.18) obtained via AlgCo are transported.…”
Section: Relating Cotrees To Interaction Treesmentioning
confidence: 99%
See 1 more Smart Citation