SlideShare a Scribd company logo
Abstract
Graphs are the most native format to represent the data, it has built-in structure to store the contextual information and enable
data analysts to get better answers for their queries, data engineers to easily extend their eco-system, and data scientists to build
enhanced models. We can make informed decisions. In this presentation, you will learn about the evolution of the Graphs with a
review on knowledge graphs, path finding, clustering, and recommendation algorithms, how they are built and their use cases.
Also, we will review the challenges we face as processing more data comes with a cost, and how they are solved in different faces
of the machine learning lifecycle.
Evolution of Graph
Algorithms – Benefits
and Challenges
By Ebru Cucen
@ebrucucen
2/12/2021
Throughout this talk, I will show graphs in two representations with
- Left Hand Side : the data
- Right Hand Side : the schema
Evolution of Graph Algorithms – Benefits and Challenges
Evolution of Graph Algorithms – Benefits and Challenges
Evolution of Graph Algorithms – Benefits and Challenges
Goal
Graphs are
the most
native data
format
Graphs are
useful for all
roles in the
data habitat
Graphs
opened a
new era in
ML
Evolution of Graph Algorithms – Benefits and Challenges
Historical Timeline
Euler’s
Koninsberg
bridge
“Graph”
introduced
PageRank
Google’s
Knowledge
Graph
Semantic Web
Facebook’s
Entities
Graph
Yahoo’s
Knowledge
Graph
Gori, GNN
McCulloch-Pitts
Neural Nets
DeepMind
Kipf,GCN
1878
1735 1998 1999 2013
2012
2005 2016
2010
1943
Interest in Research
*Title and Abstract search at Dimensions.ai
“Graph” and “Neural” and “Network” *
“Graph” and “Network” *
Evolution of Graph Algorithms – Benefits and Challenges
Evolution of Graph Algorithms – Benefits and Challenges
Roles
Data Analysts
Data/ML Engineers
Data Scientists
# Knowledge Graphs
Evolution of Graph Algorithms – Benefits and Challenges
Evolution of Graph Algorithms – Benefits and Challenges
Let’s ask
Evolution of Graph Algorithms – Benefits and Challenges
Evolution of Graph Algorithms – Benefits and Challenges
https://cacm.acm.org/magazines/2019/8/238342-industry-scale-knowledge-graphs/fulltext
Users
- Ebay
- Product recommendation: node and link similarity
- Microsoft
- Bing Knowledge Graph: Q&A
- Academic Graph
- LinkedIn Graph
- IBM
- Watson Discovery
- Extend core Knowledge Graph
- Facebook
- Social Network Analysis
World Avatar
https://www.sciencedirect.com/science/article/abs/pii/S0098135419301589
http://dx.doi.org/10.1016/j.compchemeng.2019.106586
# Graph Algorithms
Basic Cypher Queries
MATCH p=(t:Talk)-[r:IS_GIVEN_BY]->(s:Speaker)
WHERE s.name= “Geoffrey” AND s.surname= “Hinton” RETURN p
Basic Cypher Queries
MATCH p=(g:Guest)-[r:ATTENDS]->(t:Talk)
WHERE s.name= “A” AND s.surname= “Hinton” RETURN p
Basic Cypher Queries
MATCH p=(s:Speaker)<-[:IS_GIVEN_BY]-(t:Talk)<-[:ATTENDS]-(g:Guest)
WHERE s.name="Geoffrey" and s.surname="Hinton"
RETURN p
Demo
Hume visualisation
E2E Process
Evolution of Graph Algorithms – Benefits and Challenges
What is the shortest path from Victoria to Liverpool Street Station?
Evolution of Graph Algorithms – Benefits and Challenges
Inherently Graph
Use cases
● Telephone network
● Internet packet routing
● Manufacturing
https://www.sciencedirect.com/science/article/abs/pii/S1570826818300672
Inherently Graph
Use cases
● Telephone network
● Internet packet routing
● Manufacturing
● Human Brain
● Neural nets are networks
# Graph Neural Networks
ML - 101
X
Input
=Layer 0
Output
1ST
Layer=Z[1]
Z ŷ
y = mx + b
ML - 101 - Forward Propagation
x1
x2
Input
=Layer 0
Output
1ST
Layer=Z[1]
Z1
ŷ
Z2
y = w1
x1
+ w2
x2
+ b
ML - 101 Backward Propagation
x1
x2
Input
=Layer 0
Output
1ST
Layer=Z[1]
Z1
ŷ
Z2
y = w1
x1
+ w2
x2
+ b
ML - 101 Model & Prediction
x1
x2
Input
=Layer 0
Output
1ST
Layer=Z[1]
Z1
Z2
ŷ
X =
x1 # of Beds
x2 PostCode
y = House sales price
Neural Networks - 101
x1
x2
Input
=Layer 0
Output
1ST
Layer=Z[1]
X =
z1
1
z1
2
z1
3
a1
1
a1
2
a1
3
a2
z2
ŷ
a3
z3
a2
z2
z1
4
2ND
Layer=Z[2]
3RD
Layer=Z[3]
X1
X2
a1
4
Neural Networks - 101
x1
x2
Input
=Layer 0
Output
1ST
Layer=Z[1]
X =
z1
1
z1
2
z1
3
a1
1
a1
2
a1
3
a2
z2
ŷ
a3
z3
a2
z2
a
2
z2
2ND
Layer=Z[2]
3RD
Layer=Z[3]
X1
X2
z= ∑Wi
xi
+ b
z= ∑Wx1
+ ∑Wx2
+ b
X =
a= σ(Z)
Z[1]
=
z11
z12
z21
z22
z31
z32
z41
z42
X1
X2
Layer 0 Output
1 Layer=Z[1]
a2
ŷ
Challenge
Evolution of Graph Algorithms – Benefits and Challenges
Karate Club
Karate Club
- Adjacency List
- Adjacency Matrix
N1 N2 N3
N1
N2
N3
Representing Graphs
https://distill.pub/2021/gnn-intro/
https://github.com/distillpub/post--gnn-intro
Clustering
Original Graph
https://arxiv.org/pdf/1609.02907.pdf
Greedy Clustering
https://doi.ieeecomputersociety.org/10.1109/TKDE.2007.190689
GCN
GCN
- Kipf(2007)*
https://arxiv.org/abs/1609.02907
GCN
GCN
- Kipf(2007)*
https://pytorch-geometric.readthedocs.io/en/latest/modules/nn.html
https://arxiv.org/abs/1609.02907
Torch.Geometric GCNConv
Karate club with GCN
Final Output
Karate club with GCN
Put original graph
Calculating Loss Function
Node/Edge/Graph classification
Zi
=f(hi
) Zij
=f(hi
,hj
,eij
) ZG
=f(∑i
hi)
Calculating Loss Function
Node/Edge/Graph classification
Zi
=f(hi
) Zij
=f(hi
,hj
,eij
) ZG
=f(∑i
hi)
Random Walks
- Drunk person walking
- Equal probability of paths to adjacent nodes
- Max uncertainty (local entropy)
- Measure structure of graph
- Sampling
# Summary
Conclusion
• Graph is the most native data format with built-in
semantic
• Graph opened a new era in machine learning none
of us can ignore
• Graph is very useful for all roles for E2E process
# Questions

