SlideShare a Scribd company logo
Weisfeiler and Leman Go Neural: Higher-order
Graph Neural Networks
Christopher Morris, Martin Ritzert, Matthias Fey, William L. Hamilton, Jan Eric
Lenssen, Gaurav Rattan, Martin Grohe
November 12, 2018
TU Dortmund University,
RWTH Aachen University,
McGill University
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
Talk Structure
1 State-of-the-art methods for graph classification
2 Relationship between 1-WL kernel and Graph Neural Networks
3 Higher-order graph properties
4 Experimental results
3
Supervised Graph Classification: The State-of-the-Art
Kernel Methods
Find predefined substructures
and count them somehow:
• Shortest-paths or random
walks
• Motifs
• h-neighborhoods around
vertices
• Spectral Approaches
4
Supervised Graph Classification: The State-of-the-Art
Kernel Methods
Find predefined substructures
and count them somehow:
• Shortest-paths or random
walks
• Motifs
• h-neighborhoods around
vertices
• Spectral Approaches
Neural Methods
Parameterized neighborhood
aggregation function
f
(t)
v = 𝜎(W1 f
(t−1)
v + W2
∑︁
w∈N(v)
f
(t−1)
w )
and learn parameters W1 and W2
together with the parameters of
the classifier
4
Example: Weisfeiler-Lehman Subtree Kernel
Example (Weisfeiler-Lehman Subtree Kernel)
Graph kernel based on heuristic for graph isomorphism testing
Iteration: Two vertices get identical colors iff their colored
neighborhoods are identical
N. Shervashidze, P. Schweitzer, E. J. van Leeuwen, K. Mehlhorn, and K. M. Borgwardt.
“Weisfeiler-Lehman Graph Kernels”. In: JMLR 12 (2011), pp. 2539–2561
5
Example: Weisfeiler-Lehman Subtree Kernel
Example (Weisfeiler-Lehman Subtree Kernel)
Graph kernel based on heuristic for graph isomorphism testing
Iteration: Two vertices get identical colors iff their colored
neighborhoods are identical
𝜑(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: JMLR 12 (2011), pp. 2539–2561
5
Example: Weisfeiler-Lehman Subtree Kernel
Example (Weisfeiler-Lehman Subtree Kernel)
Graph kernel based on heuristic for graph isomorphism testing
Iteration: Two vertices get identical colors iff their colored
neighborhoods are identical
𝜑(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: JMLR 12 (2011), pp. 2539–2561
5
Example: Weisfeiler-Lehman Subtree Kernel
Example (Weisfeiler-Lehman Subtree Kernel)
Graph kernel based on heuristic for graph isomorphism testing
Iteration: Two vertices get identical colors iff their colored
neighborhoods are identical
𝜑(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: JMLR 12 (2011), pp. 2539–2561
5
Relationship between 1-WL and GNN
1-WL coloring
c(t)
(v) = hash
(︁
c(t−1)
(v), {{c(t−1)
(w) | w ∈ N(v)}}
)︁
6
Relationship between 1-WL and GNN
1-WL coloring
c(t)
(v) = hash
(︁
c(t−1)
(v), {{c(t−1)
(w) | w ∈ N(v)}}
)︁
General form of GNNs
h(t)
(v) = f
W
(t)
1
merge
(︁
h(t−1)
(v), f
W
(t)
2
aggr
(︀
{{h(t−1)
(w) | w ∈ N(v)}}
)︀)︁
6
Relationship between 1-WL and GNN
1-WL coloring
c(t)
(v) = hash
(︁
c(t−1)
(v), {{c(t−1)
(w) | w ∈ N(v)}}
)︁
General form of GNNs
h(t)
(v) = f
W
(t)
1
merge
(︁
h(t−1)
(v), f
W
(t)
2
aggr
(︀
{{h(t−1)
(w) | w ∈ N(v)}}
)︀)︁
Both methods aggregate colors/features of neighbors
6
Relationship between 1-WL and GNN
1-WL coloring
c(t)
(v) = hash
(︁
c(t−1)
(v), {{c(t−1)
(w) | w ∈ N(v)}}
)︁
General form of GNNs
h(t)
(v) = f
W
(t)
1
merge
(︁
h(t−1)
(v), f
W
(t)
2
aggr
(︀
{{h(t−1)
(w) | w ∈ N(v)}}
)︀)︁
Both methods aggregate colors/features of neighbors
Theorem (Informal)
GNNs cannot be more expressive than 1-WL in terms of
distinguishing non-isomorphic graphs.
6
Relationship between 1-WL and GNN
1-WL coloring
c(t)
(v) = hash
(︁
c(t−1)
(v), {{c(t−1)
(w) | w ∈ N(v)}}
)︁
General form of GNNs
h(t)
(v) = f
W
(t)
1
merge
(︁
h(t−1)
(v), f
W
(t)
2
aggr
(︀
{{h(t−1)
(w) | w ∈ N(v)}}
)︀)︁
7
Relationship between 1-WL and GNN
1-WL coloring
c(t)
(v) = hash
(︁
c(t−1)
(v), {{c(t−1)
(w) | w ∈ N(v)}}
)︁
General form of GNNs
h(t)
(v) = f
W
(t)
1
merge
(︁
h(t−1)
(v), f
W
(t)
2
aggr
(︀
{{h(t−1)
(w) | w ∈ N(v)}}
)︀)︁
Insight
GNNs are as powerful as 1-WL if f
W
(t)
1
merge and f
W
(t)
2
aggr are injective
Theorem (Informal)
There exists a GNN architecture and corresponding weights such
that it reaches an equivalent coloring as 1-WL.
7
Relationship between 1-WL and GNN
Theorem (Informal)
There exists a GNN architecture and corresponding weights such
that it reaches an equivalent coloring as 1-WL.
8
Relationship between 1-WL and GNN
Theorem (Informal)
There exists a GNN architecture and corresponding weights such
that it reaches an equivalent coloring as 1-WL.
1-WL GNN
∇
8
Relationship between 1-WL and GNN
Theorem (Informal)
There exists a GNN architecture and corresponding weights such
that it reaches an equivalent coloring as 1-WL.
1-WL GNN
∇
Take Away
GNNs have the same power as 1-WL in distinguishing
non-isomorphic graphs.
8
Relationship between 1-WL and GNN
Theorem (Informal)
There exists a GNN architecture and corresponding weights such
that it reaches an equivalent coloring as 1-WL.
1-WL GNN
∇
Take Away
GNNs have the same power as 1-WL in distinguishing
non-isomorphic graphs. Limits of 1-WL are well understood.
V. Arvind, J. Köbler, G. Rattan, and O. Verbitsky. “On the Power of Color
Refinement”. In: Symposium on Fundamentals of Computation
Theory. 2015, pp. 339–350
8
Limits of GNNs
Observation
GNNs cannot distinguish very basic graph properties, e.g.,
• Cycle-free vs. cyclic graphs
• Triangle counts
• Regular graphs
9
Limits of GNNs
Observation
GNNs cannot distinguish very basic graph properties, e.g.,
• Cycle-free vs. cyclic graphs
• Triangle counts
• Regular graphs
Observation
Higher-order graph properties play an important role for the
characterization of real-world networks.
9
Higher-order Graph Properties
Challenge
Incorporate more higher-order graph properties into Graph
Neural Networks.
10
Higher-order Graph Properties
Challenge
Incorporate more higher-order graph properties into Graph
Neural Networks.
1-WL GNN
k-WL k-GNN
∇
Global
Global
∇
10
Higher-order Graph Properties
Challenge
Incorporate more higher-order graph properties into Graph
Neural Networks.
1-WL GNN
k-WL k-GNN
∇
Global
Global
∇
Idea: k-WL
Color subgraphs instead of vertices, and define neighborhoods
between them.
10
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
v1 v2 v3
v4 v5 v6
11
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
v1 v2 v3
v4 v5 v6
11
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
v1 v2 v3
v4 v5 v6
Idea of the Algorithm
Initially Two tuples get the same color if the induced
subgraphs are isomorphic
11
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
v1 v2 v3
v4 v5 v6
Idea of the Algorithm
Initially Two tuples get the same color if the induced
subgraphs are isomorphic
Iteration Two tuples get same color iff they have the same
colored neighborhood
11
k-GNN
Idea
Derive k-dimensional Graph Neural Network
ft
S = 𝜎(W1ft−1
S + W2
∑︁
T∈N(S)
ft−1
T ),
where S is a subgraph of the input graph of size k.
12
k-GNN
Idea
Derive k-dimensional Graph Neural Network
ft
S = 𝜎(W1ft−1
S + W2
∑︁
T∈N(S)
ft−1
T ),
where S is a subgraph of the input graph of size k.
Challenges
• Scalability
• GPU memory consumption
12
Hierarchical k-GNN
Idea
Learn features for subgraphs in a hierarchical way
13
Hierarchical k-GNN
Idea
Learn features for subgraphs in a hierarchical way
1-GNN
. . .
2-GNN
. . .
3-GNN
. . .
MLP
Pool
Pool
Pool
Learning higher-order graph properties
13
Experimental Results
PRO IMDB-M NCI1 PTC-FM MUTAG
0
20
40
60
80
100
Accuracy[%]
1-GNN
1-k-GNN
Figure 3: Classification: Improvement on smaller benchmark datasets
14
Experimental Results
U0 ZPVE H
0.00
0.25
0.50
0.75
1.00
1.25
1.50
1.75
2.00
Errornormalizedto1-GNN(lowerisbetter)
1-k-GNN
1-GNN
MPNN
DTNN
Figure 4: Regression (QM9 data set): Gain over 1-GNN baseline
15
Conclusion
1 Relationship between 1-WL kernel and Graph Neural Networks
• GNN are a differentiable version of 1-WL
• GNNs and 1-WL are equally powerful
2 Higher-order graph embeddings
• k-dimensional GNN
• Hierarchical Variant
3 Experimental results
• Good results for large datasets with continuous node labels
16
Conclusion
1 Relationship between 1-WL kernel and Graph Neural Networks
• GNN are a differentiable version of 1-WL
• GNNs and 1-WL are equally powerful
2 Higher-order graph embeddings
• k-dimensional GNN
• Hierarchical Variant
3 Experimental results
• Good results for large datasets with continuous node labels
Collection of graph classification benchmarks
graphkernels.cs.tu-dortmund.de
16
Ad

More Related Content

What's hot (20)

Introduction to Diffusion Models
Introduction to Diffusion ModelsIntroduction to Diffusion Models
Introduction to Diffusion Models
Sangwoo Mo
 
Generative Adversarial Networks (GAN)
Generative Adversarial Networks (GAN)Generative Adversarial Networks (GAN)
Generative Adversarial Networks (GAN)
Manohar Mukku
 
CNN Attention Networks
CNN Attention NetworksCNN Attention Networks
CNN Attention Networks
Taeoh Kim
 
Graph Convolutional Neural Networks
Graph Convolutional Neural Networks Graph Convolutional Neural Networks
Graph Convolutional Neural Networks
신동 강
 
GANs and Applications
GANs and ApplicationsGANs and Applications
GANs and Applications
Hoang Nguyen
 
ResNet basics (Deep Residual Network for Image Recognition)
ResNet basics (Deep Residual Network for Image Recognition)ResNet basics (Deep Residual Network for Image Recognition)
ResNet basics (Deep Residual Network for Image Recognition)
Sanjay Saha
 
Machine Learning - Convolutional Neural Network
Machine Learning - Convolutional Neural NetworkMachine Learning - Convolutional Neural Network
Machine Learning - Convolutional Neural Network
Richard Kuo
 
Wasserstein GAN
Wasserstein GANWasserstein GAN
Wasserstein GAN
Bar Vinograd
 
Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)
Appsilon Data Science
 
Image-to-Image Translation
Image-to-Image TranslationImage-to-Image Translation
Image-to-Image Translation
Junho Kim
 
Graph Neural Networks.pptx
Graph Neural Networks.pptxGraph Neural Networks.pptx
Graph Neural Networks.pptx
Kumar Iyer
 
How Powerful are Graph Networks?
How Powerful are Graph Networks?How Powerful are Graph Networks?
How Powerful are Graph Networks?
IAMAl
 
Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)
Hwa Pyung Kim
 
Generative adversarial networks
Generative adversarial networksGenerative adversarial networks
Generative adversarial networks
Yunjey Choi
 
Transfer Learning and Fine Tuning for Cross Domain Image Classification with ...
Transfer Learning and Fine Tuning for Cross Domain Image Classification with ...Transfer Learning and Fine Tuning for Cross Domain Image Classification with ...
Transfer Learning and Fine Tuning for Cross Domain Image Classification with ...
Sujit Pal
 
A (Very) Gentle Introduction to Generative Adversarial Networks (a.k.a GANs)
 A (Very) Gentle Introduction to Generative Adversarial Networks (a.k.a GANs) A (Very) Gentle Introduction to Generative Adversarial Networks (a.k.a GANs)
A (Very) Gentle Introduction to Generative Adversarial Networks (a.k.a GANs)
Thomas da Silva Paula
 
Basic Generative Adversarial Networks
Basic Generative Adversarial NetworksBasic Generative Adversarial Networks
Basic Generative Adversarial Networks
Dong Heon Cho
 
Image segmentation with deep learning
Image segmentation with deep learningImage segmentation with deep learning
Image segmentation with deep learning
Antonio Rueda-Toicen
 
Hyperparameter Optimization for Machine Learning
Hyperparameter Optimization for Machine LearningHyperparameter Optimization for Machine Learning
Hyperparameter Optimization for Machine Learning
Francesco Casalegno
 
1시간만에 GAN(Generative Adversarial Network) 완전 정복하기
1시간만에 GAN(Generative Adversarial Network) 완전 정복하기1시간만에 GAN(Generative Adversarial Network) 완전 정복하기
1시간만에 GAN(Generative Adversarial Network) 완전 정복하기
NAVER Engineering
 
Introduction to Diffusion Models
Introduction to Diffusion ModelsIntroduction to Diffusion Models
Introduction to Diffusion Models
Sangwoo Mo
 
Generative Adversarial Networks (GAN)
Generative Adversarial Networks (GAN)Generative Adversarial Networks (GAN)
Generative Adversarial Networks (GAN)
Manohar Mukku
 
CNN Attention Networks
CNN Attention NetworksCNN Attention Networks
CNN Attention Networks
Taeoh Kim
 
Graph Convolutional Neural Networks
Graph Convolutional Neural Networks Graph Convolutional Neural Networks
Graph Convolutional Neural Networks
신동 강
 
GANs and Applications
GANs and ApplicationsGANs and Applications
GANs and Applications
Hoang Nguyen
 
ResNet basics (Deep Residual Network for Image Recognition)
ResNet basics (Deep Residual Network for Image Recognition)ResNet basics (Deep Residual Network for Image Recognition)
ResNet basics (Deep Residual Network for Image Recognition)
Sanjay Saha
 
Machine Learning - Convolutional Neural Network
Machine Learning - Convolutional Neural NetworkMachine Learning - Convolutional Neural Network
Machine Learning - Convolutional Neural Network
Richard Kuo
 
Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)
Appsilon Data Science
 
