arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.07717cs.CL
收藏

增强语言模型对否定的鲁棒性

Making Language Models Robust Against Negation

University of Arizona(亚利桑那大学)

MohammadHossein Rezaei, Eduardo Blanco

AI总结:

针对语言模型处理否定的长期挑战,提出含新任务NSPP及NSP变体的自监督预训练方法,使BERT和RoBERTa在九项否定基准上优于现成模型,在CondaQA上提升1.8%-9.1%。

摘要:

否定一直是语言模型面临的长期挑战。先前研究表明,语言模型在许多自然语言理解任务中难以处理否定。本研究提出一种自监督方法,以增强语言模型对否定的鲁棒性。我们引入新任务——下一句极性预测(NSPP),以及下一句预测(NSP)任务的变体。实验显示,在我们的任务上进一步预训练的BERT和RoBERTa,在九个否定相关基准上优于现成版本。最显著的是,我们的预训练任务在CondaQA(一个需要对否定进行推理的大型问答语料库)上带来1.8%至9.1%的性能提升。

英文摘要:

Negation has been a long-standing challenge for language models. Previous studies have shown that they struggle with negation in many natural language understanding tasks. In this work, we propose a self-supervised method to make language models more robust against negation. We introduce a novel task, Next Sentence Polarity Prediction (NSPP), and a variation of the Next Sentence Prediction (NSP) task. We show that BERT and RoBERTa further pre-trained on our tasks outperform the off-the-shelf versions on nine negation-related benchmarks. Most notably, our pre-training tasks yield between 1.8% and 9.1% improvement on CondaQA, a large question-answering corpus requiring reasoning over negation.

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

↑