Essay ·
I trained a model on the text and it doesn't replace search
A paper with MIT authors says you can store knowledge in a small model instead of searching for it. I tested it: on conversations it loses by 26 points, and on long documents it ties a simple keyword search.
For a week I've been seeing the same paper on my timeline. It's called MeMo, "Memory as a Model", and it proposes not keeping knowledge in a database you query, but training a small model on it and asking the model. One tweet said: "RAG is dead". Another told how someone had tried it in their company's workspace: a small model trained on their files, connected to Claude, got 100% of the rules right against 80% for their previous search, with 0 failures against 3.
I extracted the paper into my vault and nothing came out that I could test. I asked Claude: "What could I do to run a test?" What follows is what we measured.
The doubt
If knowledge fits in a model's weights, MemoryBrain wouldn't need to search: you'd just train a model on your notes. I wasn't going to believe it or dismiss it because of a tweet. One detail in that tweet: 3 failures is 20%, so the comparison was about 15 questions. I'm not saying it's wrong, I'm saying it's a different case from mine.
What I measured
All on my Mac, nothing sent to any training service. I trained a LoRA, a lightweight fine-tune, on Qwen3-4B, an open model with 4 billion parameters. Haiku generated the training data from the text, questions and answers for each chunk, and never saw the exam questions.
At first I proposed using my vault queries, but those measure which notes get retrieved and have no answer to score against. I used LoCoMo, a public exam for long-conversation memory, with the 233 questions of two conversations I had already used to compare MemoryBrain with Mem0 and Hindsight. Same answering model and same judge for every arm.
On conversations, it loses
Untrained, the model gets 2.6%. With the LoRA, 24.5%. MemoryBrain's retrieval with 10 pieces gets 50.2%, and its hybrid variant with embeddings, which is not in production yet, 62.7%. Giving Claude the whole conversation, 71.2%.
The trained model sits 25.8 points below today's retrieval, with an interval of −33.9 to −17.6. Against the hybrid variant, 38.2 points. Where it does worst is dates: it gets 8% of the "when did this happen" questions, against 73% for retrieval.
There's a mistake of mine inside that result. My first setup, where Claude received the small model's answer as a hint, scored 0.9%. I had told it to distrust the hint, and it answered "I don't know" in 171 of 233 cases. That was a prompt error, not a model error. I redid it leaving it the retrieval plus the model's answer as a draft, and the figure rose to 62.2%, the same as retrieval alone: the draft added nothing.
A small model trained on the text did not match search on conversations, and on long documents it tied a simple keyword search.
I tried again with a stronger recipe
That was a small recipe: 1,159 pairs, a 4-billion-parameter model, a few minutes of training. Someone could say MeMo is something else. So I tried again where the paper says it wins, long documents: six movie scripts from NarrativeQA, 22,000 to 28,000 words each, and 179 questions with two reference answers. I picked movies and not books because the Gutenberg books are likely already in the model's training data.
This time 3,924 pairs generated from the text, 25 per 1,200-word chunk and about 80 at plot level per script, and a bigger LoRA on all the model's layers. I stopped training at step 1,600 of 3,800, because the training loss had dropped to 0.46 and the validation loss had been rising since step 800. I picked checkpoint 800 by that loss, before seeing the exam, and I show 1,600 too.
The result: the untrained model gets 2.2%, the step-800 LoRA 25.1% and the step-1,600 one 22.3%. A simple keyword search, with 250-word chunks, gets 25.7%. Giving Claude the whole script, 35.8%.
The LoRA ties the simple search: the difference is −0.6 points with an interval of −8.4 to +7.3. Both sit below reading the whole script. And they don't add up: they get different things right, 25 questions only the model and 26 only the search, but giving Claude both sources dropped it to 22.9%.
And MemoryBrain?
I asked: "So is my system better?" And the honest answer, with what I had then, was that I didn't know: I hadn't run MemoryBrain on documents.
I ran it. I indexed each script as 250-word notes and searched with the current version and with the improved-lexicon version that is not in production yet. They got 20.1% and 22.3%. Below the simple search's 25.7% and the LoRA's 25.1%, but with intervals that cross zero: −5.6 points with an interval of −11.2 to +0.6 against the simple search. With 179 questions I can only see differences of about 6 points or more.
So on long documents I can't say MemoryBrain is better. I can't say it's worse either. MemoryBrain, a simple search and a trained model tie, and only reading the whole document wins clearly, 13.4 points more than MemoryBrain with the improved lexicon.
What I take away
On conversation memory, searching clearly beats training a small model with your recipe. On long documents, a well-trained model reaches a simple search, it doesn't beat it, and "RAG is dead" doesn't come out of this test. If the model got right the things search misses and the two could be combined, something would come out, but with Claude as the middleman I didn't manage it.
And there's something I didn't measure: a trained model doesn't tell you which note each fact comes from. Provenance is what lets you check an answer, and it's what MemoryBrain keeps with every note. A model also has to be retrained every time the notes change. Search updates when you save.
What this doesn't measure
One 4-billion-parameter model and one recipe, without the tuning other teams use. I didn't test the company-rules case, which has few, short rules that do fit in weights. For documents, a corpus of six scripts and 179 questions written from summaries, which favors reading the whole text. The judge is generous and the same for everyone. The simple search is BM25 and I didn't test the hybrid variant with embeddings on documents. And movie scripts are a public corpus: they aren't my notes.
Your judgment, inside your AI
MemoryBrain keeps what you read, decide and learn, with its source, and hands it to ChatGPT and Claude when they need it.