Image-to-Image Translation
Image-to-Image TranslationImage-to-Image Translation
Image-to-Image Translation
Junho Kim
 
Graph Neural Networks.pptx
Graph Neural Networks.pptxGraph Neural Networks.pptx
Graph Neural Networks.pptx
Kumar Iyer
 
How Powerful are Graph Networks?
How Powerful are Graph Networks?How Powerful are Graph Networks?
How Powerful are Graph Networks?
IAMAl
 
Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)
Hwa Pyung Kim
 
Generative adversarial networks
Generative adversarial networksGenerative adversarial networks
Generative adversarial networks
Yunjey Choi
 
Transfer Learning and Fine Tuning for Cross Domain Image Classification with ...
Transfer Learning and Fine Tuning for Cross Domain Image Classification with ...Transfer Learning and Fine Tuning for Cross Domain Image Classification with ...
Transfer Learning and Fine Tuning for Cross Domain Image Classification with ...
Sujit Pal
 
A (Very) Gentle Introduction to Generative Adversarial Networks (a.k.a GANs)
 A (Very) Gentle Introduction to Generative Adversarial Networks (a.k.a GANs) A (Very) Gentle Introduction to Generative Adversarial Networks (a.k.a GANs)
A (Very) Gentle Introduction to Generative Adversarial Networks (a.k.a GANs)
Thomas da Silva Paula
 
