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

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

计算机科学 > 机器学习

arXiv:1908.11775 (cs)
[提交于 2019年8月30日 (v1),最后修订于 2019年11月11日 (此版本, v4)]

标题:Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernel

作者:Yao-Hung Hubert Tsai, Shaojie Bai, Makoto Yamada, Louis-Philippe Morency, Ruslan Salakhutdinov
查看论文《Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernel》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Transformer is a powerful architecture that achieves superior performance on various sequence learning tasks, including neural machine translation, language understanding, and sequence prediction. At the core of the Transformer is the attention mechanism, which concurrently processes all inputs in the streams. In this paper, we present a new formulation of attention via the lens of the kernel. To be more precise, we realize that the attention can be seen as applying kernel smoother over the inputs with the kernel scores being the similarities between inputs. This new formulation gives us a better way to understand individual components of the Transformer's attention, such as the better way to integrate the positional embedding. Another important advantage of our kernel-based formulation is that it paves the way to a larger space of composing Transformer's attention. As an example, we propose a new variant of Transformer's attention which models the input as a product of symmetric kernels. This approach achieves competitive performance to the current state of the art model with less computation. In our experiments, we empirically study different kernel construction strategies on two widely used tasks: neural machine translation and sequence prediction.
评论: EMNLP 2019
主题: 机器学习 (cs.LG); 机器学习 (stat.ML)
引用方式: arXiv:1908.11775 [cs.LG]
  (或者 arXiv:1908.11775v4 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.1908.11775

提交历史

来自:Yao-Hung Tsai
[v1] 2019年8月30日 星期五 15:05:02 UTC
[v2] 2019年10月10日 星期四 21:16:58 UTC
[v4] 2019年11月11日 星期一 21:51:11 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs
< 上一篇   |   下一篇 >
最新 | 近期 | 2019-11
切换浏览方式为:
cs.LG
stat.ML

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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