paperbot · PL 论文追踪

全部论文 待读 收藏

P1 Structural Abstraction and Refinement for Probabilistic Programs

概率程序的结构抽象与精化
OOPSLA 9(OOPSLA2)2025匹配度 5/10 · 论文属于概率程序的抽象精化与形式化验证(CEGAR),与用户对概率程序分析和形式化验证的兴趣有交集,且复用非概率验证技术的思路有一定方法论价值;但它不涉及 LLM/Agent、浮点分析或贝叶斯推断,与画像的核心方向(PL↔AI 交叉)距离较远。引用 0 inbox
Guanyan Li, Juanen Li, Zhilei Han, Peixin Wang, Hongfei Fu, Fei He
crossref: 2026-09-10

AI 速览

一句话:提出结构抽象精化框架,将概率控制流自动机抽象为MDP,并用CEGAR复用非概率验证技术验证概率程序阈值问题。

论文针对概率程序的阈值验证问题——判定违反性质的概率是否超过给定阈值——提出“结构抽象精化”框架。该方法把概率控制流自动机(PCFA)中的语句语义抽象掉,仅将其结构表示为马尔可夫决策过程(MDP),其最大可达概率给出违反概率的结构上界。这一“结构”视角将概率计算与程序语义分离:抽象只关注概率计算,精化只处理语义,因此可直接复用非概率程序验证技术。作者进一步建立通用CEGAR框架,并以迹抽象为例实例化。实验在多样化示例上与当前先进工具对比,显示方法通用且能更灵活、快速地处理结构。

问题
如何验证概率程序的阈值问题,即判定其违反安全性质的概率是否超过给定阈值。
方法
将概率控制流自动机(PCFA)的结构抽象为MDP以获得违反概率的结构上界,分离概率与计算语义,并构建可复用非概率验证技术的通用CEGAR框架,以迹抽象实例化。
评估
在多样化示例上与当前先进概率验证工具进行实验对比,评估其通用性以及处理更灵活结构的效率。
原文摘要(Abstract)

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.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot3005,
  title = {Structural Abstraction and Refinement for Probabilistic Programs},
  author = {Guanyan Li and Juanen Li and Zhilei Han and Peixin Wang and Hongfei Fu and Fei He},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {OOPSLA2},
  year = {2025},
  doi = {10.1145/3763115}
}