arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.00102cs.CLcs.CRcs.LGstat.ML
收藏

基于知识增强注意力的鲁棒自然语言推理

Knowledge Enhanced Attention for Robust Natural Language Inference

Alexa AI, Amazon(亚马逊Alexa AI)

Alexander Hanbo Li, Abhinav Sethy

摘要:

神经网络模型在自然语言推理(NLI)任务上已经非常成功地实现了高精度。然而,正如最近的文献所证明的那样,当在一些简单的对抗性示例上进行测试时,大多数模型的性能都会显着下降。这引起了对NLI模型稳健性的关注。在本文中,我们提出了将外部知识的注意力机制使用一个简单的转换,使NLI模型的鲁棒性。我们将新的注意力应用于两种流行的NLI模型:一种是Transformer编码器,另一种是可分解模型,并表明我们的方法可以显着提高其鲁棒性。此外,当与BERT预训练相结合时,我们的方法在对抗性SNLI数据集上实现了人类水平的性能。

英文摘要:

Neural network models have been very successful at achieving high accuracy on natural language inference (NLI) tasks. However, as demonstrated in recent literature, when tested on some simple adversarial examples, most of the models suffer a significant drop in performance. This raises the concern about the robustness of NLI models. In this paper, we propose to make NLI models robust by incorporating external knowledge to the attention mechanism using a simple transformation. We apply the new attention to two popular types of NLI models: one is Transformer encoder, and the other is a decomposable model, and show that our method can significantly improve their robustness. Moreover, when combined with BERT pretraining, our method achieves the human-level performance on the adversarial SNLI data set.

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

↑