arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.06077cs.LGcs.AIstat.ML
收藏

一种用于识别深度学习中未知事物的模糊性度量

An Ambiguity Measure for Recognizing the Unknowns in Deep Learning

Huawei Hong Kong Research Center(华为香港研究中心)

Roozbeh Yousefzadeh

AI总结:

本文提出一种基于决策边界与训练集凸包几何结构的输入模糊性度量,可识别深度模型在分布内、对抗及分布外输入上的未知与错误,并支持高风险时弃权(不执行)分类。

摘要:

我们从深度神经网络的训练范围这一视角研究对其的理解。尽管这些模型在总体层面上的准确率通常令人印象深刻,但它们仍会犯错,有时甚至是在看似微不足道的案例上。此外,这些模型在认识自身未知事物方面并不可靠,从而导致诸如对抗脆弱性和分布外失效等失败。在此,我们提出一种度量,用于针对任何给定模型,根据其训练范围量化输入的模糊性。我们基于决策边界的几何排列,以及训练后模型所学特征空间中训练集的凸包来定义模糊性,并证明单一的模糊性度量可以检测模型在分布内样本、对抗性输入以及分布外输入上的相当一部分错误。利用我们的模糊性度量,当模型遇到模糊输入时,可以弃权(不执行)分类,从而不仅在给定测试集上,而且在其于广阔世界中可能遇到的输入上,带来更好的模型准确率。为寻求这一度量,我们开发了一个理论框架,能够识别模型相对于其训练范围的未知事物。我们将其与模型的置信度联系起来加以审视,并构建了相应公式,以识别域中模型未知、但模型却被保证具有高置信度的区域。

英文摘要:

We study the understanding of deep neural networks from the scope in which they are trained on. While the accuracy of these models is usually impressive on the aggregate level, they still make mistakes, sometimes on cases that appear to be trivial. Moreover, these models are not reliable in realizing what they do not know leading to failures such as adversarial vulnerability and out-of-distribution failures. Here, we propose a measure for quantifying the ambiguity of inputs for any given model with regard to the scope of its training. We define the ambiguity based on the geometric arrangements of the decision boundaries and the convex hull of training set in the feature space learned by the trained model, and demonstrate that a single ambiguity measure may detect a considerable portion of mistakes of a model on in-distribution samples, adversarial inputs, as well as out-of-distribution inputs. Using our ambiguity measure, a model may abstain from classification when it encounters ambiguous inputs leading to a better model accuracy not just on a given testing set, but on the inputs it may encounter at the world at large. In pursuit of this measure, we develop a theoretical framework that can identify the unknowns of the model in relation to its scope. We put this in perspective with the confidence of the model and develop formulations to identify the regions of the domain which are unknown to the model, yet the model is guaranteed to have high confidence.

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

↑