mlsanityData to 14 Oct 2026

BASS: Batched Attention-optimized Speculative Sampling

arXiv 2404.15778 ↗First posted 24 Apr 2024cs.LG cs.CLcited by 11

On the map: Efficient LLM inference and serving → Speculative decoding

Abstract (arXiv)

Speculative decoding has emerged as a powerful method to improve latency and throughput in hosting large language models. However, most existing implementations focus on generating a single sequence. Real-world generative AI applications often require multiple responses and how to perform speculative decoding in a batched setting while preserving its latency benefits poses non-trivial challenges. This paper describes a system of batched speculative decoding that sets a new state of the art in multi-sequence generation latency and that demonstrates superior GPU utilization as well as quality of generations within a time budget. For example, for a 7.8B-size model on a single A100 GPU and with a batch size of 8, each sequence is generated at an average speed of 5.8ms per token, the overall throughput being 1.1K tokens per second. These results represent state-of-the-art latency and a 2.15X speed-up over optimized regular decoding. Within a time budget that regular decoding does not finish, our system is able to generate sequences with HumanEval Pass@First of 43% and Pass@All of 61%, far exceeding what's feasible with single-sequence speculative decoding. Our peak GPU utilization during decoding reaches as high as 15.8%, more than 3X the highest of that of regular decoding and around 10X of single-sequence speculative decoding.

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Placed in Speculative decoding, one of 12 directions in Efficient LLM inference and serving. Builds on 17 of its 37 references that are in the map. First posted on arXiv 24 Apr 2024.

Builds on

17 of 37 references.

Closest ancestors · 4

Same direction, newest first

  1. 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty26 Jan
  2. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads19 Jan
  3. 2023Accelerating Large Language Model Decoding with Speculative Sampling2 Feb
  4. 2022Fast Inference from Transformers via Speculative Decoding30 Nov

Other references · 13

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2020Scaling Laws for Neural Language Modelscited by 6,586
  5. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  6. 2020Longformer: The Long-Document Transformercited by 3,413
  7. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  8. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
  9. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
  10. 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 407
  11. 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 323
  12. 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 232
1 more
  1. 2022FP8 Quantization: The Power of the Exponentcited by 88

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 5; 2025: 5; 2026: 1.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2022Speculative Decoding: Exploiting Speculative Execution for Accelerating Seq2seq Generation
  2. 2024MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decoding
  3. 2023The Synergy of Speculative Decoding and Batching in Serving Large Language Models
  4. 2024Decoding Speculative Decoding
  5. 2026MineDraft: A Framework for Batch Parallel Speculative Decoding
  6. 2025Scaling LLM Speculative Decoding: Non-Autoregressive Forecasting in Large-Batch Scenarios
  7. 2026SPEED-Bench: A Unified and Diverse Benchmark for Speculative Decoding
  8. 2025Speculative Sampling via Exponential Races