English
Related papers

Related papers: Sequence-Aware Split Heuristic to Mitigate SM Unde…

200 papers

Scaling Transformers to longer sequence lengths has been a major problem in the last several years, promising to improve performance in language modeling and high-resolution image understanding, as well as to unlock new applications in…

Machine Learning · Computer Science 2023-07-18 Tri Dao

Attention, as a core layer of the ubiquitous Transformer architecture, is the bottleneck for large language models and long-context applications. FlashAttention elaborated an approach to speed up attention on GPUs through minimizing memory…

Machine Learning · Computer Science 2024-07-16 Jay Shah , Ganesh Bikshandi , Ying Zhang , Vijay Thakkar , Pradeep Ramani , Tri Dao

Our formulation reveals that the reduction across the sequence axis can be efficiently computed in parallel through a tree reduction. Our algorithm, called Tree Attention, for parallelizing exact attention computation across multiple GPUs…

Machine Learning · Computer Science 2025-02-11 Vasudev Shyam , Jonathan Pilault , Emily Shepperd , Quentin Anthony , Beren Millidge

Effective attention modules have played a crucial role in the success of Transformer-based large language models (LLMs), but the quadratic time and memory complexities of these attention modules also pose a challenge when processing long…

Distributed, Parallel, and Cluster Computing · Computer Science 2024-06-07 Ao Sun , Weilin Zhao , Xu Han , Cheng Yang , Zhiyuan Liu , Chuan Shi , Maosong Sun

Optimizing deep learning algorithms currently requires slow, manual derivation, potentially leaving much performance untapped. Methods like FlashAttention have achieved a x6 performance improvement over native PyTorch by avoiding…

Machine Learning · Computer Science 2025-01-22 Vincent Abbott , Gioele Zardini

Transformer achieves promising results on various tasks. However, self-attention suffers from quadratic memory requirements with respect to the sequence length. Existing work focuses on reducing time and space complexity from an algorithm…

Machine Learning · Computer Science 2022-05-24 Shenggui Li , Fuzhao Xue , Chaitanya Baranwal , Yongbin Li , Yang You

The proliferation of long-context large language models (LLMs) exposes a key bottleneck: the rapidly expanding key-value cache during decoding, which imposes heavy memory and latency costs. While recent approaches attempt to alleviate this…

Computation and Language · Computer Science 2026-02-05 Gang Lin , Dongfang Li , Zhuoen Chen , Yukun Shi , Xuhui Chen , Baotian Hu , Min Zhang

Efficient inference on GPUs using large language models remains challenging due to memory bandwidth limitations, particularly during data transfers between High Bandwidth Memory (HBM) and SRAM in attention computations. Approximate…

Machine Learning · Computer Science 2025-06-06 Nirav Koley , Prajwal Singhania , Abhinav Bhatele

Transformer-based models have emerged as one of the most widely used architectures for natural language processing, natural language generation, and image generation. The size of the state-of-the-art models has increased steadily reaching…

Hardware Architecture · Computer Science 2025-01-15 Rya Sanovar , Srikant Bharadwaj , Renee St. Amant , Victor Rühle , Saravan Rajmohan

LLM decoding is bottlenecked for large batches and long contexts by loading the key-value (KV) cache from high-bandwidth memory, which inflates per-token latency, while the sequential nature of decoding limits parallelism. We analyze the…

Machine Learning · Computer Science 2025-05-28 Ted Zadouri , Hubert Strauss , Tri Dao

With the increasing volumes of Large Language Models (LLMs) and the expanding context lengths, attention computation has become a key performance bottleneck in LLM serving. For fast attention computation, recent practices often parallelize…

Distributed, Parallel, and Cluster Computing · Computer Science 2026-03-12 Di Liu , Yifei Liu , Chen Chen , Zhibin Yu , Xiaoyi Fan , Quan Chen , Minyi Guo

The quadratic computational complexity of standard attention mechanisms presents a severe scalability bottleneck for LLMs in long-context scenarios. While hybrid attention mechanisms combining Full Attention (FA) and Sparse Attention (SA)…

Machine Learning · Computer Science 2026-04-10 Quantong Qiu , Zhiyi Hong , Yi Yang , Haitian Wang , Kebin Liu , Qingqing Dang , Juntao Li , Min Zhang

Attention, as a core layer of the ubiquitous Transformer architecture, is the bottleneck for large language models and long-context applications. While FlashAttention-3 optimized attention for Hopper GPUs through asynchronous execution and…

Computation and Language · Computer Science 2026-03-06 Ted Zadouri , Markus Hoehnerbach , Jay Shah , Timmy Liu , Vijay Thakkar , Tri Dao

Scaling Transformers to ultra-long contexts is bottlenecked by the $O(n^2 d)$ cost of self-attention. Existing methods reduce this cost along the sequence axis through local windows, kernel approximations, or token-level sparsity, but these…

Machine Learning · Computer Science 2026-03-31 Yan Xie , Tiansheng Wen , Tangda Huang , Bo Chen , Chenyu You , Stefanie Jegelka , Yifei Wang

This study introduces bifurcated attention, a method designed to enhance language model inference in shared-context batch decoding scenarios. Our approach addresses the challenge of redundant memory IO costs, a critical factor contributing…

Large language models (LLMs) face low hardware efficiency during decoding, especially for long-context reasoning tasks. This paper introduces Step-3, a 321B-parameter VLM with hardware-aware model-system co-design optimized for minimizing…

