arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.13410cs.LGstat.ML
收藏

具有领域知识先验的贝叶斯神经网络

Bayesian Neural Networks with Domain Knowledge Priors

Carnegie Mellon University(卡内基梅隆大学);Bosch Center for AI(博世人工智能中心)

Dylan Sam, Rattana Pukdee, Daniel P. Jeong, Yewon Byun, J. Zico Kolter

AI总结:

本文提出通过变分推断将任意可由损失函数表示的领域知识整合为BNN先验,使后验样本更符合领域知识,并在公平性、物理规则和医疗等任务中验证其优于标准先验且可跨架构迁移。

摘要:

贝叶斯神经网络(BNNs)因其能够量化模型不确定性而近年来受到广泛关注。然而,为BNN指定能够捕捉相关领域知识的先验通常极具挑战性。在本工作中,我们提出了一种框架,通过变分推断将一般形式的领域知识(即任何可由损失函数表示的知识)整合到BNN先验中,同时实现计算高效的后验推断与采样。具体而言,我们的方法产生了一个关于神经网络权重的先验,该先验将较高的概率质量赋予那些更符合我们领域知识的模型,从而使后验样本也表现出这种行为。我们表明,使用我们所提出的领域知识先验的BNN优于使用标准先验(例如各向同性高斯先验、高斯过程先验)的BNN,能够成功融入公平性、物理规则和医疗保健知识等多种类型的先验信息,并获得更好的预测性能。我们还提出了在不同模型架构之间迁移所学先验的技术,展示了这些先验在各种场景下的广泛实用性。

英文摘要:

Bayesian neural networks (BNNs) have recently gained popularity due to their ability to quantify model uncertainty. However, specifying a prior for BNNs that captures relevant domain knowledge is often extremely challenging. In this work, we propose a framework for integrating general forms of domain knowledge (i.e., any knowledge that can be represented by a loss function) into a BNN prior through variational inference, while enabling computationally efficient posterior inference and sampling. Specifically, our approach results in a prior over neural network weights that assigns high probability mass to models that better align with our domain knowledge, leading to posterior samples that also exhibit this behavior. We show that BNNs using our proposed domain knowledge priors outperform those with standard priors (e.g., isotropic Gaussian, Gaussian process), successfully incorporating diverse types of prior information such as fairness, physics rules, and healthcare knowledge and achieving better predictive performance. We also present techniques for transferring the learned priors across different model architectures, demonstrating their broad utility across various settings.

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

↑