DeepMind's Concurrent Speculative Sampling Breakthrough

Charlie Chen et al. at DeepMind independently published "Accelerating Large Language Model Decoding with Speculative Sampling" on arXiv in February 2023, presenting a similar draft-then-verify mechanism, highlighting simultaneous innovation in addressing LLM inference bottlenecks.

The top 3

  1. 2.5x Speedup for Chinchilla 70B LLM: DeepMind's Speculative Sampling (SpS) achieved 2-2.5x decoding speedups on a 70 billion parameter Chinchilla language model across benchmarks like XSum and HumanEval, without modifying the model's parameters or architecture.
  2. Lossless Output with Modified Rejection Sampling: The breakthrough ensures provably lossless generation, meaning the output distribution is identical to standard autoregressive sampling, by employing a novel modified rejection sampling scheme to validate tokens proposed by a faster draft model.
  3. Draft-Then-Verify Parallel Decoding Core: DeepMind's technique leverages a 'draft-then-verify' paradigm where a smaller model quickly drafts K tokens, and the larger target model concurrently scores this entire sequence in a single forward pass, matching the latency of generating just one token traditionally.

Sources

Open the full topic