SlideShare a Scribd company logo
1 of 32
Download to read offline
Glocalized Weisfeiler-Lehman Graph Kernels:
Local-Global Feature Maps of Graphs
IEEE ICDM 2017
Christopher Morris, Kristian Kersting, Petra Mutzel
20. November 2017
TU Dortmund University, Algorithm Engineering Group
TU Darmstadt, Machine Learning Group
Motivation
Question
How similar are two graphs?
(a) Sildenafil (b) Vardenafil
1
High-level View: Supervised Graph Classification
2
High-level View: Supervised Graph Classification
⊆ H
φ: G → H
2
High-level View: Supervised Graph Classification
⊆ H
φ: G → H
2
Primer on Graph Kernels
Question
How similar are two graphs?
3
Primer on Graph Kernels
Question
How similar are two graphs?
Definition (Graph Kernel)
Let 𝒢 be a non-empty set of graphs and let k: 𝒢 × 𝒢 → R. Then k is
a graph kernel if there is a Hilbert space ℋ and a feature map
𝜑: 𝒢 → ℋ such that k(G, H) = ⟨𝜑(G), 𝜑(H)⟩.
3
Example: Weisfeiler-Lehman Subtree Kernel
Idea
Graph kernel based on well-known heuristic for graph
isomorphism testing: 1-WL or color refinement
Iteration: Two vertices get same colors iff if they have the same
colored neighborhood
N. Shervashidze, P. Schweitzer, E. J. van Leeuwen, K. Mehlhorn, and K. M. Borgwardt.
“Weisfeiler-Lehman Graph Kernels”. In: Journal of Machine Learning Research 12 (2011),
pp. 2539–2561 4
Example: Weisfeiler-Lehman Subtree Kernel
Idea
Graph kernel based on well-known heuristic for graph
isomorphism testing: 1-WL or color refinement
Iteration: Two vertices get same colors iff if they have the same
colored neighborhood
𝜑(G1) = ( )
(a) G1
𝜑(G2) = ( )
(b) G2
N. Shervashidze, P. Schweitzer, E. J. van Leeuwen, K. Mehlhorn, and K. M. Borgwardt.
“Weisfeiler-Lehman Graph Kernels”. In: Journal of Machine Learning Research 12 (2011),
pp. 2539–2561 4
Example: Weisfeiler-Lehman Subtree Kernel
Idea
Graph kernel based on well-known heuristic for graph
isomorphism testing: 1-WL or color refinement
Iteration: Two vertices get same colors iff if they have the same
colored neighborhood
𝜑(G1) = (2, 2, 2, )
(a) G1
𝜑(G2) = (1, 1, 3, )
(b) G2
N. Shervashidze, P. Schweitzer, E. J. van Leeuwen, K. Mehlhorn, and K. M. Borgwardt.
“Weisfeiler-Lehman Graph Kernels”. In: Journal of Machine Learning Research 12 (2011),
pp. 2539–2561 4
Example: Weisfeiler-Lehman Subtree Kernel
Idea
Graph kernel based on well-known heuristic for graph
isomorphism testing: 1-WL or color refinement
Iteration: Two vertices get same colors iff if they have the same
colored neighborhood
𝜑(G1) = (2, 2, 2, 2, 2, 2, 0, 0)
(a) G1
𝜑(G2) = (1, 1, 3, 2, 0, 1, 1, 1)
(b) G2
N. Shervashidze, P. Schweitzer, E. J. van Leeuwen, K. Mehlhorn, and K. M. Borgwardt.
“Weisfeiler-Lehman Graph Kernels”. In: Journal of Machine Learning Research 12 (2011),
pp. 2539–2561 4
Global vs. Local Graph Properties
Observation
Most graph kernels only take local graph properties into account,
e.g., they look at h-neighborhood around vertices.
h
5
Global vs. Local Graph Properties
Observation
Most graph kernels only take local graph properties into account,
e.g., they look at h-neighborhood around vertices.
h
Challenge
Design a scalable graph kernel that can take local as well global
graph properties into account.
5
Talk Structure
1 k-Dimensional Weisfeiler-Lehman
2 A Local Kernel Based on the k-dim. WL
3 Approximation Algorithms
4 Experimental Evaluation
6
k-Dimensional Weisfeiler-Lehman
k-dimensional Weisfeiler-Lehman
• Colors vertex tuples from Vk
• Two tuples v, w are i-neighbors if vj = wj for all j ̸= i
Idea of the Algorithm
Initially Initially two k-tuples v, w get the same color if vi ↦→ wi
induces a (graph) isomorphism between G[v] and G[w]
Iteration Two tuples with the same color get different colors if
there exists a color c and 1 ≤ i ≤ k such that v and w
have different i-neighbors of color c 7
Local k-dimensional WL
Idea
Define “local neighborhood” by taking underlying graph structure
into account.
8
Local k-dimensional WL
Idea
Define “local neighborhood” by taking underlying graph structure
into account.
v1 v2 v3
v4 v5 v6
(a) Subset of local neighborhood.
v1 v2 v3
v4 v5 v6
(b) Subset of global neighborhood.
8
Local k-dimensional WL
Idea
Define “local neighborhood” by taking underlying graph structure
into account.
v1 v2 v3
v4 v5 v6
(a) Subset of local neighborhood.
v1 v2 v3
v4 v5 v6
(b) Subset of global neighborhood.
Advantages
1 Considers “local” properties
2 Respects sparsity of original graph
3 Can be approximated by sampling 8
Scalability: Approximation by Sampling
Problem
Algorithm does not scale.
9
Scalability: Approximation by Sampling
Problem
Algorithm does not scale.
Solution
Approximate feature vector after h iterations by sampling.
9
Scalability: Approximation by Sampling
Problem
Algorithm does not scale.
Solution
Approximate feature vector after h iterations by sampling.
Highlevel Idea of Algorithm
1 Sample a number of subsets of size k
2 Explore h-neighborhood around each such set
3 Compute algorithm on each h-neighborhood
9
Scalability: Approximation by Sampling
Question
Why does this lead to correct results?
10
Scalability: Approximation by Sampling
Question
Why does this lead to correct results?
t
1
2
3
0
Insight
Color of central k-set t after h iterations is correct. 10
Scalability: Approximation by Sampling
Theorem (Informal)
With high probability the sampling algorithm approximates the
(normalized) feature vector of the local k-dimension WL such that
⃦
⃦
⃦̂︀𝜑k-LWL(G) − ̃︀𝜑k-LWL(G)
⃦
⃦
⃦
1
≤ 𝜀1 .
For bounded-degree graphs the running time is independent of the
size of the graph, i.e. the number of nodes and edges.
11
Scalability: Approximation by Sampling
Theorem (Informal)
Given a finite set 𝒢 of graphs. With high probability the sampling
algorithm approximate the kernel function of the local k-dimension
WL such that
sup
G,H∈𝒢
⃒
⃒
⃒̂︀kh
k-LWL(G, H) − ̃︀kh
k-LWL(G, H)
⃒
⃒
⃒ ≤ 𝜖2 .
For bounded-degree graphs the running time is independent of the
size of the graph, i.e. the number of nodes and edges.
12
Scalability: Approximation by Sampling
Problems
1 Algorithm is restricted to bounded-degree graphs!
2 How do we compute the sample size for general graphs?
13
Scalability: Approximation by Sampling
Problems
1 Algorithm is restricted to bounded-degree graphs!
2 How do we compute the sample size for general graphs?
Solution: Adaptive Sampling Algorithm
while Desired accurracy is not reached do
Increase sample size
Compute h neighborhoods for new sample
Compute algorithm in each h-neighborhood
end while
13
Scalability: Approximation by Adaptive Sampling
Theorem (Informal)
Let G be a graph, then the above procedure approximates the
normalized feature vector ̂︀𝜑k-LWL(G) of the k-LWL for h iterations
such that with high probability
sup
l∈Σ
⃒
⃒
⃒̂︀𝜑k-LWL(G)l − ̃︀𝜑k-LWL(G)l
⃒
⃒
⃒ ≤ 𝜀3 .
14
Scalability: Approximation by Adaptive Sampling
Theorem (Informal)
Let G be a graph, then the above procedure approximates the
normalized feature vector ̂︀𝜑k-LWL(G) of the k-LWL for h iterations
such that with high probability
sup
l∈Σ
⃒
⃒
⃒̂︀𝜑k-LWL(G)l − ̃︀𝜑k-LWL(G)l
⃒
⃒
⃒ ≤ 𝜀3 .
Remark
Proof relies on self-bounding properties of bounds based on
conditional Rademacher Averages.
14
Experimental Evaluation: Classification Accurary
PROTEINS
REDDIT
ENZYMES
IMDB-BINARY NCI1
MUTAG
0
10
20
30
40
50
60
70
80
90ClassificationAccuracy
3-LWL
1-LWL
3-GWL
15
Experimental Evaluation: Running Times
3-LWL-SP(0.1)
3-LWL-S(0.1)
3-LWL-SP(0.05)
3-LWL-S(0.05)
3-LWL-L
3-LWL-P
3-LWL
Algorithm
0
1000
2000
3000
4000
5000
6000
7000
8000
RunningTimes[s]
PROTEINS
16
Conclusion
1 Graph kernel based on k-dimensional Weisfeiler-Lehman
• Considers local as well as global graph properties
2 Approximation algorithms based on sampling
• Constant running time for bounded-degree graphs
• Adaptive sampling algorithm for general graphs
3 Promising experimental results
Collection of Graph Classification Benchmarks
graphkernels.cs.tu-dortmund.de
17

