State Space Models: Why Linear Recurrences Rival Attention for Long Sequences
State Space Models: Why Linear Recurrences Rival Attention for Long Sequences Attention made long context practical, but it made it expensive. Every new token looks back at every earlier token, so the cost of a sequence grows quadratically with its length.