SlideShare a Scribd company logo
Amy E. Hodler
Graph Analytics & AI Program Manager, Neo4j
Amy.Hodler@neo4j.com @amyhodler
How Graphs Enhance AI
Graphs in Data Science
Advancing through the Steps of
Graph Data Science
How Graphs Enhance AI
How Graphs Enhance AI
Predicting Financial Contagion
from Global to Local
Financial Crimes Drug Discovery Recommendations
Cybersecurity Predictive Maintenance
Customer Segmentation
Churn Prediction Search/MDM
Graphs Data Science Applications
“The idea is that graph networks are bigger than
any one machine-learning approach.
Graphs bring an ability to generalize about
structure that the individual neural nets don't have.”
"Where do the graphs
come from that
graph networks
operate over?”
Getting Started
7
Building a Graph ML Model
Data
Sources
Native Graph
Platform
Machine
Learning
Aggregate Disparate
Data and Cleanse
Build Predictive
Models
Unify Graphs and
Engineer Features
Parquet JSON
and more…
MLlib
and more…
Spark Graph Native Graph
Platform
Machine Learning
Example: Spark & Neo4j Workflow
Graph
Transactions
Graph
Analytics
Cypher 9 in Spark 3.0
to create non-
persistent graphs
MLlib to Train Models
Native Graph Algorithms,
Processing, and Storage
Morpheus
integration
Explore Graphs Build Graph Solutions
• Massively scalable
• Powerful data pipelining
• Robust ML Libraries
• Non-persistent, non-native graphs
• Persistent, dynamic graphs
• Graph native query and algorithm
performance
• Constantly growing list of graph
algorithms and embeddings
Steps Forward
11
Steps Forward in Graph Data Science
Graph Persistence
Knowledge
Graphs
Connected Feature
Engineering
Graph Native
Learning
Steps Forward in Graph Data Science
Query Based
Knowledge
Graph
Query Based
Feature
Engineering
Graph
Algorithm
Feature
Engineering
Graph
Embeddings
Graph Neural
Networks
Enterprise Delivery
DataScienceComplexity
Knowledge
Graphs
Graph Feature
Engineering
Graph Native
Learning
Graph Persistence
Steps Forward in Graph Data Science
Query Based
Knowledge
Graph
Query Based
Feature
Engineering
Graph Algorithm
Feature
Engineering
Graph
Embeddings
Graph Neural
Networks
Enterprise Maturity
DataScienceComplexity
Query-Based Knowledge Graphs
Connecting the Dots
• Multiple graph layers of financial
information
• Includes corporate data with
cross-relationships, external
news, and customized weighting
• Dashboards and tools
• Credit risk
• Investment risk
• Portfolio news recommendations
Steps Forward in Graph Data Science
Query Based
Knowledge
Graph
Graph
Algorithm
Feature
Engineering
Graph
Embeddings
Graph Neural
Networks
Query Based
Feature
Engineering
Enterprise Maturity
DataScienceComplexity
HetioNet is a knowledge
graph integrating over 50
years of biomedical data
Leveraged to predict new
uses for drugs by using the
graph topology to create
features to predict new links
Query-Based Feature Engineering
Mining Data for Drug Discovery
het.io
Query-Based Feature Engineering
Mining Data for Drug Discovery
HetioNet is a knowledge
graph integrating over 50
years of biomedical data
Leveraged to predict new
uses for drugs by using the
graph topology to create
features to predict new links
het.io
Query-Based Feature Engineering
Mining Data for Drug Discovery
Spark Graph Native Graph
Platform
Machine Learning
• Merge distributed data
into DataFrames
• Reshape your tables
into graphs
• Explore cypher queries
• Move to Neo4j to build
expert queries
• Persist your graph
Knowledge Graphs:
Getting Started Example with Spark
• Bring query based
graph features to ML
pipeline
Graph
Transactions
Graph
Analytics
Steps Forward in Graph Data Science
Query Based
Feature
Engineering
Graph
Embeddings
Graph Neural
Networks
Query Based
Knowledge
Graph
Graph
Algorithm
Feature
Engineering
Enterprise Maturity
DataScienceComplexity
Feature Engineering is how we combine and process the
data to create new, more meaningful features, such as
clustering or connectivity metrics.
Graph Connected Feature Engineering
Add More Descriptive Features:
- Influence
- Relationships
- Communities
Extraction
23
Graph Feature Categories & Algorithms
Pathfinding
& Search
Finds the optimal paths or evaluates
route availability and quality
Centrality /
Importance
Determines the importance of
distinct nodes in the network
Community
Detection
Detects group clustering or
partition options
Heuristic
Link Prediction
Estimates the likelihood of nodes
forming a relationship
Evaluates how alike
nodes are
Similarity Embeddings
Learned representations
of connectivity or topology
• Connected components to identify
disjointed graphs sharing identifiers
• PageRank to measure influence and
transaction volumes
• Louvain to identify communities
that frequently interact
• Jaccard to measure account
similarity
24
Graph Connected Feature Engineering
Financial Crime: Detecting Fraud
Large financial institutions already have existing pipelines to identify
fraud via heuristics and models
Graph based features improve accuracy:
+48,000 U.S. Patents for
Graph Fraud / Anomaly Detection
in the last 10 years
Spark Graph Native Graph
Platform
Machine Learning
• Merge distributed data
into DataFrames
• Reshape your tables
into graphs
• Explore cypher queries
and simple algorithms
• Persist your graph
• Create rule based
features
• Run native graph
algorithms and write to
graph or stream
Graph Feature Engineering:
Getting Started Example with Spark
• Bring graph features
to ML pipeline for
training
Graph
Transactions
Graph
Analytics
27
Graph Algorithms in Neo4J
• Parallel Breadth First Search
• Parallel Depth First Search
• Shortest Path
• Single-Source Shortest Path
• All Pairs Shortest Path
• Minimum Spanning Tree
• A* Shortest Path
• Yen’s K Shortest Path
• K-Spanning Tree (MST)
• Random Walk
• Degree Centrality
• Closeness Centrality
• CC Variations: Harmonic, Dangalchev,
Wasserman & Faust
• Betweenness Centrality
• Approximate Betweenness Centrality
• PageRank
• Personalized PageRank
• ArticleRank
• Eigenvector Centrality
• Triangle Count
• Clustering Coefficients
• Connected Components (Union Find)
• Strongly Connected Components
• Label Propagation
• Louvain Modularity – 1 Step & Multi-Step
• Balanced Triad (identification)
• Euclidean Distance
• Cosine Similarity
• Jaccard Similarity
• Overlap Similarity
• Pearson Similarity
Pathfinding
& Search
Centrality /
Importance
Community
Detection
Similarity
neo4j.com/docs/
graph-algorithms/current/
Link
Prediction
• Adamic Adar
• Common Neighbors
• Preferential Attachment
• Resource Allocations
• Same Community
• Total Neighbors
Steps Forward in Graph Data Science
Query Based
Knowledge
Graph
Graph
Algorithm
Feature
Engineering
Graph Neural
Networks
Query Based
Feature
Engineering
Graph
Embeddings
Enterprise Maturity
DataScienceComplexity
Embedding transforms graphs into a feature vector, or
set of vectors, describing topology, connectivity, or
attributes of nodes and edges in the graph
29
Graph Embeddings
• Vertex/Node embeddings: describe connectivity of each node
• Path embeddings: traversals across the graph
• Graph embeddings: encode an entire graph into a single vector
Explainable Reasoning over Knowledge Graphs for
Recommendation
30
Graph Embeddings - Recommendations
31
Graph Embeddings - Recommendations
Explainable Reasoning over Knowledge Graphs for
Recommendation
Spark Graph Native Graph
Platform
Machine Learning
• Merge distributed data
into DataFrames
• Reshape your tables
into graphs
• Explore cypher queries
and simple algorithms
• Move to Neo4j to build
expert queries
• Write to persist
• Stay tuned for
DeepWalk and DeepGL
algorithms
Graph Feature Engineering-Embedding:
Getting Started Example with Spark
• Bring graph features
to ML pipeline for
training
Graph
Transactions
Graph
Analytics
Steps Forward in Graph Data Science
Query Based
Knowledge
Graph
Graph
Algorithm
Feature
Engineering
Query Based
Feature
Engineering
Graph Neural
Networks
Graph
Embeddings
Enterprise Maturity
DataScienceComplexity
Deep Learning refers to training multi-layer neural
networks using gradient descent
34
Graph Native Learning
Graph Native Learning refers to deep learning models
that take a graph as an input, performs computations,
and return a graph
35
Graph Native Learning
Battaglia et al, 2018
Example: electron path prediction
Bradshaw et al, 2019
36
Graph Native Learning
Given reactants and reagents, what will the
products be?
Given reactants and reagents, what will the
products be?
Steps Forward in Graph Data Science
Query Based
Knowledge
Graph
Query Based
Feature
Engineering
Graph
Algorithm
Feature
Engineering
Graph
Embeddings
Graph Neural
Networks
Enterprise Delivery
DataScienceComplexity
Knowledge
Graphs
Graph Feature
Engineering
Graph Native
Learning
Graph Persistence
Resources
Business
• neo4j.com/use-cases/
artificial-intelligence-analytics/
• AI Whitepaper
Data Scientists/Developers
• neo4j.com/sandbox
• neo4j.com/developer/
• community.neo4j.com
Amy.Hodler@neo4j.com
@amyhodler
neo4j.com/
graph-algorithms-book

