Transformer-based deep neural networks have achieved great success in various sequence applications due to their powerful ability to model long-range dependency. The key module of Transformer is self-attention (SA) which extracts features from the entire sequence regardless of the distance between positions. Although SA helps Transformer performs particularly well on long-range tasks, SA requires quadratic computation and memory complexity with the input sequence length. Recently, attention map reuse, which groups multiple SA layers to share one attention map, has been proposed and achieved significant speedup for speech recognition models. In this paper, we provide a comprehensive study on attention map reuse focusing on its ability to accelerate inference. We compare the method with other SA compression techniques and conduct a breakdown analysis of its advantages for a long sequence. We demonstrate the effectiveness of attention map reuse by measuring the latency on both CPU and GPU platforms.
Exploring General Intelligence via Gated Graph Transformer in Functional Connectivity Studies
Tulane University(杜兰大学);Mayo Clinic(梅奥诊所);University of Science and Technology of China(中国科学技术大学);Institute of Artificial Intelligence(人工智能研究所);University of Virginia(弗吉尼亚大学)
BWCache: Accelerating Video Diffusion Transformers through Block-Wise Caching
School of Artificial Intelligence, Beijing Normal University, Beijing 100875, China(人工智能学院,北京师范大学,北京);Institute of Artificial Intelligence and Future Networks, Beijing Normal University, Zhuhai 519087, China(人工智能与未来网络研究院,北京师范大学,珠海)
Beyond Parameters: Exploring Virtual Logic Depth for Scaling Laws
University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Toronto(多伦多大学);University of Technology Sydney(悉尼技术大学);Google DeepMind(谷歌DeepMind);University of Maryland, College Park(马里兰大学学院市分校);Massachusetts Institute of Technology(麻省理工学院)
Exploring Structure-aware Transformer over Interaction Proposals for Human-Object Interaction Detection
The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));JD Explore Academy(京东探索研究院);The Hong Kong Polytechnic University(香港理工大学)
最近的高性能人-对象交互(HOI)检测技术受到基于变换器的对象检测器(即,DETR)。然而,他们中的大多数直接映射参数交互查询到一组HOI预测通过香草Transformer在一个阶段的方式。这使得丰富的内部或内部交互结构未得到充分利用。在这项工作中,我们设计了一种新的变压器式HOI检测器,即,用于HOI检测的结构感知Transformer over Interaction Proposals(STIP)。这种设计将HOI集合预测的过程分解为两个后续阶段,即,首先执行交互建议生成,然后通过结构感知的Transformer将非参数交互建议转换为HOI预测。结构感知的Transformer通过额外编码交互提议之间的整体语义结构以及每个交互提议中的人/物体的局部空间结构来升级香草Transformer,以加强HOI预测。在V-COCO和HICO-DET基准上进行的大量实验证明了STIP的有效性,并且与最先进的HOI检测器相比,报告了优越的结果。源代码可从\url{https://github.com/zyong812/STIP}获得。
Unveiling Transformer Perception by Exploring Input Manifolds
Department of Environmental Science and Policy(环境科学与政策系);Department of Computer Science(计算机科学系);Department of Mathematics(数学系);Department of Control and Computer Engineering(控制与计算机工程系)
All Roads Lead to Rome? Exploring the Invariance of Transformers' Representations
Tsinghua University(清华大学);Fudan University(复旦大学);Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);ETH Zürich(苏黎世联邦理工学院);Bar-Ilan University(巴伊兰大学)