3 ms·
> So it will not get worse in performance but only faster A bit confused by this statement. Speculative decoding does not decrease the performance of the model
by techbruv 2y ago
> So it will not get worse in performance but only faster
A bit confused by this statement. Speculative decoding does not decrease the performance of the model in terms of "accuracy" or "quality" of output. Mathematically, the altered distribution being sampled from is identical to the original distribution if you had just used regular autoregressive decoding. The only reason you get variability between autoregressive vs speculative is simply due to randomness.
Unless you meant performance as in "speed", in which case it's possible that speculative decoding could degrade speed (but on most inputs, and with a good selection of the draft model, this shouldn't be the case).
- jasonjmcghee 2y agoI think parent is saying the same thing as you. Pointing out to folks unfamiliar, speculative decoding doesn't trade quality for speed.
- albertzeyer 2y agoYes that's what I mean, speculative decoding does not decrease the performance in terms of quality. I guess my wording was confusing on this.