Memorilla: Latent Semantic Memory for LLMs
arxiv.org
arxiv.org
It looks like this helps avoid a problem I've had with RAG - when a fact isn't local to a single patch of text.
> ...a problem I've had with RAG - when a fact isn't local to a single patch of text
Is this a problem, though? Vector similarity should surface the relevant, related patches.I really struggle with the semantic / embedding concerns when we have a generative model that can reverse engineer a Mario 64 rom dump to run on my toaster oven. These models know how to compose Lucene & other FTS query strings in such a way that we are effectively getting semantic search over purely lexical systems.
So the first will update _what_ information the model reasons/infers about, the last will update _how_ the model reasons/ infers about.
These are very different.
As far as I understand memorilla sits in the middle. And it embeds not tokens but embedding vectors with all their complexity. The compression (semantic) is significant and in my mind is super interesting.
Your point is valid for the agentic tool search, i am just saying there are two things lurking.