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

一种用于建立概率程序信任的类型化λ演算

A Typed Lambda-Calculus for Establishing Trust in Probabilistic Programs

Francesco A. Genco, Giuseppe Primiero

AI总结:

针对概率程序无法用传统正确性衡量的问题,提出一种类型化λ演算框架,通过运行时实验算子和静态置信度概念,形式化输出频率与预期分布一致的信任概念,证明其符合概率论原理。

摘要:

概率算法的广泛部署从根本上改变了我们对若干公认计算概念的看法。正确性或许是最基础的概念。虽然典型的概率程序无法被判定为计算出正确结果,但我们通常对其返回特定输出的频率有相当强烈的期望。在这些情况下,作为正确性泛化的信任表现更佳。理解这一点的一种方式是:如果概率计算过程的输出频率符合模拟其预期行为的概率分布,则该过程是可信的。我们提出一个形式化计算框架来将这一想法形式化。为此,我们定义了一种类型化λ演算,其具有在运行时对概率程序进行实验的算子,以及评估它们是否按目标概率分布计算输出的算子。在证明该演算的一些基本计算性质(如进展性和终止性)后,我们定义了一个静态的置信度概念,可证明我们的信任概念符合概率论的基本原理。

英文摘要:

The extensive deployment of probabilistic algorithms has radically changed our perspective on several well-established computational notions. Correctness is probably the most basic one. While a typical probabilistic program cannot be said to compute the correct result, we often have quite strong expectations about the frequency with which it should return certain outputs. In these cases, trust as a generalisation of correctness fares better. One way to understand it is to say that a probabilistic computational process is trustworthy if the frequency of its outputs is compliant with a probability distribution which models its expected behaviour. We present a formal computational framework that formalises this idea. In order to do so, we define a typed lambda-calculus that features operators for conducting experiments at runtime on probabilistic programs and for evaluating whether they compute outputs as determined by a target probability distribution. After proving some fundamental computational properties of the calculus, such as progress and termination, we define a static notion of confidence that allows to prove that our notion of trust behaves correctly with respect to the basic tenets of probability theory.

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

↑