More Related Content

What's hot

Community detection in graphs
Community detection in graphsCommunity detection in graphs
Community detection in graphsNicola Barbieri
 
Network embedding
Network embeddingNetwork embedding
Network embeddingSOYEON KIM
 
Edge Detection algorithm and code
Edge Detection algorithm and codeEdge Detection algorithm and code
Edge Detection algorithm and codeVaddi Manikanta
 
Webinar on Graph Neural Networks
Webinar on Graph Neural NetworksWebinar on Graph Neural Networks
Webinar on Graph Neural NetworksLucaCrociani1
 
Algorithms Lecture 3: Analysis of Algorithms II
Algorithms Lecture 3: Analysis of Algorithms IIAlgorithms Lecture 3: Analysis of Algorithms II
Algorithms Lecture 3: Analysis of Algorithms IIMohamed Loey
 
Graph theory concepts complex networks presents-rouhollah nabati
Graph theory concepts   complex networks presents-rouhollah nabatiGraph theory concepts   complex networks presents-rouhollah nabati
Graph theory concepts complex networks presents-rouhollah nabatinabati
 
Introduction to Linear Discriminant Analysis
Introduction to Linear Discriminant AnalysisIntroduction to Linear Discriminant Analysis
Introduction to Linear Discriminant AnalysisJaclyn Kokx
 
