News for hackers. Stuff that matters.
Re:LM2: Large Memory Models by ziofill on Thursday February 13, 2025 @07:03PM (#43043056)
Missed opportunity to call them LMM and enjoy the onslaught of typos
Re:LM2: Large Memory Models by nkozyra on Thursday February 13, 2025 @07:43PM (#43043334)
They're still language models

LMLM

Re:LM2: Large Memory Models by stuartjohnson12 on Thursday February 13, 2025 @07:30PM (#43043222)
I can't wait to enhance my STT-RAG-LLM-TTS with some LMMs
Re:LM2: Large Memory Models by bloomingkales on Thursday February 13, 2025 @08:32PM (#43043660)
You forgot SOTA, that one is flying around a lot.
Re:LM2: Large Memory Models by janderson215 on Thursday February 13, 2025 @09:58PM (#43044289)
Also left out SoDoSoPa
Re:LM2: Large Memory Models by pylotlight on Thursday February 13, 2025 @08:58PM (#43043854)
Wouldn't it be STT-LLM-RAG-TTS
Re:LM2: Large Memory Models by mgfist on Thursday February 13, 2025 @07:20PM (#43043173)
That's why they named it LM2 ..
Re:LM2: Large Memory Models by pylotlight on Thursday February 13, 2025 @08:53PM (#43043823)
Seems like LM² would have made more sense in that case. Or L²M² Or LLMM
Re:LM2: Large Memory Models by gpderetta on Thursday February 13, 2025 @09:07PM (#43043931)
(LM)²
Re:LM2: Large Memory Models by DiogenesKynikos on Friday February 14, 2025 @09:04AM (#43048375)
The question is whether L and M commute.
Re:LM2: Large Memory Models by mgfist on Friday February 14, 2025 @09:39AM (#43048779)
Because that makes it harder to type out
Re:LM2: Large Memory Models by esafak on Thursday February 13, 2025 @10:14PM (#43044394)
Or Models with Large Memory. MLMs :)
Re:LM2: Large Memory Models by x86hacker1010 on Friday February 14, 2025 @12:36AM (#43045216)
This seems to be the most appropriate
Re:LM2: Large Memory Models by DebtDeflation on Friday February 14, 2025 @07:35AM (#43047738)
Just as Graph RAG should have just been GAG.
Re:LM2: Large Memory Models by bayindirh on Friday February 14, 2025 @09:05AM (#43048388)
Some Chinese researchers have worked on copper nanotubes and abbreviated them as CuNTs [0].

[0]: https://www.researchgate.net/publication/260800015_Structura...

Re:LM2: Large Memory Models by kadushka on Thursday February 13, 2025 @07:02PM (#43043042)
The largest model they tested is 1.7B.
Re:LM2: Large Memory Models by free_bip on Thursday February 13, 2025 @07:09PM (#43043098)
Do they believe that it's likely to scale as high as "standard" LLMs? Or is this another state space machine moment where it turns out to be equivalent to them?
Re:LM2: Large Memory Models by kadushka on Thursday February 13, 2025 @09:20PM (#43044037)
The concept of a memory module, separate from a prediction engine, makes sense to me, our brains might operate like that (short vs long term memory).

Many research groups have been trying to implement this idea, recent paper from Meta comes to mind: https://arxiv.org/html/2412.09764

If they believe it’s likely to scale, they will try to scale it, so we will either hear about it in a few months, or we won’t.

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.
Re:LM2: Large Memory Models by ghysznje on Thursday February 13, 2025 @09:52PM (#43044246)
(Probably bc I'm dumb) I'm very confused by this paper. The dimensions are all over the place: first they say M is a N x d x d matrix, then it becomes N x d. And then they are trying to scale M with g_out and add it to E_attn which is a T x d matrix??? Are the gates scalars or vectors or matrices? If they are matrices then the dimensions also don't line up to M
Re:LM2: Large Memory Models by biofox on Friday February 14, 2025 @02:53AM (#43045962)
You're not dumb. I think it's just poorly written and full of errors.
Re:LM2: Large Memory Models by soganess on Friday February 14, 2025 @12:54AM (#43045302)
Table 2's results are interesting. If the paper is to be believed, just adding the memory model seems to improve reasoning tasks across the board.

That said, I do wonder if this a bit of mirage. At 1.7B parameters, they are 3 orders of magnitude down from 4o (well that isn't completely fair, I don't know what the average 'expert' size is in 4o, but I doubt the authors are doing mixture of experts at only 1.7B). A model can 'memorize' way more shit with that many parameters.

Re:LM2: Large Memory Models by anentropic on Friday February 14, 2025 @05:10AM (#43046830)
GitHub link in the paper is a 404 - private repo?
Re:LM2: Large Memory Models by igleria on Friday February 14, 2025 @06:41AM (#43047364)
This immediately makes my mind bring up Hopfield networks https://arxiv.org/abs/2008.02217

when I worked with them circa 2012 they were practically toys. Maybe we are in a better place now?