[论文解读] The Random Conditional Distribution for Higher-Order Probabilistic Inference
本文引入了随机条件分布——一种高阶概率构造,将分布特性(如期望、方差和熵)视为随机变量,从而在概率编程中直接对这些特性进行条件化。该方法在 Omega 语言中实现,支持对不确定的分布特性进行表达性强、可组合的推理,在公平性和鲁棒性应用中表现出色,10 个采样参数下平均鲁棒性达 98.8%,耗时 86 秒。
The need to condition distributional properties such as expectation, variance, and entropy arises in algorithmic fairness, model simplification, robustness and many other areas. At face value however, distributional properties are not random variables, and hence conditioning them is a semantic error and type error in probabilistic programming languages. On the other hand, distributional properties are contingent on other variables in the model, change in value when we observe more information, and hence in a precise sense are random variables too. In order to capture the uncertain over distributional properties, we introduce a probability construct -- the random conditional distribution -- and incorporate it into a probabilistic programming language Omega. A random conditional distribution is a higher-order random variable whose realizations are themselves conditional random variables. In Omega we extend distributional properties of random variables to random conditional distributions, such that for example while the expectation a real valued random variable is a real value, the expectation of a random conditional distribution is a distribution over expectations. As a consequence, it requires minimal syntax to encode inference problems over distributional properties, which so far have evaded treatment within probabilistic programming systems and probabilistic modeling in general. We demonstrate our approach case studies in algorithmic fairness and robustness.
研究动机与目标
- 解决概率编程语言中缺乏可组合、自动化的机制来对期望、方差和熵等分布特性进行条件化的问题。
- 克服在处理分布特性时将其视为固定值所导致的语义和类型层面的不一致,因为这些特性本质上是不确定且依赖于上下文的。
- 通过引入一种其实现为条件分布的高阶随机变量,实现对分布特性不确定性的表达性建模。
- 在算法公平性和模型鲁棒性等实际问题中展示该构造的实用性,其中对分布行为的约束至关重要。
- 为概率编程提供一个形式化的测度论基础,支持对分布统计量的嵌套和条件推理。
提出的方法
- 将随机条件分布 $X \parallel \Theta$ 定义为一种高阶随机变量,其其实现为条件随机变量,从而实现对分布特性的不确定性建模。
- 将该构造集成到 Omega 概率编程语言中,该语言将测度论对象作为原语处理,确保类型安全和语义一致性。
- 将标准分布运算(如期望、方差)扩展至适用于随机条件分布,使得此类分布的期望本身成为期望的分布。
- 利用嵌套推理和概率推理引擎来计算并条件化这些高阶构造,支持诸如“在给定观测约束下,期望结果的分布是什么?”等查询。
- 通过将公平性和鲁棒性约束编码为需条件化的分布特性,将该框架应用于实际问题。
- 利用采样和近似推理(例如通过快速梯度符号法)来评估鲁棒性和公平性,其中参数在随机条件分布约束下进行采样。
实验结果
研究问题
- RQ1在概率编程中,如何以类型安全且可组合的方式将期望和方差等分布特性视为随机变量?
- RQ2何种形式化和语义基础能够支持对不确定分布特性的条件化,而不会违反概率语言中的类型或语义规则?
- RQ3像随机条件分布这样的高阶概率构造,能否统一公平性验证和对抗鲁棒性等多样化的推理问题?
- RQ4在复杂模型(如神经网络)中,对分布特性的推理在实践中能以多高的效率完成?
- RQ5在多大程度上可以使用随机条件分布以声明式方式编码关于输入分布的先验知识,以改善模型行为?
主要发现
- 随机条件分布支持对期望和方差等分布特性进行条件化,将其视为随机变量而非固定值。
- 在公平性案例研究中,该框架允许通过随机化和约束各组正分类概率,使分类器满足机会均等性。
- 在鲁棒性方面,该方法在 1,000 个输入中,90% 的采样参数配置下实现了 96.6%–100% 的鲁棒性,平均鲁棒性达 98.8%。
- 该方法仅用 86 秒就生成了 10 个鲁棒参数,尽管推理和求解器精度存在近似,仍表现出计算效率。
- 该框架支持对分布行为约束的可组合、声明式建模,减少了对复杂手写生成模型的需求。
- 该方法在公平性和鲁棒性任务中改善了模型行为,且不与现有基于优化的方法直接竞争,而是提供了一种更高阶、更具表达性的替代方案。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。