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.
Generative Particle Variational Inference via Estimation of Functional Gradients
Oregon State University(俄勒冈州立大学);Horizon Robotics(Horizon Robotics(地平线机器人))
最近,基于粒子的变分推理(ParVI)方法已经获得了兴趣,因为它们可以避免变分推理中常见的任意参数假设。然而,许多ParVI方法不允许从后验任意采样,并且少数允许这样采样的方法遭受次优性。本文提出了一种从后验分布中学习近似采样的新方法。我们构造了一个神经采样器,该神经采样器是用经验采样分布和目标分布之间的KL发散的函数梯度来训练的,假设梯度位于再生核希尔伯特空间内。我们的生成ParVI(GPVI)方法保持了ParVI方法的渐近性能,同时提供了生成采样器的灵活性。通过精心构建的实验,我们表明GPVI优于以前的生成ParVI方法,如摊销SVGD,并与ParVI以及黄金标准方法(如Hamiltonian Monte Carlo)竞争,以拟合精确已知和难以处理的目标分布。
Deterministic Variational Inference for Robust Bayesian Neural Networks
Princeton Neuroscience Institute, Princeton University(普林斯顿大学神经科学研究所);Google AI Berlin(谷歌柏林人工智能研究院);Department of Engineering, University of Cambridge(剑桥大学工程系);Microsoft Research, Cambridge(微软剑桥研究院)
A Framework for Improving the Reliability of Black-box Variational Inference
Department of Mathematics \& Statistics, Boston University, mw;DTU Compute, Technical University of Denmark, mra;Department of Computer Science, Aalto University, av;Faculty of Computing \& Data Sciences, Boston University, jh