Basic Generative Adversarial Networks
Basic Generative Adversarial NetworksBasic Generative Adversarial Networks
Basic Generative Adversarial Networks
Dong Heon Cho
 
Image segmentation with deep learning
Image segmentation with deep learningImage segmentation with deep learning
Image segmentation with deep learning
Antonio Rueda-Toicen
 
Hyperparameter Optimization for Machine Learning
Hyperparameter Optimization for Machine LearningHyperparameter Optimization for Machine Learning
Hyperparameter Optimization for Machine Learning
Francesco Casalegno
 
1시간만에 GAN(Generative Adversarial Network) 완전 정복하기
1시간만에 GAN(Generative Adversarial Network) 완전 정복하기1시간만에 GAN(Generative Adversarial Network) 완전 정복하기
1시간만에 GAN(Generative Adversarial Network) 완전 정복하기
NAVER Engineering
 

Similar to Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks (20)

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
 
On Algorithmic Problems Concerning Graphs of Higher Degree of Symmetry
On Algorithmic Problems Concerning Graphs of Higher Degree of SymmetryOn Algorithmic Problems Concerning Graphs of Higher Degree of Symmetry
On Algorithmic Problems Concerning Graphs of Higher Degree of Symmetry
GiselleginaGloria
 
Spatial patterns in evolutionary games on scale-free networks and multiplexes
Spatial patterns in evolutionary games on scale-free networks and multiplexesSpatial patterns in evolutionary games on scale-free networks and multiplexes
Spatial patterns in evolutionary games on scale-free networks and multiplexes
Kolja Kleineberg
 
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
nabati
 
