GNN

This page is heavily conditioned on the course “ESE 5140 Graph Neural Networks” by Prof. Alejandro Ribeiro at UPenn.

Graph

Def: a triplet mathematical expression or equation

  • Vertices: set of mathematical expression or equation
  • Edges: ordered pairs of label mathematical expression or equation
  • Weights: mathematical expression or equation

Properties:

  • Symmetric/Undirected: mathematical expression or equation
  • Unweighted: mathematical expression or equation

Graph Shift Operator

Def: a stand-in for any matrix representation of graph

Key property: Symmetric: mathematical expression or equation

Notions:

  • Neighborhood: set of nodes that influence mathematical expression or equation
  • Degree: sum of weights of its incident edges: mathematical expression or equation
  • Degree Matrix: diagonal matrix mathematical expression or equation

Types:

  • Adjacency Matrices: sparse matrix mathematical expression or equation with nonzero entries $$ A_{ij}=w_{ij}\ \ \forall(i,j)\in\mathcal{E} $$
    • If symmetric: mathematical expression or equation
    • If unweighted: mathematical expression or equation
  • Normalized Adjacency Matrix: weights relative to nodes’ degrees $$ \bar{A}=D^{-\frac{1}{2}}AD^{-\frac{1}{2}} $$
    • entries: mathematical expression or equation
  • Laplacian Matrix: weights relative to nodes’ degrees $$ L=D-A $$
    • Non-diagonal entries: mathematical expression or equation
    • Diagonal entries: mathematical expression or equation
  • Normalized Laplacian Matrix: $$ \bar{L}=D^{-\frac{1}{2}}LD^{-\frac{1}{2}}=I-\bar{A} $$

Graph Signal

Graph Signal: a vector mathematical expression or equation

  • If the graph is intrinsic to the signal, we write mathematical expression or equation
  • The graph is an expectation of proximity/similarity between signal components

Graph Signal Diffusion: diffused signal mathematical expression or equation

  • Stronger weights contribute more to diffusion output
  • Codifies a local operation where components are mixed with components of neighboring nodes

Diffusion Sequence:

  • Recursive ver: mathematical expression or equation (best for implementation)
  • Power ver: mathematical expression or equation (best for analysis)
  • mathematical expression or equation -hop neighborhoods
  • used for graph convolution

Graph Convolutional Filter

Graph Filter: a polynomial for linear processing of graph signals $$ H(S)=\sum_{k=0}^{\infty}h_kS^k $$

  • mathematical expression or equation : graph shift operator
  • mathematical expression or equation : filter coefficients

Graph Convolution: apply filter mathematical expression or equation $$ \textbf{y}=h_{\star S}\textbf{x}=H(S)\textbf{x}=\sum_{k=0}^{\infty}h_kS^k\textbf{x} $$

  • Convolution = shift + scale + sum
  • Graph convolution = weighted linear combination of diffusion sequence (i.e., shift register)
  • Properties:
    • Globalization: aggregate info from local to global neighborhoods
    • Transferability: the same filter mathematical expression or equation can be executed in multiple graphs

Time Convolution: linear combination of time-shifted inputs mathematical expression or equation

  • Time signals are representable as graph signals on a line graph mathematical expression or equation .
    • nodes = data points
    • edges = temporal relationships between adjacent data points
  • Time shift can be interpreted as multiplications of adjacency matrix mathematical expression or equation .

Graph Fourier Transform

Notions:

  • Eigenvectors & Eigenvalues: mathematical expression or equation
  • Eigenvector matrix: mathematical expression or equation
    • mathematical expression or equation
  • Eigenvalue matrix: mathematical expression or equation
    • Ordered real eigenvalues: mathematical expression or equation
  • Eigenvector decomposition: mathematical expression or equation

Graph Fourier Transform: Given mathematical expression or equation on the eigenspace is: $$ \tilde{\textbf{x}}=V^T\textbf{x} $$

  • mathematical expression or equation

Inverse Graph Fourier Transform: Given mathematical expression or equation from the eigenspace is: $$ \tilde{\tilde{\textbf{x}}}=V\tilde{\textbf{x}}=VV^T\textbf{x}=I\textbf{x}=\textbf{x} $$

Graph Frequency Represention of Graph Filters: consider graph filter mathematical expression or equation are related by $$ \tilde{\textbf{y}}=\sum_{k=0}^{\infty}h_k\Lambda^k\tilde{\textbf{x}} $$

  • Graph convolutions are pointwise in GFT domain: mathematical expression or equation
  • Frequency Response of a Graph Filter: $$ \tilde{h}(\lambda)=\sum_{k=0}^{\infty}h_k\lambda^k $$
    • = the same polynomial that defines the graph filter, but on scalar variable mathematical expression or equation
    • Independent of the graph
      • Role of the graph: to determine the eigenvalues on which the response is instantiated
      • Eigenvectors determine the meaning of the frequencies

Graph Neural Network

Learning with Graph Signals