From Graph Filters to Graph Neural Networks

Fernando Gama, Elvin Isufi, Geert Leus, Alejandro Ribeiro

Abstract

Network data can be conveniently modeled as a graph signal, where data values are assigned to nodes of a graph that describes the underlying network topology. Successful learning from network data is built upon methods that effectively exploit this graph structure. In this work, we leverage graph signal processing to characterize the representation space of graph neural networks (GNNs). We discuss the role of graph convolutional filters in GNNs and show that any architecture built with such filters has the fundamental properties of permutation equivariance and stability to changes in the topology. These two properties offer insight about the workings of GNNs and help explain their scalability and transferability properties which, coupled with their local and distributed nature, make GNNs powerful tools for learning in physical networks. We also introduce GNN extensions using edge-varying and autoregressive moving average graph filters and discuss their properties. Finally, we study the use of GNNs in recommender systems and learning decentralized controllers for robot swarms.

Introduction

While Convolutional Neural Networks (CNNs) revolutionized image processing, they struggle with "irregular" data, such as social networks, power grids, or biological structures, where data points are not arranged on a neat grid. Graph Neural Networks (GNNs) were designed to solve this, but for a long time, they were treated as "black boxes." This work provides a rigorous mathematical bridge between Graph Signal Processing (GSP) and GNNs. By treating GNNs as nonlinear extensions of graph filters, we prove that these architectures are inherently permutation equivariant and stable to topological changes—mathematical properties that explain why GNNs scale effectively and can transfer knowledge between different network structures.

Theoretical Framework and Architecture

The paper frames GNNs through the lens of Graph Signal Processing. We define the "graph convolution" as a linear operation using a Graph Shift Operator (S)—usually the adjacency or Laplacian matrix. This allows for the definition of a "frequency response" for graphs, analogous to the Fourier transform in traditional signal processing.

Architecture of a multi-layer Graph Neural Network (GNN) showing the cascade of graph filters and nonlinearities.

As illustrated above, a Graph Convolutional Neural Network (GCNN) is modeled as a cascade of graph filters followed by pointwise nonlinearities (like ReLU). We also explore architectural extensions such as ARMANet, which uses Auto-Regressive Moving Average filters to achieve sharper frequency responses with fewer parameters, and EdgeNet, a more flexible model where every edge has unique weights. While EdgeNet is powerful, it often sacrifices the stability and equivariance inherent in standard GCNNs.

Key Insights: Symmetry and Stability

Our theoretical analysis yields several critical insights into the behavior of GNNs:

  • Permutation Equivariance: This property allows GNNs to exploit topological symmetries. The network learns how neighborhoods behave rather than memorizing specific node identities, which is essential for generalization.
  • The Role of Nonlinearity: In linear signal processing, there is a trade-off between selectivity and stability. We show that nonlinearities in GNNs help resolve this by "spilling" energy across the spectrum (frequency mixing), allowing the network to capture high-frequency information in a stable manner.
  • Depth vs. Stability: Mathematical evidence suggests that while deeper GNNs can learn more complex patterns, they become progressively less stable to changes in the graph topology.

Experimental Validation

We validate these theoretical insights using two distinct applications:

  1. MovieLens-100k: In recommendation tasks, we found that while the highly flexible EdgeNet performed best on specific training sets (RMSE 0.81), it failed to transfer to other movies. The standard GCNN was far more robust when applied to new, unseen parts of the graph.
  2. Decentralized Robot Swarms: In a flocking task involving 50 agents, the GCNN achieved a performance cost (77–78) very close to the optimal centralized controller (51), whereas linear filters failed entirely. Most importantly, a GCNN trained on 50 agents was tested on 100 agents without any retraining and maintained near-perfect performance, demonstrating the transferability predicted by our stability theorems.

Limitations and Future Directions

While this framework provides a strong foundation, several challenges remain. Current mathematical bounds for stability are relatively loose; future work focusing on eigenvector perturbations could provide more precise limits. Additionally, there is no clear theoretical rule for choosing hyperparameters like the number of layers ($L$) or filter taps ($K$) based on graph properties. Finally, extending these stability proofs to cover transitions between graphs of significantly different sizes remains a major open research direction.

Summary updated

BibTeX
@inproceedings{gama2020from,
  author = {Fernando Gama and Elvin Isufi and Geert Leus and Alejandro Ribeiro},
  title = {{From Graph Filters to Graph Neural Networks}},
  booktitle = {IEEE Signal Process. Mag},
  year = {2020},
  url = {https://openreview.net/forum?id=pWDd1bjkf5a},
}
Figure