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

CARE:通过变分推理进行推理的可证明鲁棒学习

CARE: Certifiably Robust Learning with Reasoning via Variational Inference

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);ETH Zürich(苏黎世联邦理工学院)

Jiawei Zhang, Linyi Li, Ce Zhang, Bo Li

摘要:

尽管深度神经网络(DNN)最近取得了巨大的进步,但它们往往容易受到对抗攻击的攻击。人们已经进行了大量的研究来提高DNN的鲁棒性;然而,大多数经验防御可以被自适应地再次攻击,并且理论上证明的鲁棒性是有限的,特别是在大规模数据集上。DNN存在此类漏洞的一个潜在根本原因是,尽管它们表现出了强大的表达能力,但它们缺乏做出强大可靠预测的推理能力。在本文中,我们的目标是整合领域知识,使强大的学习与推理范式。特别是,我们提出了一个可证明的鲁棒学习与推理管道(CARE),它由一个学习组件和一个推理组件。具体来说,我们使用一组标准DNN作为学习组件来进行语义预测,并利用概率图形模型(如马尔可夫逻辑网络(MLN))作为推理组件来实现知识/逻辑推理。然而,众所周知,MLN(推理)的精确推理是#P-完全的,这限制了流水线的可扩展性。为此,我们建议近似MLN推理通过变分推理的基础上,一个有效的期望最大化算法。特别地,我们利用图卷积网络(GCN)在变分推理过程中编码后验分布,并迭代地更新GCN的参数(E-step)和MLN中知识规则的权重(M-step)。我们在不同的数据集上进行了广泛的实验,结果表明,与最先进的基线相比,CARE实现了更高的认证鲁棒性。我们还进行了不同的消融研究,以证明CARE的经验稳健性和不同知识整合的有效性。

英文摘要:

Despite great recent advances achieved by deep neural networks (DNNs), they are often vulnerable to adversarial attacks. Intensive research efforts have been made to improve the robustness of DNNs; however, most empirical defenses can be adaptively attacked again, and the theoretically certified robustness is limited, especially on large-scale datasets. One potential root cause of such vulnerabilities for DNNs is that although they have demonstrated powerful expressiveness, they lack the reasoning ability to make robust and reliable predictions. In this paper, we aim to integrate domain knowledge to enable robust learning with the reasoning paradigm. In particular, we propose a certifiably robust learning with reasoning pipeline (CARE), which consists of a learning component and a reasoning component. Concretely, we use a set of standard DNNs to serve as the learning component to make semantic predictions, and we leverage the probabilistic graphical models, such as Markov logic networks (MLN), to serve as the reasoning component to enable knowledge/logic reasoning. However, it is known that the exact inference of MLN (reasoning) is #P-complete, which limits the scalability of the pipeline. To this end, we propose to approximate the MLN inference via variational inference based on an efficient expectation maximization algorithm. In particular, we leverage graph convolutional networks (GCNs) to encode the posterior distribution during variational inference and update the parameters of GCNs (E-step) and the weights of knowledge rules in MLN (M-step) iteratively. We conduct extensive experiments on different datasets and show that CARE achieves significantly higher certified robustness compared with the state-of-the-art baselines. We additionally conducted different ablation studies to demonstrate the empirical robustness of CARE and the effectiveness of different knowledge integration.

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

↑