Datasets:

Formats:
parquet
ArXiv:
License:
autoRebotIsReal maorashnvidia commited on
Commit
9a368e7
·
0 Parent(s):

Duplicate from nvidia/SPEED-Bench

Browse files

Co-authored-by: Maor Ashkenazi <maorashnvidia@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mds filter=lfs diff=lfs merge=lfs -text
13
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
14
+ *.model filter=lfs diff=lfs merge=lfs -text
15
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
16
+ *.npy filter=lfs diff=lfs merge=lfs -text
17
+ *.npz filter=lfs diff=lfs merge=lfs -text
18
+ *.onnx filter=lfs diff=lfs merge=lfs -text
19
+ *.ot filter=lfs diff=lfs merge=lfs -text
20
+ *.parquet filter=lfs diff=lfs merge=lfs -text
21
+ *.pb filter=lfs diff=lfs merge=lfs -text
22
+ *.pickle filter=lfs diff=lfs merge=lfs -text
23
+ *.pkl filter=lfs diff=lfs merge=lfs -text
24
+ *.pt filter=lfs diff=lfs merge=lfs -text
25
+ *.pth filter=lfs diff=lfs merge=lfs -text
26
+ *.rar filter=lfs diff=lfs merge=lfs -text
27
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
28
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar filter=lfs diff=lfs merge=lfs -text
31
+ *.tflite filter=lfs diff=lfs merge=lfs -text
32
+ *.tgz filter=lfs diff=lfs merge=lfs -text
33
+ *.wasm filter=lfs diff=lfs merge=lfs -text
34
+ *.xz filter=lfs diff=lfs merge=lfs -text
35
+ *.zip filter=lfs diff=lfs merge=lfs -text
36
+ *.zst filter=lfs diff=lfs merge=lfs -text
37
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
38
+ # Audio files - uncompressed
39
+ *.pcm filter=lfs diff=lfs merge=lfs -text
40
+ *.sam filter=lfs diff=lfs merge=lfs -text
41
+ *.raw filter=lfs diff=lfs merge=lfs -text
42
+ # Audio files - compressed
43
+ *.aac filter=lfs diff=lfs merge=lfs -text
44
+ *.flac filter=lfs diff=lfs merge=lfs -text
45
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
46
+ *.ogg filter=lfs diff=lfs merge=lfs -text
47
+ *.wav filter=lfs diff=lfs merge=lfs -text
48
+ # Image files - uncompressed
49
+ *.bmp filter=lfs diff=lfs merge=lfs -text
50
+ *.gif filter=lfs diff=lfs merge=lfs -text
51
+ *.png filter=lfs diff=lfs merge=lfs -text
52
+ *.tiff filter=lfs diff=lfs merge=lfs -text
53
+ # Image files - compressed
54
+ *.jpg filter=lfs diff=lfs merge=lfs -text
55
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
56
+ *.webp filter=lfs diff=lfs merge=lfs -text
57
+ # Video files - compressed
58
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
59
+ *.webm filter=lfs diff=lfs merge=lfs -text
License.pdf ADDED
Binary file (82.5 kB). View file
 
