El camino hacia el éxito con las bases de datos de grafos, la ciencia de datos de grafos y la IA generativa

Neo4j
Neo4jOpen Source NOSQL Graph Database um Neo4j
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
El camino hacia el éxito con
las bases de datos de
grafos, la ciencia de datos
de grafos y la IA
generativa
Luis Salvador
PreSales Engineer Iberia, Neo4j
1
Pierre Halftermeyer
PreSales Engineer France, Neo4j
© 2023 Neo4j, Inc. All rights reserved.
DATA GROWTH IS ACCELERATING.
EVERYONE IS CONNECTED TO EVERYTHING
200+
Zettabytes
In cloud data storage
by 2025
65
Average number of
enterprise SaaS apps
41B
Connected IOT
devices by 2025
2
2
© 2023 Neo4j, Inc. All rights reserved.
3
TODAY’S REALITY
Connections
in data are as
valuable as the
data itself
3
© 2023 Neo4j, Inc. All rights reserved.
4
Legacy
systems
can’t keep up
“Relational” Databases
don’t handle relationships well
NoSQL Databases
don’t handle relationships at all
© 2023 Neo4j, Inc. All rights reserved.
Graph creates a
more intuitive and
connected view of
data relationships,
unlocking deeper
insights and context
5
5
© 2023 Neo4j, Inc. All rights reserved.
Hybrid Workload Duality
6
Intelligent
Applications
Transactions -
Security -
Performance & Scalability -
ACID Consistency -
Intelligent Modeling
- Extensive & Supported Algo Library
- Scalable
- Graph Visualization
- Graph Transformations
Graph
Transactions
Graph Analytics
& Data Science
© 2023 Neo4j, Inc. All rights reserved.
THE PROPERTY GRAPH: SIMPLY POWERFUL
Employee City
Company
Nodes represent
objects (nouns)
Relationships are directional
Relationships connect nodes are
represent actions (verbs)
Relationships can have properties
(name/value pairs)
Nodes can have
properties (name/value
pairs)
name: Amy Peters
date_of_birth: 1984-03-01
employee_ID: 1
:HAS_CEO
start_date: 2008-01-20
:LOCATED_IN
7
7
© 2023 Neo4j, Inc. All rights reserved.
8
NATIVE GRAPH ARCHITECTURE: FAST, FLEXIBLE, SCALABLE
Native Graph Database
At write time
Data is .connected.
as it is stored
At read time
.Lightning-fast. retrieval of data
and relationships via pointer
chasing
Relational Model
Graph Model
ACTED_IN
ACTED_IN
ACTED_IN
Tom Cruise
Mission
Impossible
Oblivion
Person Movie
Person-Movie
Tom
Cruise
Top Gun
Vs.
© 2023 Neo4j, Inc. All rights reserved.
QUERY PERFORMANCE AS # OF JOINS INCREASE
Connectedness and Size of Data Set
Response
Time
Relational and
other NoSQL
databases
Native Graph Database
1000x Advantage
Minutes to milliseconds
5+ hops
3+ degrees
Thousands of connections
0 to 2 hops
0 to 3 degrees
Few connections
9
9
© 2023 Neo4j, Inc. All rights reserved.
Analytics
Tooling
Graph Transactions
Data Integration
Dev.
& Admin
Drivers & APIs Discovery & Visualization
Graph Analytics &
Data Science
Native graph technology for apps & analytics
10
Developers
Admins
Applications Business Users
Data Analysts
Data
Scientists
Bloom
Kafka Connector BI Connector
Spark Connector
GRANDstack
(GraphQL, React,
Apollo, Neo4j)
Data Warehouse Conn.
© 2023 Neo4j, Inc. All rights reserved.
Developer Productivity: Rich tooling and easy onramp
ops manager
11
data importer
Visualize and explore your data
Query editor and results visualizer
Code-free data loader and modeler
AuraWorkspace
Unified Workspace
© 2023 Neo4j, Inc. All rights reserved.
PLUGS INTO YOUR EXISTING DATA ECOSYSTEM
12
Apache Spark
Connector
Data Warehouse
Connector
Apache Kafka
Connector
Neo4j BI
Connector
© 2023 Neo4j, Inc. All rights reserved.
Enterprise-Grade: Security and Trust Built In
Single Sign-On Secure Development
Practices
Dedicated VPC Role- & Schema-Based
Access Control
Encryption
(At-Rest, In-Transit,
and Intra Cluster)
SOC 2 Type 1
13
© 2023 Neo4j, Inc. All rights reserved.
14
19 Billion
1.2 Trillion!
128 Billion
Neo4j Fabric: Scaling Up & Scaling Out!
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
15
Neo4j
Graph Data Science
© 2023 Neo4j, Inc. All rights reserved.
16
What’s in it for you:
● Improve model accuracy by 30%
● Simplify processes and remove
headaches
● More projects into production without
additional hiring
Neo4j Graph Data Science
Analytics
Feature
Engineering
Data
Exploration
Graph
Data
Science
Queries & Search
Machine Learning Visualization
© 2023 Neo4j, Inc. All rights reserved.
When do you need Graph Algorithms?
Query (e.g. Cypher)
Real-time, local decisioning
and pattern matching
Graph Algorithms
Global analysis and iterations
You know what you’re looking
for and making a decision
You’re learning the overall structure
of a network, updating data, and
predicting
Local Patterns Global Computation
© 2023 Neo4j, Inc. All rights reserved.
What’s important?
Prioritization
Who has the most connections?
Who has the highest page rank?
Who is an influencer?
What’s unusual?
Anomaly & Fraud Detection
Where is a community forming?
What are the group dynamics?
What’s unusual about this data?
What’s next?
Predictions
What’s the most common path?
Who is in the same community?
What relationship will form?
18
Pl
ay
s
Lives_in
In_sport
Likes
F
a
n
_
o
f
Plays_for
K
n
o
w
s
Knows
Knows
K
n
o
w
s
Graph Structure Improves Data Science Outcomes
© 2023 Neo4j, Inc. All rights reserved.
19
With The Largest Catalog of Graph Algorithms
Pathfinding &
Search
Centrality &
Importance
Community
Detection
Supervised
Machine Learning
Heuristic Link
Prediction
Similarity Graph
Embeddings
…and more
Graph algorithms are a set of instructions that visit the nodes of a graph to
analyze the relationships in connected data.
© 2023 Neo4j, Inc. All rights reserved.
20
65+ Graph Data Science Techniques in Neo4j
Pathfinding &
Search
• Shortest Path
• Single-Source Shortest Path
• All Pairs Shortest Path
• A* Shortest Path
• Yen’s K Shortest Path
• Minimum Weight Spanning Tree
• K-Spanning Tree (MST)
• Random Walk
• Breadth & Depth First Search
Centrality &
Importance
• Degree Centrality
• Closeness Centrality
• Harmonic Centrality
• Betweenness Centrality & Approx.
• PageRank
• Personalized PageRank
• ArticleRank
• Eigenvector Centrality
• Hyperlink Induced Topic Search (HITS)
• Influence Maximization (Greedy, CELF)
Community
Detection
• Triangle Count
• Local Clustering Coefficient
• Connected Components (Union Find)
• Strongly Connected Components
• Label Propagation
• Louvain Modularity
• K-1 Coloring
• Modularity Optimization
• Speaker Listener Label Propagation
Supervised
Machine Learning
• Node Classification
• Link Prediction
• Node Regression
… and more!
Heuristic Link
Prediction
• Adamic Adar
• Common Neighbors
• Preferential Attachment
• Resource Allocations
• Same Community
• Total Neighbors
Similarity
• Node Similarity
• K-Nearest Neighbors (KNN)
• Jaccard Similarity
• Cosine Similarity
• Pearson Similarity
• Euclidean Distance
• Approximate Nearest Neighbors (ANN)
Graph
Embeddings
• Node2Vec
• FastRP
• FastRPExtended
• GraphSAGE
• Synthetic Graph Generation
• Scale Properties
• Collapse Paths
• One Hot Encoding
• Split Relationships
• Graph Export
• Pregel API (write your own algos)
© 2023 Neo4j, Inc. All rights reserved.
21
Pathfinding
Pathfinding and Graph Search
algorithms are used to identify
optimal routes, and they are often a
required first step for many other
types of analysis.
Applications: Shortest path,
Optimal paths, route availability,
What-if analysis, Alternate Routing,
Disaster Recovery
https://neo4j.com/docs/graph-data-science/c
urrent/algorithms/pathfinding/
© 2023 Neo4j, Inc. All rights reserved.
22
Centrality
Finds important nodes based on
relationships to other nodes in the graph
Applications: Outlier detection,
preprocessing, Influencer detection,
Bridge points, points of failure,
vulnerabilities
Color and size represent influence
based on centrality scores
https://neo4j.com/docs/graph-data-science/c
urrent/algorithms/centrality/
© 2023 Neo4j, Inc. All rights reserved.
23
Community Detection
Evaluates how groups of nodes are
clustered or partitioned, as well as
their tendency to strengthen or
break apart
Applications: Recommendations,
homogeneity, disjoint communities,
outlier detection, preprocessing
https://neo4j.com/docs/graph-data-science/c
urrent/algorithms/community/
© 2023 Neo4j, Inc. All rights reserved.
24
Similarity
Evaluates how alike nodes are at
an individual level either based on
node attributes, neighboring
nodes, or relationship properties.
Applications: Recommendations,
What-if analysis, Disambiguation
https://neo4j.com/docs/graph-data-science/c
urrent/algorithms/similarity/
© 2023 Neo4j, Inc. All rights reserved.
25
Link Prediction
These methods compute a score for a
pair of nodes, where the score could
be considered a measure of proximity
or “similarity” between those nodes
based on the graph topology.
Applications: Context-enrichment,
contact tracing, spam detection,
association in social networks etc.
https://neo4j.com/docs/graph-data-science/c
urrent/algorithms/linkprediction/
© 2023 Neo4j, Inc. All rights reserved.
26
Embeddings
A graph embedding is a way of representing each node in your graph
as a fixed-length vector.
• Preserves key features
• Reduces dimensionality
• Can be decoded
Different techniques may represent different aspects of a graph, and
may use different approaches to learn that representation
© 2023 Neo4j, Inc. All rights reserved.
Node Embedding
© 2023 Neo4j, Inc. All rights reserved.
Node Embedding
Encode nodes such that similarity in the
embedding space, i.e. cosine similarity,
approximates similarity in the graph
© 2023 Neo4j, Inc. All rights reserved.
GraphML: Regression & autotuning
Node classification:
“What label should this node have?”
Property regression:
“What’s the value for this missing property?”
Link Prediction:
“Should there be a relationship between these 2 nodes?”
f(x)
f(x)
f(x)
We discover the best model for you - you just supply the data!
© 2023 Neo4j, Inc. All rights reserved.
GDS example: Fraud Detection
Graph algorithms for entity link analysis detect first party and synthetic
identity fraud across channels in financial sector and other industries
Detect patterns of
fraudulent activity across
channels
Isolate fraudsters by
running community
detection, centrality
and embedding
algorithms
Identify potential
fraudsters by computing
similarities between
known fraudsters and
customers
Prevent fraud by
flagging
transactions and
clients with higher
risk
© 2023 Neo4j, Inc. All rights reserved.
And made it seamless for all ecosystems and pipelines
Graph Data Science
BI & VISUALIZATIONS
INGEST
STORE
PROCESS
Apache
Kafka
MACHINE LEARNING
Cloud
Functions
Neo4j
Bloom
PubSub
DataProc
Analytics
Feature
Engineering
Data
Exploration
Graph
Data
Science
Business
Applications &
Existing Systems
Files (unstructured,
structured)
TensorFlow
KNIME Python
Cloud Storage
AWS
Lambda
31
Graph Database
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
What is Neo4j Bloom?
Neo4j Bloom is our tool to Search, Explore and Discover graph data.
Bloom’s no-code UI makes it the ideal interface for analysts to extract
valuable information from knowledge graphs.
Neo4j Product
💪
Visualize
Large Graphs
🧠
Data Science
Capabilities
📖
Natural Language
Search
© 2023 Neo4j, Inc. All rights reserved.
View the most well connected and influential nodes
Recommendations from shared user interactions and associations
Our Visualizations Make analysis easy to understand
33
© 2023 Neo4j, Inc. All rights reserved.
Neo4j Visualisation tool - Bloom
34
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
35
Neo4j and
LLMs
© 2023 Neo4j, Inc. All rights reserved.
Generative AI Is Predicted to Unlock
In Economic Value
The economic potential of generative AI: The next productivity frontier, McKinsey & Company, June 2023.
$6.6 Trillion
Up to 3.3% productivity improvement annually
© 2023 Neo4j, Inc. All rights reserved.
37
© 2023 Neo4j, Inc. All rights reserved.
38
© 2023 Neo4j, Inc. All rights reserved.
LLM Hallucinations
Definition: Language models generate text
that is incorrect, nonsensical, or unreal.
• Appear to answer questions confidently
even if they don’t have facts
• May provide contradicting or inconsistent
responses to similar prompts
© 2023 Neo4j, Inc. All rights reserved.
In Summary…
© 2023 Neo4j, Inc. All rights reserved.
How to Help LLMs Do Better?
Few-Shot Learning
Fine-Tuning Grounding
Provide completed
examples “shots” to the AI
as context in prompts.
a.k.a In-Context Learning
Provide additional training
data to better tune GenAI
to your use case
Provide AI with the
information to use for
generating responses
All of these are useful, but grounding is where Neo4j adds value
Neo4j as the data source
for Grounding
© 2023 Neo4j, Inc. All rights reserved.
Ground LLMs in Neo4j’s Knowledge Graph
42
© 2023 Neo4j, Inc. All rights reserved.
43
https://neo4j.com/blog/vector-search-deeper-insights/
© 2023 Neo4j, Inc. All rights reserved.
Vector Search - What is it?
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
Neo4j Should be the Database for Grounding
Vector DB Limitations
Knowledge Graph
Strengths
Neo4j Differentiators
Similarity ≠ Relevance or
Accuracy
Black-Box (Sub-Symbolic)
Duplicate & incomplete
results
Missing reference information
Challenging to answer
multi-hop questions
Difficult for SME to correct
Relevancy beyond just
similarity
Transparent symbolic
representation
Condensed information
storage
References between
documents calculated before
query time
Enables human correction
LLMs understand Cypher
Vectors + Cypher
Index for many data types
(numeric, geopoints, dates)
Fine-grained security and
access control
ACID transactions,
high-availability, and scale
Ecosystem integration
Available on all clouds
Graph Data Science for
enhanced ML
© 2023 Neo4j, Inc. All rights reserved.
API
Knowledge Graph
Neo4j AuraDS
Graph Data
Science
Graph DB
Intelligent Apps
Knowledge
Extraction and
Ingestion
Structured
Unstructured
Ontologies
GCP Vertex AI
Data Sources API Layer
Customer Service
Ticket Triaging
Recommendations
News Content &
Discovery
Enterprise
Knowledge Search
Patient
Prioritization
Clinical Decision
Support Systems
Pharmacovigilance
Health Assistants
FAQ Bots
Knowledge Graph and Generative AI Reference Architecture
GCP Document AI
Bloom
Generative AI Generative AI
Dataproc
Dataflow
Pubsub
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
G R A C I A S
49
1 von 49

