Hidden GemsEfficiency

Towards Green Text Generation: Memory-Based Speculative Decoding

Antal van den Bosch · 2026 · arXiv:2611.16714

Why it's a gem

  • Code is public (github.com/antalvdb/olifant-speculative, 1 star)
  • Releases weights, data or a benchmark
  • Concrete results in the abstract (0.3 ms, 38.1%, 2.43x)
  • Clear method and findings
  • Accepted at the 19th International Natural Language Generation…
  • Useful to people building AI products (Efficiency)
  • From academic or independent labs (Utrecht University)
  • No upvotes on Hugging Face Papers yet

Abstract

From the arXiv abstract, may be trimmed

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.

Ask the paper

Answers come from the paper summary and abstract.

Ask anything about “Towards Green Text Generation: Memory-Based Speculative Decoding”, or start with one of these:

Closest matches across the feed and every collection, by shared words in titles, topics and abstracts.