The computational difficulties of large language model (LLM) inference remain a significant obstacle to their widespread deployment. The need for many applications to support long input sequences and process them in large batches typically causes token-generation to be bottlenecked by data transfer. For this reason, we introduce SparQ Attention, a technique for increasing the inference throughput of LLMs by utilising memory bandwidth more efficiently within the attention layers, through selective fetching of the cached history. Our proposed technique can be applied directly to off-the-shelf LLMs during inference, without requiring any modification to the pre-training setup or additional fine-tuning. We show that SparQ Attention brings up to 8x savings in attention data transfers without substantial drops in accuracy, by evaluating Llama 2 and 3, Mistral, Gemma and Pythia models on a wide range of downstream tasks.
Hypothesize and Bound: A Computational Focus of Attention Mechanism for Simultaneous N-D Segmentation, Pose Estimation and Classification Using Shape Priors
Johns Hopkins University(约翰斯·霍普金斯大学);University of Göttingen(哥廷根大学)
The Pennsylvania State University(宾夕法尼亚州立大学);University of Connecticut(康涅狄格大学);Carnegie Mellon University(卡内基梅隆大学);University of California, Los Angeles(加州大学洛杉矶分校)
End-to-End Transformer Acceleration Through Processing-in-Memory Architectures
Department of Electrical and Computer Engineering, University of Virginia(弗吉尼亚大学电气与计算机工程系);Department of Electrical and Computer Engineering, Duke University(杜克大学电气与计算机工程系)
EffiComm: Bandwidth Efficient Multi Agent Communication
FZI Research Center for Information Technology, Department of Technical Cognitive Systems(FZI信息技术研究中心,技术认知系统部门);Karlsruhe Institute of Technology (KIT), Institute of Applied Technical Cognitive Systems(卡尔斯鲁厄理工学院(KIT),应用技术认知系统研究所);Karlsruhe Institute of Technology (KIT), Institute for Information Processing Technology(卡尔斯鲁厄理工学院(KIT),信息处理技术研究所)
AMMA: A Multi-Chiplet Memory-Centric Architecture for Low-Latency 1M Context Attention Serving
University of California, San Diego(加州大学圣迭戈分校);Columbia University(哥伦比亚大学);Yonsei University(延世大学);NVIDIA(NVIDIA公司);Samsung Semiconductor, Inc.(三星半导体公司)
ASTRA: Communication-Efficient Acceleration for Multi-Device Transformer Inference
Manning College of Information and Computer Sciences, University of Massachusetts Amherst, MA, US(信息与计算机科学学院,马萨诸塞大学阿默斯特分校,马萨诸塞州,美国);Amazon, Seattle, WA, US(亚马逊,华盛顿州西雅图,美国);Amazon AWS, Washington, D.C., US(亚马逊AWS,华盛顿特区,美国)
Attention as In-Context Empirical Bayes: A Two-Stage View via Particle Dynamics
Lewis-Sigler Institute for Integrative Genomics(利斯-西格尔整合基因组研究所);Princeton University(普林斯顿大学);Department of Mathematics(数学系);Rutgers University(罗格斯大学);Department of Physics and Astronomy(物理与天文学系);Center for Computational Quantum Physics and Center for Computational Mathematics(计算量子物理中心和计算数学中心);Flatiron Institute(Flatiron研究所);Simons Foundation(西蒙斯基金会)