GraphCNN
GraphCNN
h
G V E
ItyTjmYht
f
L set of
Set
of Edges Several problems
Verticies WI YA Can be easily
u v 4,9 embedded into graphs
ya
and can be solved
It has been observed using existing 4efficient
that
for learningrelated graph algorithms for
traversed shortestpath
Graph embedded problems
xD xE
into
A
A GCN B
B The learned node
Any graph 9 4 E embeddings must
preserve the relative
6 b nearness
A B C D E
AC
Nk 5 AE BC BD CD CEI
1131 6
Adjacency matrix A a
x MXN
A B C D E Each node A B c D E have
A 00 I O l a
feature fat vector associated
B O O I 1 0 to it Let us assume that the
C 1 I O l 1 Size of input feature is fo
D O I 1 O O i e each node have a FO
l O
F I O dimensional feature vector
1 2 3 Fo Wtf FA f B te fo te
Y A fa SE SE fn
2 B fig ff ffg fpfo Ifp feature Matrix X
3 e N X Fo
i D
Ef FEZ fee
Hence
from any given graph G d
V E we
will have 2 matrices entracted
M N
as infut
Adjacency matrix A and feature matrixLx
N xN Nx FI
it Hi
forfhnIIPf Ha
GCN
H
legend
f x A
Hi f
Yui
A
L
Ho X f propagation function
H fw Hii A
say cults
Nxf3 fwzlfe.is xn
2 3
f 1
The most simplest rule can be
Wi
Hi fw Hi A 0 A Hi.it
Nx ntxr.it i
ypij.E hd.EaeaTEif
0 10,03 El I I I
I 1 I 2 23 3 3 15 5 5 5
I I
2 2 2 EI I
3 3 2
3 O o 152 2
a
i
t
g
LafIuaTL n
it belongs b the
neighbourhood of
node
Degree Z Aig
I I ton
At degreeis very
high too many things willbe added This may lead
to
Nf degree is
low then way vanishenflode
the absolute value
less things will be added
of thefeature
As optimizers are This resent
may
quietsensitive b ilpscales in
baceepsopagaton issues
Hence the
finally aggregated mode featuse
Need to be
suitably normalized
o
The node features are normalized
solution
by the
degree of the node
Aggregated featese per unit
of degree
D ch
des
If
f µ
Yd 2
Yds
yd
Hence the
final update rule can be
f X A D A X Ca
D II X b
A A TI
solving both issues
Therefore for our case
on 3131
fog
o
O
L
2421
l Ii
I
I
I
f's I'q
I M Iii
a D AX b D An X
c H
ii n
I H
I
4 1
iii IM
After aggregation transformation nonlinearity
has been introduced Rehe Activation lol
using
Relu fw x AI
H 0 DAy W
12g uhI punks
mp
final
representation
layer ofp
I 4
w Ruled sum
Transferm LM
Aggregate A He AH
0cm w
Rule 2 MEAN
Aggregate A H
AA
II
D H
At I
i iii
I
iii
1 3 1
Let us working on node hence
using
Moro of adjacency matron Ai
aggCA x
i Aix Ami
XI
H feature
Klute contribution only of Mode
of each
mdfmohY7yayfayfa
14471M
n ou
g
Meanwhile
agg.CA x i D Aix
a5 Mrs
i.is Aii
mum
xj
is fined Just same as
Varies from to Poem'ous
representations
of neighbours of node
spectral Rule o
aggCA xho D Ai
Degree of
x
Ifi i