Graph Theory: Cut-Set and Cut-Vertices
Graph Theory: Cut-Set and Cut-VerticesGraph Theory: Cut-Set and Cut-Vertices
Graph Theory: Cut-Set and Cut-VerticesAshikur Rahman
 
Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)Muhammad Haroon
 
Human pose estimation with deep learning
Human pose estimation with deep learningHuman pose estimation with deep learning
Human pose estimation with deep learningengiyad95
 
[OSGeo-KR Tech Workshop] Deep Learning for Single Image Super-Resolution
[OSGeo-KR Tech Workshop] Deep Learning for Single Image Super-Resolution[OSGeo-KR Tech Workshop] Deep Learning for Single Image Super-Resolution
[OSGeo-KR Tech Workshop] Deep Learning for Single Image Super-ResolutionTaegyun Jeon
 
(Paper Seminar detailed version) BART: Denoising Sequence-to-Sequence Pre-tra...
(Paper Seminar detailed version) BART: Denoising Sequence-to-Sequence Pre-tra...(Paper Seminar detailed version) BART: Denoising Sequence-to-Sequence Pre-tra...
(Paper Seminar detailed version) BART: Denoising Sequence-to-Sequence Pre-tra...hyunyoung Lee
 
VJAI Paper Reading#3-KDD2019-ClusterGCN
VJAI Paper Reading#3-KDD2019-ClusterGCNVJAI Paper Reading#3-KDD2019-ClusterGCN
VJAI Paper Reading#3-KDD2019-ClusterGCNDat Nguyen
 
Convolutional neural network
Convolutional neural networkConvolutional neural network
Convolutional neural networkMojammilHusain
 
