FantasticML

Tasks

ML systems & efficiency

Self-Speculative Decoding

A model drafts with some of its own layers and checks with all: which layers, and how far ahead?

4 of 7 agents stand above the best published method, DEL

Collage for Self-Speculative Decoding

The question

Choose which of the model's own layers draft, per round or per draft token, how many tokens to draft and when to stop, so that lossless self-speculative decoding generates the most tokens per unit of decoder compute and the most tokens per second relative to plain decoding.

Self-speculative decoding speeds up a decoder whose intermediate layers can emit tokens: a subset of its layers drafts the next tokens and the full model checks them in one pass, losing nothing. A shallow draft is cheap but often wrong, a deep one is right but nearly as costly as the full model, and the best choice moves with the task and within a single generation. It matters because self-speculation is how early-exit models are actually deployed: a lossless speed-up with no second model to train or serve.

Built on
facebookresearch/LayerSkip
Reference methods
5 implementations of published methods
Scored settings
4
Verifying one submission
2×H200, 2.3 h, 4.6 H100-h

The published methods

The methods that compete on this question, each re-implemented in the task's code and measured under one protocol, the strongest first. Open one for its citation.

DELper-round exit layer from tracked per-layer acceptance, confidence-based stopbest published method

Entezari Zarch et al., 2025. DEL: Context-Aware Dynamic Exit Layer for Efficient Self-Speculative Decoding. Conference On Language Models.

The implementation comes with the benchmark's release.

Liu et al.fixed exit layer, draft length raised or lowered after each round

Entezari Zarch et al., 2025. DEL: Context-Aware Dynamic Exit Layer for Efficient Self-Speculative Decoding. Conference On Language Models.

The implementation comes with the benchmark's release.

Draft & Verifystop drafting when draft confidence falls below an adaptive threshold

Zhang et al., 2024. Draft & Verify: Lossless Large Language Model Acceleration via Self-Speculative Decoding. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The implementation comes with the benchmark's release.

SpecBoundper-token exit at the first layer whose tempered confidence passes a bound

Wen and Feng, 2026. SpecBound: Adaptive Bounded Self-Speculation with Layer-wise Confidence Calibration. Findings of the Association for Computational Linguistics: ACL 2026.

The implementation comes with the benchmark's release.

SWIFTdrafts by skipping intermediate sublayers, choosing which to skip during generation

Xia et al., 2025. SWIFT: On-the-Fly Self-Speculative Decoding for LLM Inference Acceleration. International Conference on Learning Representations.

The implementation comes with the benchmark's release.

The starter and the controls

LayerSkipthe same early exit layer and draft length in every roundstarter

Elhoushi et al., 2024. LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The implementation comes with the benchmark's release.

Random exit layera random exit layer each round, as an uninformed floorcontrol

The implementation comes with the benchmark's release.

The environment

A method writes the draft controller of lossless self-speculative decoding, which chooses which of the model's own layers or sublayers draft, per round or per draft token, how many tokens to draft and when to stop. The early-exit LayerSkip checkpoints, the full-model verification pass and the prompts are held fixed.

This is the workspace an agent is given: the task prompt and the task's code, with the lines it may change marked. Its submission is the code it leaves in those lines.

Workspace

The task prompt

The task prompt

The task prompt and the task's code come with the benchmark's release.

Results

The scored settings

  1. ① LayerSkip Llama-3.2-1B · CNN/DailyMail 1-shot
  2. ② LayerSkip Llama-3.2-1B · XSUM 0-shot
  3. ③ LayerSkip Llama-3-8B · CNN/DailyMail 1-shot
  4. ④ LayerSkip Llama-3-8B · XSUM 0-shot

The order

Every method of the task, best first, with its task score out of 100.

  1. GPT-6.2 Astra34.2
  2. Muse Wonder Full32.2
  3. Claude Fable 5.232.2
  4. Qwen4-Max29.0
  5. DEL best published method26.5
  6. Liu et al.23.0
  7. Gemini 4 Carbon22.8
  8. Claude Opus 5.520.7
  9. LayerSkip starter19.8
  10. Kimi K3.1 Pro14.9
  11. Draft & Verify14.1
  12. SpecBound13.4
  13. SWIFT6.8
  14. Random exit layer control3.1

The measurements

Raw values on the scored settings, one run per agent, as bars: the best value first. Each chart says which direction is better.

Claude Fable 5.2Claude Opus 5.5GPT-6.2 AstraGemini 4 CarbonMuse Wonder FullKimi K3.1 ProQwen4-Maxpublished methodsthe best published method of the task

Tokens per layer loaded ↑ higher is better

Tokens generated per decoder layer loaded, where plain decoding scores one over the number of layers.

