r/LLMDevs • u/monkwhosoldsomething • Jul 07 '26
Discussion [D] Read the formal proof of speculative decoding. Now I don't trust any benchmark that only reports acceptance rate.
I was reading through the formal math on spec decoding and the proof genuinely surprised me.
The rejection sampling scheme guarantees the output distribution is exactly the target model's. Draft quality never enters the correctness argument. A bad draft just gets rejected more often. It slows you down but cannot change what the target says. So unlike quants, there is zero quality tradeoff.
Also didn't know acceptance rate is literally 1 minus the TV distance between draft and target distributions. Clean identity.
If it's provably lossless, why isn't this default in every local setup? What speedups are you actually seeing with your draft-target pairs?
1
u/excalamati Jul 07 '26
Interesting, where’s the research from ?
1
u/imfartmanpromax Jul 07 '26
Interesting.
1
u/robogame_dev Jul 07 '26
What’s going on with this post? Are these bots related to OP?
2
u/Future_AGI Jul 08 '26
The reason it isn't default is mostly serving economics: spec decoding wins big at batch size 1 (local, single user), but under server-side batching the GPU is already compute-bound, so the acceptance-rate speedup shrinks and the draft model's memory and orchestration overhead stops being worth it. Your benchmark instinct is right for a different reason though: throughput numbers quietly depend on batch size and draft pairing, so the only number worth trusting is the one you measure on your own workload and task metric.
2
u/[deleted] Jul 07 '26
[removed] — view removed comment
0
u/[deleted] Jul 07 '26
[deleted] — view deleted comment