News for hackers. Stuff that matters.
Re:LM2: Large Memory Models by ottaborra on Thursday February 13, 2025 @09:21PM (#43044045)
RNN with extra steps?
Re:LM2: Large Memory Models by biofox on Friday February 14, 2025 @02:54AM (#43045968)
Isn't that all of modern AI?
Re:LM2: Large Memory Models by immibis on Friday February 14, 2025 @06:25AM (#43047296)
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.

Re:LM2: Large Memory Models by kadushka on Friday February 14, 2025 @11:44AM (#43050258)
* 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.