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

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

计算机科学 > 人工智能

arXiv:2201.06268 (cs)
[提交于 2022年1月17日 (v1),最后修订于 2023年1月24日 (此版本, v3)]

标题:Continual Transformers: Redundancy-Free Attention for Online Inference

作者:Lukas Hedegaard, Arian Bakhtiarnia, Alexandros Iosifidis
查看论文《Continual Transformers: Redundancy-Free Attention for Online Inference》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Transformers in their common form are inherently limited to operate on whole token sequences rather than on one token at a time. Consequently, their use during online inference on time-series data entails considerable redundancy due to the overlap in successive token sequences. In this work, we propose novel formulations of the Scaled Dot-Product Attention, which enable Transformers to perform efficient online token-by-token inference on a continual input stream. Importantly, our modifications are purely to the order of computations, while the outputs and learned weights are identical to those of the original Transformer Encoder. We validate our Continual Transformer Encoder with experiments on the THUMOS14, TVSeries and GTZAN datasets with remarkable results: Our Continual one- and two-block architectures reduce the floating point operations per prediction by up to 63x and 2.6x, respectively, while retaining predictive performance.
评论: 16 pages, 6 figures, 7 tables
主题: 人工智能 (cs.AI); 计算机视觉与模式识别 (cs.CV)
引用方式: arXiv:2201.06268 [cs.AI]
  (或者 arXiv:2201.06268v3 [cs.AI] 对于此版本)
  https://doi.org/10.48550/arXiv.2201.06268
期刊参考: International Conference on Learning Representations, 2023

提交历史

来自:Lukas Hedegaard
[v1] 2022年1月17日 星期一 08:20:09 UTC
[v3] 2023年1月24日 星期二 07:42:08 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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