Recomendados

Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da... von
Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da...Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da...
Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da...Neo4j
39 views30 Folien
La strada verso il successo con i database a grafo, la Graph Data Science e l... von
La strada verso il successo con i database a grafo, la Graph Data Science e l...La strada verso il successo con i database a grafo, la Graph Data Science e l...
La strada verso il successo con i database a grafo, la Graph Data Science e l...Neo4j
9 views39 Folien
La strada verso il successo con i database a grafo, la Graph Data Science e l... von
La strada verso il successo con i database a grafo, la Graph Data Science e l...La strada verso il successo con i database a grafo, la Graph Data Science e l...
La strada verso il successo con i database a grafo, la Graph Data Science e l...Neo4j
50 views50 Folien
The Path To Success With Graph Database and Analytics von
The Path To Success With Graph Database and AnalyticsThe Path To Success With Graph Database and Analytics
The Path To Success With Graph Database and AnalyticsNeo4j
39 views39 Folien
Optimizing Your Supply Chain with Neo4j von
Optimizing Your Supply Chain with Neo4jOptimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4jNeo4j
45 views29 Folien
The path to success with Graph Database and Graph Data Science von
The path to success with Graph Database and Graph Data ScienceThe path to success with Graph Database and Graph Data Science
The path to success with Graph Database and Graph Data ScienceNeo4j
106 views31 Folien

