SparQ Attention: Bandwidth-Efficient LLM Inference

Luka Ribar, Ivan Chelombiev, Luke Hudlass-Galley, Charlie Blake, Carlo Luschi +1 more
2/12/2026

No official code found. Best implementation: graphcore-research/llm-inference-research (36 stars, MIT, last commit 2024-09-19).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

An experimentation platform for LLM inference optimisation

364Shell, PythonJan 26, 20242 years agoMIT

Similar Papers

Cite this paper

@article{ribar2026sparq,
  title  = {SparQ Attention: Bandwidth-Efficient LLM Inference},
  author = {Luka Ribar and Ivan Chelombiev and Luke Hudlass-Galley and Charlie Blake and Carlo Luschi and Douglas Orr},
  year   = {2026},
  eprint = {2312.04985},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2312.04985},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.04985.svg)](https://codeofpaper.com/paper/2312.04985)

Discussion