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

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

计算机科学 > 计算与语言

arXiv:2406.06366 (cs)
[提交于 2024年6月10日 (v1),最后修订于 2024年6月19日 (此版本, v2)]

标题:Symmetric Dot-Product Attention for Efficient Training of BERT Language Models

作者:Martin Courtois, Malte Ostendorff, Leonhard Hennig, Georg Rehm
查看论文《Symmetric Dot-Product Attention for Efficient Training of BERT Language Models》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Initially introduced as a machine translation model, the Transformer architecture has now become the foundation for modern deep learning architecture, with applications in a wide range of fields, from computer vision to natural language processing. Nowadays, to tackle increasingly more complex tasks, Transformer-based models are stretched to enormous sizes, requiring increasingly larger training datasets, and unsustainable amount of compute resources. The ubiquitous nature of the Transformer and its core component, the attention mechanism, are thus prime targets for efficiency research. In this work, we propose an alternative compatibility function for the self-attention mechanism introduced by the Transformer architecture. This compatibility function exploits an overlap in the learned representation of the traditional scaled dot-product attention, leading to a symmetric with pairwise coefficient dot-product attention. When applied to the pre-training of BERT-like models, this new symmetric attention mechanism reaches a score of 79.36 on the GLUE benchmark against 78.74 for the traditional implementation, leads to a reduction of 6% in the number of trainable parameters, and reduces the number of training steps required before convergence by half.
评论: to be published in Findings of the Association for Computational Linguistics: ACL 2024
主题: 计算与语言 (cs.CL)
引用方式: arXiv:2406.06366 [cs.CL]
  (或者 arXiv:2406.06366v2 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2406.06366

提交历史

来自:Martin Courtois
[v1] 2024年6月10日 星期一 15:24:15 UTC
[v2] 2024年6月19日 星期三 10:42:15 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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