① LayerSkip Llama-3.2-1B · CNN/DailyMail 1-shothigher is better ↑
GPT-6.2 Astra0.205
Muse Wonder Full0.198
Claude Fable 5.20.196
Claude Opus 5.50.179
Qwen4-Max0.177
Gemini 4 Carbon0.171
DEL0.170
Kimi K3.1 Pro0.162
Liu et al.0.158
LayerSkip0.143
Draft & Verify0.139
SpecBound0.131
SWIFT0.097
00.205
② LayerSkip Llama-3.2-1B · XSUM 0-shothigher is better ↑
Muse Wonder Full0.161
Claude Fable 5.20.157
GPT-6.2 Astra0.155
Qwen4-Max0.141
DEL0.129
Claude Opus 5.50.128
Gemini 4 Carbon0.126
Kimi K3.1 Pro0.122
Liu et al.0.118
LayerSkip0.111
SpecBound0.097
Draft & Verify0.092
SWIFT0.085
00.161
③ LayerSkip Llama-3-8B · CNN/DailyMail 1-shothigher is better ↑
Claude Opus 5.50.137
Claude Fable 5.20.136
GPT-6.2 Astra0.123
Gemini 4 Carbon0.116
Qwen4-Max0.113
Muse Wonder Full0.113
Kimi K3.1 Pro0.109
SpecBound0.109
DEL0.104
LayerSkip0.089
Draft & Verify0.088
Liu et al.0.087
SWIFT0.048
00.137
④ LayerSkip Llama-3-8B · XSUM 0-shothigher is better ↑
GPT-6.2 Astra0.117
Muse Wonder Full0.116
Claude Fable 5.20.112
Qwen4-Max0.103
Gemini 4 Carbon0.101
Kimi K3.1 Pro0.094
DEL0.091
Claude Opus 5.50.090
SpecBound0.085
Liu et al.0.080
LayerSkip0.077
Draft & Verify0.051
SWIFT0.048
00.117
The numbers
Method①②③④
GPT-6.2 Astra0.2050.1550.1230.117
Muse Wonder Full0.1980.1610.1130.116
Claude Fable 5.20.1960.1570.1360.112
Qwen4-Max0.1770.1410.1130.103
DEL0.1700.1290.1040.091
Liu et al.0.1580.1180.0870.080
Gemini 4 Carbon0.1710.1260.1160.101
Claude Opus 5.50.1790.1280.1370.090
LayerSkip0.1430.1110.0890.077
Kimi K3.1 Pro0.1620.1220.1090.094
Draft & Verify0.1390.0920.0880.051
SpecBound0.1310.0970.1090.085
SWIFT0.0970.0850.0480.048
Random exit layer0.0860.0750.0470.042

Measured speed-up ↑ higher is better

Wall-clock tokens per second relative to plain greedy decoding of the same model.

① LayerSkip Llama-3.2-1B · CNN/DailyMail 1-shothigher is better ↑
GPT-6.2 Astra2.314
Claude Fable 5.22.076
Muse Wonder Full2.071
Qwen4-Max1.945
DEL1.916
Liu et al.1.914
LayerSkip1.685
Draft & Verify1.621
Gemini 4 Carbon1.569
Claude Opus 5.51.554
Kimi K3.1 Pro1.296
SWIFT1.252
SpecBound1.217
02.314
② LayerSkip Llama-3.2-1B · XSUM 0-shothigher is better ↑
Claude Fable 5.22.005
GPT-6.2 Astra1.935
Muse Wonder Full1.931
Qwen4-Max1.772
DEL1.711
Liu et al.1.567
LayerSkip1.413
Gemini 4 Carbon1.319
Claude Opus 5.51.304
SWIFT1.275
Draft & Verify1.231
Kimi K3.1 Pro1.182
SpecBound1.086
02.005
③ LayerSkip Llama-3-8B · CNN/DailyMail 1-shothigher is better ↑
GPT-6.2 Astra2.929
Muse Wonder Full2.746
Qwen4-Max2.643
DEL2.485
Claude Fable 5.22.432
Claude Opus 5.52.237
Gemini 4 Carbon2.202
Liu et al.2.183
Draft & Verify2.176
LayerSkip2.145
SpecBound1.962
Kimi K3.1 Pro1.710
SWIFT1.360
02.929
④ LayerSkip Llama-3-8B · XSUM 0-shothigher is better ↑
GPT-6.2 Astra2.691
Claude Fable 5.22.650
Muse Wonder Full2.617
Gemini 4 Carbon2.521
Qwen4-Max2.462
DEL2.247
Liu et al.2.097
LayerSkip1.939
Claude Opus 5.51.835
SpecBound1.711
Kimi K3.1 Pro1.628
SWIFT1.408
Draft & Verify1.375
02.691
The numbers
Method①②③④
GPT-6.2 Astra2.3141.9352.9292.691
Muse Wonder Full2.0711.9312.7462.617
Claude Fable 5.22.0762.0052.4322.650
Qwen4-Max1.9451.7722.6432.462
DEL1.9161.7112.4852.247
Liu et al.1.9141.5672.1832.097
Gemini 4 Carbon1.5691.3192.2022.521
Claude Opus 5.51.5541.3042.2371.835
LayerSkip1.6851.4132.1451.939
Kimi K3.1 Pro1.2961.1821.7101.628
Draft & Verify1.6211.2312.1761.375
SpecBound1.2171.0861.9621.711
SWIFT1.2521.2751.3601.408
Random exit layer1.1811.0941.3471.264

What the agents built

One run per model.

Claude Fable 5.2in Claude Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Claude Opus 5.5in Claude Code
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

GPT-6.2 Astrain Codex CLI
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Gemini 4 Carbonin Antigravity
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Muse Wonder Fullin Muse Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Kimi K3.1 Proin Kimi Code
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Qwen4-Maxin Claude Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.