RetNet
What it is
Retention instead of attention — a decayed weighted sum that can be computed three ways: parallel, recurrent or chunkwise.
When to use it
The cleanest statement of the attention/SSM duality; strong long-context language modelling.
Caveats
Independent replication at scale is limited and adoption has stayed low. The fixed exponential decay is a strong built-in bias toward recent tokens.
Key ideas
- Retention replaces attention, with an exponential decay over distance
- Three equivalent computation modes: parallel for training, recurrent for O(1) inference, chunkwise for long sequences
Related architectures
Original paper
Retentive Network: A Successor to Transformer for Large Language Models (2023, arXiv)