so i have to re-train the model every time i update the docs? also have to calculate loss and update it's weights?
enough with all this "RAG is dead" contents
RAG is officially dead 🤯
MIT built an AI that doesn't need RAG.
It’s called MeMo, instead of storing knowledge in a database, you train a small, dedicated Memory model on your documents.
At inference time, your main frontier LLM stays 100% frozen. No vector DB. No chunking. No weight access.
It simply interrogates the Memory model in 3 quick turns, like a detective questioning a witness, to pull exact facts and synthesize the answer.
The results are brutal:
• NarrativeQA (long documents): 53.6% vs. RAG’s 23.2% (more than 2x better).
• Noise test: Doubled the corpus with fake distractors. RAG tanked -6.2%. MeMo didn't flinch (+0.55%).
And the sleeper advantage? It’s completely plug-and-play.
Train the Memory model once. When they upgraded the main LLM from Qwen2.5-32B to Gemini 3.0 Flash with zero retraining, accuracy jumped +26.7% overnight.
We spent 3 years trying to fix AI memory by building better search engines.
It turns out, the answer was giving the model a second brain.
working with these models, you begin to realise how important a clean and accurate data can affect the results these models return
data engineering - still a backbone of any llm model you see today
6. There’s no end to evaluation
Evaluating a system while it’s still on your localhost is as important as important as still evaluating while on production
you could derive test questions to measure metrics, but having a conversation with the assistant might reveal some gaps
Recently I added a RAG assistant to my portfolio so visitors could ask about my work.
Initially I thought retrieval and the LLM would take most of my attention but I ended up spending a surprising amount of time on data quality, evaluation, security and UX.
6 things I learnt 🧵
5. A system prompt isn't a security boundary.
I needed input validation, request limits, safe rendering and controls around links generated by the system.
I also had to consider malicious instructions hiding in retrieved content or chat history.
Prompting alone is not security
I'm beginning to think we give hyperparameter tuning too much attention when talking about fine-tuning LLMs.
to me improving the dataset quality weighs more when it comes to improving model performance.
fortunately data preparation is not as easy as it seems