arXiv · 1909.00102
Knowledge Enhanced Attention for Robust Natural Language Inference
Abstract
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.
Explore related subjects
Keep this discovery
Alexander Hanbo Li, Abhinav Sethy. 2019-08-31. Knowledge Enhanced Attention for Robust Natural Language Inference. https://arxiv.org/abs/1909.00102
Cite the original work for its findings. Save a collection to share your selection of sources.