scimeatlas

Research map / Large language models / Reasoning and chain of thought

BASS: Batched Attention-optimized Speculative Sampling

Haifeng Qian, Sujan Kumar Gonugondla, Sungsoo Ha, Mingyue Shang, Sanjay Krishna Gouda, Ramesh Nallapati, Sudipta Sengupta, Xiaofei Ma, Anoop Deoras

ACL 2024Large language models › Reasoning and chain of thoughtapproach: Speculative decodingopen problems in this approach13 citations (OpenAlex)

Amazon

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
5improved
1no clear effect
3hurt
2mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

This paper tried a common change: Larger batch size

increase batch size under BASS · HumanEval · last vs first sequence latency: batch 8: first 11.5 ms, last 19.4 ms Hurt

What 943 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use BASS batched speculative decoding instead of regular decoding (batch 1)OPT 13B · XSumfirst-sequence per-token latency (ms): 23.4 -> 10.8Improved
use BASS instead of regular decoding at batch 87.8B code model · HumanEvalfirst-sequence per-token latency (ms): 16.0 -> 5.5 (batch 8)Improved
increase batch size under BASSCodeGen-Mono 16B · HumanEvallast vs first sequence latency: batch 8: first 11.5 ms, last 19.4 msHurt
speculative decoding instead of regular decodingOPT 13B / CodeGen · XSum / HumanEvalaccuracy: ROUGE-2 0.086 vs 0.084 (batch 1)No clear effect
use BASS-SPLIT instead of BASS-PAD attention (ablation)BASS · OPT 13B XSum batch 81st seq PTL (ms): 9.6 -> 11.3Hurt
use dynamic draft-length heuristic instead of fixed draft size (ablation)BASS · Code 7.8B HumanEval batch 81st seq PTL (ms): fixed 8: 5.1 -> 4.5Improved
use dynamic draft-length heuristic instead of fixed size (ablation)BASS · CodeGen 16B HumanEval batch 21st seq PTL (ms): fixed 6: 9.1 vs dynamic 9.3Mixed
use deeper 510M draft model (B) instead of 310M (A) (ablation)BASS with 7.8B model · HumanEvaltoken acceptance rate / latency: 87.4% -> 88.5% acceptance; batch 8 1st seq PTL 4.5 -> 5.9 msMixed
use larger OPT 350M draft instead of OPT 125M (ablation)BASS with OPT 13B · XSumtoken acceptance rate: 78.5% -> 76.3%Hurt
increase batch size to 8 with BASS7.8B code model · HumanEvalPass@First / Pass@Finished within 2.5 s: Pass@First up to 43%, Pass@Finished up to 61%Improved
INT8 instead of BF16 quantization with BASS7.8B code model · HumanEval batch 11st seq PTL (ms): 4.6 -> 3.7Improved

Open problems in speculative decoding

Which speculative decoding methods still speed up decoding at large batch, on other hardware and on bigger models?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy