Structural Abstraction and Refinement for Probabilistic Programs
In this paper, we present structural abstraction refinement, a novel framework for verifying the threshold problem of probabilistic programs. Our approach represents the structure of a Probabilistic Control-Flow Automaton (PCFA) as a Markov Decision Process (MDP) by abstracting away statement semantics. The maximum reachability of the MDP naturally provides a proper upper bound of the violation probability, termed the structural upper bound . This introduces a fresh “structural” characterization of the relationship between PCFA and MDP, contrasting with the traditional “semantical” view, where the MDP reflects semantics. The method uniquely features a clean separation of concerns between probability and computational semantics that the abstraction focuses solely on probabilistic computation and the refinement handles only the semantics aspect, where the latter allows non-random program verification techniques to be employed without modification. Building upon this feature, we propose a general counterexample-guided abstraction refinement (CEGAR) framework, capable of leveraging established non-probabilistic techniques for probabilistic verification. We explore its instantiations using trace abstraction. Our method was evaluated on a diverse set of examples against state-of-the-art tools, and the experimental results highlight its versatility and ability to handle more flexible structures swiftly.
Authors
- Guanyan Li (ORCID: https://orcid.org/0000-0002-4163-1840)
- Jiayu Li (ORCID: https://orcid.org/0009-0003-5541-4526)
- Hongfei Fu (ORCID: https://orcid.org/0000-0002-7947-3446)
- Fei He (ORCID: https://orcid.org/0000-0002-4266-875X)
- Zhilei Han (ORCID: https://orcid.org/0000-0001-9171-4997)
- Peixin Wang (ORCID: https://orcid.org/0000-0003-3241-0023)
Institutions
- Shanghai Jiao Tong University (CN)
- Beijing Normal University (CN)
- University of Oxford (GB)
- East China Normal University (CN)
- Tsinghua University (CN)
Publication Details
- Journal
- Proceedings of the ACM on Programming Languages
- Published
- 2025-10-09
- DOI
- https://doi.org/10.1145/3763115
- Primary Topic
- Formal Methods in Verification
- Type
- article
- Field-Weighted Citation Impact
- 0.00