Machine learning with graph
Machine learning with graphMachine learning with graph
Machine learning with graphDing Li
 
Cluster validation
Cluster validationCluster validation
Cluster validationRohitPaul52
 

What's hot (20)

Community detection in graphs
Community detection in graphsCommunity detection in graphs
Community detection in graphs
 
Network embedding
Network embeddingNetwork embedding
Network embedding
 
Edge Detection algorithm and code
Edge Detection algorithm and codeEdge Detection algorithm and code
Edge Detection algorithm and code
 
Pixelrelationships
PixelrelationshipsPixelrelationships
Pixelrelationships
 
Webinar on Graph Neural Networks
Webinar on Graph Neural NetworksWebinar on Graph Neural Networks
Webinar on Graph Neural Networks
 
Algorithms Lecture 3: Analysis of Algorithms II
Algorithms Lecture 3: Analysis of Algorithms IIAlgorithms Lecture 3: Analysis of Algorithms II
Algorithms Lecture 3: Analysis of Algorithms II
 
Graph theory concepts complex networks presents-rouhollah nabati
Graph theory concepts   complex networks presents-rouhollah nabatiGraph theory concepts   complex networks presents-rouhollah nabati
Graph theory concepts complex networks presents-rouhollah nabati
 
Adaline and Madaline.ppt
Adaline and Madaline.pptAdaline and Madaline.ppt
Adaline and Madaline.ppt
 
Introduction to Linear Discriminant Analysis
Introduction to Linear Discriminant AnalysisIntroduction to Linear Discriminant Analysis
Introduction to Linear Discriminant Analysis
 
Graph Theory: Cut-Set and Cut-Vertices
Graph Theory: Cut-Set and Cut-VerticesGraph Theory: Cut-Set and Cut-Vertices
Graph Theory: Cut-Set and Cut-Vertices
 
Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)
 
Human pose estimation with deep learning
Human pose estimation with deep learningHuman pose estimation with deep learning
Human pose estimation with deep learning
 
[OSGeo-KR Tech Workshop] Deep Learning for Single Image Super-Resolution
[OSGeo-KR Tech Workshop] Deep Learning for Single Image Super-Resolution[OSGeo-KR Tech Workshop] Deep Learning for Single Image Super-Resolution
[OSGeo-KR Tech Workshop] Deep Learning for Single Image Super-Resolution
 
(Paper Seminar detailed version) BART: Denoising Sequence-to-Sequence Pre-tra...
(Paper Seminar detailed version) BART: Denoising Sequence-to-Sequence Pre-tra...(Paper Seminar detailed version) BART: Denoising Sequence-to-Sequence Pre-tra...
(Paper Seminar detailed version) BART: Denoising Sequence-to-Sequence Pre-tra...
 
VJAI Paper Reading#3-KDD2019-ClusterGCN
VJAI Paper Reading#3-KDD2019-ClusterGCNVJAI Paper Reading#3-KDD2019-ClusterGCN
VJAI Paper Reading#3-KDD2019-ClusterGCN
 
deep learning
deep learningdeep learning
deep learning
 
Convolutional neural network
Convolutional neural networkConvolutional neural network
Convolutional neural network
 
Machine learning with graph
Machine learning with graphMachine learning with graph
Machine learning with graph
 
Cluster validation
Cluster validationCluster validation
Cluster validation
 
Data analytics with R
Data analytics with RData analytics with R
Data analytics with R
 

Similar to Glocalized Weisfeiler-Lehman Graph Kernels: Global-Local Feature Maps of Graphs

Incremental and parallel computation of structural graph summaries for evolvi...
Incremental and parallel computation of structural graph summaries for evolvi...Incremental and parallel computation of structural graph summaries for evolvi...
Incremental and parallel computation of structural graph summaries for evolvi...Till Blume
 
Minimizing cost in distributed multiquery processing applications
Minimizing cost in distributed multiquery processing applicationsMinimizing cost in distributed multiquery processing applications
Minimizing cost in distributed multiquery processing applicationsLuis Galárraga
 
MLIP - Chapter 6 - Generation, Super-Resolution, Style transfer
MLIP - Chapter 6 - Generation, Super-Resolution, Style transferMLIP - Chapter 6 - Generation, Super-Resolution, Style transfer
MLIP - Chapter 6 - Generation, Super-Resolution, Style transferCharles Deledalle
 
