arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.11034cs.CLcs.LG
收藏

基于隐层包围的自然语言理解中的分布外检测

Enhancing Out-of-Distribution Detection in Natural Language Understanding via Implicit Layer Ensemble

Seoul National University(首尔国立大学);NAVER AI Lab(NAVER人工智能实验室);NAVER CLOVA;Hanyang University(汉阳大学)

Hyunsoo Cho, Choonghyun Park, Jaewook Kang, Kang Min Yoo, Taeuk Kim, Sang-goo Lee

摘要:

分布外(OOD)检测旨在从预期的数据分布中识别离群值,这对于保持高可靠性和良好的用户体验至关重要。OOD检测中的大多数最近的研究利用来自驻留在倒数第二层中的单个表示的信息来确定输入是否异常。虽然这种方法很简单,但忽略了中间层中各种信息的潜力。在本文中,我们提出了一种新的框架,基于对比学习,鼓励中间功能学习层专用的表示,并将它们隐式地组装成一个单一的表示,以吸收丰富的信息,在预先训练的语言模型。在各种意图分类和OOD数据集上的大量实验表明,我们的方法比其他作品更有效。

英文摘要:

Out-of-distribution (OOD) detection aims to discern outliers from the intended data distribution, which is crucial to maintaining high reliability and a good user experience. Most recent studies in OOD detection utilize the information from a single representation that resides in the penultimate layer to determine whether the input is anomalous or not. Although such a method is straightforward, the potential of diverse information in the intermediate layers is overlooked. In this paper, we propose a novel framework based on contrastive learning that encourages intermediate features to learn layer-specialized representations and assembles them implicitly into a single representation to absorb rich information in the pre-trained language model. Extensive experiments in various intent classification and OOD datasets demonstrate that our approach is significantly more effective than other works.

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

↑