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

自包含否定测试集

The Self-Contained Negation Test Set

Université Paris Cité(巴黎西岱大学);LLF (CNRS/UPC)(形式语言学实验室(法国国家科学研究中心/巴黎西岱大学));Université Sorbonne Nouvelle(新索邦大学);Lattice (CNRS/ENS-PSL/USN)(语言与文本处理实验室(法国国家科学研究中心/巴黎高等师范学院-巴黎文理研究大学/新索邦大学))

David Kletz, Pascal Amsili, Marie Candito

AI总结:

针对现有PLM否定理解评估测试的缺陷,提出更可控系统的自包含否定测试,经对roberta、bert多版本模型测试发现仅roberta-large符合预期,所有模型仍存在大量否定语义误判。

摘要:

近期已有多种方法被提出用于评估预训练语言模型(Pretrained Language Models,PLMs)理解否定的能力。本文以Gubelmann和Handschuh(2022)的研究为基础,该研究考察了英语输入的极性对PLMs预测结果的调节作用。关键在于,该测试使用以掩码位置结尾的“自包含”输入:根据输入中动词的极性,特定词元在掩码位置要么在语义上被排除,要么被允许。通过复现Gubelmann和Handschuh(2022)的实验,我们发现了削弱该测试结论可靠性的缺陷。因此我们提出了改进版本——Self-Contained Neg Test(自包含否定测试),它更具可控性与系统性,完全由仅在英语动词否定的有无上存在差异的最小对立体示例构成。我们将测试应用于roberta和bert的base与large模型,结果显示仅roberta-large表现出符合预期的趋势,而bert-base对否定基本不敏感。但在所有测试模型中,大量测试用例的top-1预测仍是被上下文语义禁止的词元,这表明PLMs在恰当处理否定现象方面仍有很大提升空间。

英文摘要:

Several methodologies have recently been proposed to evaluate the ability of Pretrained Language Models (PLMs) to interpret negation. In this article, we build on Gubelmann and Handschuh (2022), which studies the modification of PLMs' predictions as a function of the polarity of inputs, in English. Crucially, this test uses ``self-contained'' inputs ending with a masked position: depending on the polarity of a verb in the input, a particular token is either semantically ruled out or allowed at the masked position. By replicating Gubelmann and Handschuh (2022) experiments, we have uncovered flaws that weaken the conclusions that can be drawn from this test. We thus propose an improved version, the Self-Contained Neg Test, which is more controlled, more systematic, and entirely based on examples forming minimal pairs varying only in the presence or absence of verbal negation in English. When applying our test to the roberta and bert base and large models, we show that only roberta-large shows trends that match the expectations, while bert-base is mostly insensitive to negation. For all the tested models though, in a significant number of test instances the top-1 prediction remains the token that is semantically forbidden by the context, which shows how much room for improvement remains for a proper treatment of the negation phenomenon.

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

↑