Más contenido relacionado

Similar a El camino hacia el éxito con las bases de datos de grafos, la ciencia de datos de grafos y la IA generativa

Neo4j GraphSummit London - The Path To Success With Graph Database and Data S... von
Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...
Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...Neo4j
129 views42 Folien
Relationships Matter: Using Connected Data for Better Machine Learning von
Relationships Matter: Using Connected Data for Better Machine LearningRelationships Matter: Using Connected Data for Better Machine Learning
Relationships Matter: Using Connected Data for Better Machine LearningNeo4j
849 views28 Folien
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data Science von
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data ScienceGet Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data ScienceNeo4j
167 views43 Folien
The path to success with graph database and graph data science_ Neo4j GraphSu... von
The path to success with graph database and graph data science_ Neo4j GraphSu...The path to success with graph database and graph data science_ Neo4j GraphSu...
The path to success with graph database and graph data science_ Neo4j GraphSu...Neo4j
91 views28 Folien
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx von
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptxKnowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptxNeo4j
231 views31 Folien
Optimizing the Supply Chain with Knowledge Graphs, IoT and Digital Twins_Moor... von
Optimizing the Supply Chain with Knowledge Graphs, IoT and Digital Twins_Moor...Optimizing the Supply Chain with Knowledge Graphs, IoT and Digital Twins_Moor...
Optimizing the Supply Chain with Knowledge Graphs, IoT and Digital Twins_Moor...Neo4j
351 views43 Folien

