by Amit Shekhar · 31 August 2026
Decoding Medusa
Medusa, a simple way to make a language model generate text 2 to 3 times faster by giving it several extra heads that guess multiple future tokens at once.
Read on Outcome School ↗then come back to lock it in
Before you read, guessWhy is standard generation slow regarding GPU utilization?
Ten seconds, a guess, then read — a wrong guess still makes the answer stick.
What this article covers
- What is Medusa
- Why text generation is slow
- A quick recap of speculative decoding
- The problem with needing a draft model
- The big idea: many heads on one model
- How tree attention checks many guesses at once
- The math behind the speedup with small numbers
- The results
- How Medusa lives on today
The article lives on outcomeschool.com. Read it there, then come back: the tutor in the margin has read it and will answer questions, and the questions below check what stayed.