README.md ADDED
@@ -0,0 +1,394 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: nvidia-evaluation-dataset-license
4
+ dataset_info:
5
+ - config_name: qualitative
6
+ features:
7
+ - name: question_id
8
+ dtype: string
9
+ - name: category
10
+ dtype: string
11
+ - name: sub_category
12
+ dtype: string
13
+ - name: turns
14
+ list: string
15
+ - name: source
16
+ dtype: string
17
+ - name: src_id
18
+ dtype: string
19
+ - name: difficulty
20
+ dtype: string
21
+ - name: multiturn
22
+ dtype: bool
23
+ splits:
24
+ - name: test
25
+ num_bytes: 909126
26
+ num_examples: 880
27
+ download_size: 364138
28
+ dataset_size: 909126
29
+ - config_name: throughput_16k
30
+ features:
31
+ - name: question_id
32
+ dtype: string
33
+ - name: category
34
+ dtype: string
35
+ - name: sub_category
36
+ dtype: string
37
+ - name: turns
38
+ list: string
39
+ - name: source
40
+ dtype: string
41
+ - name: src_id
42
+ dtype: string
43
+ - name: difficulty
44
+ dtype: string
45
+ - name: multiturn
46
+ dtype: bool
47
+ splits:
48
+ - name: test
49
+ num_bytes: 53496289
50
+ num_examples: 1536
51
+ download_size: 25523756
52
+ dataset_size: 53496289
53
+ - config_name: throughput_1k
54
+ features:
55
+ - name: question_id
56
+ dtype: string
57
+ - name: category
58
+ dtype: string
59
+ - name: sub_category
60
+ dtype: string
61
+ - name: turns
62
+ list: string
63
+ - name: source
64
+ dtype: string
65
+ - name: src_id
66
+ dtype: string
67
+ - name: difficulty
68
+ dtype: string
69
+ - name: multiturn
70
+ dtype: bool
71
+ splits:
72
+ - name: test
73
+ num_bytes: 4212842
74
+ num_examples: 1536
75
+ download_size: 1952802
76
+ dataset_size: 4212842
77
+ - config_name: throughput_2k
78
+ features:
79
+ - name: question_id
80
+ dtype: string
81
+ - name: category
82
+ dtype: string
83
+ - name: sub_category
84
+ dtype: string
85
+ - name: turns
86
+ list: string
87
+ - name: source
88
+ dtype: string
89
+ - name: src_id
90
+ dtype: string
91
+ - name: difficulty
92
+ dtype: string
93
+ - name: multiturn
94
+ dtype: bool
95
+ splits:
96
+ - name: test
97
+ num_bytes: 8151334
98
+ num_examples: 1536
99
+ download_size: 3713378
100
+ dataset_size: 8151334
101
+ - config_name: throughput_32k
102
+ features:
103
+ - name: question_id
104
+ dtype: string
105
+ - name: category
106
+ dtype: string
107
+ - name: sub_category
108
+ dtype: string
109
+ - name: turns
110
+ list: string
111
+ - name: source
112
+ dtype: string
113
+ - name: src_id
114
+ dtype: string
115
+ - name: difficulty
116
+ dtype: string
117
+ - name: multiturn
118
+ dtype: bool
119
+ splits:
120
+ - name: test
121
+ num_bytes: 110525325
122
+ num_examples: 1536
123
+ download_size: 52281772
124
+ dataset_size: 110525325
125
+ - config_name: throughput_8k
126
+ features:
127
+ - name: question_id
128
+ dtype: string
129
+ - name: category
130
+ dtype: string
131
+ - name: sub_category
132
+ dtype: string
133
+ - name: turns
134
+ list: string
135
+ - name: source
136
+ dtype: string
137
+ - name: src_id
138
+ dtype: string
139
+ - name: difficulty
140
+ dtype: string
141
+ - name: multiturn
142
+ dtype: bool
143
+ splits:
144
+ - name: test
145
+ num_bytes: 27768504
146
+ num_examples: 1536
147
+ download_size: 12959248
148
+ dataset_size: 27768504
149
+ configs:
150
+ - config_name: qualitative
151
+ data_files:
152
+ - split: test
153
+ path: qualitative/test-*
154
+ - config_name: throughput_16k
155
+ data_files:
156
+ - split: test
157
+ path: throughput_16k/test-*
158
+ - config_name: throughput_1k
159
+ data_files:
160
+ - split: test
161
+ path: throughput_1k/test-*
162
+ - config_name: throughput_2k
163
+ data_files:
164
+ - split: test
165
+ path: throughput_2k/test-*
166
+ - config_name: throughput_32k
167
+ data_files:
168
+ - split: test
169
+ path: throughput_32k/test-*
170
+ - config_name: throughput_8k
171
+ data_files:
172
+ - split: test
173
+ path: throughput_8k/test-*
174
+ ---
175
+
176
+ <div align="center">
177
+ <img alt="SpeedBench" src="./assets/speed_bench_logo.png" width="450" />
178
+ </div>
179
+ <p align="center">
180
+ <a href="">📒 Blog</a> |
181
+ <a href="https://research.nvidia.com/publication/2026-02_speed-bench-unified-and-diverse-benchmark-speculative-decoding">📄 Paper</a> |
182
+ <a href="https://huggingface.co/datasets/nvidia/SPEED-Bench">🤗 Data</a> |
183
+ <a href="https://github.com/NVIDIA/Model-Optimizer/tree/main/examples/specdec_bench">⚙️ Measurement Framework</a>
184
+ </p>
185
+
186
+
187
+ SPEED-Bench (**SPE**culative **E**valuation **D**ataset) is a unified benchmark designed to evaluate speculative decoding (SD) across diverse semantic domains and realistic serving regimes, using production-grade inference engines.
188
+ It measures both acceptance-rate characteristics and end-to-end throughput, enabling fair, reproducible, and robust comparisons between SD strategies.
189
+ SPEED-Bench introduces a benchmarking ecosystem for SD.
190
+ It combines two purpose-built dataset splits and a unified measurement framework, each designed to capture a different aspect of SD behavior:
191
+
192
+ 1. A **"Qualitative" data split**, optimized for semantic diversity and designed to measure speculation quality (drafter accuracy) across domains.
193
+
194
+ 2. **A "Throughput" data split**, constructed to evaluate system-level performance across various input sequence lengths and high concurrency.
195
+
196
+ 3. A [**unified measurement framework**](https://github.com/NVIDIA/Model-Optimizer/tree/main/examples/specdec_bench), integrated with production inference engines, that standardizes evaluation across systems.
197
+
198
+ <img src="./assets/main_figure.png" alt="Main figure" width="1000"/>
199
+
200
+
201
+ ## Dataset Details
202
+
203
+ ### Dataset Description
204
+
205
+ SPEED-Bench is a unified benchmark designed to standardize and improve the evaluation of SD algorithms.
206
+
207
+ [SpecBench](https://arxiv.org/pdf/2401.07851) introduced the first unified SD benchmark across diverse application scenarios, such as multi-turn conversation, translation, and mathematical reasoning, by aggregating instances from widely used datasets into a unified testing environment. However, despite being a significant step toward standardized evaluations, it has critical limitations regarding scale and diversity. Most categories contain as few as 10 samples with short mean input lengths (< 100 tokens) that may fail to stress modern drafters. Additionally, some of its categories often lack structural diversity, such as the multilingual category consisting entirely of German-to-English translation prompts.
208
+
209
+ Our benchmark introduces two main dataset configurations:
210
+
211
+ 1. A **Qualitative data split**: This configuration combines and refines multiple existing benchmarks, covering categories similar to the original SpecBench. We aggregate data from 18 publicly available sources and organize it into 11 categories, including *Coding*, *Math*, *Humanities*, *STEM*, *Writing*, *Summarization*, *Roleplay*, *RAG*, *Multilingual*, *Reasoning*, and *QA*. Unlike prior benchmarks, which often suffer from low intra-category diversity, the SPEED-Bench Qualitative split explicitly prioritizes semantic diversity. It is designed to evaluate acceptance rates and overall performance of SD algorithms across different task domains.
212
+
213
+ 2. A **Throughput data split**: This configuration consists of fixed-length input sequences (1K, 2K, 8K, 16K and 32K) organized into three coarse difficulty categories: low-entropy domains (such as coding), high-entropy domains (such as creative writing), and mixed-entropy domains. The goal is to assess throughput under high concurrency and a wide range of input sequence lengths (ISLs), which are often much longer than the short ISL samples used in many SD benchmarks. As batch size increases, inference often transitions from a compute-bound regime to a memory-bound regime, fundamentally changing the cost-benefit trade-offs of speculative decoding.
214
+
215
+
216
+ | ⚠️ **Important:** Some examples in the dataset are masked with the sentence "FULL BENCHMARK DATA SHOULD BE FETCHED FROM THE SOURCE USING SPECDEC_BENCH". To access the complete benchmark data, use the accompanying measurement framework, which fetches the full data directly from the sources. |
217
+ |----------------------------------------------|
218
+
219
+ ## Dataset Structure
220
+
221
+ Each data point contains the following fields:
222
+
223
+ 1. `question_id` - unique identifier of the data point in SPEED-Bench.
224
+ 2. `category` - data point category
225
+ 1. For qualitative can be one of: coding, stem, humanities, math, multilingual, qa, rag, roleplay, reasoning, summarization, writing.
226
+ 2. For throughput can be one of: high_entropy, mixed, low_entropy.
227
+ 3. `sub_category` - a fine-grained category of the data point, if provided by the original data source.
228
+ 4. `turns` - a list of prompts, used to form the conversation.
229
+ 5. `source` - URL for the original data source.
230
+ 6. `src_id` - original ID of the example in the data source.
231
+ 7. `difficulty` - the difficuly level of the example, if provided by the original data source.
232
+ 8. `multiturn` - a boolean field to indicate whether the data point contain a multi-turn conversation (i.e. `len(turns) > 1`).
233
+
234
+ ## Dataset Creation
235
+
236
+ ### Curation Rationale - The Qualitative Split
237
+
238
+ The goal of the Qualitative split is to measure SD quality, specifically conditional acceptance rates (ARs) and acceptance lengths (ALs), across a wide range of semantic domains.
239
+
240
+ While extensive evaluation across numerous datasets is theoretically possible, it is tedious, impractical for rapid experimentation, and hinders direct comparisons between different research groups releasing SD algorithms and models. Instead of relying on exhaustive evaluations across disparate datasets, we curate a compact yet highly representative subset designed to maximize semantic diversity.
241
+ We aggregate data from 18 publicly available sources and organize it into 11 categories, including Coding, Math, Humanities, STEM, Writing, Summarization, Roleplay, RAG, Multilingual, Reasoning, and QA.
242
+
243
+ Unlike prior benchmarks, which often suffer from low intra-category diversity, the SPEED-Bench Qualitative split explicitly prioritizes semantic diversity.
244
+ To achieve this, each candidate prompt is embedded into a dense vector space using a pretrained text embedder (`openai/text-embedding-3-small`).
245
+ We then apply a selection algorithm that minimizes average pairwise cosine similarity within each category.
246
+ This ensures that the selected samples span the semantic space as widely as possible, reducing redundancy and increasing evaluation fidelity.
247
+
248
+ ##### Sampling Algorithm
249
+
250
+ For each category, our goal is to select a subset of 80 examples that maximizes semantic diversity.
251
+ The motivation is to produce more reliable acceptance rate measurements for speculative decoding algorithms across varied inputs.
252
+
253
+ Procedure:
254
+
255
+ 1. Embedding computation: We compute embeddings for all examples in the category using the OpenAI `text-embedding-3-small` model.
256
+ 2. Greedy selection: Starting from a random example, we iteratively select examples that minimize semantic similarity with the already chosen subset, until reaching 80 examples.
257
+ 3. Subset optimization: After the initial selection, we perform swaps between selected and unselected examples to further reduce similarity and enhance semantic diversity.
258
+
259
+ The table below shows the average semantic similarity of SpecBench examples compared to SPEED-Bench subsets selected using random selection and the greedy selection (as described in the sampling algorithm above).
260
+ All values were computed using cosine similarity on embeddings generated with the OpenAI `text-embedding-3-small` model.
261
+
262
+ Lower values indicate better semantic diversity. The numbers in parentheses show the relative change compared to SpecBench.
263
+
264
+ | Category | SpecBench | SPEED (random selection) | SPEED (greedy algorithm) |
265
+ |----------------|-----------|----------------------|------------------------|
266
+ | Math | 0.24 | 0.21 (-12.5%) | 0.15 (-37.5%) |
267
+ | Coding | 0.33 | 0.48 (+45%) | 0.16 (-51%) |
268
+ | Multilingual | 0.36 | 0.18 (-50%) | 0.06 (-83%) |
269
+ | Writing | 0.35 | 0.29 (-17%) | 0.18 (-48%) |
270
+ | Humanities | 0.26 | 0.14 (-46%) | 0.12 (-54%) |
271
+ | STEM | 0.24 | 0.19 (-21%) | 0.12 (-50%) |
272
+ | Reasoning | 0.24 | 0.21 (-12.5%) | 0.14 (-41%) |
273
+ | RAG | 0.15 | 0.17 (+13%) | 0.13 (-13%) |
274
+ | Roleplay | 0.28 | 0.25 (-11%) | 0.24 (-14%) |
275
+ | Summarization | 0.21 | 0.24 (+14%) | 0.11 (-48%) |
276
+ | QA | 0.10 | unchanged samples | unchanged samples |
277
+
278
+
279
+ ### Curation Rationale - The Throughput Split
280
+
281
+ While the Qualitative split captures draft accuracy, it is insufficient for evaluating system-level speedups.
282
+ The Throughput split is designed specifically to capture this.
283
+
284
+ We construct fixed ISL buckets ranging from 1k to 32k tokens, reflecting the growing importance of long-context applications such as coding assistants and retrieval-augmented generation.
285
+ For each ISL bucket, prompts are aggregated into three coarse difficulty categories corresponding to low-, mixed-, and high-entropy domains.
286
+ To ensure deterministic prefill cost, prompts are either truncated or padded in a controlled manner, while preserving their semantic content.
287
+
288
+ Each ISL bucket contains 1,536 prompts (512 per difficulty category), providing sufficient volume to construct stable throughput Pareto curves across a wide range of batch sizes.
289
+
290
+ Importantly, SPEED-Bench avoids the use of random token inputs for throughput benchmarking. Random tokens can severely distort acceptance behavior, expert routing in MoE models, and throughput measurements, leading to overly optimistic conclusions.
291
+
292
+
293
+ ### Data Sources
294
+
295
+ We use the following data sources in our benchmark:
296
+
297
+ | Data Source | Categories | Construction Details |
298
+ |-------------------------|-----------------------------------------------------|-----------------------------------------------|
299
+ | [SpecBench](https://github.com/hemingkx/Spec-Bench) | STEM, Humanities, Writing, Coding, Math, Roleplay, Reasoning, QA, RAG | Used directly from source |
300
+ | [CNN/Daily Mail](https://huggingface.co/datasets/abisee/cnn_dailymail) | Summarization | Used articles directly from source with instructions to summarize the content.|
301
+ | [Humanity's Last Exam](https://huggingface.co/datasets/cais/hle) | STEM, Humanities, Math | Filtered to text-only samples (no images) with exact-match answer type. For STEM: filtered to Physics, CS/AI, Biology/Medicine, Chemistry, Engineering. For Humanities: filtered to Humanities/Social Science category. |
302
+ | [LiveCodeBench Lite](https://huggingface.co/datasets/livecodebench/code_generation_lite) | Coding | Constructed instruction prompts requesting code generation in a randomly selected programming language (Python, Java, C++, Go, JavaScript, Rust). Includes starter code when available. |
303
+ | [Code Contests](https://huggingface.co/datasets/deepmind/code_contests) | Coding | Constructed instruction prompts requesting program generation in a randomly selected language (Python, Java, C++). Problem descriptions used directly from source. |
304
+ | [HumanEvalPack](https://huggingface.co/datasets/bigcode/humanevalpack) | Coding | Used code completion prompts directly from source. |
305
+ | [RoleBench](https://huggingface.co/datasets/ZenMoore/RoleBench) | Roleplay | Constructed multi-turn roleplay prompts using role descriptions and questions. Questions grouped by role into conversations (1--5 turns). System prompts randomly sampled from 8 prompt templates instructing the model to embody the character. |
306
+ | [CoSER](https://huggingface.co/datasets/Neph0s/CoSER) | Roleplay | Constructed roleplay prompts with character profiles, scenario, and character motivation, only for books that are available in the public domain. |
307
+ | [WritingBench](https://github.com/X-PLUG/WritingBench) | Writing | Filtered to English samples. Writing queries used directly as single-turn prompts. |
308
+ | [Creative Writing V3](https://github.com/EQ-bench/creative-writing-bench) | Writing | Expanded prompts by replacing `<SEED>` placeholders with the seed modifiers provided, creating multiple variations per base prompt. |
309
+ | [MT-Bench 101](https://github.com/mtbench101/mt-bench-101) | Reasoning | Filtered to general reasoning and mathematical reasoning tasks. |
310
+ | [MMLU-Pro](https://huggingface.co/datasets/TIGER-Lab/MMLU-Pro) | Reasoning | Grouped questions by category and combined multiple questions together to create multi-turn samples. |
311
+ | [MMATH](https://github.com/RUCAIBox/MMATH/tree/main) | Multilingual | Questions used directly from source. |
312
+ | [OPUS-100](https://huggingface.co/datasets/Helsinki-NLP/opus-100) | Multilingual | Constructed translation prompts by prepending "Translate the following text from [source language] to [target language]:". |
313
+ | [MCIF](https://huggingface.co/datasets/FBK-MT/MCIF) | Multilingual | Selected prompts for QA, translation, and summarization tasks with *long_mixed-prompt* format. |
314
+ | [ChatRAG-Bench](https://huggingface.co/datasets/nvidia/ChatRAG-Bench) | RAG | Constructed prompts with context (concatenated retrieved passages) and multi-turn questions for the *hybridial* and *sqa* splits. |
315
+ | [MCIF](https://huggingface.co/datasets/FBK-MT/MCIF) | RAG | SUsed English QA prompts with *long_mixed-prompt* format, grouping questions by document into multi-turn conversations. |
316
+ | [BAMBOO](https://github.com/RUCAIBox/BAMBOO/tree/main) | Throughput split (writing - high entropy) | Used MeetingPred and ShowsPred subsets. Constructed dialogue completion prompts asking the model to continue conversations. For longer contexts (>16k tokens), concatenated multiple dialogues. Padded/truncated to target token count. |
317
+ | [Project Gutenberg](https://www.gutenberg.org/) | Throughput split (writing - high entropy) | Constructed book continuation prompts. Filtered to books with sufficient length and padded/truncated to target token count. |
318
+ | [WritingBench](https://github.com/X-PLUG/WritingBench) | Throughput split (writing - high entropy) | Reused English writing prompts from Qualitative Split. Filtered to prompts within 0.7--2x target token count, then padded/truncated. |
319
+ | [AdaLEval (StackSelect)](https://github.com/open-compass/Ada-LEval) | Throughput split (NIAH - mixed) | Constructed needle-in-a-haystack prompts asking models to select the most helpful answer from a set of StackOverflow answers and provide explanations for each choice. Padded/truncated to target token count. |
320
+ | [Humanity's Last Exam](https://huggingface.co/datasets/cais/hle) | Throughput split (mixed) | Used 50% of HLE data for few-shot prompting. Constructed prompts with category-specific demonstrations sampled from held-out examples, followed by the target question. Padded/truncated to target token count. |
321
+ | [Long Code Arena](https://huggingface.co/spaces/JetBrains-Research/long-code-arena) | Throughput split (coding - low entropy) | Used project-level code completion subset. Constructed prompts with repository context and file with `[COMPLETE]` markers for line-level completion. |
322
+ | [RepoBench Python](https://huggingface.co/datasets/tianyang/repobench_python_v1.1) | Throughput split (coding - low entropy) | Constructed cross-file code completion prompts with repository context snippets and in-file code. Padded/truncated to target token count. |
323
+ | [RepoBench Java](https://huggingface.co/datasets/tianyang/repobench_java_v1.1) | Throughput split (coding - low entropy) | Same construction as RepoBench Python but for Java code. |
324
+ | [AdaLEval (TextSort)](https://github.com/open-compass/Ada-LEval) | Throughput split (sorting - low entropy) | Modified original sorting task to require outputting sorted text segments in order rather than just returning indices. Padded/truncated to target token count. |
325
+
326
+
327
+
328
+ ## Detailed Data Comparison with SpecBench
329
+
330
+
331
+ | Metric | **SPEED-Bench** | **SpecBench** |
332
+ | :--- | :--- | :--- |
333
+ | # Samples per Category | 80 (qualitative), 512 x 3 (throughput) | 10 (for 8 categories), 80 (the rest) |
334
+ | # Total Samples | 880 (qualitative), 1536 x 5 (throughput) | 480 |
335
+ | # Data Sources | 24 | 5 |
336
+ | Avg. Pairwise Similarity | 0.14 | 0.22 |
337
+ | # Multiturn Prompts | 167 | 80 |
338
+ | Max # Turns | 5 | 2 |
339
+ | Subcategories | ✅ | ❌ |
340
+ | Difficulties | ✅ (for *Math*, *STEM*, *Humanities*, *Coding*) | ❌ |
341
+ | Long ISLs (16k-32k) | ✅ | ❌ |
342
+ | Large batches of fixed-size ISLs | ✅ | ❌ |
343
+ | Programming Languages Explicitly Mentioned in *Coding* | Python (27), CPP (9), Java (10), Go (13), Javascript (11), Rust (3), HTML (1), CSS (1) | Python (3), CPP (1), HTML (1), CSS (1) |
344
+ | # Distinct Languages in *Multilingual* | 23 | 2 |
345
+ | Languages in *Multilingual* | EN, DE, ZH, IT, MG, FR, JA, PT, AR, MK, DA, NL, KO, ES, NN, TH, VI, BN, GU, CS, GD, EU, RU | EN, DE |
346
+ | Difficulty level in *Math*, *Humanities* and *STEM* categories | Academic level | High school level |
347
+
348
+
349
+ ### Examples of similarity matrix between SpecBench and SPEED-Bench for two categories (lower values are better):
350
+ <img src="./assets/similarity_multilingual.png" alt="Semantic similarity between translation and multilingual examples (lower is better)" width="1000"/>
351
+
352
+ <img src="./assets/similarity_math.png" alt="Semantic similarity between math examples (lower is better)" width=1000/>
353
+
354
+
355
+ ## Dataset Owner(s):
356
+ NVIDIA Corporation
357
+
358
+ ## Dataset Creation Date:
359
+ February 2026
360
+
361
+ ## License/Terms of Use:
362
+ GOVERNING TERMS: This dataset is governed by the [NVIDIA Evaluation Dataset License Agreement](License.pdf).
363
+
364
+ ADDITIONAL INFORMATION: MIT for bigcode/humanevalpack, RUCAIBox/MMATH, RUCAIBox/BAMBOO and EQ-Bench. Apache 2.0 for Writing Bench and Spec-Bench. CC BY 4.0 for FBK-MT/MCIF. MIT and Apache 2.0 for tianyang/repobench_python_v1.1, JetBrains-Research/lca-project-level-code-completion and tianyang/repobench_java_v1.1.
365
+
366
+ NOTICE: The `prepare_data.py` script which is part of the measurement framework hosted in [nvidia/Model-Optimizer GitHub repository](https://github.com/NVIDIA/Model-Optimizer/tree/main/examples/specdec_bench) automatically fetches and constructs the data from all the source datasets. For each dataset a user elects to use, the user is responsible for checking if the dataset license is fit for the intended purpose.
367
+
368
+ ## Intended Usage:
369
+ This dataset is designed for LLM engineers and researchers working on evaluating Speculative Decoding (SD) and LLM Inference latency measurements.
370
+
371
+ ## Dataset Format
372
+ The dataset is distributed in parquet format with a hybrid delivery mechanism to ensure license compliance.
373
+
374
+ Distribution Structure:
375
+ * Part of the samples are directly stored in the parquet files.
376
+ * Part of the samples contain a placeholder notice, and a reference to a data source. We provide a dataset building script that fetches data directly from the original host locations. By using the script, the user acknowledges that they are downloading data from third parties and assume responsibility for adhering to their specific license terms.
377
+
378
+ ## Dataset Quantification
379
+ - Record Count: 880 samples in the qualitative split, 1538 samples in the throughput split.
380
+ - Measurement of Total Data Storage ~95MB
381
+
382
+ ## Reference(s):
383
+ Paper: https://research.nvidia.com/publication/2026-02_speed-bench-unified-and-diverse-benchmark-speculative-decoding .
384
+
385
+
386
+ ## Ethical Considerations:
387
+ NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal team to ensure this dataset meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
388
+ Please report quality, risk, security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).
389
+
390
+ ## Dataset Card Contact
391
+
392
+ Talor Abramovich - talora@nvidia.com
393
+
394
+ Maor Ashkenazi - mashkenazi@nvidia.com
assets/AL_by_sequence_length.png ADDED

Git LFS Details

  • SHA256: 22d5474c680c1efc38faa71e1d86aeef23f4f90e985551c50f10c1dbbab5c293
  • Pointer size: 131 Bytes
  • Size of remote file: 179 kB
assets/main_figure.png ADDED

Git LFS Details

  • SHA256: 4edac9fe8afc314303dcb8c99fafaecd70dd782e4a7bc0be36cf79eb3d1ef267
  • Pointer size: 131 Bytes
  • Size of remote file: 251 kB
assets/similarity_math.png ADDED

Git LFS Details

  • SHA256: b84a950668ac1bdc1be10d7d218496ec4369e00fa1d0448208665bfbad5ce245
  • Pointer size: 130 Bytes
  • Size of remote file: 99.2 kB
assets/similarity_multilingual.png ADDED

Git LFS Details

  • SHA256: 7b05584f99480807993b479c58a8fc0f3cd50ec223c4f70e28f5b3b7f19bed84
  • Pointer size: 130 Bytes
  • Size of remote file: 82.1 kB
assets/speed_bench_logo.png ADDED

Git LFS Details

  • SHA256: 66b30b4febeacd095b713aa318e21cd97af9c0960078d9920cde2aeb28fdb81d
  • Pointer size: 130 Bytes
  • Size of remote file: 12.7 kB
qualitative/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f76bc45bdffb38712a5c26d7a7c9a9a791484b392a7b64a6ffb9abe48e02e26
3
+ size 364138
throughput_16k/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e72b4b352c9ebb65f7847c62c446d93a8d2ff049c74d9a158a3c7e3d6ceb8b1
3
+ size 25523756
throughput_1k/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3aeb2a75680dd35f8eb429cfc471122d1300acd520aec01db3f8476791cb168
3
+ size 1952802
throughput_2k/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54d4139be1861abb760899b20341f07db699653abb33406ddd0d1af435b6480f
3
+ size 3713378
throughput_32k/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1be3ac70e00d0b8f0db5b0641fc55d1991c629e6bf0093b2f77b435d0cc92023
3
+ size 52281772
throughput_8k/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11fb562ad82bab6af8139135ac18453230bf3233dee3228235634e5fc4939a78
3
+ size 12959248