Similar a El camino hacia el éxito con las bases de datos de grafos, la ciencia de datos de grafos y la IA generativa(20)

Neo4j GraphSummit London - The Path To Success With Graph Database and Data S... von Neo4j
Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...
Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...
Neo4j129 views
Relationships Matter: Using Connected Data for Better Machine Learning von Neo4j
Relationships Matter: Using Connected Data for Better Machine LearningRelationships Matter: Using Connected Data for Better Machine Learning
Relationships Matter: Using Connected Data for Better Machine Learning
Neo4j849 views
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data Science von Neo4j
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data ScienceGet Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
Neo4j167 views
The path to success with graph database and graph data science_ Neo4j GraphSu... von Neo4j
The path to success with graph database and graph data science_ Neo4j GraphSu...The path to success with graph database and graph data science_ Neo4j GraphSu...
The path to success with graph database and graph data science_ Neo4j GraphSu...
Neo4j91 views
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx von Neo4j
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptxKnowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx
Neo4j231 views
Optimizing the Supply Chain with Knowledge Graphs, IoT and Digital Twins_Moor... von Neo4j
Optimizing the Supply Chain with Knowledge Graphs, IoT and Digital Twins_Moor...Optimizing the Supply Chain with Knowledge Graphs, IoT and Digital Twins_Moor...
Optimizing the Supply Chain with Knowledge Graphs, IoT and Digital Twins_Moor...
Neo4j351 views
Using Connected Data and Graph Technology to Enhance Machine Learning and Art... von Neo4j
Using Connected Data and Graph Technology to Enhance Machine Learning and Art...Using Connected Data and Graph Technology to Enhance Machine Learning and Art...
Using Connected Data and Graph Technology to Enhance Machine Learning and Art...
Neo4j50 views
Nordics Edition - The Neo4j Graph Data Platform Today & Tomorrow von Neo4j
Nordics Edition - The Neo4j Graph Data Platform Today & TomorrowNordics Edition - The Neo4j Graph Data Platform Today & Tomorrow
Nordics Edition - The Neo4j Graph Data Platform Today & Tomorrow
Neo4j44 views
Workshop - Build a Graph Solution von Neo4j
Workshop - Build a Graph SolutionWorkshop - Build a Graph Solution
Workshop - Build a Graph Solution
Neo4j94 views
The art of the possible with graph technology_Neo4j GraphSummit Dublin 2023.pptx von Neo4j
The art of the possible with graph technology_Neo4j GraphSummit Dublin 2023.pptxThe art of the possible with graph technology_Neo4j GraphSummit Dublin 2023.pptx
The art of the possible with graph technology_Neo4j GraphSummit Dublin 2023.pptx
Neo4j188 views
The Data Platform for Today's Intelligent Applications.pdf von Neo4j
The Data Platform for Today's Intelligent Applications.pdfThe Data Platform for Today's Intelligent Applications.pdf
The Data Platform for Today's Intelligent Applications.pdf
Neo4j98 views
The Art of the Possible with Graph Technology von Neo4j
The Art of the Possible with Graph TechnologyThe Art of the Possible with Graph Technology
The Art of the Possible with Graph Technology
Neo4j15 views
Neo4j – The Fastest Path to Scalable Real-Time Analytics von Neo4j
Neo4j – The Fastest Path to Scalable Real-Time AnalyticsNeo4j – The Fastest Path to Scalable Real-Time Analytics
Neo4j – The Fastest Path to Scalable Real-Time Analytics
Neo4j456 views
Amsterdam - The Neo4j Graph Data Platform Today & Tomorrow von Neo4j
Amsterdam - The Neo4j Graph Data Platform Today & TomorrowAmsterdam - The Neo4j Graph Data Platform Today & Tomorrow
Amsterdam - The Neo4j Graph Data Platform Today & Tomorrow
Neo4j69 views
Einstieg in Neo4j Graph Data Science von Neo4j
Einstieg in Neo4j Graph Data ScienceEinstieg in Neo4j Graph Data Science
Einstieg in Neo4j Graph Data Science
Neo4j249 views
How Graph Technology is Changing AI von Databricks
How Graph Technology is Changing AIHow Graph Technology is Changing AI
How Graph Technology is Changing AI
Databricks1.2K views
Graphs for Data Science and Machine Learning von Neo4j
Graphs for Data Science and Machine LearningGraphs for Data Science and Machine Learning
Graphs for Data Science and Machine Learning
Neo4j791 views
Neo4j : L’art des Possibles avec la Technologie des Graphes von Neo4j
Neo4j : L’art des Possibles avec la Technologie des GraphesNeo4j : L’art des Possibles avec la Technologie des Graphes
Neo4j : L’art des Possibles avec la Technologie des Graphes
Neo4j72 views
GraphTour 2020 - Neo4j: What's New? von Neo4j
GraphTour 2020 - Neo4j: What's New?GraphTour 2020 - Neo4j: What's New?
GraphTour 2020 - Neo4j: What's New?
Neo4j511 views
GPT and Graph Data Science to power your Knowledge Graph von Neo4j
GPT and Graph Data Science to power your Knowledge GraphGPT and Graph Data Science to power your Knowledge Graph
GPT and Graph Data Science to power your Knowledge Graph
Neo4j269 views

