paperbot · PL 论文追踪

全部论文 待读 收藏

P2 On the Termination Problem for Probabilistic Higher-Order Recursive Programs

概率高阶递归程序的终止问题
LICS 2019 34th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS)2019匹配度 4/10 · 论文属于概率程序与高阶程序的终止性验证,兼具理论刻画与原型实现,和程序分析/形式化验证有间接关联;但完全不涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户当前核心交叉方向距离较远。引用 3 inbox
Naoki Kobayashi, Ugo Dal Lago, Charles Grellois
crossref: 2026-09-12

AI 速览

一句话:提出 PHORS 概率高阶程序模型,证明二阶几乎必然终止不可判定,并给出终止概率的不动点刻画与近似算法。

过去二十年,概率系统与高阶程序的模型检测均取得显著进展,但两者结合的研究仍较少。本文启动概率高阶模型检测研究,提出 PHORS——高阶递归方案(HORS)的概率扩展,作为概率高阶程序模型;它也可视为递归马尔可夫链的高阶扩展。作者研究概率终止/可达问题,证明二阶 PHORS 的几乎必然终止是不可判定的,并给出 PHORS 终止概率的不动点刻画,进而设计一个可靠(可能不完备)的近似计算过程。该过程已在二阶 PHORS 上实现,初步实验表明其运行良好。

问题
如何将概率系统与高阶程序的模型检测方法结合,特别是概率高阶程序的终止/可达性问题。
方法
定义 PHORS 作为概率高阶程序模型,并用不动点刻画终止概率,设计一个可靠但可能不完备的近似计算过程。
评估
针对二阶 PHORS 实现该近似计算过程,并通过初步实验验证其可行性与效果。
原文摘要(Abstract)

In the last two decades, there has been much progress on model checking of both probabilistic systems and higher-order programs. In spite of the emergence of higher-order probabilistic programming languages, not much has been done to combine those two approaches. In this paper, we initiate a study on the probabilistic higher-order model checking problem, by giving some first theoretical and experimental results. As a first step towards our goal, we introduce PHORS, a probabilistic extension of higher-order recursion schemes (HORS), as a model of probabilistic higher-order programs. The model of PHORS may alternatively be viewed as a higher-order extension of recursive Markov chains. We then investigate the probabilistic termination problem -- or, equivalently, the probabilistic reachability problem. We prove that almost sure termination of order-2 PHORS is undecidable. We also provide a fixpoint characterization of the termination probability of PHORS, and develop a sound (but possibly incomplete) procedure for approximately computing the termination probability. We have implemented the procedure for order-2 PHORSs, and confirmed that the procedure works well through preliminary experiments that are reported at the end of the article.

链接与引用

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

BibTeX
@inproceedings{paperbot4981,
  title = {On the Termination Problem for Probabilistic Higher-Order Recursive Programs},
  author = {Naoki Kobayashi and Ugo Dal Lago and Charles Grellois},
  booktitle = {LICS},
  year = {2019},
  doi = {10.1109/lics.2019.8785679}
}