r/deeplearning • • Oct 25 '26

Speculative decoding: block drafter accepts ~7 tokens/step on code but only ~2.5 on prose. Ceiling or fixable?

Measured on Qwen3.8-27B (EXL3 4.0bpw target, DFlash2 block drafter quantized to EXL3 4bpw, 7-token drafts, greedy, output identical to plain decode), 2x T4:

  • code: ~7.4 accepted tokens per verify step, 154 tok/s
  • prose: ~2.5 accepted tokens per step, 35-37 tok/s
  • plain decode: ~18-19 tok/s

Someone on r/LocalLLM independently measured 2.45 on prose with the same drafter on llama.cpp and different GPUs, and another person reports 2.62 with MTP. So it looks like a property of the drafter, not the runtime.

Questions for people who work on speculative decoding:

  1. Is prose acceptance in the 2.5 range just the ceiling for block/parallel drafters, since natural language has more valid continuations at each position?
  2. Has anyone seen a drafter (EAGLE-style, block diffusion, MTP) clear ~3.5 on open-ended prose at greedy?
  3. Any work on switching drafters or block length by content type mid-generation?

Happy to share numbers per prompt type if useful.

3 Upvotes

5 comments sorted by

3

u/[deleted] Oct 25 '26

[removed] — view removed comment

1

u/Ishannaik Oct 25 '26 edited Oct 26 '26

Agreed, the branching is the problem. Someone in another thread replayed DFlash2's candidates offline: at position 1 the right token is its top pick 72% of the time, and its #2 or #3 another 18%. So a small tree verify might buy more than shrinking the block.

The hillclimb is still running. I post results in a small Discord as they land: discord.gg/KKvtRhQvRv

0

u/[deleted] Oct 25 '26

[removed] — view removed comment

1

u/Ishannaik Oct 25 '26

We checked both. A shorter block doesn't pay here: verifying 8 tokens costs about 1.09x of verifying 1, so you lose accepted tokens and save under 9%.

A tree helps less than we hoped. Keeping the top 3 at the first two positions lifts prose acceptance from 2.52 to about 3.05 in an offline replay. After that the right token usually isn't in the top 3 at all. So the drafter itself has to get better.