Re:LM2: Large Memory Models
by ottaborra on Thursday February 13, 2025 @09:21PM
(#43044045)
RNN with extra steps?
[ Parent
| on HN ]
Isn't that all of modern AI?
Transformers are completely unlike RNNs.
Re:LM2: Large Memory Models
by tripplyons on Friday February 14, 2025 @11:40AM
(#43050205)
There are some interesting connections between them. If you remove the softmax from the attention formula, you end up with linear attention, which has a recurrent form.
I haven't read it, but the Mamba 2 paper claims to establish a stronger connection.
* If you remove the softmax from the attention formula, you end up with linear attention*
Sorry, what?
Re:LM2: Large Memory Models
by tripplyons on Friday February 14, 2025 @12:14PM
(#43050562)
Here is a paper explaining it: https://arxiv.org/abs/2006.16236
Re:LM2: Large Memory Models
by tripplyons on Friday February 14, 2025 @11:37AM
(#43050177)
There are many papers that use a recurrence across sub-sequences and attention within sub-sequences. Google did this with Infini-Attention and one of the variants from the Titans paper. However, I think the earliest example of this is Transformer-XL.