More Related Content

PDF
The fundamentals of Machine Learning
PDF
Anomaly Detection using Deep Auto-Encoders
PPTX
Ensemble methods in machine learning
PPTX
Back patching
PPTX
Machine Learning Terminologies
PPT
3.7 outlier analysis
PDF
Practical Natural Language Processing
PDF
Introduction to Genetic Algorithms and Evolutionary Computation
The fundamentals of Machine Learning
Anomaly Detection using Deep Auto-Encoders
Ensemble methods in machine learning
Back patching
Machine Learning Terminologies
3.7 outlier analysis
Practical Natural Language Processing
Introduction to Genetic Algorithms and Evolutionary Computation

What's hot (20)

PDF
Intro to Machine Learning for GPUs
PPT
Compiler Design Unit 1
PPT
Artificial Intelligent Agents
PDF
An Introduction to Deep Learning
PDF
Probabilistic Models of Time Series and Sequences
PDF
Performance Evaluation for Classifiers tutorial
PPT
Natural Language Processing
PDF
TensorFlow and Keras: An Overview
PPTX
Anomaly detection
PPT
Paths, Path products and Regular expressions: path products & path expression...
PPTX
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
PDF
Natural Language Processing: L02 words
PPTX
Recent Advances in Machine Learning: Bringing a New Level of Intelligence to ...
PPTX
Word Embedding to Document distances
PPTX
Weka.arff
PPTX
Visualization and Matplotlib using Python.pptx
PDF
Data Visualization in Python
PDF
Ways to evaluate a machine learning model’s performance
PPTX
Curse of dimensionality
PDF
Machine Learning Model Deployment: Strategy to Implementation
Intro to Machine Learning for GPUs
Compiler Design Unit 1
Artificial Intelligent Agents
An Introduction to Deep Learning
Probabilistic Models of Time Series and Sequences
Performance Evaluation for Classifiers tutorial
Natural Language Processing
TensorFlow and Keras: An Overview
Anomaly detection
Paths, Path products and Regular expressions: path products & path expression...
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Natural Language Processing: L02 words
Recent Advances in Machine Learning: Bringing a New Level of Intelligence to ...
Word Embedding to Document distances
Weka.arff
Visualization and Matplotlib using Python.pptx
Data Visualization in Python
Ways to evaluate a machine learning model’s performance
Curse of dimensionality
Machine Learning Model Deployment: Strategy to Implementation
Ad