Más de Neo4j

FIMA 2023 Neo4j & FS - Entity Resolution.pptx von
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptxNeo4j
8 views26 Folien
Operations & Data Graph von
Operations & Data GraphOperations & Data Graph
Operations & Data GraphNeo4j
42 views25 Folien
TAGTTOO: La nova xarxa social von
TAGTTOO: La nova xarxa socialTAGTTOO: La nova xarxa social
TAGTTOO: La nova xarxa socialNeo4j
26 views19 Folien
El Arte de lo Possible von
El Arte de lo PossibleEl Arte de lo Possible
El Arte de lo PossibleNeo4j
48 views35 Folien
Neo4j y GenAI von
Neo4j y GenAI Neo4j y GenAI
Neo4j y GenAI Neo4j
54 views41 Folien
Roadmap y Novedades de producto von
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de productoNeo4j
56 views33 Folien

Más de Neo4j(20)

FIMA 2023 Neo4j & FS - Entity Resolution.pptx von Neo4j
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptx
Neo4j8 views
Operations & Data Graph von Neo4j
Operations & Data GraphOperations & Data Graph
Operations & Data Graph
Neo4j42 views
TAGTTOO: La nova xarxa social von Neo4j
TAGTTOO: La nova xarxa socialTAGTTOO: La nova xarxa social
TAGTTOO: La nova xarxa social
Neo4j26 views
El Arte de lo Possible von Neo4j
El Arte de lo PossibleEl Arte de lo Possible
El Arte de lo Possible
Neo4j48 views
Neo4j y GenAI von Neo4j
Neo4j y GenAI Neo4j y GenAI
Neo4j y GenAI
Neo4j54 views
Roadmap y Novedades de producto von Neo4j
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de producto
Neo4j56 views
Neo4j : Graphes de Connaissance, IA et LLMs von Neo4j
Neo4j : Graphes de Connaissance, IA et LLMsNeo4j : Graphes de Connaissance, IA et LLMs
Neo4j : Graphes de Connaissance, IA et LLMs
Neo4j53 views
Les nouveautés produit Neo4j von Neo4j
 Les nouveautés produit Neo4j Les nouveautés produit Neo4j
Les nouveautés produit Neo4j
Neo4j31 views
Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu... von Neo4j
Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu...Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu...
Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu...
Neo4j27 views
Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com... von Neo4j
Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com...Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com...
Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com...
Neo4j54 views
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf von Neo4j
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdfNeo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j58 views
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx von Neo4j
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptxNeo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx
Neo4j55 views
Neo4j workshop at GraphSummit London 14 Nov 2023.pdf von Neo4j
Neo4j workshop at GraphSummit London 14 Nov 2023.pdfNeo4j workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j53 views
Neo4j Product Updates & Knowledge Graphs at GraphSummit London 14 Nov 2023.pptx von Neo4j
Neo4j Product Updates & Knowledge Graphs at GraphSummit London 14 Nov 2023.pptxNeo4j Product Updates & Knowledge Graphs at GraphSummit London 14 Nov 2023.pptx
Neo4j Product Updates & Knowledge Graphs at GraphSummit London 14 Nov 2023.pptx
Neo4j66 views
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptx von Neo4j
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptxAstraZeneca at Neo4j GraphSummit London 14Nov23.pptx
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptx
Neo4j45 views
Google Cloud at GraphSummit London 14 Nov 2023.pptx von Neo4j
Google Cloud at GraphSummit London 14 Nov 2023.pptxGoogle Cloud at GraphSummit London 14 Nov 2023.pptx
Google Cloud at GraphSummit London 14 Nov 2023.pptx
Neo4j27 views
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov... von Neo4j
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...
Neo4j77 views
Northern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptx von Neo4j
Northern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptxNorthern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptx
Northern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptx
Neo4j46 views
Peek into Neo4j Product Strategy and Roadmap von Neo4j
Peek into Neo4j Product Strategy and RoadmapPeek into Neo4j Product Strategy and Roadmap
Peek into Neo4j Product Strategy and Roadmap
Neo4j87 views
Transforming Intelligence Analysis with Knowledge Graphs von Neo4j
Transforming Intelligence Analysis with Knowledge GraphsTransforming Intelligence Analysis with Knowledge Graphs
Transforming Intelligence Analysis with Knowledge Graphs
Neo4j61 views

