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

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

计算机科学 > 机器学习

arXiv:1609.05866 (cs)
[提交于 2016年9月19日]

标题:A Cheap Linear Attention Mechanism with Fast Lookups and Fixed-Size Representations

作者:Alexandre de Brébisson, Pascal Vincent
查看论文《A Cheap Linear Attention Mechanism with Fast Lookups and Fixed-Size Representations》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The softmax content-based attention mechanism has proven to be very beneficial in many applications of recurrent neural networks. Nevertheless it suffers from two major computational limitations. First, its computations for an attention lookup scale linearly in the size of the attended sequence. Second, it does not encode the sequence into a fixed-size representation but instead requires to memorize all the hidden states. These two limitations restrict the use of the softmax attention mechanism to relatively small-scale applications with short sequences and few lookups per sequence. In this work we introduce a family of linear attention mechanisms designed to overcome the two limitations listed above. We show that removing the softmax non-linearity from the traditional attention formulation yields constant-time attention lookups and fixed-size representations of the attended sequences. These properties make these linear attention mechanisms particularly suitable for large-scale applications with extreme query loads, real-time requirements and memory constraints. Early experiments on a question answering task show that these linear mechanisms yield significantly better accuracy results than no attention, but obviously worse than their softmax alternative.
主题: 机器学习 (cs.LG); 信息检索 (cs.IR); 神经与演化计算 (cs.NE); 机器学习 (stat.ML)
引用方式: arXiv:1609.05866 [cs.LG]
  (或者 arXiv:1609.05866v1 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.1609.05866

提交历史

来自:Alexandre de Brébisson
[v1] 2016年9月19日 星期一 18:55:18 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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