arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2210.07745cs.CL
收藏

基于神经网络输出层分布的分类置信度估计

Confidence estimation of classification based on the distribution of the neural network output layer

Deutsches Forschungszentrum für Künstliche Intelligenz (DFKI)(德国人工智能研究中心(DFKI))

Abdel Aziz Taha, Leonhard Hennig, Petr Knoth

摘要:

阻碍预测模型在现实世界中应用的最常见问题之一是缺乏泛化能力:在基准测试中测量的模型准确性在未来的数据中会重复出现,例如在实际业务的设置中。存在相对较少的方法来估计预测模型的置信度。在本文中,我们提出了新的方法,给定一个神经网络分类模型,估计由该模型产生的特定预测的不确定性。此外,我们提出了一种方法,给定一个模型和一个置信水平,计算一个阈值,该阈值将该模型生成的预测分为两个子集,其中一个子集满足给定的置信水平。与其他方法相比,所提出的方法不需要对现有神经网络进行任何更改,因为它们只是建立在普通神经网络的输出logit层上。特别地,该方法基于对应于特定预测的logit值的分布来推断该预测的置信度。所提出的方法构成了一种工具,该工具被推荐用于在知识提取的过程中过滤预测,例如,基于web报废,其中预测子集被识别为最大化召回成本的精度,这由于数据的可用性而不太重要。该方法已在不同的任务上进行了测试,包括关系抽取,命名实体识别和图像分类,以显示所实现的准确性的显着增加。

英文摘要:

One of the most common problems preventing the application of prediction models in the real world is lack of generalization: The accuracy of models, measured in the benchmark does repeat itself on future data, e.g. in the settings of real business. There is relatively little methods exist that estimate the confidence of prediction models. In this paper, we propose novel methods that, given a neural network classification model, estimate uncertainty of particular predictions generated by this model. Furthermore, we propose a method that, given a model and a confidence level, calculates a threshold that separates prediction generated by this model into two subsets, one of them meets the given confidence level. In contrast to other methods, the proposed methods do not require any changes on existing neural networks, because they simply build on the output logit layer of a common neural network. In particular, the methods infer the confidence of a particular prediction based on the distribution of the logit values corresponding to this prediction. The proposed methods constitute a tool that is recommended for filtering predictions in the process of knowledge extraction, e.g. based on web scrapping, where predictions subsets are identified that maximize the precision on cost of the recall, which is less important due to the availability of data. The method has been tested on different tasks including relation extraction, named entity recognition and image classification to show the significant increase of accuracy achieved.

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

↑