Spectral graph theory
Spectral graph theorySpectral graph theory
Spectral graph theory
Danushka Bollegala
 
Slides4
Slides4Slides4
Slides4
BioinformaticsInstitute
 
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
Colleen Farrelly
 
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
Luis Galárraga
 
The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics
The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics
The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics
Kolja Kleineberg
 
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRYON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
Fransiskeran
 
Skiena algorithm 2007 lecture10 graph data strctures
Skiena algorithm 2007 lecture10 graph data strcturesSkiena algorithm 2007 lecture10 graph data strctures
Skiena algorithm 2007 lecture10 graph data strctures
zukun
 
On algorithmic problems concerning graphs of higher degree of symmetry
On algorithmic problems concerning graphs of higher degree of symmetryOn algorithmic problems concerning graphs of higher degree of symmetry
On algorithmic problems concerning graphs of higher degree of symmetry
graphhoc
 
Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering
Convolutional Neural Networks on Graphs with Fast Localized Spectral FilteringConvolutional Neural Networks on Graphs with Fast Localized Spectral Filtering
Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering
SOYEON KIM
 
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
cseiitgn
 
NS-CUK Seminar: S.T.Nguyen, Review on "Make Heterophily Graphs Better Fit GNN...
NS-CUK Seminar: S.T.Nguyen, Review on "Make Heterophily Graphs Better Fit GNN...NS-CUK Seminar: S.T.Nguyen, Review on "Make Heterophily Graphs Better Fit GNN...
NS-CUK Seminar: S.T.Nguyen, Review on "Make Heterophily Graphs Better Fit GNN...
ssuser4b1f48
 
Module 22-graphs
Module 22-graphsModule 22-graphs
Module 22-graphs
Rafay Farooq
 
Graph Neural Network in practice
Graph Neural Network in practiceGraph Neural Network in practice
Graph Neural Network in practice
tuxette
 
Data Structures and Agorithm: DS 21 Graph Theory.pptx
Data Structures and Agorithm: DS 21 Graph Theory.pptxData Structures and Agorithm: DS 21 Graph Theory.pptx
Data Structures and Agorithm: DS 21 Graph Theory.pptx
RashidFaridChishti
 
Learning Convolutional Neural Networks for Graphs
Learning Convolutional Neural Networks for GraphsLearning Convolutional Neural Networks for Graphs
Learning Convolutional Neural Networks for Graphs
Mathias Niepert
 
Neo4j MeetUp - Graph Exploration with MetaExp
Neo4j MeetUp - Graph Exploration with MetaExpNeo4j MeetUp - Graph Exploration with MetaExp
Neo4j MeetUp - Graph Exploration with MetaExp
Adrian Ziegler
 
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
 
On Algorithmic Problems Concerning Graphs of Higher Degree of Symmetry
On Algorithmic Problems Concerning Graphs of Higher Degree of SymmetryOn Algorithmic Problems Concerning Graphs of Higher Degree of Symmetry
On Algorithmic Problems Concerning Graphs of Higher Degree of Symmetry
GiselleginaGloria
 
Spatial patterns in evolutionary games on scale-free networks and multiplexes
Spatial patterns in evolutionary games on scale-free networks and multiplexesSpatial patterns in evolutionary games on scale-free networks and multiplexes
Spatial patterns in evolutionary games on scale-free networks and multiplexes
Kolja Kleineberg
 
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
nabati
 
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
Colleen Farrelly
 
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
Luis Galárraga
 
The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics
The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics
The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics
Kolja Kleineberg
 
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRYON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
Fransiskeran
 
Skiena algorithm 2007 lecture10 graph data strctures
Skiena algorithm 2007 lecture10 graph data strcturesSkiena algorithm 2007 lecture10 graph data strctures
Skiena algorithm 2007 lecture10 graph data strctures
zukun
 
On algorithmic problems concerning graphs of higher degree of symmetry
On algorithmic problems concerning graphs of higher degree of symmetryOn algorithmic problems concerning graphs of higher degree of symmetry
On algorithmic problems concerning graphs of higher degree of symmetry
graphhoc
 
Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering
Convolutional Neural Networks on Graphs with Fast Localized Spectral FilteringConvolutional Neural Networks on Graphs with Fast Localized Spectral Filtering
Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering
SOYEON KIM
 
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
cseiitgn
 
NS-CUK Seminar: S.T.Nguyen, Review on "Make Heterophily Graphs Better Fit GNN...
NS-CUK Seminar: S.T.Nguyen, Review on "Make Heterophily Graphs Better Fit GNN...NS-CUK Seminar: S.T.Nguyen, Review on "Make Heterophily Graphs Better Fit GNN...
NS-CUK Seminar: S.T.Nguyen, Review on "Make Heterophily Graphs Better Fit GNN...
ssuser4b1f48
 
Graph Neural Network in practice
Graph Neural Network in practiceGraph Neural Network in practice
Graph Neural Network in practice
tuxette
 
