← back

GraphRAG: The Marriage of Knowledge Graphs and RAG: Emil Eifrem

262.6K views · Aug 28, 2024 · 19:14 min · Watch on YouTube ↗
Takeaway

GraphRAG adds knowledge-graph traversal on top of vector retrieval to materially boost RAG accuracy and unlock multi-hop questions baseline vector RAG cannot answer.

Summary

  • Eifrem (Neo4j) frames search evolution from BM25/AltaVista to PageRank (an eigenvector centrality graph algorithm) to Google's 2012 Knowledge Graph and now to GraphRAG as the next era.
  • Core GraphRAG pattern: vector search as a 'primary key' lookup into the graph, then traverse relationships to expand context, optionally rerank (even via PageRank) and pass top-K to the LLM.
  • Cites accuracy gains from data.world (3x avg across 43 questions), LinkedIn (~75-77% improvement) and Microsoft's GraphRAG papers showing new question classes become answerable.
  • Second benefit is easier development once a knowledge graph exists, though the up-front KG construction learning curve is the asterisk users hit.
graphragknowledge-graphsrag
Original description
A famous poet once said "Natural language is most powerful when it can draw from a rich context." Ok fine, I said that. But that's true of both poetry, and of LLMs! Well, Knowledge Graphs excel at capturing context. How can combining Knowledge Graphs with RAG – an emerging technique known as GraphRAG – give context to your RAG application, and lead to more accurate and complete results, accelerated development, and explainable AI decisions? This talk will go deep on the why and how of GraphRAG, and where best to apply it. You’ll get concepts, examples, and specifics on how you can get started. You’ll walk away with an understanding of how GraphRAG can improve the context you pass to the LLM and the performance of your AI applications.

Recorded live in San Francisco at the AI Engineer World's Fair. See the full schedule of talks at https://www.ai.engineer/worldsfair/2024/schedule & join us at the AI Engineer World's Fair in 2025! Get your tickets today at https://ai.engineer/2025

About Emil

Emil Eifrem is Neo4j’s Co-Founder and CEO. He sketched what today is known as the property graph model on a flight to Mumbai way back when dinosaurs ruled the earth and has devoted his professional life to building, innovating, and evangelizing graph databases and graph analytics. He is also co-author of the O'Reilly book Graph Databases. Neo4j today helps more than 75 of the Fortune 100, and a community of over hundreds of thousands of practitioners find hidden relationships and patterns across billions of connections deeply, easily, and quickly. Emil plans to change the world with graphs and own Larry's yacht by the end of the decade.