arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.08983cs.CLcs.AI
收藏

基于QA的阅读理解中BERT的解释

Towards Interpreting BERT for Reading Comprehension Based QA

Robert Bosch Centre for Data Science and AI (RBC-DSAI)(罗伯特·博世数据科学与人工智能中心(RBC-DSAI));Indian Institute of Technology Madras(印度理工学院马德拉斯分校);Google Research(谷歌研究院)

Sahana Ramnath, Preksha Nema, Deep Sahni, Mitesh M. Khapra

摘要:

BERT及其变体在各种NLP任务中实现了最先进的性能。从那时起,已经提出了各种工作来分析在BERT中捕获的语言信息。然而,目前的工作并没有提供一个洞察BERT是如何能够实现接近人类水平的性能上的阅读理解为基础的问答的任务。在这项工作中,我们试图解释BERT的RCQA。由于BERT层没有预定义的角色,因此我们使用集成组件来定义层的角色或功能。根据定义的角色,我们对所有层进行初步分析。我们观察到,最初的层专注于查询通道交互,而后面的层更专注于上下文理解和增强答案预测。特别是对于量词问题(how much/how many),我们注意到BERT侧重于混淆词(即,对其他数字量的通道)在后面的层,但仍然设法预测正确的答案。微调和分析脚本将在https://github.com/iitmnlp/BERT-Analysis-RCQA上公开。

英文摘要:

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 .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