Último

Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... von
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...TomHalpin9
6 views29 Folien
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J... von
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...Deltares
12 views24 Folien
FOSSLight Community Day 2023-11-30 von
FOSSLight Community Day 2023-11-30FOSSLight Community Day 2023-11-30
FOSSLight Community Day 2023-11-30Shane Coughlan
5 views18 Folien
Unleash The Monkeys von
Unleash The MonkeysUnleash The Monkeys
Unleash The MonkeysJacob Duijzer
8 views28 Folien
Software evolution understanding: Automatic extraction of software identifier... von
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...Ra'Fat Al-Msie'deen
9 views33 Folien
360 graden fabriek von
360 graden fabriek360 graden fabriek
360 graden fabriekinfo33492
122 views25 Folien

Último(20)

Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... von TomHalpin9
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
TomHalpin96 views
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J... von Deltares
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
Deltares12 views
Software evolution understanding: Automatic extraction of software identifier... von Ra'Fat Al-Msie'deen
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...
360 graden fabriek von info33492
360 graden fabriek360 graden fabriek
360 graden fabriek
info33492122 views
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action von Márton Kodok
Gen Apps on Google Cloud PaLM2 and Codey APIs in ActionGen Apps on Google Cloud PaLM2 and Codey APIs in Action
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action
Márton Kodok6 views
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx von animuscrm
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
animuscrm15 views
tecnologia18.docx von nosi6702
tecnologia18.docxtecnologia18.docx
tecnologia18.docx
nosi67025 views
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with... von sparkfabrik
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...
sparkfabrik7 views
Airline Booking Software von SharmiMehta
Airline Booking SoftwareAirline Booking Software
Airline Booking Software
SharmiMehta6 views
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... von Donato Onofri
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Donato Onofri860 views
Fleet Management Software in India von Fleetable
Fleet Management Software in India Fleet Management Software in India
Fleet Management Software in India
Fleetable11 views
DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft... von Deltares
DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft...DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft...
DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft...
Deltares7 views
AI and Ml presentation .pptx von FayazAli87
AI and Ml presentation .pptxAI and Ml presentation .pptx
AI and Ml presentation .pptx
FayazAli8712 views

