Learn AI Math

RetNet

What is RetNet?

In one sentence: RetNet, or Retentive Network, is a Microsoft architecture that aims to combine fast parallel training with cheap step-by-step inference.

It uses a "retention" mechanism instead of attention, which can run either in parallel or recurrently.

What does RetNet look like?

A RetNet model generating text with constant memory per step.

Why does RetNet matter?

RetNet is one of several attempts to make models more efficient than Transformers.

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.