AI Grimoire

Architectures / recurrence

Recurrence

Attention’s quadratic cost is the price of an unbounded lookup. Recurrent formulations fix the state size instead, buying linear scaling and constant-memory decoding at the cost of having to decide, as they go, what is worth remembering.

1 entry.

Entries

01.06.1
Selective State Space Modelspromising
Linear recurrence with input-dependent dynamics; Mamba and the S4 line.
O(n·d·N)