paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A pre-expectation calculus for probabilistic sensitivity

概率敏感性的前期望演算
POPL 5(POPL)2021匹配度 4/10 · 论文属于概率程序验证与关系式前期望演算,能为概率程序的敏感性/分布距离提供形式化上界,偏好理论形式化;但它不涉及 LLM/Agent、静态分析在 ML/Agentic 程序中的应用、浮点程序分析,也未与贝叶斯程序分析或 LLM 交叉,因此仅与研究方向边缘相关。引用 24 inbox
Alejandro Aguirre, Gilles Barthe, Justin Hsu, Benjamin Lucien Kaminski, Joost-Pieter Katoen, Christoph Matheja
crossref: 2026-09-10

AI 速览

一句话:提出关系前期望演算,用Kantorovich距离上界约束概率程序两次执行输出的分布距离。

概率程序的敏感性刻画输入扰动如何影响输出分布,常用Kantorovich提升定义分布距离。本文提出关系前期望演算,通过前期望对两段概率程序执行的Kantorovich距离给出上界,从而证明敏感性性质。作者用该演算验证机器学习算法的算法稳定性、强化学习算法的收敛性以及洗牌算法的快速混合;并给出扩展,证明马尔可夫链收敛到状态上的均匀分布,以及处理控制流不同的程序执行对的异步版本。

问题
如何为概率程序建立组合式证明方法,以输入距离的上界函数来约束两次执行输出分布之间的距离(Kantorovich距离)。
方法
引入关系前期望演算,将Kantorovich提升与最弱前期望结合,对两段概率执行的关系距离进行上界推理,并支持异步控制流扩展。
评估
通过案例研究:证明机器学习算法稳定性、强化学习收敛、洗牌快速混合,以及马尔可夫链均匀分布收敛。
原文摘要(Abstract)

Sensitivity properties describe how changes to the input of a program affect the output, typically by upper bounding the distance between the outputs of two runs by a monotone function of the distance between the corresponding inputs. When programs are probabilistic, the distance between outputs is a distance between distributions. The Kantorovich lifting provides a general way of defining a distance between distributions by lifting the distance of the underlying sample space; by choosing an appropriate distance on the base space, one can recover other usual probabilistic distances, such as the Total Variation distance. We develop a relational pre-expectation calculus to upper bound the Kantorovich distance between two executions of a probabilistic program. We illustrate our methods by proving algorithmic stability of a machine learning algorithm, convergence of a reinforcement learning algorithm, and fast mixing for card shuffling algorithms. We also consider some extensions: using our calculus to show convergence of Markov chains to the uniform distribution over states and an asynchronous extension to reason about pairs of program executions with different control flow.

链接与引用

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

BibTeX
@article{paperbot1163,
  title = {A pre-expectation calculus for probabilistic sensitivity},
  author = {Alejandro Aguirre and Gilles Barthe and Justin Hsu and Benjamin Lucien Kaminski and Joost-Pieter Katoen and Christoph Matheja},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {5},
  number = {POPL},
  year = {2021},
  doi = {10.1145/3434333}
}