Multilingual Multi-Aspect Explainability Analyses on Machine Reading Comprehension Models

Yiming Cui, Wei-Nan Zhang, Wanxiang Che, Ting Liu, Zhigang Chen +1 more
8/26/2021
cs.CLcs.AI
transformer-attention

Official code: ymcui/mrc-model-analysis (7 stars, Python, Apache-2.0, TensorFlow, last commit 2022-06-21).

Abstract

Achieving human-level performance on some of the Machine Reading Comprehension (MRC) datasets is no longer challenging with the help of powerful Pre-trained Language Models (PLMs). However, the internal mechanism of these artifacts remains unclear, placing an obstacle for further understanding these models.

Show full abstract

This paper focuses on conducting a series of analytical experiments to examine the relations between the multi-head self-attention and the final MRC system performance, revealing the potential explainability in PLM-based MRC models. To ensure the robustness of the analyses, we perform our experiments in a multilingual way on top of various PLMs. We discover that passage-to-question and passage understanding attentions are the most important ones in the question answering process, showing strong correlations to the final performance than other parts. Through comprehensive visualizations and case studies, we also observe several general findings on the attention maps, which can be helpful to understand how these models solve the questions.

View on arXivView PDF

Code Implementations(1)

TensorFlowApache-2.0

Multilingual Multi-Aspect Explainability Analyses on Machine Reading Comprehension Models (iScience)

72Python, ShellFeb 24, 20224 years agoApache-2.0
bertmrcnlptensorflow

Similar Papers

Cite this paper

@article{cui2021multilingual,
  title  = {Multilingual Multi-Aspect Explainability Analyses on Machine Reading Comprehension Models},
  author = {Yiming Cui and Wei-Nan Zhang and Wanxiang Che and Ting Liu and Zhigang Chen and Shijin Wang},
  year   = {2021},
  eprint = {2108.11574},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.11574}
}

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/2108.11574.svg)](https://codeofpaper.com/paper/2108.11574)

Discussion