arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.01155cs.LOcs.PL
收藏

高阶概率对抗计算:范畴语义和程序逻辑

Higher-order probabilistic adversarial computations: Categorical semantics and program logics

Alejandro Aguirre, Gilles Barthe, Marco Gaboardi, Deepak Garg, Shin-ya Katsumata, Tetsuya Sato

摘要:

对抗性计算是一类被广泛研究的计算,其中资源受限的概率对手可以访问预言机,即,概率过程与私人状态这些计算经常出现在几个领域,包括安全,隐私和机器学习。在本文中,我们开发了程序逻辑,用于在高阶设置中推理对抗计算。我们的逻辑是建立在一个简单类型的$λ$ -演算扩展与分级单子的概率和状态。分级用于建模和限制计算的内存占用和成本(就Oracle调用而言)。在这种观点下,对手是一个高阶表达式,它期望其神谕的代码作为参数。我们开发了一元程序逻辑推理的错误概率和期望值,和一个关系逻辑推理的耦合为基础的属性。所有逻辑都具有对抗计算的规则,并且对满足固定资源策略的所有对手都有效的产量保证。我们证明了健全的逻辑在类的准Borel空间,使用一个一般概念的分级谓词提升,我们使用逻辑关系分级谓词提升建立健全的证据规则的对手。我们用简单但说明性的例子来说明我们的逻辑的工作。

英文摘要:

Adversarial computations are a widely studied class of computations where resource-bounded probabilistic adversaries have access to oracles, i.e., probabilistic procedures with private state. These computations arise routinely in several domains, including security, privacy and machine learning. In this paper, we develop program logics for reasoning about adversarial computations in a higher-order setting. Our logics are built on top of a simply typed $λ$-calculus extended with a graded monad for probabilities and state. The grading is used to model and restrict the memory footprint and the cost (in terms of oracle calls) of computations. Under this view, an adversary is a higher-order expression that expects as arguments the code of its oracles. We develop unary program logics for reasoning about error probabilities and expected values, and a relational logic for reasoning about coupling-based properties. All logics feature rules for adversarial computations, and yield guarantees that are valid for all adversaries that satisfy a fixed resource policy. We prove the soundness of the logics in the category of quasi-Borel spaces, using a general notion of graded predicate liftings, and we use logical relations over graded predicate liftings to establish the soundness of proof rules for adversaries. We illustrate the working of our logics with simple but illustrative examples.

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

↑