El camino hacia el éxito con las bases de datos de grafos, la ciencia de datos de grafos y la IA generativa

  • 1. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. El camino hacia el éxito con las bases de datos de grafos, la ciencia de datos de grafos y la IA generativa Luis Salvador PreSales Engineer Iberia, Neo4j 1 Pierre Halftermeyer PreSales Engineer France, Neo4j
  • 2. © 2023 Neo4j, Inc. All rights reserved. DATA GROWTH IS ACCELERATING. EVERYONE IS CONNECTED TO EVERYTHING 200+ Zettabytes In cloud data storage by 2025 65 Average number of enterprise SaaS apps 41B Connected IOT devices by 2025 2 2
  • 3. © 2023 Neo4j, Inc. All rights reserved. 3 TODAY’S REALITY Connections in data are as valuable as the data itself 3
  • 4. © 2023 Neo4j, Inc. All rights reserved. 4 Legacy systems can’t keep up “Relational” Databases don’t handle relationships well NoSQL Databases don’t handle relationships at all
  • 5. © 2023 Neo4j, Inc. All rights reserved. Graph creates a more intuitive and connected view of data relationships, unlocking deeper insights and context 5 5
  • 6. © 2023 Neo4j, Inc. All rights reserved. Hybrid Workload Duality 6 Intelligent Applications Transactions - Security - Performance & Scalability - ACID Consistency - Intelligent Modeling - Extensive & Supported Algo Library - Scalable - Graph Visualization - Graph Transformations Graph Transactions Graph Analytics & Data Science
  • 7. © 2023 Neo4j, Inc. All rights reserved. THE PROPERTY GRAPH: SIMPLY POWERFUL Employee City Company Nodes represent objects (nouns) Relationships are directional Relationships connect nodes are represent actions (verbs) Relationships can have properties (name/value pairs) Nodes can have properties (name/value pairs) name: Amy Peters date_of_birth: 1984-03-01 employee_ID: 1 :HAS_CEO start_date: 2008-01-20 :LOCATED_IN 7 7
  • 8. © 2023 Neo4j, Inc. All rights reserved. 8 NATIVE GRAPH ARCHITECTURE: FAST, FLEXIBLE, SCALABLE Native Graph Database At write time Data is .connected. as it is stored At read time .Lightning-fast. retrieval of data and relationships via pointer chasing Relational Model Graph Model ACTED_IN ACTED_IN ACTED_IN Tom Cruise Mission Impossible Oblivion Person Movie Person-Movie Tom Cruise Top Gun Vs.
  • 9. © 2023 Neo4j, Inc. All rights reserved. QUERY PERFORMANCE AS # OF JOINS INCREASE Connectedness and Size of Data Set Response Time Relational and other NoSQL databases Native Graph Database 1000x Advantage Minutes to milliseconds 5+ hops 3+ degrees Thousands of connections 0 to 2 hops 0 to 3 degrees Few connections 9 9
  • 10. © 2023 Neo4j, Inc. All rights reserved. Analytics Tooling Graph Transactions Data Integration Dev. & Admin Drivers & APIs Discovery & Visualization Graph Analytics & Data Science Native graph technology for apps & analytics 10 Developers Admins Applications Business Users Data Analysts Data Scientists Bloom Kafka Connector BI Connector Spark Connector GRANDstack (GraphQL, React, Apollo, Neo4j) Data Warehouse Conn.
  • 11. © 2023 Neo4j, Inc. All rights reserved. Developer Productivity: Rich tooling and easy onramp ops manager 11 data importer Visualize and explore your data Query editor and results visualizer Code-free data loader and modeler AuraWorkspace Unified Workspace
  • 12. © 2023 Neo4j, Inc. All rights reserved. PLUGS INTO YOUR EXISTING DATA ECOSYSTEM 12 Apache Spark Connector Data Warehouse Connector Apache Kafka Connector Neo4j BI Connector
  • 13. © 2023 Neo4j, Inc. All rights reserved. Enterprise-Grade: Security and Trust Built In Single Sign-On Secure Development Practices Dedicated VPC Role- & Schema-Based Access Control Encryption (At-Rest, In-Transit, and Intra Cluster) SOC 2 Type 1 13
  • 14. © 2023 Neo4j, Inc. All rights reserved. 14 19 Billion 1.2 Trillion! 128 Billion Neo4j Fabric: Scaling Up & Scaling Out!
  • 15. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. 15 Neo4j Graph Data Science
  • 16. © 2023 Neo4j, Inc. All rights reserved. 16 What’s in it for you: ● Improve model accuracy by 30% ● Simplify processes and remove headaches ● More projects into production without additional hiring Neo4j Graph Data Science Analytics Feature Engineering Data Exploration Graph Data Science Queries & Search Machine Learning Visualization
  • 17. © 2023 Neo4j, Inc. All rights reserved. When do you need Graph Algorithms? Query (e.g. Cypher) Real-time, local decisioning and pattern matching Graph Algorithms Global analysis and iterations You know what you’re looking for and making a decision You’re learning the overall structure of a network, updating data, and predicting Local Patterns Global Computation
  • 18. © 2023 Neo4j, Inc. All rights reserved. What’s important? Prioritization Who has the most connections? Who has the highest page rank? Who is an influencer? What’s unusual? Anomaly & Fraud Detection Where is a community forming? What are the group dynamics? What’s unusual about this data? What’s next? Predictions What’s the most common path? Who is in the same community? What relationship will form? 18 Pl ay s Lives_in In_sport Likes F a n _ o f Plays_for K n o w s Knows Knows K n o w s Graph Structure Improves Data Science Outcomes
  • 19. © 2023 Neo4j, Inc. All rights reserved. 19 With The Largest Catalog of Graph Algorithms Pathfinding & Search Centrality & Importance Community Detection Supervised Machine Learning Heuristic Link Prediction Similarity Graph Embeddings …and more Graph algorithms are a set of instructions that visit the nodes of a graph to analyze the relationships in connected data.
  • 20. © 2023 Neo4j, Inc. All rights reserved. 20 65+ Graph Data Science Techniques in Neo4j Pathfinding & Search • Shortest Path • Single-Source Shortest Path • All Pairs Shortest Path • A* Shortest Path • Yen’s K Shortest Path • Minimum Weight Spanning Tree • K-Spanning Tree (MST) • Random Walk • Breadth & Depth First Search Centrality & Importance • Degree Centrality • Closeness Centrality • Harmonic Centrality • Betweenness Centrality & Approx. • PageRank • Personalized PageRank • ArticleRank • Eigenvector Centrality • Hyperlink Induced Topic Search (HITS) • Influence Maximization (Greedy, CELF) Community Detection • Triangle Count • Local Clustering Coefficient • Connected Components (Union Find) • Strongly Connected Components • Label Propagation • Louvain Modularity • K-1 Coloring • Modularity Optimization • Speaker Listener Label Propagation Supervised Machine Learning • Node Classification • Link Prediction • Node Regression … and more! Heuristic Link Prediction • Adamic Adar • Common Neighbors • Preferential Attachment • Resource Allocations • Same Community • Total Neighbors Similarity • Node Similarity • K-Nearest Neighbors (KNN) • Jaccard Similarity • Cosine Similarity • Pearson Similarity • Euclidean Distance • Approximate Nearest Neighbors (ANN) Graph Embeddings • Node2Vec • FastRP • FastRPExtended • GraphSAGE • Synthetic Graph Generation • Scale Properties • Collapse Paths • One Hot Encoding • Split Relationships • Graph Export • Pregel API (write your own algos)
  • 21. © 2023 Neo4j, Inc. All rights reserved. 21 Pathfinding Pathfinding and Graph Search algorithms are used to identify optimal routes, and they are often a required first step for many other types of analysis. Applications: Shortest path, Optimal paths, route availability, What-if analysis, Alternate Routing, Disaster Recovery https://neo4j.com/docs/graph-data-science/c urrent/algorithms/pathfinding/
  • 22. © 2023 Neo4j, Inc. All rights reserved. 22 Centrality Finds important nodes based on relationships to other nodes in the graph Applications: Outlier detection, preprocessing, Influencer detection, Bridge points, points of failure, vulnerabilities Color and size represent influence based on centrality scores https://neo4j.com/docs/graph-data-science/c urrent/algorithms/centrality/
  • 23. © 2023 Neo4j, Inc. All rights reserved. 23 Community Detection Evaluates how groups of nodes are clustered or partitioned, as well as their tendency to strengthen or break apart Applications: Recommendations, homogeneity, disjoint communities, outlier detection, preprocessing https://neo4j.com/docs/graph-data-science/c urrent/algorithms/community/
  • 24. © 2023 Neo4j, Inc. All rights reserved. 24 Similarity Evaluates how alike nodes are at an individual level either based on node attributes, neighboring nodes, or relationship properties. Applications: Recommendations, What-if analysis, Disambiguation https://neo4j.com/docs/graph-data-science/c urrent/algorithms/similarity/
  • 25. © 2023 Neo4j, Inc. All rights reserved. 25 Link Prediction These methods compute a score for a pair of nodes, where the score could be considered a measure of proximity or “similarity” between those nodes based on the graph topology. Applications: Context-enrichment, contact tracing, spam detection, association in social networks etc. https://neo4j.com/docs/graph-data-science/c urrent/algorithms/linkprediction/
  • 26. © 2023 Neo4j, Inc. All rights reserved. 26 Embeddings A graph embedding is a way of representing each node in your graph as a fixed-length vector. • Preserves key features • Reduces dimensionality • Can be decoded Different techniques may represent different aspects of a graph, and may use different approaches to learn that representation
  • 27. © 2023 Neo4j, Inc. All rights reserved. Node Embedding
  • 28. © 2023 Neo4j, Inc. All rights reserved. Node Embedding Encode nodes such that similarity in the embedding space, i.e. cosine similarity, approximates similarity in the graph
  • 29. © 2023 Neo4j, Inc. All rights reserved. GraphML: Regression & autotuning Node classification: “What label should this node have?” Property regression: “What’s the value for this missing property?” Link Prediction: “Should there be a relationship between these 2 nodes?” f(x) f(x) f(x) We discover the best model for you - you just supply the data!
  • 30. © 2023 Neo4j, Inc. All rights reserved. GDS example: Fraud Detection Graph algorithms for entity link analysis detect first party and synthetic identity fraud across channels in financial sector and other industries Detect patterns of fraudulent activity across channels Isolate fraudsters by running community detection, centrality and embedding algorithms Identify potential fraudsters by computing similarities between known fraudsters and customers Prevent fraud by flagging transactions and clients with higher risk
  • 31. © 2023 Neo4j, Inc. All rights reserved. And made it seamless for all ecosystems and pipelines Graph Data Science BI & VISUALIZATIONS INGEST STORE PROCESS Apache Kafka MACHINE LEARNING Cloud Functions Neo4j Bloom PubSub DataProc Analytics Feature Engineering Data Exploration Graph Data Science Business Applications & Existing Systems Files (unstructured, structured) TensorFlow KNIME Python Cloud Storage AWS Lambda 31 Graph Database
  • 32. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. What is Neo4j Bloom? Neo4j Bloom is our tool to Search, Explore and Discover graph data. Bloom’s no-code UI makes it the ideal interface for analysts to extract valuable information from knowledge graphs. Neo4j Product 💪 Visualize Large Graphs 🧠 Data Science Capabilities 📖 Natural Language Search
  • 33. © 2023 Neo4j, Inc. All rights reserved. View the most well connected and influential nodes Recommendations from shared user interactions and associations Our Visualizations Make analysis easy to understand 33
  • 34. © 2023 Neo4j, Inc. All rights reserved. Neo4j Visualisation tool - Bloom 34
  • 35. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. 35 Neo4j and LLMs
  • 36. © 2023 Neo4j, Inc. All rights reserved. Generative AI Is Predicted to Unlock In Economic Value The economic potential of generative AI: The next productivity frontier, McKinsey & Company, June 2023. $6.6 Trillion Up to 3.3% productivity improvement annually
  • 37. © 2023 Neo4j, Inc. All rights reserved. 37
  • 38. © 2023 Neo4j, Inc. All rights reserved. 38
  • 39. © 2023 Neo4j, Inc. All rights reserved. LLM Hallucinations Definition: Language models generate text that is incorrect, nonsensical, or unreal. • Appear to answer questions confidently even if they don’t have facts • May provide contradicting or inconsistent responses to similar prompts
  • 40. © 2023 Neo4j, Inc. All rights reserved. In Summary…
  • 41. © 2023 Neo4j, Inc. All rights reserved. How to Help LLMs Do Better? Few-Shot Learning Fine-Tuning Grounding Provide completed examples “shots” to the AI as context in prompts. a.k.a In-Context Learning Provide additional training data to better tune GenAI to your use case Provide AI with the information to use for generating responses All of these are useful, but grounding is where Neo4j adds value Neo4j as the data source for Grounding
  • 42. © 2023 Neo4j, Inc. All rights reserved. Ground LLMs in Neo4j’s Knowledge Graph 42
  • 43. © 2023 Neo4j, Inc. All rights reserved. 43 https://neo4j.com/blog/vector-search-deeper-insights/
  • 44. © 2023 Neo4j, Inc. All rights reserved. Vector Search - What is it?
  • 45. © 2023 Neo4j, Inc. All rights reserved.
  • 46. © 2023 Neo4j, Inc. All rights reserved.
  • 47. © 2023 Neo4j, Inc. All rights reserved. Neo4j Should be the Database for Grounding Vector DB Limitations Knowledge Graph Strengths Neo4j Differentiators Similarity ≠ Relevance or Accuracy Black-Box (Sub-Symbolic) Duplicate & incomplete results Missing reference information Challenging to answer multi-hop questions Difficult for SME to correct Relevancy beyond just similarity Transparent symbolic representation Condensed information storage References between documents calculated before query time Enables human correction LLMs understand Cypher Vectors + Cypher Index for many data types (numeric, geopoints, dates) Fine-grained security and access control ACID transactions, high-availability, and scale Ecosystem integration Available on all clouds Graph Data Science for enhanced ML
  • 48. © 2023 Neo4j, Inc. All rights reserved. API Knowledge Graph Neo4j AuraDS Graph Data Science Graph DB Intelligent Apps Knowledge Extraction and Ingestion Structured Unstructured Ontologies GCP Vertex AI Data Sources API Layer Customer Service Ticket Triaging Recommendations News Content & Discovery Enterprise Knowledge Search Patient Prioritization Clinical Decision Support Systems Pharmacovigilance Health Assistants FAQ Bots Knowledge Graph and Generative AI Reference Architecture GCP Document AI Bloom Generative AI Generative AI Dataproc Dataflow Pubsub
  • 49. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. G R A C I A S 49