Data Structures and Agorithm: DS 21 Graph Theory.pptx
Data Structures and Agorithm: DS 21 Graph Theory.pptxData Structures and Agorithm: DS 21 Graph Theory.pptx
Data Structures and Agorithm: DS 21 Graph Theory.pptx
RashidFaridChishti
 
Learning Convolutional Neural Networks for Graphs
Learning Convolutional Neural Networks for GraphsLearning Convolutional Neural Networks for Graphs
Learning Convolutional Neural Networks for Graphs
Mathias Niepert
 
Neo4j MeetUp - Graph Exploration with MetaExp
Neo4j MeetUp - Graph Exploration with MetaExpNeo4j MeetUp - Graph Exploration with MetaExp
Neo4j MeetUp - Graph Exploration with MetaExp
Adrian Ziegler
 
Ad

Recently uploaded (20)

Chromatography, types, techniques, ppt.pptx
Chromatography, types, techniques, ppt.pptxChromatography, types, techniques, ppt.pptx
Chromatography, types, techniques, ppt.pptx
Dr Showkat Ahmad Wani
 
Skmuscle_properties_muscletone_muscletype.pptx
Skmuscle_properties_muscletone_muscletype.pptxSkmuscle_properties_muscletone_muscletype.pptx
Skmuscle_properties_muscletone_muscletype.pptx
muralinath2
 
Metallurgical process class 11_Govinda Pathak
Metallurgical process class 11_Govinda PathakMetallurgical process class 11_Govinda Pathak
Metallurgical process class 11_Govinda Pathak
GovindaPathak6
 
2025 Insilicogen Company Korean Brochure
2025 Insilicogen Company Korean Brochure2025 Insilicogen Company Korean Brochure
2025 Insilicogen Company Korean Brochure
Insilico Gen
 
Zoonosis, Types, Causes. A comprehensive pptx
Zoonosis, Types, Causes. A comprehensive pptxZoonosis, Types, Causes. A comprehensive pptx
Zoonosis, Types, Causes. A comprehensive pptx
Dr Showkat Ahmad Wani
 
Influenza-Understanding-the-Deadly-Virus.pptx
Influenza-Understanding-the-Deadly-Virus.pptxInfluenza-Understanding-the-Deadly-Virus.pptx
Influenza-Understanding-the-Deadly-Virus.pptx
diyapadhiyar
 
Class-11-notes- Inorganic Chemistry Hydrogen, Oxygen,Ozone,Carbon,Phosphoros
Class-11-notes- Inorganic Chemistry Hydrogen, Oxygen,Ozone,Carbon,PhosphorosClass-11-notes- Inorganic Chemistry Hydrogen, Oxygen,Ozone,Carbon,Phosphoros
Class-11-notes- Inorganic Chemistry Hydrogen, Oxygen,Ozone,Carbon,Phosphoros
govindapathak8
 
Introduction to Mobile Forensics Part 1.pptx
Introduction to Mobile Forensics Part 1.pptxIntroduction to Mobile Forensics Part 1.pptx
Introduction to Mobile Forensics Part 1.pptx
Nivya George
 
Antliff, Mark. - Avant-Garde Fascism. The Mobilization of Myth, Art, and Cult...
Antliff, Mark. - Avant-Garde Fascism. The Mobilization of Myth, Art, and Cult...Antliff, Mark. - Avant-Garde Fascism. The Mobilization of Myth, Art, and Cult...
Antliff, Mark. - Avant-Garde Fascism. The Mobilization of Myth, Art, and Cult...
Francisco Sandoval Martínez
 
Physics of heat and radiation by the book
Physics of heat and radiation by the bookPhysics of heat and radiation by the book
Physics of heat and radiation by the book
Mominaakram4
 
whole ANATOMY OF EYE with eye ball .pptx
whole ANATOMY OF EYE with eye ball .pptxwhole ANATOMY OF EYE with eye ball .pptx
whole ANATOMY OF EYE with eye ball .pptx
simranjangra13
 
Infrastructure for Tracking Information Flow from Social Media to U.S. TV New...
Infrastructure for Tracking Information Flow from Social Media to U.S. TV New...Infrastructure for Tracking Information Flow from Social Media to U.S. TV New...
Infrastructure for Tracking Information Flow from Social Media to U.S. TV New...
Himarsha Jayanetti
 
Chapter 4_Part 2_Infection and Immunity.ppt
Chapter 4_Part 2_Infection and Immunity.pptChapter 4_Part 2_Infection and Immunity.ppt
Chapter 4_Part 2_Infection and Immunity.ppt
JessaBalanggoyPagula
 
Effect of nutrition in Entomophagous Insectson
Effect of nutrition in Entomophagous InsectsonEffect of nutrition in Entomophagous Insectson
Effect of nutrition in Entomophagous Insectson
JabaskumarKshetri
 
Structure formation with primordial black holes: collisional dynamics, binari...
Structure formation with primordial black holes: collisional dynamics, binari...Structure formation with primordial black holes: collisional dynamics, binari...
Structure formation with primordial black holes: collisional dynamics, binari...
Sérgio Sacani
 
