Olifant: memory-based draft model makes speculative decoding cheap on energy and GPU-free
青稞AI · wechat · 2026-11-16
Speculative decoding draft models are usually mini Transformers that themselves become energy hogs. The Olifant paper replaces them with a memory-based classifier: it predicts the next token from a 4-token window in under 0.3ms on CPU, with no GPU, backprop, or accelerator memory.
Two regimes:
- Without KV cache, drafts are nearly free: the domain-matched model hits 38.1% acceptance on EU legal text, 2.43x throughput, 2.51x lower energy per token.
- With KV cache, draft cost dominates (caching already saves 10x energy): TinyLlama as drafter halves throughput and triples energy; Olifant still delivers 1.25x throughput and the lowest energy across all studied setups — 93J per 100 tokens, 14x below the no-cache baseline.
A subtle finding: KV caching decouples time from energy — verifying longer drafts raises power draw, so the energy-optimal draft length is shorter than the speed-optimal one; draft length tuning must consider power, not just throughput.
Caveats: acceptance depends on domain match (retrain per domain); validated only on consumer hardware; gains shrink if the serving bottleneck isn't compute or energy.
Paper: arxiv.org/abs/2611.16714, code open-sourced.
More from Infra
- Goldman: US data-center power demand up nearly 30% YTD, over a third of total power growth — Beth_Kindig · 2026-11-29
- US Army to lease land at 9 bases, incl. Fort Bragg, for commercial AI data centers — Polymarket · 2026-11-29
- LangChain launches SmithDB, a purpose-built distributed database for agent observability — hwchase17 · 2026-11-29
- MLX merges compiler fusion PR: horizontal+vertical fusion to speed up training — awnihannun · 2026-11-29
- Dev's weekend CUDA TFQ3 + FP4 work pushes Qwen 3.8 decode to 249 tok/s — AIFlow_ML · 2026-11-29
- Qwen 3.8 hits 249 tok/s at 4-way concurrency after CUDA TFQ3 + FP4 pass — AIFlow_ML · 2026-11-29