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

深度k近邻:迈向自信、可解释和鲁棒的深度学习

Deep k-Nearest Neighbors: Towards Confident, Interpretable and Robust Deep Learning

Department of Computer Science and Engineering, Pennsylvania State University(宾夕法尼亚州立大学计算机科学与工程系);cse.psu.edu(cse.psu.edu(宾夕法尼亚州立大学计算机科学与工程系的域名,按要求提取机构级别,这里可能是笔误或错误格式,若严格按原文,此为机构相关域名,但根据提取规则,应提取大学/学院级别,原机构是宾夕法尼亚州立大学,所以主要机构为宾夕法尼亚州立大学计算机科学与工程系,另一个可能是笔误的邮箱域名,若按要求,只提取明确的机构名,所以正确的是宾夕法尼亚州立大学计算机科学与工程系,而另一个cse.psu.edu可能是错误,不提取))

Nicolas Papernot, Patrick McDaniel

摘要:

深度神经网络(DNN)支持机器学习的创新应用,如图像识别、机器翻译或恶意软件检测。然而,深度学习经常因其在对抗性环境中缺乏鲁棒性而受到批评(例如,易受敌对性输入的影响)以及普遍无法合理化其预测。在这项工作中,我们利用深度学习的结构,使新的基于学习的推理和决策策略,实现理想的属性,如鲁棒性和可解释性。我们在这个方向上迈出了第一步,并引入了深度k最近邻(DkNN)。这种混合分类器将k-最近邻算法与DNN每层学习的数据表示相结合:根据在表示中将它们分开的距离,将测试输入与其相邻的训练点进行比较。我们展示了这些相邻点的标签为模型训练流形之外的输入提供了置信度估计,包括对抗性示例等恶意输入,并在其中提供了对模型理解之外的输入的保护。这是因为最近的邻居可以用来估计的不一致性,即,缺乏对训练数据预测的支持。邻居也构成了人类可解释的预测解释。我们在几个数据集上评估了DkNN算法,并表明置信度估计准确地识别了模型之外的输入,并且最近邻提供的解释在理解模型故障方面是直观和有用的。

英文摘要:

Deep neural networks (DNNs) enable innovative applications of machine learning like image recognition, machine translation, or malware detection. However, deep learning is often criticized for its lack of robustness in adversarial settings (e.g., vulnerability to adversarial inputs) and general inability to rationalize its predictions. In this work, we exploit the structure of deep learning to enable new learning-based inference and decision strategies that achieve desirable properties such as robustness and interpretability. We take a first step in this direction and introduce the Deep k-Nearest Neighbors (DkNN). This hybrid classifier combines the k-nearest neighbors algorithm with representations of the data learned by each layer of the DNN: a test input is compared to its neighboring training points according to the distance that separates them in the representations. We show the labels of these neighboring points afford confidence estimates for inputs outside the model's training manifold, including on malicious inputs like adversarial examples--and therein provides protections against inputs that are outside the models understanding. This is because the nearest neighbors can be used to estimate the nonconformity of, i.e., the lack of support for, a prediction in the training data. The neighbors also constitute human-interpretable explanations of predictions. We evaluate the DkNN algorithm on several datasets, and show the confidence estimates accurately identify inputs outside the model, and that the explanations provided by nearest neighbors are intuitive and useful in understanding model failures.

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

↑