跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算与语言

arXiv:1909.04925 (cs)
[提交于 2019年9月11日]

标题:How Does BERT Answer Questions? A Layer-Wise Analysis of Transformer Representations

作者:Betty van Aken, Benjamin Winter, Alexander Löser, Felix A. Gers
查看论文《How Does BERT Answer Questions? A Layer-Wise Analysis of Transformer Representations》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Bidirectional Encoder Representations from Transformers (BERT) reach state-of-the-art results in a variety of Natural Language Processing tasks. However, understanding of their internal functioning is still insufficient and unsatisfactory. In order to better understand BERT and other Transformer-based models, we present a layer-wise analysis of BERT's hidden states. Unlike previous research, which mainly focuses on explaining Transformer models by their attention weights, we argue that hidden states contain equally valuable information. Specifically, our analysis focuses on models fine-tuned on the task of Question Answering (QA) as an example of a complex downstream task. We inspect how QA models transform token vectors in order to find the correct answer. To this end, we apply a set of general and QA-specific probing tasks that reveal the information stored in each representation layer. Our qualitative analysis of hidden state visualizations provides additional insights into BERT's reasoning process. Our results show that the transformations within BERT go through phases that are related to traditional pipeline tasks. The system can therefore implicitly incorporate task-specific information into its token representations. Furthermore, our analysis reveals that fine-tuning has little impact on the models' semantic abilities and that prediction errors can be recognized in the vector representations of even early layers.
评论: Accepted at CIKM 2019
主题: 计算与语言 (cs.CL); 信息检索 (cs.IR)
引用方式: arXiv:1909.04925 [cs.CL]
  (或者 arXiv:1909.04925v1 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.1909.04925
相关 DOI: https://doi.org/10.1145/3357384.3358028

提交历史

来自:Betty van Aken
[v1] 2019年9月11日 星期三 08:55:09 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CL
< 上一篇   |   下一篇 >
最新 | 近期 | 2019-09
切换浏览方式为:
cs
cs.IR

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站