Equivalence and Similarity Refutation for Probabilistic Programs
Krishnendu Chatterjee, Ehsan Kafshdar Goharshady, Petr Novotn\'y,, {\DJ}or{\dj}e \v{Z}ikeli\'c

TL;DR
This paper introduces a fully automated, formal method for refuting equivalence and similarity of output distributions in probabilistic programs, applicable to infinite-state cases, with proven correctness guarantees.
Contribution
It presents the first automated approach using supermartingales for refuting probabilistic program equivalence and similarity with formal correctness guarantees.
Findings
Effective in refuting equivalence and similarity in various examples
Applicable to infinite-state probabilistic programs
Provides formal correctness guarantees
Abstract
We consider the problems of statically refuting equivalence and similarity of output distributions defined by a pair of probabilistic programs. Equivalence and similarity are two fundamental relational properties of probabilistic programs that are essential for their correctness both in implementation and in compilation. In this work, we present a new method for static equivalence and similarity refutation. Our method refutes equivalence and similarity by computing a function over program outputs whose expected value with respect to the output distributions of two programs is different. The function is computed simultaneously with an upper expectation supermartingale and a lower expectation submartingale for the two programs, which we show to together provide a formal certificate for refuting equivalence and similarity. To the best of our knowledge, our method is the first approach to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning and Algorithms · Bayesian Modeling and Causal Inference · Evolutionary Algorithms and Applications