Large-Scale Graph Computation on Just a PC: Aapo Kyrola Ph.D. thesis defense
Large-Scale Graph Computation on Just a PC: Aapo Kyrola Ph.D. thesis defenseLarge-Scale Graph Computation on Just a PC: Aapo Kyrola Ph.D. thesis defense
Large-Scale Graph Computation on Just a PC: Aapo Kyrola Ph.D. thesis defenseAapo Kyrölä
 
Big data matrix factorizations and Overlapping community detection in graphs
Big data matrix factorizations and Overlapping community detection in graphsBig data matrix factorizations and Overlapping community detection in graphs
Big data matrix factorizations and Overlapping community detection in graphsDavid Gleich
 
Svm map reduce_slides
Svm map reduce_slidesSvm map reduce_slides
Svm map reduce_slidesSara Asher
 
Lego like spheres and tori, enumeration and drawings
Lego like spheres and tori, enumeration and drawingsLego like spheres and tori, enumeration and drawings
Lego like spheres and tori, enumeration and drawingsMathieu Dutour Sikiric
 
141222 graphulo ingraphblas
141222 graphulo ingraphblas141222 graphulo ingraphblas
141222 graphulo ingraphblasMIT
 
141205 graphulo ingraphblas
141205 graphulo ingraphblas141205 graphulo ingraphblas
141205 graphulo ingraphblasgraphulo
 
Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks, arXiv e-...
Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks, arXiv e-...Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks, arXiv e-...
Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks, arXiv e-...ssuser2624f71
 
