Stability of Graph Neural Networks to Relative Perturbations

Fernando Gama, Alejandro Ribeiro, Joan BrunaICASSP 2019

Introduction

Graph Neural Networks (GNNs) have become a cornerstone for processing data on irregular domains, such as power grids, sensor networks, and recommendation systems. However, these systems often rely on a "Graph Shift Operator" (GSO)—like an adjacency or Laplacian matrix—that may be noisy or subject to change between training and deployment. This paper investigates the stability of trainable GNNs to relative perturbations, where changes in the graph topology are proportional to the original edge weights.

The Stability-Discriminability Paradox

Traditional linear graph filters face a fundamental trade-off. To remain stable against graph perturbations, a filter's frequency response must be "flat," particularly at high eigenvalues where sensitivity to change is greatest. However, a flat filter cannot distinguish between different high-frequency features, leading to a loss of discriminability.

Visualization of (a) Integral Lipschitz filters, (b) high-frequency features, and (c) the frequency mixing effect of nonlinearities.

Methods: Integral Lipschitz Filters and Frequency Mixing

The authors resolve this paradox by identifying two key mechanisms in GNNs:

  1. Integral Lipschitz Filters: These filters are defined by a frequency response that is smooth and becomes increasingly "flat" at higher eigenvalues. This mathematical property ensures that the filter output is bounded relative to the size of the graph perturbation ($\epsilon$).
  2. Nonlinearity as Frequency Mixing: Pointwise nonlinearities, such as ReLU, act as frequency mixers. They shift high-frequency information into lower-frequency bands. This allows a GNN to capture high-frequency data using a stable (flat) filter in one layer, and then use subsequent layers to discriminate that data once it has been moved to a more stable, lower-frequency region of the spectrum.

To enforce these properties during training, the authors introduce a stability-informed regularization term. By penalizing the derivative of the filter's frequency response, the model is forced to learn filters that are mathematically guaranteed to be stable.

Empirical Results

The framework was evaluated using the MovieLens-100k dataset, where the task was to predict user ratings based on a movie-correlation graph. The researchers tested the model's stability by applying synthetic perturbations to the graph and evaluating performance on movies not seen during training.

RMSE difference across various movies in the MovieLens dataset, comparing standard GNNs with those using the stability penalty.

As shown in the results, GNNs trained with the stability penalty ($\mu = 0.5$) exhibited significantly lower Root Mean Square Error (RMSE) differences when faced with perturbed graphs compared to standard GNNs. This confirms that the proposed regularization effectively improves the model's robustness to topological noise.

Conclusion

This research provides a formal proof that GNNs are stable to relative perturbations when using Integral Lipschitz filters. The core insight is that the combination of specific filter shapes and nonlinearities allows GNNs to achieve both stability and selectivity, explaining their superior performance over linear models in dynamic or noisy environments. While deeper networks may accumulate more instability (with error growing proportional to the number of layers $L$), stability-informed training offers a practical path toward more reliable graph-based machine learning.

Summary updated

BibTeX
@inproceedings{gama2019stability,
  author = {Fernando Gama and Alejandro Ribeiro and Joan Bruna},
  title = {{Stability of Graph Neural Networks to Relative Perturbations}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2019},
  doi = {10.1109/icassp40776.2020.9054341},
}
Figure