Knowledge Graphs & GraphRAG - Essential Ingredients for Enterprise GenAI_Gartner Symposium Gold Coast, Australia_Dr. Jesús Barrasa

neo4j 268 views 58 slides Sep 16, 2024
Slide 1
Slide 1 of 58
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51
Slide 52
52
Slide 53
53
Slide 54
54
Slide 55
55
Slide 56
56
Slide 57
57
Slide 58
58

About This Presentation

Knowledge graphs are emerging as useful and often necessary for bringing Enterprise GenAI projects from PoC into production. They make GenAI more dependable, transparent and secure across a wide variety of use cases. They are also helpful in GenAI application development: providing a human-navigable...


Slide Content

Knowledge Graphs &
GraphRAG
Essential Ingredients for Enterprise GenAI
Dr. Jesús Barrasa | Head of Solutions Architecture, Neo4j

At the heart of every enterprise
challenge is an explosion of
data complexity
TODAY’S REALITY

Explore the connections in your
data to unlock deeper insights

Neo4j Inc. All rights reserved 20234
A ring…
or a money laundering scheme

Neo4j Inc. All rights reserved 20235
r a critical device in a networkor a critical device in a network
A star…

Neo4j Inc. All rights reserved 20236
or a community of people
A cloud…

A fundamentally new approach is needed

The Property Graph: Simply Powerful

Cypher (GQL): Pattern Based

ISO GQL ‘24: New ISO DB Language

ISO standardization of Graph Query Language
(GQL) ensures that property graph handling will
remain open as a de jure standard, similarly to SQL.”

—James Governor, Principal Analyst and Co-Founder, RedMonk

It marks a new chapter in the history of query
languages, revolutionizing the way we interact with
and harness the power of interconnected data.”

—Tony Holland, Communications Lead, ISO/ IEC Joint Technical Committee 1/AG 1



https://www.iso.org/standard/76120.html

Performance: Graph Native Storage

We found Neo4j to be literally
thousands of times faster than our prior
MySQL solution, with queries that
require 10-100 times less code

— Dr. Volker Pacher, Senior Staff Architect at eBay


Real-time fraud
detection
Supply chain
resilience
Customer
experience
Digital Twins
Drug
discovery

Digital twin

?????? ??????
28.0 > 31.9 ???
??????

●Hallucinations
●General reasoning vs Domain Reasoning
●Ethical and bias concerns
●Access to the most recent data
●Inability to verify answers or do attribution (!!)
●Lack of enterprise domain knowledge
●Privacy & security challenges
“Houston, we have a problem”

Why are LLMs hitting a barrier?
Probabilistic/
Nondeterministic
Black-box
LLM

GPT-3.5 marked the beginning of a
GenAI hockey stick moment
LLMs

LLMs
GenAI Go-to-production Barrier

LLM Answer
?
So how do we overcome the
limitations of LLMs?

How can we go
further?

LLM Answer
?
#1 Fine-Tuning
Better task-specific answers from existing knowledge
Base
LLM
Fine-tuned
LLM

Retriever LLM + Rag Relevant Answer
Relevant
Info
Query
External Database
?
#2 RAG
Retrieval-Augmented Generation

LLMs with
fine-tuning
Go-to-Production
use cases unlocked
with RAG
RAG
RAG works
It raises the ceiling, but it’s still there

So what’s Next?
Fine
tuning
RAG?

GraphRAG is RAG where the R path
includes a Knowledge Graph
What is GraphRAG?

Knowledge Graph:
What’s the Big Deal?

https://blog.google/products/search/introducing-knowledge-graph-things-not/

Neo4j Inc. All rights reserved 2024Neo4j Inc. All rights reserved 2023
Commerce Transactions Graph

Neo4j Inc. All rights reserved 2024Neo4j Inc. All rights reserved 2023
Customer Relationship Graph

Digital Twin Graph

Neo4j Inc. All rights reserved 2024Neo4j Inc. All rights reserved 2023
Product and Parts Graph

Why do knowledge
graphs help with GenAI

LLMs
RAG with Vector
GraphRAG unlocks AI
GraphRAG

https://www.gartner.com/en/articles/understand-and-exploit-gen-ai-with-gartner-s-new-impact-radar

https://www.sequoiacap.com/podcast/training-data-sebastian-siemiatkowski/
…we’ve started using extensively in house is Neo4j and graphs. And we’ve
also looked at how people collaborate on building great information
And then on top of that we have Kiki, who then explores that information
and brings it to life. So we can go and ask Kiki about anything!
And all of that is getting centralized into one
place and connected through the knowledge
graph. We’re seeing that that is having a
tremendous impact on productivity internally.
So Kiki is basically our own internal chatbot
based on that growing internal knowledge graph.



A fantastic success story

KG LLM +
Better together

The Benefits of
GraphRAG

#1: Answer Quality

Answers are more accurate, but
also more useful & complete

"Across all metrics, our method demonstrates
consistent improvements. Notably, it
surpasses the baseline by 77.6% in MRR
and by 0.32 in BLEU score, substantiating its
superior retrieval efficacy and
question-answering accuracy."

“GraphRAG shows substantial improvement…demonstrating intelligence or mastery that
outperforms other approaches…. GraphRAG enables us to answer important classes of
questions that we cannot attempt with baseline RAG alone.”

#2: Easier
Development*

Easier Development
Opaque & Implicit
Customer: "I actually already fixed a couple of bugs
thanks to this!"
Transparent & Explicit

#3: Explainability
and Governance

Explainability &
Governance
“Neo4j enables us to enforce robust information security by applying
access controls at the subgraph level.”
-Eric Costantini, Chief Business Officer at Data^2.

1. Quality &
Accuracy
2. Easier
Development
3. Explainability
& Governance
The Benefits of GraphRAG

Want to Learn More?

https://www.deeplearning.ai/short-courses/knowledge-graphs-rag/

https://graphacademy.neo4j.com/

https://neo4j.com/knowledge-graphs-practitioners-guide/
Free e-book!

Thank you!
Meet us at booth #907
Dr. Jesús Barrasa | Head of Solutions Architecture, Neo4j