paperbot · PL 论文追踪

全部论文 待读 收藏

P2 DOTA: detect and omit weak attentions for scalable transformer acceleration

DOTA:检测并省略弱注意力以实现可扩展 Transformer 加速
ASPLOS Proceedings of the 27th ACM International Conference on Architectural Support for Programming Languages and Operating Systems2022匹配度 2/10 · 该论文研究 Transformer 长序列推理的算法-架构协同加速,属于机器学习系统与体系结构方向,不涉及静态分析、Agentic 程序、浮点程序分析、贝叶斯程序分析或 LLM/Agent 改进程序分析等画像核心问题。虽然标签含“机器学习与程序语言”,但内容与用户关注的 PL/AI 交叉方向关联很弱。引用 148 inbox
Zheng Qu, Liu Liu, Fengbin Tu, Zhaodong Chen, Yufei Ding, Yuan Xie
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出算法-架构协同设计的 DOTA,通过运行时检测并省略弱注意力连接加速长序列 Transformer 推理。

长序列 Transformer 推理中,自注意力具有二次计算复杂度和高内存开销,成为可扩展性瓶颈。DOTA 基于注意力图中并非所有连接同等重要的观察,提出算法-架构协同设计:联合优化一个轻量级 Detector 与 Transformer 模型,在运行时准确检测并省略弱注意力连接,同时设计专用系统架构实现端到端加速。在广泛基准上,DOTA 相比 GPU 取得 152.6 倍加速,相比定制硬件取得 4.5 倍加速,并带来数量级的能效提升。

问题
长序列 Transformer 推理受自注意力二次计算复杂度和高内存消耗制约,难以高效扩展。
方法
利用注意力连接重要性不均的洞察,联合优化轻量级检测器与 Transformer 模型,在运行时检测并省略弱连接,并设计配套专用架构实现端到端加速。
评估
在多种基准上与 GPU 及定制硬件对比,报告 152.6 倍和 4.5 倍加速以及数量级能效提升。
原文摘要(Abstract)

Transformer Neural Networks have demonstrated leading performance in many applications spanning over language understanding, image processing, and generative modeling. Despite the impressive performance, long-sequence Transformer processing is expensive due to quadratic computation complexity and memory consumption of self-attention. In this paper, we present DOTA, an algorithm-architecture co-design that effectively addresses the challenges of scalable Transformer inference. Based on the insight that not all connections in an attention graph are equally important, we propose to jointly optimize a lightweight Detector with the Transformer model to accurately detect and omit weak connections during runtime. Furthermore, we design a specialized system architecture for end-to-end Transformer acceleration using the proposed attention detection mechanism. Experiments on a wide range of benchmarks demonstrate the superior performance of DOTA over other solutions. In summary, DOTA achieves 152.6x and 4.5x performance speedup and orders of magnitude energy-efficiency improvements over GPU and customized hardware, respectively.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{Qu0TCD022,
  title = {DOTA: detect and omit weak attentions for scalable transformer acceleration},
  author = {Zheng Qu and Liu Liu and Fengbin Tu and Zhaodong Chen and Yufei Ding and Yuan Xie},
  booktitle = {ASPLOS},
  year = {2022},
  doi = {10.1145/3503222.3507738}
}