arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1708.02537cs.PLcs.LO
收藏

概率规划期望灵敏度的证明

Proving Expected Sensitivity of Probabilistic Programs

Gilles Barthe, Thomas Espitau, Benjamin Grégoire, Justin Hsu, Pierre-Yves Strub

摘要:

程序灵敏度,也称为Lipschitz连续性,描述了程序输入的微小变化如何导致输出的有界变化。我们提出了一个平均概念的概率程序的程序灵敏度-预期灵敏度-平均距离函数的概率耦合的两个输出分布从两个类似的输入。通过改变距离,期望灵敏度恢复概率函数灵敏度的有用概念,包括机器学习算法的稳定性和马尔可夫链的收敛性。此外,预期灵敏度满足清洁的组成特性,并可进行形式化验证。我们开发了一个关系程序逻辑称为$\mathbb{E}$ pRHL证明预期的灵敏度属性。我们的逻辑有两个关键思想。首先,关系前置条件和后置条件使用距离表示,这是典型布尔值(关系)断言的实值概括。第二,判断解释的期望耦合,一种新的,定量概括的概率耦合,支持组合推理。我们证明了我们的逻辑的例子超出了以前的关系逻辑。我们的主要例子形式化一致稳定的随机梯度方法。此外,我们证明了快速混合的概率模型的人口动态。我们还扩展了我们的逻辑与期望耦合的传递性原则,以捕获Bubley和Dyer的路径耦合证明技术,并从统计物理学中形式化快速混合的Glauber动力学。

英文摘要:

Program sensitivity, also known as Lipschitz continuity, describes how small changes in a program's input lead to bounded changes in the output. We propose an average notion of program sensitivity for probabilistic programs---expected sensitivity---that averages a distance function over a probabilistic coupling of two output distributions from two similar inputs. By varying the distance, expected sensitivity recovers useful notions of probabilistic function sensitivity, including stability of machine learning algorithms and convergence of Markov chains. Furthermore, expected sensitivity satisfies clean compositional properties and is amenable to formal verification. We develop a relational program logic called $\mathbb{E}$pRHL for proving expected sensitivity properties. Our logic features two key ideas. First, relational pre-conditions and post-conditions are expressed using distances, a real-valued generalization of typical boolean-valued (relational) assertions. Second, judgments are interpreted in terms of expectation coupling, a novel, quantitative generalization of probabilistic couplings which supports compositional reasoning. We demonstrate our logic on examples beyond the reach of prior relational logics. Our main example formalizes uniform stability of the stochastic gradient method. Furthermore, we prove rapid mixing for a probabilistic model of population dynamics. We also extend our logic with a transitivity principle for expectation couplings to capture the path coupling proof technique by Bubley and Dyer, and formalize rapid mixing of the Glauber dynamics from statistical physics.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