Towards Interpreting BERT for Reading Comprehension Based QA
Not on the map. Why?
Abstract (arXiv)
BERT and its variants have achieved state-of-the-art performance in various NLP tasks. Since then, various works have been proposed to analyze the linguistic information being captured in BERT. However, the current works do not provide an insight into how BERT is able to achieve near human-level performance on the task of Reading Comprehension based Question Answering. In this work, we attempt to interpret BERT for RCQA. Since BERT layers do not have predefined roles, we define a layer's role or functionality using Integrated Gradients. Based on the defined roles, we perform a preliminary analysis across all layers. We observed that the initial layers focus on query-passage interaction, whereas later layers focus more on contextual understanding and enhancing the answer prediction. Specifically for quantifier questions (how much/how many), we notice that BERT focuses on confusing words (i.e., on other numerical quantities in the passage) in the later layers, but still manages to predict the answer correctly. The fine-tuning and analysis scripts will be publicly available at https://github.com/iitmnlp/BERT-Analysis-RCQA .
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). First posted on arXiv 18 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 1; 2023: 2; 2024: 5; 2025: 1.
13 papers.
Sort:
By area:
- 2023Transformer-Patcher: One Mistake worth One Neuroncited by 196
- 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 149
- 2021What all do audio transformer models hear? Probing Acoustic Representations for Language Delivery and its Structurecited by 52
- 2024Facing the Elephant in the Room: Visual Prompt Tuning or Full Finetuning?cited by 31
- 2024TriviaHG: A Dataset for Automatic Hint Generation from Factoid Questionscited by 7
- 2021NLRG at SemEval-2021 Task 5: Toxic Spans Detection Leveraging BERT-based Token Classification and Span Prediction Techniquescited by 6
- 2023What does BERT learn about prosody?cited by 4
- 2024The Role of Syntactic Span Preferences in Post-Hoc Explanation Disagreementcited by 3
- 2021LRG at SemEval-2021 Task 4: Improving Reading Comprehension with Abstract Words using Augmentation, Linguistic Features and Votingcited by 1
- 2022StyleBERT: Chinese pretraining by font style informationcited by 0
- 2024Transfer Learning Enhanced Single-choice Decision for Multi-choice Question Answeringcited by 0
- 2024What Matters in Explanations: Towards Explainable Fake Review Detection Focusing on Transformerscited by 0
- 2025Explanation Bias is a Product: Revealing the Hidden Lexical and Position Preferences in Post-Hoc Feature Attribution11 Dec 2025
- 2024What Matters in Explanations: Towards Explainable Fake Review Detection Focusing on Transformers24 Jul 2024
- 2024Transfer Learning Enhanced Single-choice Decision for Multi-choice Question Answering27 Apr 2024
- 2024The Role of Syntactic Span Preferences in Post-Hoc Explanation Disagreement28 Mar 2024
- 2024TriviaHG: A Dataset for Automatic Hint Generation from Factoid Questions27 Mar 2024
- 2024Facing the Elephant in the Room: Visual Prompt Tuning or Full Finetuning?23 Jan 2024
- 2023What does BERT learn about prosody?25 Apr 2023
- 2023Transformer-Patcher: One Mistake worth One Neuron24 Jan 2023
- 2022StyleBERT: Chinese pretraining by font style information21 Feb 2022
- 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Experts5 Oct 2021
- 2021LRG at SemEval-2021 Task 4: Improving Reading Comprehension with Abstract Words using Augmentation, Linguistic Features and Voting24 Feb 2021
- 2021NLRG at SemEval-2021 Task 5: Toxic Spans Detection Leveraging BERT-based Token Classification and Span Prediction Techniques24 Feb 2021
- 2023Transformer-Patcher: One Mistake worth One Neuroncited by 196
- 2021What all do audio transformer models hear? Probing Acoustic Representations for Language Delivery and its Structurecited by 52
- 2024Facing the Elephant in the Room: Visual Prompt Tuning or Full Finetuning?cited by 31
- 2024TriviaHG: A Dataset for Automatic Hint Generation from Factoid Questionscited by 7
- 2021NLRG at SemEval-2021 Task 5: Toxic Spans Detection Leveraging BERT-based Token Classification and Span Prediction Techniquescited by 6
- 2023What does BERT learn about prosody?cited by 4
- 2024The Role of Syntactic Span Preferences in Post-Hoc Explanation Disagreementcited by 3
- 2021LRG at SemEval-2021 Task 4: Improving Reading Comprehension with Abstract Words using Augmentation, Linguistic Features and Votingcited by 1
- 2022StyleBERT: Chinese pretraining by font style informationcited by 0
- 2024Transfer Learning Enhanced Single-choice Decision for Multi-choice Question Answeringcited by 0
- 2024What Matters in Explanations: Towards Explainable Fake Review Detection Focusing on Transformerscited by 0
- 2025Explanation Bias is a Product: Revealing the Hidden Lexical and Position Preferences in Post-Hoc Feature Attributioncited by 0
- 2025Explanation Bias is a Product: Revealing the Hidden Lexical and Position Preferences in Post-Hoc Feature Attribution11 Dec 2025
- 2024What Matters in Explanations: Towards Explainable Fake Review Detection Focusing on Transformers24 Jul 2024
- 2024Transfer Learning Enhanced Single-choice Decision for Multi-choice Question Answering27 Apr 2024
- 2024The Role of Syntactic Span Preferences in Post-Hoc Explanation Disagreement28 Mar 2024
- 2024TriviaHG: A Dataset for Automatic Hint Generation from Factoid Questions27 Mar 2024
- 2024Facing the Elephant in the Room: Visual Prompt Tuning or Full Finetuning?23 Jan 2024
- 2023What does BERT learn about prosody?25 Apr 2023
- 2023Transformer-Patcher: One Mistake worth One Neuron24 Jan 2023
- 2022StyleBERT: Chinese pretraining by font style information21 Feb 2022
- 2021LRG at SemEval-2021 Task 4: Improving Reading Comprehension with Abstract Words using Augmentation, Linguistic Features and Voting24 Feb 2021
- 2021NLRG at SemEval-2021 Task 5: Toxic Spans Detection Leveraging BERT-based Token Classification and Span Prediction Techniques24 Feb 2021
- 2021What all do audio transformer models hear? Probing Acoustic Representations for Language Delivery and its Structure2 Jan 2021