arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.00965cs.LGcs.AI
收藏

适应特征衰减到NLP

Adapting Feature Attenuation to NLP

University of Michigan(密歇根大学);University of Colorado Colorado Springs(科罗拉多州立大学)

Tianshuo Yang, Ryan Rabinowitz, Terrance E. Boult, Jugal Kalita

AI总结:

本文将特征衰减假设从计算机视觉移植到NLP,评估了COSTARR等方法在文本开放集识别中的表现,发现其在不重新训练的情况下效果有限,但指出了需要更大模型和定制策略的改进方向。

摘要:

Transformer分类器如BERT在封闭集准确率方面表现优异,但在面对未见类别的输入时却显得脆弱——这是部署中的NLP系统常见的情况。我们研究了文本的开放集识别(OSR),通过将特征衰减假设从计算机视觉移植到Transformer,并将其与最先进的基线进行基准测试。具体而言,我们将COSTARR框架——最初为计算机视觉分类设计的——适应到两个适度的语言模型(BERT(base)和GPT-2)上,这些模型被训练以标注176个arXiv主题领域。除了COSTARR外,我们还评估了最大softmax概率(MSP)、MaxLogit以及温度缩放的自由能分数,在OOSA和AUOSCR指标下。我们的结果表明(i)COSTARR在不重新训练的情况下扩展到NLP,但其在MaxLogit或MSP上没有统计学显著的优势;(ii)自由能分数在高类别数设置中落后于所有其他分数。本研究突显了将视觉中心的OSR思想移植到语言模型中的潜力和当前限制,并指出了需要更大骨干网络和任务定制的衰减策略的必要性。

英文摘要:

Transformer classifiers such as BERT deliver impressive closed-set accuracy, yet they remain brittle when confronted with inputs from unseen categories--a common scenario for deployed NLP systems. We investigate Open-Set Recognition (OSR) for text by porting the feature attenuation hypothesis from computer vision to transformers and by benchmarking it against state-of-the-art baselines. Concretely, we adapt the COSTARR framework--originally designed for classification in computer vision--to two modest language models (BERT (base) and GPT-2) trained to label 176 arXiv subject areas. Alongside COSTARR, we evaluate Maximum Softmax Probability (MSP), MaxLogit, and the temperature-scaled free-energy score under the OOSA and AUOSCR metrics. Our results show (i) COSTARR extends to NLP without retraining but yields no statistically significant gain over MaxLogit or MSP, and (ii) free-energy lags behind all other scores in this high-class-count setting. The study highlights both the promise and the current limitations of transplanting vision-centric OSR ideas to language models, and points toward the need for larger backbones and task-tailored attenuation strategies.

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

↑