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

文本OOD检测的超越马氏分数

Beyond Mahalanobis-Based Scores for Textual OOD Detection

Mathématiques et Informatique pour la Complexité et les Systèmes(复杂系统数学与计算机科学研究所);CentraleSupelec, Université Paris Saclay(巴黎萨克雷大学中央高等电子学院);Laboratoire des signaux et systemes(信号与系统实验室);CNRS, Université Paris-Saclay(巴黎萨克雷大学法国国家科学研究中心);Inria, CEA, Université Paris-Saclay(巴黎萨克雷大学法国国家信息与自动化研究所、法国原子能和替代能源委员会);International Laboratory on Learning Systems(国际学习系统实验室);McGill - ETS - MILA - CNRS - CentraleSupélec, Université Paris-Saclay(巴黎萨克雷大学麦吉尔大学-高等技术学院-蒙特利尔学习算法研究所-法国国家科学研究中心-中央高等电子学院)

Pierre Colombo, Eduardo D. C. Gomes, Guillaume Staerman, Nathan Noiry, Pablo Piantanida

摘要:

深度学习方法推动了NLP系统在现实生活中的应用。然而,他们原来是容易受到分布偏移随着时间的推移,这可能会导致严重的功能障碍,在生产系统中,敦促从业者开发工具,通过神经网络的镜头检测出的分布(OOD)的样本。在本文中,我们介绍了TRUSTED,一个新的OOD检测器的分类器的基础上Transformer架构,满足操作要求:它是无监督和快速计算。TRUSTED的效率依赖于所有隐藏层都携带相关信息来检测OOD示例的富有成效的思想。基于此,对于给定的输入,TRUSTED包括(i)聚合这些信息,以及(ii)通过利用训练分布计算相似性得分,利用强大的数据深度概念。我们广泛的数值实验涉及51k模型配置,包括各种检查点,种子和数据集,并证明TRUSTED达到了最先进的性能。特别是,它提高了以前的AUROC超过3点。

英文摘要:

Deep learning methods have boosted the adoption of NLP systems in real-life applications. However, they turn out to be vulnerable to distribution shifts over time which may cause severe dysfunctions in production systems, urging practitioners to develop tools to detect out-of-distribution (OOD) samples through the lens of the neural network. In this paper, we introduce TRUSTED, a new OOD detector for classifiers based on Transformer architectures that meets operational requirements: it is unsupervised and fast to compute. The efficiency of TRUSTED relies on the fruitful idea that all hidden layers carry relevant information to detect OOD examples. Based on this, for a given input, TRUSTED consists in (i) aggregating this information and (ii) computing a similarity score by exploiting the training distribution, leveraging the powerful concept of data depth. Our extensive numerical experiments involve 51k model configurations, including various checkpoints, seeds, and datasets, and demonstrate that TRUSTED achieves state-of-the-art performances. In particular, it improves previous AUROC over 3 points.

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

↑