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

语义敏感性与预测不一致性:衡量NLI模型的脆弱性

Semantic Sensitivities and Inconsistent Predictions: Measuring the Fragility of NLI Models

University of Copenhagen(哥本哈根大学)

Erik Arakelyan, Zhaoqi Liu, Isabelle Augenstein

AI总结:

该研究针对NLI模型对保语义微小表层变化敏感、预测不一致的问题,提出基于对抗生成样本的语义敏感性衡量框架,发现其会导致域内外性能显著下降,揭示了现有NLI模型的脆弱性。

摘要:

近期针对基于Transformer的自然语言理解(NLU)模型涌现能力的研究表明,这类模型具备词汇语义与组合语义理解能力。我们提供的证据显示,对此类论断应持保留态度:我们发现,当前最先进的自然语言推理(NLI)模型对保留语义的微小表层形式变化十分敏感,这会导致推理过程中出现大量不一致的模型决策。值得注意的是,这种行为有别于对组合语义的有效深度理解,且无论是在标准基准上评估模型准确率,还是探测句法、单调性及逻辑鲁棒推理能力,都无法发现该问题。我们提出了一种衡量语义敏感性程度的新型框架。为此,我们在对抗生成的、包含微小保留语义表层形式输入噪声的样本上评估NLI模型。该样本通过条件文本生成实现,明确条件为NLI模型将原始输入与对抗输入之间的关系预测为对称等价蕴含。我们系统研究了该现象在域内与域外设置下对各NLI模型的影响。实验表明,语义敏感性在域内与域外设置下分别导致平均12.92%与23.71%的性能下降。我们进一步开展消融研究,跨模型、数据集及推理变化分析该现象,结果显示语义敏感性会导致模型预测出现严重不一致。

英文摘要:

Recent studies of the emergent capabilities of transformer-based Natural Language Understanding (NLU) models have indicated that they have an understanding of lexical and compositional semantics. We provide evidence that suggests these claims should be taken with a grain of salt: we find that state-of-the-art Natural Language Inference (NLI) models are sensitive towards minor semantics preserving surface-form variations, which lead to sizable inconsistent model decisions during inference. Notably, this behaviour differs from valid and in-depth comprehension of compositional semantics, however does neither emerge when evaluating model accuracy on standard benchmarks nor when probing for syntactic, monotonic, and logically robust reasoning. We propose a novel framework to measure the extent of semantic sensitivity. To this end, we evaluate NLI models on adversarially generated examples containing minor semantics-preserving surface-form input noise. This is achieved using conditional text generation, with the explicit condition that the NLI model predicts the relationship between the original and adversarial inputs as a symmetric equivalence entailment. We systematically study the effects of the phenomenon across NLI models for $\textbf{in-}$ and $\textbf{out-of-}$ domain settings. Our experiments show that semantic sensitivity causes performance degradations of $12.92\%$ and $23.71\%$ average over $\textbf{in-}$ and $\textbf{out-of-}$ domain settings, respectively. We further perform ablation studies, analysing this phenomenon across models, datasets, and variations in inference and show that semantic sensitivity can lead to major inconsistency within model predictions.

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

↑