arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2602.06031cs.LG
收藏

AP-OOD:用于分布外检测的注意力池化

AP-OOD: Attention Pooling for Out-of-Distribution Detection

Institute for Machine Learning, JKU LIT SAL IWS Lab(机器学习研究所);Silicon Austria Labs, JKU LIT SAL IWS Lab(Silicon Austria实验室);Interdisciplinary Transformation University Austria(跨学科转型大学);ELLIS Unit, LIT AI Lab, Institute for Machine Learning, JKU Linz(ELLIS单元)

Claus Hofmann, Christian Huber, Bernhard Lehner, Daniel Klotz, Sepp Hochreiter, Werner Zellinger

AI总结:

AP-OOD通过利用token级信息,提出了一种新的分布外检测方法,有效提升了文本数据的检测性能。

摘要:

分布外检测(OOD)将高维数据映射为标量OOD分数,对于机器学习模型的可靠部署至关重要。最近研究中的关键挑战是如何有效利用和聚合语言模型的token嵌入以获得OOD分数。在本文中,我们提出AP-OOD,一种针对自然语言的新型OOD检测方法,超越了简单的平均聚合方法,通过利用token级信息。AP-OOD是一种半监督方法,能够灵活地在无监督和监督设置之间插值,使有限的辅助异常数据得以利用。实验表明,AP-OOD在文本的OOD检测中达到了新的状态:在无监督设置下,其在XSUM摘要任务中将FPR95(95%真阳性下的假阳性率)从27.84%降至4.67%,在WMT15 En-Fr翻译任务中从77.08%降至70.37%。

英文摘要:

Out-of-distribution (OOD) detection, which maps high-dimensional data into a scalar OOD score, is critical for the reliable deployment of machine learning models. A key challenge in recent research is how to effectively leverage and aggregate token embeddings from language models to obtain the OOD score. In this work, we propose AP-OOD, a novel OOD detection method for natural language that goes beyond simple average-based aggregation by exploiting token-level information. AP-OOD is a semi-supervised approach that flexibly interpolates between unsupervised and supervised settings, enabling the use of limited auxiliary outlier data. Empirically, AP-OOD sets a new state of the art in OOD detection for text: in the unsupervised setting, it reduces the FPR95 (false positive rate at 95% true positives) from 27.84% to 4.67% on XSUM summarization, and from 77.08% to 70.37% on WMT15 En-Fr translation.

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

↑