More Related Content

PDF
How Graphs Enhance AI
PPTX
GraphTour Boston - Graphs for AI and ML
PDF
Leveraging Graphs for Better AI
PDF
Leveraging Graphs for Better AI
PDF
GraphTour 2020 - Graphs & AI: A Path for Data Science
PDF
How Graph Technology is Changing AI
PDF
CC-4007, Large-Scale Machine Learning on Graphs, by Yucheng Low, Joseph Gonza...
PDF
Graph Analyses with Python and NetworkX
How Graphs Enhance AI
GraphTour Boston - Graphs for AI and ML
Leveraging Graphs for Better AI
Leveraging Graphs for Better AI
GraphTour 2020 - Graphs & AI: A Path for Data Science
How Graph Technology is Changing AI
CC-4007, Large-Scale Machine Learning on Graphs, by Yucheng Low, Joseph Gonza...
Graph Analyses with Python and NetworkX

Similar to Evolution of Graph Algorithms – Benefits and Challenges (20)

PPTX
Knowledge Graphs and Milestone
PDF
Joey gonzalez, graph lab, m lconf 2013
PPTX
Graphs for Ai and ML
PDF
High-Performance Graph Analysis and Modeling
PPTX
How Graphs are Changing AI
PDF
Graph Analysis Beyond Linear Algebra
PDF
Representation learning on graphs
PDF
GraphTour London 2020 - Graphs for AI, Amy Hodler
PDF
Using Knowledge Graphs in Data Science - From Symbolic to Latent Representati...
PDF
Graph Algorithms - Map-Reduce Graph Processing
PPTX
Chapter 3.pptx
PDF
Graph Realities
PDF
What Is GDS and Neo4j’s GDS Library
PDF
Transforming AI with Graphs: Real World Examples using Spark and Neo4j
PDF
Transforming AI with Graphs: Real World Examples using Spark and Neo4j
PPT
Pagerank (from Google)
PPT
Lec5 Pagerank
PPT
Lec5 pagerank
PPT
Lec5 Pagerank
PPTX
Everything About Graphs in Data Structures.pptx
Knowledge Graphs and Milestone
Joey gonzalez, graph lab, m lconf 2013
Graphs for Ai and ML
High-Performance Graph Analysis and Modeling
How Graphs are Changing AI
Graph Analysis Beyond Linear Algebra
Representation learning on graphs
GraphTour London 2020 - Graphs for AI, Amy Hodler
Using Knowledge Graphs in Data Science - From Symbolic to Latent Representati...
Graph Algorithms - Map-Reduce Graph Processing
Chapter 3.pptx
Graph Realities
What Is GDS and Neo4j’s GDS Library
Transforming AI with Graphs: Real World Examples using Spark and Neo4j
Transforming AI with Graphs: Real World Examples using Spark and Neo4j
Pagerank (from Google)
Lec5 Pagerank
Lec5 pagerank
Lec5 Pagerank
Everything About Graphs in Data Structures.pptx
Ad

