14
$\begingroup$

I've been reading different papers regarding graph convolution and it seems that they come into two flavors: spatial and spectral. From what I can see the main difference between the two approaches is that for spatial you're directly multiplying the adjacency matrix with the signal whereas for the spectral version you're using the Laplacian matrix.

Am I missing something, or are there any other differences that I am not aware of?

$\endgroup$

2 Answers 2

4
$\begingroup$

Spectral Convolution In a spectral graph convolution, we perform an Eigen decomposition of the Laplacian Matrix of the graph. This Eigen decomposition helps us in understanding the underlying structure of the graph with which we can identify clusters/sub-groups of this graph. This is done in the Fourier space. An analogy is PCA where we understand the spread of the data by performing an Eigen Decomposition of the feature matrix. The only difference between these two methods is with respect to the Eigen values. Smaller Eigen values explain the structure of the data better in Spectral Convolution whereas it's the opposite in PCA. ChebNet, GCN are some commonly used Deep learning architectures that use Spectral Convolution

Spatial Convolution Spatial Convolution works on local neighbourhood of nodes and understands the properties of a node based on its k local neighbours. Unlike Spectral Convolution which takes a lot of time to compute, Spatial Convolutions are simple and have produced state of the art results on graph classification tasks. GraphSage is a good example for Spatial Convolution.

Additional References: https://towardsdatascience.com/tutorial-on-graph-neural-networks-for-computer-vision-and-beyond-part-2-be6d71d70f49

https://towardsdatascience.com/graph-convolutional-networks-for-geometric-deep-learning-1faf17dee008

$\endgroup$
2
  • 1
    $\begingroup$ The Graph Convolutional Neural Network (GCN) is considered to be a "spatial" approach. The author has mentioned this on his own website. And you also said it: "works on local neighbourhood of nodes" ... I think you should correct this. $\endgroup$ May 16, 2021 at 16:29
  • 1
    $\begingroup$ GCN somehow bridged the gap between 'spatial' and 'spectral' methods, since it can be considered a first order approximation of ChebNet $\endgroup$ May 31, 2021 at 14:07
2
$\begingroup$

After I read multiple explanations from different sources I think I found the main difference between the two methods. Implementation wise the only difference is the matrix that you're multiplying the signal with (Laplacian/adjacency matrix). But by using the Laplacian, you're encoding the graph structure (in-out degree of each node) which dictates how a signal should "diffuse" in the network.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .