
Machine learning, neuroscience, philosophy. Technical staff @Goodfire.
Joined August 2022
- Tweets116
- Following348
- Followers201
- Likes309
6) There has been recent debate as to why we need RAG/memory architectures at all when we have easily accessible models with long context. We show our RAG models outperform long-context models on this test and are ~60x cheaper.
1
3
59
5) Next, we implement a simple graph-based RAG system and test it on Babilong, a recent needle-in-the-haystack benchmark with multi-hop questions, and show it performs better than all other RAG baselines and rivals models fine-tuned for the task.
1
1
57
4) In our post, we mathematically show that performing multiple retrieval steps, where retrieved items from the previous step are used as queries for the next, is equivalent to graph traversal, helping explain the observed usefulness of graph databases for multi-hop questions.
1
2
36
1) RAG often struggles on complex multi-hop queries. In this blog, we @ZyphraAI discuss and build a graph-based RAG system which tops the leaderboard on a QA benchmark with multi-hop queries and outperforms frontier long-context models for 60x less cost.
zyphra.com/post/understandin…
6/n We compare this model to a standard RAG system that only uses semantic vector database retrieval, and a RAG system that uses semantic embeddings which encode both the text and the meta-data. We found our model significantly outperforms these baselines.
1
34
5/n The agent uses a novel retrieval method, which combines a table based query method, known as chain of table, to deal with meta-data/time based queries, standard semantic-vector database retrieval, and query rewriting/disambiguation.
1
1
39






