logoalt Hacker News

NaiveEmpiricist • yesterday at 8:55 PM • 1 reply • view on HN

It looks like another difference with RAGs is that instead of reranking the doc vectors and taking the top 5 or so, this paper mixes all the docs (weighted by relevance) into a fixed number of "memory tokens".

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.


Replies

CharlieDigital • yesterday at 10:37 PM

    > ...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.
➕ show 1 reply