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:

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.

Original post →

More from Infra

Infra channel →