Similar to How Graphs Enhance AI (20)

PDF
Leveraging Graphs for Better AI
PDF
Leveraging Graphs for Better AI
PDF
How Graph Technology is Changing AI
PDF
Transforming AI with Graphs: Real World Examples using Spark and Neo4j
PDF
Transforming AI with Graphs: Real World Examples using Spark and Neo4j
PPTX
How Graphs are Changing AI
PDF
GraphTour 2020 - Graphs & AI: A Path for Data Science
PDF
GraphTour London 2020 - Graphs for AI, Amy Hodler
PDF
What Is GDS and Neo4j’s GDS Library
PDF
GPT and Graph Data Science to power your Knowledge Graph
PDF
GraphSummit Toronto: Leveraging Graphs for AI and ML
PPTX
Using Connected Data and Graph Technology to Enhance Machine Learning and Art...
PDF
Graph Data Science with Neo4j: Nordics Webinar
PDF
Leveraging Graphs for Artificial Intelligence and Machine Learning - Phani Da...
PDF
ntroducing to the Power of Graph Technology
PPTX
How Graph Data Science can turbocharge your Knowledge Graph
PDF
Graphs for Data Science and Machine Learning
PDF
3. Relationships Matter: Using Connected Data for Better Machine Learning
PDF
Leveraging Graphs for Artificial Intelligence and Machine Learning - Phani Da...
PDF
Workshop Tel Aviv - Graph Data Science
Leveraging Graphs for Better AI
Leveraging Graphs for Better AI
How Graph Technology is Changing AI
Transforming AI with Graphs: Real World Examples using Spark and Neo4j
Transforming AI with Graphs: Real World Examples using Spark and Neo4j
How Graphs are Changing AI
GraphTour 2020 - Graphs & AI: A Path for Data Science
GraphTour London 2020 - Graphs for AI, Amy Hodler
What Is GDS and Neo4j’s GDS Library
GPT and Graph Data Science to power your Knowledge Graph
GraphSummit Toronto: Leveraging Graphs for AI and ML
Using Connected Data and Graph Technology to Enhance Machine Learning and Art...
Graph Data Science with Neo4j: Nordics Webinar
Leveraging Graphs for Artificial Intelligence and Machine Learning - Phani Da...
ntroducing to the Power of Graph Technology
How Graph Data Science can turbocharge your Knowledge Graph
Graphs for Data Science and Machine Learning
3. Relationships Matter: Using Connected Data for Better Machine Learning
Leveraging Graphs for Artificial Intelligence and Machine Learning - Phani Da...
Workshop Tel Aviv - Graph Data Science
Ad

