Artificial
RNNs vs Transformers vs SSMs: where should AI memory live for continual learning?
the interesting comparison btwn the three is not recurrence vs attention vs state space but it is, whether memory lives in a tiny recurrent state, a growing KV cache or in something closer to the model network itself. RNNs keep memory in a recurrent hidden state which is elegant in itself cause the state carries forward step by step but it also creates a bottleneck i.e the model can have roughly O(N^2) parameters while carrying only roughly O(N) state across time. IMO, RNNs were doomed not b...
Read the full discussion on Reddit
This article was aggregated from Reddit. Click to join the conversation.
View on Reddit