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

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

计算机科学 > 神经与演化计算

arXiv:2302.08626 (cs)
[提交于 2023年2月16日]

标题:Role of Bias Terms in Dot-Product Attention

作者:Mahdi Namazifar, Devamanyu Hazarika, Dilek Hakkani-Tur
查看论文《Role of Bias Terms in Dot-Product Attention》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Dot-product attention is a core module in the present generation of neural network models, particularly transformers, and is being leveraged across numerous areas such as natural language processing and computer vision. This attention module is comprised of three linear transformations, namely query, key, and value linear transformations, each of which has a bias term. In this work, we study the role of these bias terms, and mathematically show that the bias term of the key linear transformation is redundant and could be omitted without any impact on the attention module. Moreover, we argue that the bias term of the value linear transformation has a more prominent role than that of the bias term of the query linear transformation. We empirically verify these findings through multiple experiments on language modeling, natural language understanding, and natural language generation tasks.
主题: 神经与演化计算 (cs.NE)
引用方式: arXiv:2302.08626 [cs.NE]
  (或者 arXiv:2302.08626v1 [cs.NE] 对于此版本)
  https://doi.org/10.48550/arXiv.2302.08626

提交历史

来自:Mahdi Namazifar
[v1] 2023年2月16日 星期四 23:41:10 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.NE
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-02
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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