English

Interpreting Recurrent and Attention-Based Neural Models: a Case Study on Natural Language Inference

Computation and Language 2019-05-21 v1 Artificial Intelligence Machine Learning

Abstract

Deep learning models have achieved remarkable success in natural language inference (NLI) tasks. While these models are widely explored, they are hard to interpret and it is often unclear how and why they actually work. In this paper, we take a step toward explaining such deep learning based models through a case study on a popular neural model for NLI. In particular, we propose to interpret the intermediate layers of NLI models by visualizing the saliency of attention and LSTM gating signals. We present several examples for which our methods are able to reveal interesting insights and identify the critical information contributing to the model decisions.

Keywords

Cite

@article{arxiv.1808.03894,
  title  = {Interpreting Recurrent and Attention-Based Neural Models: a Case Study on Natural Language Inference},
  author = {Reza Ghaeini and Xiaoli Z. Fern and Prasad Tadepalli},
  journal= {arXiv preprint arXiv:1808.03894},
  year   = {2019}
}

Comments

11 pages, 11 figures, accepted as a short paper at EMNLP 2018

R2 v1 2026-06-23T03:31:06.661Z