WhoBuilt

n-gram speculative decoding

A speculative decoding technique that uses matching token sequences to speed up text generation.

Also known as n-gram, n-grams, edge n-gram

Timeline 0

Dated events, newest first. Open the sources under any item.

How we verify
No sourced facts yet
Facts appear here as talks mentioning n-gram speculative decoding are processed.

Talks 2

15:17
Is Speculative Decoding Worth It? Profiling vLLM on NVIDIA Blackwell

Sheila from Akamai explains how speculative decoding uses a smaller draft model to predict tokens that a larger target model verifies, potentially reducing generation latency. She covers the tradeoffs in GPU memory, KV cache space, model size, tokenizer compatibility, and prediction accuracy. Her vLLM demo reports a 1.6× speedup for a structured task and contrasts it with lower acceptance on a creative task. She recommends considering speculative decoding for structured workloads, spare GPU capacity, and smaller batch sizes, while noting that it does not speed up prompt processing.

Oct 6, 2026· 15 minMentioned 12:38
1:48:07
Information Retrieval from the Ground Up

Philipp Krenn introduces information retrieval through hands-on examples built around Star Wars quotes. He explains how lexical search preprocesses text with tokenization, stop-word removal, stemming, and an inverted index, then covers phrase matching, fuzziness, and BM25 relevance scoring. He contrasts keyword search with dense and sparse vector search, showing why vector results depend on the model and may still be irrelevant. He closes with hybrid search, reciprocal rank fusion, ranking signals, chunking, and reranking, emphasizing that retrieval choices depend on the data and use case.

Jul 27, 2025· 1 h 48 minDiscussed 28:41