Towards Green Text Generation: Memory-Based Speculative Decoding

Antal van den Bosch


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.43× throughput and 2.51× lower energy per token than the neural verifier model alone. With a KV-cached verifier, itself a ∼10× energy saver, drafting costs matter: a TinyLlama draft model halves throughput and triples energy despite high acceptance, whereas Olifant still yields 1.25× throughput and the lowest energy in the study (93 J per 100 tokens, 14× 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.

Anthology ID:
2026.inlg-long.25
Volume:
Proceedings of the 19th International Natural Language Generation Conference: Long Papers
Month:
October
Year:
2026
Address:
Utrecht, The Netherlands
Editors:
Guanyi Chen, Laura Perez-Beltrachini, Emiel van Miltenburg
Venue:
INLG
SIG:
SIGGEN
Publisher:
Association for Computational Linguistics
Note:
Pages:
472–482
Language:
URL:
https://aclanthology.org/2026.inlg-long.25/
DOI:
Bibkey:
Cite (ACL):
Antal van den Bosch. 2026. Towards Green Text Generation: Memory-Based Speculative Decoding. In Proceedings of the 19th International Natural Language Generation Conference: Long Papers, pages 472–482, Utrecht, The Netherlands. Association for Computational Linguistics.
Cite (Informal):
Towards Green Text Generation: Memory-Based Speculative Decoding (van den Bosch, INLG 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.inlg-long.25.pdf