Whatcha lookin' at? DeepLIFTing BERT's Attention in Question Answering

Ekaterina Arkhangelskaia, Sourav Dutta
10/14/2019
cs.CL

Official code: SouravDutta91/bert-attn-analysis-qa (2 stars, Python, last commit 2021-03-15).

Abstract

There has been great success recently in tackling challenging NLP tasks by neural networks which have been pre-trained and fine-tuned on large amounts of task data. In this paper, we investigate one such model, BERT for question-answering, with the aim to analyze why it is able to achieve significantly better results than other models.

Show full abstract

We run DeepLIFT on the model predictions and test the outcomes to monitor shift in the attention values for input. We also cluster the results to analyze any possible patterns similar to human reasoning depending on the kind of input paragraph and question the model is trying to answer.

View on arXivView PDF

Code Implementations(1)

Source code for "Whatcha lookin'at? DeepLIFTing BERT's Attention in Question Answering."

21PythonJun 11, 20195 years ago
answeransweringarxivattentionbert+6 more

Similar Papers

Cite this paper

@article{arkhangelskaia2019whatcha,
  title  = {Whatcha lookin' at? DeepLIFTing BERT's Attention in Question Answering},
  author = {Ekaterina Arkhangelskaia and Sourav Dutta},
  year   = {2019},
  eprint = {1910.06431},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.06431}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.06431.svg)](https://codeofpaper.com/paper/1910.06431)

Discussion