Attention mechanisms, primarily designed to capture pairwise correlations between words, have become the backbone of machine learning, expanding beyond natural language processing into other domains. This growth in adaptation comes at the cost of prohibitively large memory requirements and computational complexity, especially at higher number of input elements. This limitation is due to inherently limited data reuse opportunities and quadratic growth in memory footprints, leading to severe memory-boundedness and limited scalability of input elements. This work addresses these challenges by devising a tailored dataflow optimization, called FLAT, for attention mechanisms without altering their functionality. This dataflow processes costly attention operations through a unique fusion mechanism, transforming the memory footprint quadratic growth to merely a linear one. To realize the full potential of this bespoke mechanism, we propose a tiling approach to enhance the data reuse across attention operations. Our method both mitigates the off-chip bandwidth bottleneck as well as reduces the on-chip memory requirement. FLAT delivers 1.94x (1.76x) speedup and 49% and (42%) of energy savings compared to the state-of-the-art Edge (Cloud) accelerators with no customized dataflow optimization. When on-chip resources are scarce (20 KB-200 KB), FLAT yields, on average, 1.5x end-to-end latency reduction across a diverse range of conventional attention-based models with input sequence lengths ranging from 512-token to 64K-token. Our evaluations demonstrate that state-of-the-art DNN dataflow applied to attention operations reach the efficiency limit for inputs above 512 elements. In contrast, FLAT unblocks transformer models for inputs with up to 64K elements
TinyAlign: Boosting Lightweight Vision-Language Models by Mitigating Modal Alignment Bottlenecks
Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing(北京未来区块链与隐私计算先进创新中心);Beihang University(北京航空航天大学);Hangzhou International Innovation Institute(杭州国际创新研究院);Xreal;Renmin University(中国人民大学);Peking University(北京大学);Beijing Academy of Blockchain and Edge Computing (BABEC)(北京区块链与边缘计算研究院)
Mitigating Over-Squashing in Graph Neural Networks by Spectrum-Preserving Sparsification
Kim Jaechul Graduate School of Artificial Intelligence, KAIST, Seoul, Republic of Korea(韩国釜山科学技术院人工智能研究生院);School of Electrical Engineering, KAIST, Daejeon, Republic of Korea(韩国釜山科学技术院电子工程学院);Department of Engineering, University of Cambridge, Cambridge, United Kingdom(剑桥大学工程系);Incubation Institute, Fudan University, Shanghai, China(复旦大学孵化院);Shanghai Academy of Artificial Intelligence for Science, Shanghai, China(上海人工智能科学研究院);School of Information and Communication Technology, Griffith University, Gold Coast, Australia(格里菲斯大学信息与通信技术学院)
Leveraging the Capabilities of Connected and Autonomous Vehicles and Multi-Agent Reinforcement Learning to Mitigate Highway Bottleneck Congestion
Purdue University(普渡大学);Lyles School of Civil Engineering(莱尔土木工程学院);Center for Connected and Automated Transportation (CCAT)(连通与自动化交通中心(CCAT));Carnegie Mellon University(卡内基梅隆大学);Robotics Institute(机器人研究所)