BASS: Batched Attention-optimized Speculative Sampling
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
- 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty26 Jan
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads19 Jan
- 2023Accelerating Large Language Model Decoding with Speculative Sampling2 Feb
- 2022Fast Inference from Transformers via Speculative Decoding30 Nov
Other references · 13
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 407
- 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 323
- 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 232
1 more
- 2022FP8 Quantization: The Power of the Exponentcited by 88
Built on by
Citing papers per year: 2024: 5; 2025: 5; 2026: 1.
11 papers.
- 2024A Theoretical Perspective for Speculative Decoding Algorithmcited by 29
- 2025Speculative Decoding and Beyond: An In-Depth Survey of Techniquescited by 23
- 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decodingcited by 7
- 2024Constrained Decoding with Speculative Lookaheadscited by 6
- 2024Model Cascading for Code: A Cascaded Black-Box Multi-Model Framework for Cost-Efficient Code Completion with Self-Testingcited by 5
- 2025Speculative Decoding for Multi-Sample Inferencecited by 5
- 2025Correctness Forensics for Batch Speculative Decoding: Diagnosing the Ragged Tensor Problemcited by 3
- 2025DSDE: Dynamic Speculative Decoding with KLD Stability for Real-World Servingcited by 2
- 2024Characterizing and Efficiently Accelerating Multimodal Generation Model Inferencecited by 1
- 2025Chitchat with AI: Understand the supply chain carbon disclosure of companies worldwide through Large Language Modelcited by 0
- 2026Multi-SPIN: Multi-Access Speculative Inference for Cooperative Token Generation at the Edgecited by 0
- 2026Multi-SPIN: Multi-Access Speculative Inference for Cooperative Token Generation at the Edge3 Jun 2026
- 2025Chitchat with AI: Understand the supply chain carbon disclosure of companies worldwide through Large Language Model26 Oct 2025
- 2025Correctness Forensics for Batch Speculative Decoding: Diagnosing the Ragged Tensor Problem26 Oct 2025
- 2025DSDE: Dynamic Speculative Decoding with KLD Stability for Real-World Serving1 Sep 2025
- 2025Speculative Decoding for Multi-Sample Inference7 Mar 2025
- 2025Speculative Decoding and Beyond: An In-Depth Survey of Techniques27 Feb 2025
- 2024Constrained Decoding with Speculative Lookaheads9 Dec 2024
- 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding20 Nov 2024
- 2024A Theoretical Perspective for Speculative Decoding Algorithm30 Oct 2024
- 2024Characterizing and Efficiently Accelerating Multimodal Generation Model Inference30 Sep 2024
- 2024Model Cascading for Code: A Cascaded Black-Box Multi-Model Framework for Cost-Efficient Code Completion with Self-Testing24 May 2024
Similar, not cited
Close in wording, no citation either way
- 2022Speculative Decoding: Exploiting Speculative Execution for Accelerating Seq2seq Generation
- 2024MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decoding
- 2023The Synergy of Speculative Decoding and Batching in Serving Large Language Models
- 2024Decoding Speculative Decoding
- 2026MineDraft: A Framework for Batch Parallel Speculative Decoding
- 2025Scaling LLM Speculative Decoding: Non-Autoregressive Forecasting in Large-Batch Scenarios
- 2026SPEED-Bench: A Unified and Diverse Benchmark for Speculative Decoding
- 2025Speculative Sampling via Exponential Races