Towards Green Text Generation: Memory-Based Speculative Decoding
Antal van den Bosch
Key points
From the paper's conclusion- We further show that KV caching decouples time from energy: verification of longer drafts raises power draw, shifting the energy-optimal draft length below the speed-optimal one.
Abstract
Speculative decoding accelerates text generation with large language models by letting a cheap draft model propose tokens that a large verifier checks in a single forward pass. We introduce Olifant, a draft model built on a memory-based classifier. It predicts the next token from a four-token window in under 0.3 ms on CPU, requiring no GPU, no backpropagation, and no accelerator memory. We measure throughput and energy under two verifier regimes on consumer hardware. Without a KV cache, drafting is nearly free: a domain-matched Olifant model reaches 38.1% acceptance on EU legal text, delivering 2.43x throughput and 2.51x lower energy per token than the neural verifier model alone. With a KV-cached verifier, itself a ~10x energy saver, drafting costs matter: a TinyLlama draft model halves throughput and triples energy despite high acceptance, whereas Olifant still yields 1.25x throughput and the lowest energy in the study (93 J per 100 tokens, 14x below the uncached baseline). We further show that KV caching decouples time from energy: verification of longer drafts raises power draw, shifting the energy-optimal draft length below the speed-optimal one. Speculative decoding is not dead in the age of fast verifiers, provided drafting is nearly free.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Text Speeding Itself Up: Recency and Restraint in Session-Local DraftingarXiv · 2026
- Resource-Efficient Speculative Decoding for Long-Context LLM ServingarXiv · 2026
- Speculative Decoding Is Less Speculative Than You ThinkarXiv · 2026
- BitNest: Bit-Nested Speculative Decoding for Memory-Efficient LLM Inference AccelerationarXiv · 2026
- Vega-Fafnir: Is Greedy Decoding the Same Decoding? Where Rounding Noise in Speculative Verification Comes From and What Removing It CostsarXiv · 2026
- Memory-Efficient Speculative Decoding with Quantized Draft KV CachearXiv · 2026