More from Neo4j (20)

PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
PDF
Jin Foo - Prospa GraphSummit Sydney Presentation.pdf
PDF
GraphSummit Singapore Master Deck - May 20, 2025
PPTX
Graphs & GraphRAG - Essential Ingredients for GenAI
PPTX
Neo4j Knowledge for Customer Experience.pptx
PPTX
GraphTalk New Zealand - The Art of The Possible.pptx
PDF
Neo4j: The Art of the Possible with Graph
PDF
Smarter Knowledge Graphs For Public Sector
PDF
GraphRAG and Knowledge Graphs Exploring AI's Future
PDF
Matinée GenAI & GraphRAG Paris - Décembre 24
PDF
ANZ Presentation: GraphSummit Melbourne 2024
PDF
Google Cloud Presentation GraphSummit Melbourne 2024: Building Generative AI ...
PDF
Telstra Presentation GraphSummit Melbourne: Optimising Business Outcomes with...
PDF
Hands-On GraphRAG Workshop: GraphSummit Melbourne 2024
PDF
Démonstration Digital Twin Building Wire Management
PDF
Swiss Life - Les graphes au service de la détection de fraude dans le domaine...
PDF
Démonstration Supply Chain - GraphTalk Paris
PDF
The Art of Possible - GraphTalk Paris Opening Session
PPTX
How Siemens bolstered supply chain resilience with graph-powered AI insights ...
PDF
Knowledge Graphs for AI-Ready Data and Enterprise Deployment - Gartner IT Sym...
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Jin Foo - Prospa GraphSummit Sydney Presentation.pdf
GraphSummit Singapore Master Deck - May 20, 2025
Graphs & GraphRAG - Essential Ingredients for GenAI
Neo4j Knowledge for Customer Experience.pptx
GraphTalk New Zealand - The Art of The Possible.pptx
Neo4j: The Art of the Possible with Graph
Smarter Knowledge Graphs For Public Sector
GraphRAG and Knowledge Graphs Exploring AI's Future
Matinée GenAI & GraphRAG Paris - Décembre 24
ANZ Presentation: GraphSummit Melbourne 2024
Google Cloud Presentation GraphSummit Melbourne 2024: Building Generative AI ...
Telstra Presentation GraphSummit Melbourne: Optimising Business Outcomes with...
Hands-On GraphRAG Workshop: GraphSummit Melbourne 2024
Démonstration Digital Twin Building Wire Management
Swiss Life - Les graphes au service de la détection de fraude dans le domaine...
Démonstration Supply Chain - GraphTalk Paris
The Art of Possible - GraphTalk Paris Opening Session
How Siemens bolstered supply chain resilience with graph-powered AI insights ...
Knowledge Graphs for AI-Ready Data and Enterprise Deployment - Gartner IT Sym...

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
cuic standard and advanced reporting.pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Cloud computing and distributed systems.
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Spectroscopy.pptx food analysis technology
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Big Data Technologies - Introduction.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Spectral efficient network and resource selection model in 5G networks
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Programs and apps: productivity, graphics, security and other tools
cuic standard and advanced reporting.pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Unlocking AI with Model Context Protocol (MCP)
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Cloud computing and distributed systems.
Digital-Transformation-Roadmap-for-Companies.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
The AUB Centre for AI in Media Proposal.docx
Spectroscopy.pptx food analysis technology
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Big Data Technologies - Introduction.pptx