Adamson, Walter L. - Avant-Garde Florence. From Modernism to Fascism [ocr] [...
Adamson, Walter L.  - Avant-Garde Florence. From Modernism to Fascism [ocr] [...Adamson, Walter L.  - Avant-Garde Florence. From Modernism to Fascism [ocr] [...
Adamson, Walter L. - Avant-Garde Florence. From Modernism to Fascism [ocr] [...
Francisco Sandoval Martínez
 
Water analysis practical for ph, tds, hardness, acidity, conductivity, and ba...
Water analysis practical for ph, tds, hardness, acidity, conductivity, and ba...Water analysis practical for ph, tds, hardness, acidity, conductivity, and ba...
Water analysis practical for ph, tds, hardness, acidity, conductivity, and ba...
ss0077014
 
Examining Visual Attention in Gaze-Driven VR Learning: An Eye-Tracking Study ...
Examining Visual Attention in Gaze-Driven VR Learning: An Eye-Tracking Study ...Examining Visual Attention in Gaze-Driven VR Learning: An Eye-Tracking Study ...
Examining Visual Attention in Gaze-Driven VR Learning: An Eye-Tracking Study ...
Yasasi Abeysinghe
 
Direct Evidence for r-process Nucleosynthesis in Delayed MeV Emission from th...
Direct Evidence for r-process Nucleosynthesis in Delayed MeV Emission from th...Direct Evidence for r-process Nucleosynthesis in Delayed MeV Emission from th...
Direct Evidence for r-process Nucleosynthesis in Delayed MeV Emission from th...
Sérgio Sacani
 
A tale of two Lucies: talk at the maths dept, Free University of Amsterdam
A tale of two Lucies: talk at the maths dept, Free University of AmsterdamA tale of two Lucies: talk at the maths dept, Free University of Amsterdam
A tale of two Lucies: talk at the maths dept, Free University of Amsterdam
Richard Gill
 
Chromatography, types, techniques, ppt.pptx
Chromatography, types, techniques, ppt.pptxChromatography, types, techniques, ppt.pptx
Chromatography, types, techniques, ppt.pptx
Dr Showkat Ahmad Wani
 
Skmuscle_properties_muscletone_muscletype.pptx
Skmuscle_properties_muscletone_muscletype.pptxSkmuscle_properties_muscletone_muscletype.pptx
Skmuscle_properties_muscletone_muscletype.pptx
muralinath2
 
Metallurgical process class 11_Govinda Pathak
Metallurgical process class 11_Govinda PathakMetallurgical process class 11_Govinda Pathak
Metallurgical process class 11_Govinda Pathak
GovindaPathak6
 
2025 Insilicogen Company Korean Brochure
2025 Insilicogen Company Korean Brochure2025 Insilicogen Company Korean Brochure
2025 Insilicogen Company Korean Brochure
Insilico Gen
 
Zoonosis, Types, Causes. A comprehensive pptx
Zoonosis, Types, Causes. A comprehensive pptxZoonosis, Types, Causes. A comprehensive pptx
Zoonosis, Types, Causes. A comprehensive pptx
Dr Showkat Ahmad Wani
 
Influenza-Understanding-the-Deadly-Virus.pptx
Influenza-Understanding-the-Deadly-Virus.pptxInfluenza-Understanding-the-Deadly-Virus.pptx
Influenza-Understanding-the-Deadly-Virus.pptx
diyapadhiyar
 
Class-11-notes- Inorganic Chemistry Hydrogen, Oxygen,Ozone,Carbon,Phosphoros
Class-11-notes- Inorganic Chemistry Hydrogen, Oxygen,Ozone,Carbon,PhosphorosClass-11-notes- Inorganic Chemistry Hydrogen, Oxygen,Ozone,Carbon,Phosphoros
Class-11-notes- Inorganic Chemistry Hydrogen, Oxygen,Ozone,Carbon,Phosphoros
govindapathak8
 
Introduction to Mobile Forensics Part 1.pptx
Introduction to Mobile Forensics Part 1.pptxIntroduction to Mobile Forensics Part 1.pptx
Introduction to Mobile Forensics Part 1.pptx
Nivya George
 
Antliff, Mark. - Avant-Garde Fascism. The Mobilization of Myth, Art, and Cult...
Antliff, Mark. - Avant-Garde Fascism. The Mobilization of Myth, Art, and Cult...Antliff, Mark. - Avant-Garde Fascism. The Mobilization of Myth, Art, and Cult...
Antliff, Mark. - Avant-Garde Fascism. The Mobilization of Myth, Art, and Cult...
Francisco Sandoval Martínez
 
Physics of heat and radiation by the book
Physics of heat and radiation by the bookPhysics of heat and radiation by the book
Physics of heat and radiation by the book
Mominaakram4
 
whole ANATOMY OF EYE with eye ball .pptx
whole ANATOMY OF EYE with eye ball .pptxwhole ANATOMY OF EYE with eye ball .pptx
whole ANATOMY OF EYE with eye ball .pptx
simranjangra13
 
Infrastructure for Tracking Information Flow from Social Media to U.S. TV New...
Infrastructure for Tracking Information Flow from Social Media to U.S. TV New...Infrastructure for Tracking Information Flow from Social Media to U.S. TV New...
Infrastructure for Tracking Information Flow from Social Media to U.S. TV New...
Himarsha Jayanetti
 
Chapter 4_Part 2_Infection and Immunity.ppt
Chapter 4_Part 2_Infection and Immunity.pptChapter 4_Part 2_Infection and Immunity.ppt
Chapter 4_Part 2_Infection and Immunity.ppt
JessaBalanggoyPagula
 
Effect of nutrition in Entomophagous Insectson
Effect of nutrition in Entomophagous InsectsonEffect of nutrition in Entomophagous Insectson
Effect of nutrition in Entomophagous Insectson
JabaskumarKshetri
 
Structure formation with primordial black holes: collisional dynamics, binari...
Structure formation with primordial black holes: collisional dynamics, binari...Structure formation with primordial black holes: collisional dynamics, binari...
Structure formation with primordial black holes: collisional dynamics, binari...
Sérgio Sacani
 
Adamson, Walter L. - Avant-Garde Florence. From Modernism to Fascism [ocr] [...
Adamson, Walter L.  - Avant-Garde Florence. From Modernism to Fascism [ocr] [...Adamson, Walter L.  - Avant-Garde Florence. From Modernism to Fascism [ocr] [...
Adamson, Walter L. - Avant-Garde Florence. From Modernism to Fascism [ocr] [...
Francisco Sandoval Martínez
 
Water analysis practical for ph, tds, hardness, acidity, conductivity, and ba...
Water analysis practical for ph, tds, hardness, acidity, conductivity, and ba...Water analysis practical for ph, tds, hardness, acidity, conductivity, and ba...
Water analysis practical for ph, tds, hardness, acidity, conductivity, and ba...
ss0077014
 
Examining Visual Attention in Gaze-Driven VR Learning: An Eye-Tracking Study ...
Examining Visual Attention in Gaze-Driven VR Learning: An Eye-Tracking Study ...Examining Visual Attention in Gaze-Driven VR Learning: An Eye-Tracking Study ...
Examining Visual Attention in Gaze-Driven VR Learning: An Eye-Tracking Study ...
Yasasi Abeysinghe
 
Direct Evidence for r-process Nucleosynthesis in Delayed MeV Emission from th...
Direct Evidence for r-process Nucleosynthesis in Delayed MeV Emission from th...Direct Evidence for r-process Nucleosynthesis in Delayed MeV Emission from th...
Direct Evidence for r-process Nucleosynthesis in Delayed MeV Emission from th...
Sérgio Sacani
 
A tale of two Lucies: talk at the maths dept, Free University of Amsterdam
A tale of two Lucies: talk at the maths dept, Free University of AmsterdamA tale of two Lucies: talk at the maths dept, Free University of Amsterdam
A tale of two Lucies: talk at the maths dept, Free University of Amsterdam
Richard Gill
 
Ad

Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks

  • 1. Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks Christopher Morris, Martin Ritzert, Matthias Fey, William L. Hamilton, Jan Eric Lenssen, Gaurav Rattan, Martin Grohe November 12, 2018 TU Dortmund University, RWTH Aachen University, McGill University
  • 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. Talk Structure 1 State-of-the-art methods for graph classification 2 Relationship between 1-WL kernel and Graph Neural Networks 3 Higher-order graph properties 4 Experimental results 3
  • 7. Supervised Graph Classification: The State-of-the-Art Kernel Methods Find predefined substructures and count them somehow: • Shortest-paths or random walks • Motifs • h-neighborhoods around vertices • Spectral Approaches 4
  • 8. Supervised Graph Classification: The State-of-the-Art Kernel Methods Find predefined substructures and count them somehow: • Shortest-paths or random walks • Motifs • h-neighborhoods around vertices • Spectral Approaches Neural Methods Parameterized neighborhood aggregation function f (t) v = 𝜎(W1 f (t−1) v + W2 ∑︁ w∈N(v) f (t−1) w ) and learn parameters W1 and W2 together with the parameters of the classifier 4
  • 9. Example: Weisfeiler-Lehman Subtree Kernel Example (Weisfeiler-Lehman Subtree Kernel) Graph kernel based on heuristic for graph isomorphism testing Iteration: Two vertices get identical colors iff their colored neighborhoods are identical N. Shervashidze, P. Schweitzer, E. J. van Leeuwen, K. Mehlhorn, and K. M. Borgwardt. “Weisfeiler-Lehman Graph Kernels”. In: JMLR 12 (2011), pp. 2539–2561 5
  • 10. Example: Weisfeiler-Lehman Subtree Kernel Example (Weisfeiler-Lehman Subtree Kernel) Graph kernel based on heuristic for graph isomorphism testing Iteration: Two vertices get identical colors iff their colored neighborhoods are identical 𝜑(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: JMLR 12 (2011), pp. 2539–2561 5
  • 11. Example: Weisfeiler-Lehman Subtree Kernel Example (Weisfeiler-Lehman Subtree Kernel) Graph kernel based on heuristic for graph isomorphism testing Iteration: Two vertices get identical colors iff their colored neighborhoods are identical 𝜑(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: JMLR 12 (2011), pp. 2539–2561 5
  • 12. Example: Weisfeiler-Lehman Subtree Kernel Example (Weisfeiler-Lehman Subtree Kernel) Graph kernel based on heuristic for graph isomorphism testing Iteration: Two vertices get identical colors iff their colored neighborhoods are identical 𝜑(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: JMLR 12 (2011), pp. 2539–2561 5
  • 13. Relationship between 1-WL and GNN 1-WL coloring c(t) (v) = hash (︁ c(t−1) (v), {{c(t−1) (w) | w ∈ N(v)}} )︁ 6
  • 14. Relationship between 1-WL and GNN 1-WL coloring c(t) (v) = hash (︁ c(t−1) (v), {{c(t−1) (w) | w ∈ N(v)}} )︁ General form of GNNs h(t) (v) = f W (t) 1 merge (︁ h(t−1) (v), f W (t) 2 aggr (︀ {{h(t−1) (w) | w ∈ N(v)}} )︀)︁ 6
  • 15. Relationship between 1-WL and GNN 1-WL coloring c(t) (v) = hash (︁ c(t−1) (v), {{c(t−1) (w) | w ∈ N(v)}} )︁ General form of GNNs h(t) (v) = f W (t) 1 merge (︁ h(t−1) (v), f W (t) 2 aggr (︀ {{h(t−1) (w) | w ∈ N(v)}} )︀)︁ Both methods aggregate colors/features of neighbors 6
  • 16. Relationship between 1-WL and GNN 1-WL coloring c(t) (v) = hash (︁ c(t−1) (v), {{c(t−1) (w) | w ∈ N(v)}} )︁ General form of GNNs h(t) (v) = f W (t) 1 merge (︁ h(t−1) (v), f W (t) 2 aggr (︀ {{h(t−1) (w) | w ∈ N(v)}} )︀)︁ Both methods aggregate colors/features of neighbors Theorem (Informal) GNNs cannot be more expressive than 1-WL in terms of distinguishing non-isomorphic graphs. 6
  • 17. Relationship between 1-WL and GNN 1-WL coloring c(t) (v) = hash (︁ c(t−1) (v), {{c(t−1) (w) | w ∈ N(v)}} )︁ General form of GNNs h(t) (v) = f W (t) 1 merge (︁ h(t−1) (v), f W (t) 2 aggr (︀ {{h(t−1) (w) | w ∈ N(v)}} )︀)︁ 7
  • 18. Relationship between 1-WL and GNN 1-WL coloring c(t) (v) = hash (︁ c(t−1) (v), {{c(t−1) (w) | w ∈ N(v)}} )︁ General form of GNNs h(t) (v) = f W (t) 1 merge (︁ h(t−1) (v), f W (t) 2 aggr (︀ {{h(t−1) (w) | w ∈ N(v)}} )︀)︁ Insight GNNs are as powerful as 1-WL if f W (t) 1 merge and f W (t) 2 aggr are injective Theorem (Informal) There exists a GNN architecture and corresponding weights such that it reaches an equivalent coloring as 1-WL. 7
  • 19. Relationship between 1-WL and GNN Theorem (Informal) There exists a GNN architecture and corresponding weights such that it reaches an equivalent coloring as 1-WL. 8
  • 20. Relationship between 1-WL and GNN Theorem (Informal) There exists a GNN architecture and corresponding weights such that it reaches an equivalent coloring as 1-WL. 1-WL GNN ∇ 8
  • 21. Relationship between 1-WL and GNN Theorem (Informal) There exists a GNN architecture and corresponding weights such that it reaches an equivalent coloring as 1-WL. 1-WL GNN ∇ Take Away GNNs have the same power as 1-WL in distinguishing non-isomorphic graphs. 8
  • 22. Relationship between 1-WL and GNN Theorem (Informal) There exists a GNN architecture and corresponding weights such that it reaches an equivalent coloring as 1-WL. 1-WL GNN ∇ Take Away GNNs have the same power as 1-WL in distinguishing non-isomorphic graphs. Limits of 1-WL are well understood. V. Arvind, J. Köbler, G. Rattan, and O. Verbitsky. “On the Power of Color Refinement”. In: Symposium on Fundamentals of Computation Theory. 2015, pp. 339–350 8
  • 23. Limits of GNNs Observation GNNs cannot distinguish very basic graph properties, e.g., • Cycle-free vs. cyclic graphs • Triangle counts • Regular graphs 9
  • 24. Limits of GNNs Observation GNNs cannot distinguish very basic graph properties, e.g., • Cycle-free vs. cyclic graphs • Triangle counts • Regular graphs Observation Higher-order graph properties play an important role for the characterization of real-world networks. 9
  • 25. Higher-order Graph Properties Challenge Incorporate more higher-order graph properties into Graph Neural Networks. 10
  • 26. Higher-order Graph Properties Challenge Incorporate more higher-order graph properties into Graph Neural Networks. 1-WL GNN k-WL k-GNN ∇ Global Global ∇ 10
  • 27. Higher-order Graph Properties Challenge Incorporate more higher-order graph properties into Graph Neural Networks. 1-WL GNN k-WL k-GNN ∇ Global Global ∇ Idea: k-WL Color subgraphs instead of vertices, and define neighborhoods between them. 10
  • 28. 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 v1 v2 v3 v4 v5 v6 11
  • 29. 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 v1 v2 v3 v4 v5 v6 11
  • 30. 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 v1 v2 v3 v4 v5 v6 Idea of the Algorithm Initially Two tuples get the same color if the induced subgraphs are isomorphic 11
  • 31. 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 v1 v2 v3 v4 v5 v6 Idea of the Algorithm Initially Two tuples get the same color if the induced subgraphs are isomorphic Iteration Two tuples get same color iff they have the same colored neighborhood 11
  • 32. k-GNN Idea Derive k-dimensional Graph Neural Network ft S = 𝜎(W1ft−1 S + W2 ∑︁ T∈N(S) ft−1 T ), where S is a subgraph of the input graph of size k. 12
  • 33. k-GNN Idea Derive k-dimensional Graph Neural Network ft S = 𝜎(W1ft−1 S + W2 ∑︁ T∈N(S) ft−1 T ), where S is a subgraph of the input graph of size k. Challenges • Scalability • GPU memory consumption 12
  • 34. Hierarchical k-GNN Idea Learn features for subgraphs in a hierarchical way 13
  • 35. Hierarchical k-GNN Idea Learn features for subgraphs in a hierarchical way 1-GNN . . . 2-GNN . . . 3-GNN . . . MLP Pool Pool Pool Learning higher-order graph properties 13
  • 36. Experimental Results PRO IMDB-M NCI1 PTC-FM MUTAG 0 20 40 60 80 100 Accuracy[%] 1-GNN 1-k-GNN Figure 3: Classification: Improvement on smaller benchmark datasets 14
  • 37. Experimental Results U0 ZPVE H 0.00 0.25 0.50 0.75 1.00 1.25 1.50 1.75 2.00 Errornormalizedto1-GNN(lowerisbetter) 1-k-GNN 1-GNN MPNN DTNN Figure 4: Regression (QM9 data set): Gain over 1-GNN baseline 15
  • 38. Conclusion 1 Relationship between 1-WL kernel and Graph Neural Networks • GNN are a differentiable version of 1-WL • GNNs and 1-WL are equally powerful 2 Higher-order graph embeddings • k-dimensional GNN • Hierarchical Variant 3 Experimental results • Good results for large datasets with continuous node labels 16
  • 39. Conclusion 1 Relationship between 1-WL kernel and Graph Neural Networks • GNN are a differentiable version of 1-WL • GNNs and 1-WL are equally powerful 2 Higher-order graph embeddings • k-dimensional GNN • Hierarchical Variant 3 Experimental results • Good results for large datasets with continuous node labels Collection of graph classification benchmarks graphkernels.cs.tu-dortmund.de 16