240415_Thuy_Labseminar[Simple and Asymmetric Graph Contrastive Learning witho...
240415_Thuy_Labseminar[Simple and Asymmetric Graph Contrastive Learning witho...240415_Thuy_Labseminar[Simple and Asymmetric Graph Contrastive Learning witho...
240415_Thuy_Labseminar[Simple and Asymmetric Graph Contrastive Learning witho...thanhdowork
 
2012 mdsp pr08 nonparametric approach
2012 mdsp pr08 nonparametric approach2012 mdsp pr08 nonparametric approach
2012 mdsp pr08 nonparametric approachnozomuhamada
 
Quantum persistent k cores for community detection
Quantum persistent k cores for community detectionQuantum persistent k cores for community detection
Quantum persistent k cores for community detectionColleen Farrelly
 

Similar to Glocalized Weisfeiler-Lehman Graph Kernels: Global-Local Feature Maps of Graphs (20)

Incremental and parallel computation of structural graph summaries for evolvi...
Incremental and parallel computation of structural graph summaries for evolvi...Incremental and parallel computation of structural graph summaries for evolvi...
Incremental and parallel computation of structural graph summaries for evolvi...
 
Minimizing cost in distributed multiquery processing applications
Minimizing cost in distributed multiquery processing applicationsMinimizing cost in distributed multiquery processing applications
Minimizing cost in distributed multiquery processing applications
 
06 mlp
06 mlp06 mlp
06 mlp
 
MLIP - Chapter 6 - Generation, Super-Resolution, Style transfer
MLIP - Chapter 6 - Generation, Super-Resolution, Style transferMLIP - Chapter 6 - Generation, Super-Resolution, Style transfer
MLIP - Chapter 6 - Generation, Super-Resolution, Style transfer
 
Large-Scale Graph Computation on Just a PC: Aapo Kyrola Ph.D. thesis defense
Large-Scale Graph Computation on Just a PC: Aapo Kyrola Ph.D. thesis defenseLarge-Scale Graph Computation on Just a PC: Aapo Kyrola Ph.D. thesis defense
Large-Scale Graph Computation on Just a PC: Aapo Kyrola Ph.D. thesis defense
 
Big data matrix factorizations and Overlapping community detection in graphs
Big data matrix factorizations and Overlapping community detection in graphsBig data matrix factorizations and Overlapping community detection in graphs
Big data matrix factorizations and Overlapping community detection in graphs
 
Exhaustive Combinatorial Enumeration
Exhaustive Combinatorial EnumerationExhaustive Combinatorial Enumeration
Exhaustive Combinatorial Enumeration
 
graph theory
graph theorygraph theory
graph theory
 
Svm map reduce_slides
Svm map reduce_slidesSvm map reduce_slides
Svm map reduce_slides
 
Lego like spheres and tori, enumeration and drawings
Lego like spheres and tori, enumeration and drawingsLego like spheres and tori, enumeration and drawings
Lego like spheres and tori, enumeration and drawings
 
gSpan algorithm
 gSpan algorithm gSpan algorithm
gSpan algorithm
 
gSpan algorithm
gSpan algorithmgSpan algorithm
gSpan algorithm
 
Planted Clique Research Paper
Planted Clique Research PaperPlanted Clique Research Paper
Planted Clique Research Paper
 
141222 graphulo ingraphblas
141222 graphulo ingraphblas141222 graphulo ingraphblas
141222 graphulo ingraphblas
 
141205 graphulo ingraphblas
141205 graphulo ingraphblas141205 graphulo ingraphblas
141205 graphulo ingraphblas
 
Graph Coloring using Peer-to-Peer Networks
Graph Coloring using Peer-to-Peer NetworksGraph Coloring using Peer-to-Peer Networks
Graph Coloring using Peer-to-Peer Networks
 
Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks, arXiv e-...
Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks, arXiv e-...Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks, arXiv e-...
Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks, arXiv e-...
 
240415_Thuy_Labseminar[Simple and Asymmetric Graph Contrastive Learning witho...
240415_Thuy_Labseminar[Simple and Asymmetric Graph Contrastive Learning witho...240415_Thuy_Labseminar[Simple and Asymmetric Graph Contrastive Learning witho...
240415_Thuy_Labseminar[Simple and Asymmetric Graph Contrastive Learning witho...
 
2012 mdsp pr08 nonparametric approach
2012 mdsp pr08 nonparametric approach2012 mdsp pr08 nonparametric approach
2012 mdsp pr08 nonparametric approach
 
Quantum persistent k cores for community detection
Quantum persistent k cores for community detectionQuantum persistent k cores for community detection
Quantum persistent k cores for community detection
 

Recently uploaded

Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLkantirani197
 
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptxSCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptxRizalinePalanog2
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfrohankumarsinghrore1
 
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Monika Rani
 
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICESAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICEayushi9330
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencySheetal Arora
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksSérgio Sacani
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .Poonam Aher Patil
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPirithiRaju
 
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)Joonhun Lee
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bSérgio Sacani
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)Areesha Ahmad
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learninglevieagacer
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfSumit Kumar yadav
 
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...ssuser79fe74
 
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...Lokesh Kothari
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000Sapana Sha
 
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts ServiceJustdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Servicemonikaservice1
 

Recently uploaded (20)

Site Acceptance Test .
Site Acceptance Test                    .Site Acceptance Test                    .
Site Acceptance Test .
 
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
 
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptxSCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
 
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICESAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learning
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdf
 
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
 
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts ServiceJustdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
 

Glocalized Weisfeiler-Lehman Graph Kernels: Global-Local Feature Maps of Graphs

  • 1. Glocalized Weisfeiler-Lehman Graph Kernels: Local-Global Feature Maps of Graphs IEEE ICDM 2017 Christopher Morris, Kristian Kersting, Petra Mutzel 20. November 2017 TU Dortmund University, Algorithm Engineering Group TU Darmstadt, Machine Learning Group
  • 2. Motivation Question How similar are two graphs? (a) Sildenafil (b) Vardenafil 1
  • 3. High-level View: Supervised Graph Classification 2
  • 4. High-level View: Supervised Graph Classification ⊆ H φ: G → H 2
  • 5. High-level View: Supervised Graph Classification ⊆ H φ: G → H 2
  • 6. Primer on Graph Kernels Question How similar are two graphs? 3
  • 7. Primer on Graph Kernels Question How similar are two graphs? Definition (Graph Kernel) Let 𝒢 be a non-empty set of graphs and let k: 𝒢 × 𝒢 → R. Then k is a graph kernel if there is a Hilbert space ℋ and a feature map 𝜑: 𝒢 → ℋ such that k(G, H) = ⟨𝜑(G), 𝜑(H)⟩. 3
  • 8. Example: Weisfeiler-Lehman Subtree Kernel Idea Graph kernel based on well-known heuristic for graph isomorphism testing: 1-WL or color refinement Iteration: Two vertices get same colors iff if they have the same colored neighborhood N. Shervashidze, P. Schweitzer, E. J. van Leeuwen, K. Mehlhorn, and K. M. Borgwardt. “Weisfeiler-Lehman Graph Kernels”. In: Journal of Machine Learning Research 12 (2011), pp. 2539–2561 4
  • 9. Example: Weisfeiler-Lehman Subtree Kernel Idea Graph kernel based on well-known heuristic for graph isomorphism testing: 1-WL or color refinement Iteration: Two vertices get same colors iff if they have the same colored neighborhood 𝜑(G1) = ( ) (a) G1 𝜑(G2) = ( ) (b) G2 N. Shervashidze, P. Schweitzer, E. J. van Leeuwen, K. Mehlhorn, and K. M. Borgwardt. “Weisfeiler-Lehman Graph Kernels”. In: Journal of Machine Learning Research 12 (2011), pp. 2539–2561 4
  • 10. Example: Weisfeiler-Lehman Subtree Kernel Idea Graph kernel based on well-known heuristic for graph isomorphism testing: 1-WL or color refinement Iteration: Two vertices get same colors iff if they have the same colored neighborhood 𝜑(G1) = (2, 2, 2, ) (a) G1 𝜑(G2) = (1, 1, 3, ) (b) G2 N. Shervashidze, P. Schweitzer, E. J. van Leeuwen, K. Mehlhorn, and K. M. Borgwardt. “Weisfeiler-Lehman Graph Kernels”. In: Journal of Machine Learning Research 12 (2011), pp. 2539–2561 4
  • 11. Example: Weisfeiler-Lehman Subtree Kernel Idea Graph kernel based on well-known heuristic for graph isomorphism testing: 1-WL or color refinement Iteration: Two vertices get same colors iff if they have the same colored neighborhood 𝜑(G1) = (2, 2, 2, 2, 2, 2, 0, 0) (a) G1 𝜑(G2) = (1, 1, 3, 2, 0, 1, 1, 1) (b) G2 N. Shervashidze, P. Schweitzer, E. J. van Leeuwen, K. Mehlhorn, and K. M. Borgwardt. “Weisfeiler-Lehman Graph Kernels”. In: Journal of Machine Learning Research 12 (2011), pp. 2539–2561 4
  • 12. Global vs. Local Graph Properties Observation Most graph kernels only take local graph properties into account, e.g., they look at h-neighborhood around vertices. h 5
  • 13. Global vs. Local Graph Properties Observation Most graph kernels only take local graph properties into account, e.g., they look at h-neighborhood around vertices. h Challenge Design a scalable graph kernel that can take local as well global graph properties into account. 5
  • 14. Talk Structure 1 k-Dimensional Weisfeiler-Lehman 2 A Local Kernel Based on the k-dim. WL 3 Approximation Algorithms 4 Experimental Evaluation 6
  • 15. k-Dimensional Weisfeiler-Lehman k-dimensional Weisfeiler-Lehman • Colors vertex tuples from Vk • Two tuples v, w are i-neighbors if vj = wj for all j ̸= i Idea of the Algorithm Initially Initially two k-tuples v, w get the same color if vi ↦→ wi induces a (graph) isomorphism between G[v] and G[w] Iteration Two tuples with the same color get different colors if there exists a color c and 1 ≤ i ≤ k such that v and w have different i-neighbors of color c 7
  • 16. Local k-dimensional WL Idea Define “local neighborhood” by taking underlying graph structure into account. 8
  • 17. Local k-dimensional WL Idea Define “local neighborhood” by taking underlying graph structure into account. v1 v2 v3 v4 v5 v6 (a) Subset of local neighborhood. v1 v2 v3 v4 v5 v6 (b) Subset of global neighborhood. 8
  • 18. Local k-dimensional WL Idea Define “local neighborhood” by taking underlying graph structure into account. v1 v2 v3 v4 v5 v6 (a) Subset of local neighborhood. v1 v2 v3 v4 v5 v6 (b) Subset of global neighborhood. Advantages 1 Considers “local” properties 2 Respects sparsity of original graph 3 Can be approximated by sampling 8
  • 19. Scalability: Approximation by Sampling Problem Algorithm does not scale. 9
  • 20. Scalability: Approximation by Sampling Problem Algorithm does not scale. Solution Approximate feature vector after h iterations by sampling. 9
  • 21. Scalability: Approximation by Sampling Problem Algorithm does not scale. Solution Approximate feature vector after h iterations by sampling. Highlevel Idea of Algorithm 1 Sample a number of subsets of size k 2 Explore h-neighborhood around each such set 3 Compute algorithm on each h-neighborhood 9
  • 22. Scalability: Approximation by Sampling Question Why does this lead to correct results? 10
  • 23. Scalability: Approximation by Sampling Question Why does this lead to correct results? t 1 2 3 0 Insight Color of central k-set t after h iterations is correct. 10
  • 24. Scalability: Approximation by Sampling Theorem (Informal) With high probability the sampling algorithm approximates the (normalized) feature vector of the local k-dimension WL such that ⃦ ⃦ ⃦̂︀𝜑k-LWL(G) − ̃︀𝜑k-LWL(G) ⃦ ⃦ ⃦ 1 ≤ 𝜀1 . For bounded-degree graphs the running time is independent of the size of the graph, i.e. the number of nodes and edges. 11
  • 25. Scalability: Approximation by Sampling Theorem (Informal) Given a finite set 𝒢 of graphs. With high probability the sampling algorithm approximate the kernel function of the local k-dimension WL such that sup G,H∈𝒢 ⃒ ⃒ ⃒̂︀kh k-LWL(G, H) − ̃︀kh k-LWL(G, H) ⃒ ⃒ ⃒ ≤ 𝜖2 . For bounded-degree graphs the running time is independent of the size of the graph, i.e. the number of nodes and edges. 12
  • 26. Scalability: Approximation by Sampling Problems 1 Algorithm is restricted to bounded-degree graphs! 2 How do we compute the sample size for general graphs? 13
  • 27. Scalability: Approximation by Sampling Problems 1 Algorithm is restricted to bounded-degree graphs! 2 How do we compute the sample size for general graphs? Solution: Adaptive Sampling Algorithm while Desired accurracy is not reached do Increase sample size Compute h neighborhoods for new sample Compute algorithm in each h-neighborhood end while 13
  • 28. Scalability: Approximation by Adaptive Sampling Theorem (Informal) Let G be a graph, then the above procedure approximates the normalized feature vector ̂︀𝜑k-LWL(G) of the k-LWL for h iterations such that with high probability sup l∈Σ ⃒ ⃒ ⃒̂︀𝜑k-LWL(G)l − ̃︀𝜑k-LWL(G)l ⃒ ⃒ ⃒ ≤ 𝜀3 . 14
  • 29. Scalability: Approximation by Adaptive Sampling Theorem (Informal) Let G be a graph, then the above procedure approximates the normalized feature vector ̂︀𝜑k-LWL(G) of the k-LWL for h iterations such that with high probability sup l∈Σ ⃒ ⃒ ⃒̂︀𝜑k-LWL(G)l − ̃︀𝜑k-LWL(G)l ⃒ ⃒ ⃒ ≤ 𝜀3 . Remark Proof relies on self-bounding properties of bounds based on conditional Rademacher Averages. 14
  • 30. Experimental Evaluation: Classification Accurary PROTEINS REDDIT ENZYMES IMDB-BINARY NCI1 MUTAG 0 10 20 30 40 50 60 70 80 90ClassificationAccuracy 3-LWL 1-LWL 3-GWL 15
  • 31. Experimental Evaluation: Running Times 3-LWL-SP(0.1) 3-LWL-S(0.1) 3-LWL-SP(0.05) 3-LWL-S(0.05) 3-LWL-L 3-LWL-P 3-LWL Algorithm 0 1000 2000 3000 4000 5000 6000 7000 8000 RunningTimes[s] PROTEINS 16
  • 32. Conclusion 1 Graph kernel based on k-dimensional Weisfeiler-Lehman • Considers local as well as global graph properties 2 Approximation algorithms based on sampling • Constant running time for bounded-degree graphs • Adaptive sampling algorithm for general graphs 3 Promising experimental results Collection of Graph Classification Benchmarks graphkernels.cs.tu-dortmund.de 17