Brain-Score 92/100 TECH IndividualKex · 0:56

speculative decoding explained

3-Second Blueprint (English)

  1. A small, fast draft model predicts ~5 candidate tokens ahead so the large target LLM can evaluate them in one parallel pass.
  2. Target and draft token probabilities are compared: higher target probabilities are accepted while excesses face proportional rejection.
  3. Rejected tokens are resampled from the redistributed residual distribution, guaranteeing identical LLM outputs 2 to 3x faster.
Speculative DecodingDraft & Target LLMsRejection SamplingResidual Distribution

3-Sekunden-Fazit (Deutsch)

  1. Ein kleines, schnelles Draft-Modell sagt etwa fünf Token voraus, die das große Zielmodell in einem parallelen Durchlauf prüft.
  2. Ziel- und Draft-Wahrscheinlichkeiten werden verglichen: Höhere Zielwerte werden akzeptiert, Überschüsse proportional abgelehnt.
  3. Abgelehnte Token werden aus der Restverteilung neu gezogen, was statistisch identische Ergebnisse 2- bis 3-mal schneller liefert.
Spekulatives DecodingDraft- & Ziel-LLMsRejection SamplingRestverteilung

Note / Hinweis: Blueprints are AI-generated educational summaries (0% Politics · 0% Religion · 0% Brainrot) and do not constitute medical, legal, or financial advice. / KI-generierte Zusammenfassung zu Bildungszwecken – ersetzt keine medizinische, rechtliche oder finanzielle Fachberatung.