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

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

计算机科学 > 机器学习

arXiv:2004.05916 (cs)
[提交于 2020年4月10日 (v1),最后修订于 2021年1月13日 (此版本, v2)]

标题:Telling BERT's full story: from Local Attention to Global Aggregation

作者:Damian Pascual, Gino Brunner, Roger Wattenhofer
查看论文《Telling BERT's full story: from Local Attention to Global Aggregation》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We take a deep look into the behavior of self-attention heads in the transformer architecture. In light of recent work discouraging the use of attention distributions for explaining a model's behavior, we show that attention distributions can nevertheless provide insights into the local behavior of attention heads. This way, we propose a distinction between local patterns revealed by attention and global patterns that refer back to the input, and analyze BERT from both angles. We use gradient attribution to analyze how the output of an attention attention head depends on the input tokens, effectively extending the local attention-based analysis to account for the mixing of information throughout the transformer layers. We find that there is a significant discrepancy between attention and attribution distributions, caused by the mixing of context inside the model. We quantify this discrepancy and observe that interestingly, there are some patterns that persist across all layers despite the mixing.
评论: Accepted at EACL 2021
主题: 机器学习 (cs.LG); 计算与语言 (cs.CL)
引用方式: arXiv:2004.05916 [cs.LG]
  (或者 arXiv:2004.05916v2 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2004.05916

提交历史

来自:Damian Pascual
[v1] 2020年4月10日 星期五 01:36:41 UTC
[v2] 2021年1月13日 星期三 21:48:04 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.CL
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-01
切换浏览方式为:
cs
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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