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

神经语言模型对输入扰动的鲁棒性评估

Evaluating the Robustness of Neural Language Models to Input Perturbations

Medical University of Vienna(维也纳医科大学)

Milad Moradi, Matthias Samwald

摘要:

高性能神经语言模型已经在广泛的自然语言处理(NLP)任务上获得了最先进的结果。然而,常见基准数据集的结果往往不能反映模型的可靠性和鲁棒性时,应用于嘈杂的,真实世界的数据。在这项研究中,我们设计并实现了各种类型的字符级和单词级扰动方法来模拟现实场景,其中输入文本可能会有轻微的噪音或与NLP系统训练的数据分布不同。在不同的NLP任务上进行全面的实验,我们研究了高性能语言模型,如BERT,XLNet,RoBERTa和ELMo在处理不同类型的输入扰动的能力。结果表明,语言模型是敏感的输入扰动和它们的性能可以降低,即使是小的变化。我们强调,模型需要进一步改进,目前的基准不能很好地反映模型的鲁棒性。我们认为,扰动输入的评估应定期补充广泛使用的基准,以产生一个更现实的理解NLP系统的鲁棒性。

英文摘要:

High-performance neural language models have obtained state-of-the-art results on a wide range of Natural Language Processing (NLP) tasks. However, results for common benchmark datasets often do not reflect model reliability and robustness when applied to noisy, real-world data. In this study, we design and implement various types of character-level and word-level perturbation methods to simulate realistic scenarios in which input texts may be slightly noisy or different from the data distribution on which NLP systems were trained. Conducting comprehensive experiments on different NLP tasks, we investigate the ability of high-performance language models such as BERT, XLNet, RoBERTa, and ELMo in handling different types of input perturbations. The results suggest that language models are sensitive to input perturbations and their performance can decrease even when small changes are introduced. We highlight that models need to be further improved and that current benchmarks are not reflecting model robustness well. We argue that evaluations on perturbed inputs should routinely complement widely-used benchmarks in order to yield a more realistic understanding of NLP systems robustness.

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

↑