Learn AI Math

Medusa Decoding

What is Medusa Decoding?

In one sentence: Medusa decoding adds extra small prediction "heads" to a model so it can guess several future tokens at once, then verify them.

Instead of a separate draft model, Medusa attaches heads that each predict a token further ahead. The model checks these guesses together and keeps the correct ones.

What does Medusa Decoding look like?

A Medusa model might propose the next 4 tokens in one step and accept 3 of them.

Why does Medusa Decoding matter?

It speeds up generation without needing a second model.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.