Machine Learning · Computer Science 2025-07-28 StepFun , : , Bin Wang , Bojun Wang , Changyi Wan , Guanzhe Huang , Hanpeng Hu , Haonan Jia , Hao Nie , Mingliang Li , Nuo Chen , Siyu Chen , Song Yuan , Wuxun Xie , Xiaoniu Song , Xing Chen , Xingping Yang , Xuelin Zhang , Yanbo Yu , Yaoyu Wang , Yibo Zhu , Yimin Jiang , Yu Zhou , Yuanwei Lu , Houyi Li , Jingcheng Hu , Ka Man Lo , Ailin Huang , Binxing Jiao , Bo Li , Boyu Chen , Changxin Miao , Chang Lou , Chen Hu , Chen Xu , Chenfeng Yu , Chengyuan Yao , Daokuan Lv , Dapeng Shi , Deshan Sun , Ding Huang , Dingyuan Hu , Dongqing Pang , Enle Liu , Fajie Zhang , Fanqi Wan , Gulin Yan , Han Zhang , Han Zhou , Hanghao Wu , Hangyu Guo , Hanqi Chen , Hanshan Zhang , Hao Wu , Haocheng Zhang , Haolong Yan , Haoran Lv , Haoran Wei , Hebin Zhou , Heng Wang , Heng Wang , Hongxin Li , Hongyu Zhou , Hongyuan Wang , Huiyong Guo , Jia Wang , Jiahao Gong , Jialing Xie , Jian Zhou , Jianjian Sun , Jiaoren Wu , Jiaran Zhang , Jiayu Liu , Jie Cheng , Jie Luo , Jie Yan , Jie Yang , Jieyi Hou , Jinguang Zhang , Jinlan Cao , Jisheng Yin , Junfeng Liu , Junhao Huang , Junzhe Lin , Kaijun Tan , Kaixiang Li , Kang An , Kangheng Lin , Kenkun Liu , Lei Yang , Liang Zhao , Liangyu Chen , Lieyu Shi , Liguo Tan , Lin Lin , Lin Zhang , Lina Chen , Liwen Huang , Liying Shi , Longlong Gu , Mei Chen , Mengqiang Ren , Ming Li , Mingzhe Chen , Na Wang , Nan Wu , Qi Han , Qian Zhao , Qiang Zhang , Qianni Liu , Qiaohui Chen , Qiling Wu , Qinglin He , Qinyuan Tan , Qiufeng Wang , Qiuping Wu , Qiuyan Liang , Quan Sun , Rui Li , Ruihang Miao , Ruosi Wan , Ruyan Guo , Shangwu Zhong , Shaoliang Pang , Shengjie Fan , Shijie Shang , Shilei Jiang , Shiliang Yang , Shiming Hao , Shuli Gao , Siming Huang , Siqi Liu , Tiancheng Cao , Tianhao Cheng , Tianhao Peng , Wang You , Wei Ji , Wen Sun , Wenjin Deng , Wenqing He , Wenzhen Zheng , Xi Chen , Xiangwen Kong , Xianzhen Luo , Xiaobo Yang , Xiaojia Liu , Xiaoxiao Ren , Xin Han , Xin Li , Xin Wu , Xu Zhao , Yanan Wei , Yang Li , Yangguang Li , Yangshijie Xu , Yanming Xu , Yaqiang Shi , Yeqing Shen , Yi Yang , Yifei Yang , Yifeng Gong , Yihan Chen , Yijing Yang , Yinmin Zhang , Yizhuang Zhou , Yuanhao Ding , Yuantao Fan , Yuanzhen Yang , Yuchu Luo , Yue Peng , Yufan Lu , Yuhang Deng , Yuhe Yin , Yujie Liu , Yukun Chen , Yuling Zhao , Yun Mou , Yunlong Li , Yunzhou Ju , Yusheng Li , Yuxiang Yang , Yuxiang Zhang , Yuyang Chen , Zejia Weng , Zhe Xie , Zheng Ge , Zheng Gong , Zhenyi Lu , Zhewei Huang , Zhichao Chang , Zhiguo Huang , Zhirui Wang , Zidong Yang , Zili Wang , Ziqi Wang , Zixin Zhang , Binxing Jiao , Daxin Jiang , Heung-Yeung Shum , Xiangyu Zhang

Multi-head attention layers, as used in the Transformer neural sequence model, are a powerful alternative to RNNs for moving information across and between sequences. While training these layers is generally fast and simple, due to…

Neural and Evolutionary Computing · Computer Science 2019-11-07 Noam Shazeer

Each request in LLM inference goes through two phases: compute-bound prefill and memory-bandwidth-bound decode. To improve GPU utilization, recent systems use hybrid batching that combines the prefill and decode phases of different requests…

Machine Learning · Computer Science 2025-02-18 Aditya K Kamath , Ramya Prabhu , Jayashree Mohan , Simon Peter , Ramachandran Ramjee , Ashish Panwar

Large language models encounter critical GPU memory capacity constraints during long-context inference, where KV cache memory consumption severely limits decode batch sizes. While existing research has explored offloading KV cache to DRAM,…

Machine Learning · Computer Science 2026-03-31 Qiuyang Zhang , Kai Zhou , Ding Tang , Kai Lu , Cheng Li , Zhenyu Yang , Peng Xu , Jiguang Wan

We present SemiOccam, an image recognition network that leverages semi-supervised learning in a highly efficient manner. Existing works often rely on complex training techniques and architectures, requiring hundreds of GPU hours for…

Computer Vision and Pattern Recognition · Computer Science 2025-07-22 Rui Yann , Tianshuo Zhang , Xianglei Xing
‹ Prev 1 2 3 10 Next ›