More from Ebru Cucen Çüçen (10)

PDF
How to Decentralise Controls (Hint: BDD on Policies)
PDF
Observability
PDF
Observability
PDF
Ebru cucen cloudnativeconference_20190925
PDF
PDF
Compliance As Code
PDF
Automating AWS And Azure Resources with Octopus Deploy
PDF
CI/CD Pipeline with Octopus Deploy
PDF
Azure WebApp Deployment Slots
How to Decentralise Controls (Hint: BDD on Policies)
Observability
Observability
Ebru cucen cloudnativeconference_20190925
Compliance As Code
Automating AWS And Azure Resources with Octopus Deploy
CI/CD Pipeline with Octopus Deploy
Azure WebApp Deployment Slots
Ad

Recently uploaded (20)

PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
Database Infoormation System (DBIS).pptx
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PDF
Foundation of Data Science unit number two notes
PPTX
Business Acumen Training GuidePresentation.pptx
PPTX
Introduction to Knowledge Engineering Part 1
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PPTX
climate analysis of Dhaka ,Banglades.pptx
PPTX
1_Introduction to advance data techniques.pptx
PDF
Business Analytics and business intelligence.pdf
PPTX
Qualitative Qantitative and Mixed Methods.pptx
PDF
Fluorescence-microscope_Botany_detailed content
PDF
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
oil_refinery_comprehensive_20250804084928 (1).pptx
ISS -ESG Data flows What is ESG and HowHow
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Business Ppt On Nestle.pptx huunnnhhgfvu
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
Supervised vs unsupervised machine learning algorithms
Database Infoormation System (DBIS).pptx
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
Foundation of Data Science unit number two notes
Business Acumen Training GuidePresentation.pptx
Introduction to Knowledge Engineering Part 1
Introduction-to-Cloud-ComputingFinal.pptx
climate analysis of Dhaka ,Banglades.pptx
1_Introduction to advance data techniques.pptx
Business Analytics and business intelligence.pdf
Qualitative Qantitative and Mixed Methods.pptx
Fluorescence-microscope_Botany_detailed content
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf

Evolution of Graph Algorithms – Benefits and Challenges