How Graphs Enhance AI

  • 1. Amy E. Hodler Graph Analytics & AI Program Manager, Neo4j Amy.Hodler@neo4j.com @amyhodler How Graphs Enhance AI Graphs in Data Science Advancing through the Steps of Graph Data Science
  • 5. Financial Crimes Drug Discovery Recommendations Cybersecurity Predictive Maintenance Customer Segmentation Churn Prediction Search/MDM Graphs Data Science Applications
  • 6. “The idea is that graph networks are bigger than any one machine-learning approach. Graphs bring an ability to generalize about structure that the individual neural nets don't have.” "Where do the graphs come from that graph networks operate over?”
  • 8. Building a Graph ML Model Data Sources Native Graph Platform Machine Learning Aggregate Disparate Data and Cleanse Build Predictive Models Unify Graphs and Engineer Features Parquet JSON and more… MLlib and more…
  • 9. Spark Graph Native Graph Platform Machine Learning Example: Spark & Neo4j Workflow Graph Transactions Graph Analytics Cypher 9 in Spark 3.0 to create non- persistent graphs MLlib to Train Models Native Graph Algorithms, Processing, and Storage Morpheus integration
  • 10. Explore Graphs Build Graph Solutions • Massively scalable • Powerful data pipelining • Robust ML Libraries • Non-persistent, non-native graphs • Persistent, dynamic graphs • Graph native query and algorithm performance • Constantly growing list of graph algorithms and embeddings
  • 12. Steps Forward in Graph Data Science Graph Persistence Knowledge Graphs Connected Feature Engineering Graph Native Learning
  • 13. Steps Forward in Graph Data Science Query Based Knowledge Graph Query Based Feature Engineering Graph Algorithm Feature Engineering Graph Embeddings Graph Neural Networks Enterprise Delivery DataScienceComplexity Knowledge Graphs Graph Feature Engineering Graph Native Learning Graph Persistence
  • 14. Steps Forward in Graph Data Science Query Based Knowledge Graph Query Based Feature Engineering Graph Algorithm Feature Engineering Graph Embeddings Graph Neural Networks Enterprise Maturity DataScienceComplexity
  • 15. Query-Based Knowledge Graphs Connecting the Dots • Multiple graph layers of financial information • Includes corporate data with cross-relationships, external news, and customized weighting • Dashboards and tools • Credit risk • Investment risk • Portfolio news recommendations
  • 16. Steps Forward in Graph Data Science Query Based Knowledge Graph Graph Algorithm Feature Engineering Graph Embeddings Graph Neural Networks Query Based Feature Engineering Enterprise Maturity DataScienceComplexity
  • 17. HetioNet is a knowledge graph integrating over 50 years of biomedical data Leveraged to predict new uses for drugs by using the graph topology to create features to predict new links Query-Based Feature Engineering Mining Data for Drug Discovery het.io
  • 18. Query-Based Feature Engineering Mining Data for Drug Discovery HetioNet is a knowledge graph integrating over 50 years of biomedical data Leveraged to predict new uses for drugs by using the graph topology to create features to predict new links het.io
  • 19. Query-Based Feature Engineering Mining Data for Drug Discovery
  • 20. Spark Graph Native Graph Platform Machine Learning • Merge distributed data into DataFrames • Reshape your tables into graphs • Explore cypher queries • Move to Neo4j to build expert queries • Persist your graph Knowledge Graphs: Getting Started Example with Spark • Bring query based graph features to ML pipeline Graph Transactions Graph Analytics
  • 21. Steps Forward in Graph Data Science Query Based Feature Engineering Graph Embeddings Graph Neural Networks Query Based Knowledge Graph Graph Algorithm Feature Engineering Enterprise Maturity DataScienceComplexity
  • 22. Feature Engineering is how we combine and process the data to create new, more meaningful features, such as clustering or connectivity metrics. Graph Connected Feature Engineering Add More Descriptive Features: - Influence - Relationships - Communities Extraction
  • 23. 23 Graph Feature Categories & Algorithms Pathfinding & Search Finds the optimal paths or evaluates route availability and quality Centrality / Importance Determines the importance of distinct nodes in the network Community Detection Detects group clustering or partition options Heuristic Link Prediction Estimates the likelihood of nodes forming a relationship Evaluates how alike nodes are Similarity Embeddings Learned representations of connectivity or topology
  • 24. • Connected components to identify disjointed graphs sharing identifiers • PageRank to measure influence and transaction volumes • Louvain to identify communities that frequently interact • Jaccard to measure account similarity 24 Graph Connected Feature Engineering Financial Crime: Detecting Fraud Large financial institutions already have existing pipelines to identify fraud via heuristics and models Graph based features improve accuracy:
  • 25. +48,000 U.S. Patents for Graph Fraud / Anomaly Detection in the last 10 years
  • 26. Spark Graph Native Graph Platform Machine Learning • Merge distributed data into DataFrames • Reshape your tables into graphs • Explore cypher queries and simple algorithms • Persist your graph • Create rule based features • Run native graph algorithms and write to graph or stream Graph Feature Engineering: Getting Started Example with Spark • Bring graph features to ML pipeline for training Graph Transactions Graph Analytics
  • 27. 27 Graph Algorithms in Neo4J • Parallel Breadth First Search • Parallel Depth First Search • Shortest Path • Single-Source Shortest Path • All Pairs Shortest Path • Minimum Spanning Tree • A* Shortest Path • Yen’s K Shortest Path • K-Spanning Tree (MST) • Random Walk • Degree Centrality • Closeness Centrality • CC Variations: Harmonic, Dangalchev, Wasserman & Faust • Betweenness Centrality • Approximate Betweenness Centrality • PageRank • Personalized PageRank • ArticleRank • Eigenvector Centrality • Triangle Count • Clustering Coefficients • Connected Components (Union Find) • Strongly Connected Components • Label Propagation • Louvain Modularity – 1 Step & Multi-Step • Balanced Triad (identification) • Euclidean Distance • Cosine Similarity • Jaccard Similarity • Overlap Similarity • Pearson Similarity Pathfinding & Search Centrality / Importance Community Detection Similarity neo4j.com/docs/ graph-algorithms/current/ Link Prediction • Adamic Adar • Common Neighbors • Preferential Attachment • Resource Allocations • Same Community • Total Neighbors
  • 28. Steps Forward in Graph Data Science Query Based Knowledge Graph Graph Algorithm Feature Engineering Graph Neural Networks Query Based Feature Engineering Graph Embeddings Enterprise Maturity DataScienceComplexity
  • 29. Embedding transforms graphs into a feature vector, or set of vectors, describing topology, connectivity, or attributes of nodes and edges in the graph 29 Graph Embeddings • Vertex/Node embeddings: describe connectivity of each node • Path embeddings: traversals across the graph • Graph embeddings: encode an entire graph into a single vector
  • 30. Explainable Reasoning over Knowledge Graphs for Recommendation 30 Graph Embeddings - Recommendations
  • 31. 31 Graph Embeddings - Recommendations Explainable Reasoning over Knowledge Graphs for Recommendation
  • 32. Spark Graph Native Graph Platform Machine Learning • Merge distributed data into DataFrames • Reshape your tables into graphs • Explore cypher queries and simple algorithms • Move to Neo4j to build expert queries • Write to persist • Stay tuned for DeepWalk and DeepGL algorithms Graph Feature Engineering-Embedding: Getting Started Example with Spark • Bring graph features to ML pipeline for training Graph Transactions Graph Analytics
  • 33. Steps Forward in Graph Data Science Query Based Knowledge Graph Graph Algorithm Feature Engineering Query Based Feature Engineering Graph Neural Networks Graph Embeddings Enterprise Maturity DataScienceComplexity
  • 34. Deep Learning refers to training multi-layer neural networks using gradient descent 34 Graph Native Learning
  • 35. Graph Native Learning refers to deep learning models that take a graph as an input, performs computations, and return a graph 35 Graph Native Learning Battaglia et al, 2018
  • 36. Example: electron path prediction Bradshaw et al, 2019 36 Graph Native Learning Given reactants and reagents, what will the products be? Given reactants and reagents, what will the products be?
  • 37. Steps Forward in Graph Data Science Query Based Knowledge Graph Query Based Feature Engineering Graph Algorithm Feature Engineering Graph Embeddings Graph Neural Networks Enterprise Delivery DataScienceComplexity Knowledge Graphs Graph Feature Engineering Graph Native Learning Graph Persistence
  • 38. Resources Business • neo4j.com/use-cases/ artificial-intelligence-analytics/ • AI Whitepaper Data Scientists/Developers • neo4j.com/sandbox • neo4j.com/developer/ • community.neo4j.com Amy.Hodler@neo4j.com @amyhodler neo4j.com/ graph-algorithms-book