Learning Parametrised Graph Shift Operators

George Dasoulas, Johannes F. Lutzeyer, Michalis Vazirgiannis

In the world of Graph Neural Networks (GNNs), how we represent the connections between nodes is everything. Traditionally, researchers have relied on "hand-engineered" mathematical operators—like the Adjacency or Laplacian matrices—to define how information flows through a network. But what if the "best" way to move information depends entirely on the specific graph you're looking at?

At ICLR 2021, researchers George Dasoulas, Johannes F. Lutzeyer, and Michalis Vazirgiannis presented a compelling answer: Parametrised Graph Shift Operators (PGSO). Instead of picking a fixed operator, they suggest we should let the model learn it.

TL;DR

Standard GNNs use fixed mathematical rules (Graph Shift Operators) to aggregate data from neighbors. This paper introduces PGSO, a differentiable, learnable operator that unifies common choices like the Adjacency and Laplacian matrices into a single framework. This allows GNNs to automatically adapt their "information flow" to the specific topology and sparsity of a dataset.

What Problem Does This Paper Address?

In graph machine learning, the Graph Shift Operator (GSO) is the engine of the model. It determines how a node’s features are updated based on its neighbors. Currently, choosing a GSO is a manual trial-and-error process. One researcher might use the symmetric normalized Laplacian, while another prefers the simple adjacency matrix.

The authors identify two major gaps in this standard approach:

  1. Lack of Universality: There is no single "optimal" representation; the best GSO often changes depending on the task (node vs. graph classification) and the data (dense vs. sparse graphs).
  2. Rigidity: Most GNNs keep the GSO constant during training, only optimizing the weights of the neural network layers. This ignores a massive opportunity to optimize the very structure of the message-passing operation itself.

Methods

The authors propose the Parametrised Graph Shift Operator (PGSO), defined by a flexible equation:

$$\gamma(A, S) = m_1 D_a^{e_1} + m_2 D_a^{e_2} A_a D_a^{e_3} + m_3 I_n$$

Where:

  • $A_a$ and $D_a$ are the adjacency and degree matrices (with an additive parameter $a$ for self-loops).
  • $m_1, m_2, m_3$ are multiplicative scalars.
  • $e_1, e_2, e_3$ are exponential scalars.

Why this matters: By changing these seven parameters, the PGSO can "morph" into almost any standard operator used in the literature (e.g., GCN's renormalization trick, Random-walk Laplacians, or simple Sum aggregators).

Crucially, these parameters are differentiable, meaning they can be optimized via backpropagation alongside the rest of the neural network. To ensure this doesn't break the model, the authors provide a mathematical proof that the PGSO maintains real eigenvalues and stable spectral bounds, preventing the dreaded "exploding gradient" problem.

Key Insights and Ideas

  • Automatic Regularization: In Stochastic Block Model (SBM) experiments, the authors found that as graphs became sparser (indicated by a lower probability $p$), the learned additive parameter ($a$) automatically increased. This effectively "regularizes" the graph, a technique previously discovered manually by researchers but now replicated automatically by the PGSO.
PGSO parameters adapting to graph sparsity
  • The "No Free Lunch" Confirmation: The optimal parameters learned for the Cora dataset were different from those learned for CiteSeer. This confirms that the "best" way to represent a graph is indeed data-dependent.
  • Efficiency over Attention: While models like Graph Attention Networks (GAT) learn weights for every single edge, PGSO learns just a handful of global parameters. This makes it much more computationally efficient while still providing significant performance boosts.
  • Numerical Stability: Despite being learnable, the spectral support of the PGSO remains centered at zero and evolves smoothly during training, ensuring the model remains stable.

Key Results

The inclusion of PGSO improved the performance of four major GNN baselines (GCN, GAT, SGC, and GIN) across nearly all evaluated datasets, which included node classification benchmarks (Cora, CiteSeer, ogbn-arxiv) and graph classification tasks (MUTAG, PTC-MR, IMDB-BINARY, OGBG-MOLHIV).

  • Accuracy Boosts: On graph classification tasks like MUTAG and IMDB-BINARY, the PGSO-augmented models saw significant accuracy jumps (e.g., GCN on MUTAG went from ~85.8% to ~90.7%).
  • Faster Convergence: PGSO models reached their peak accuracy in fewer epochs and achieved lower loss values compared to their "fixed" counterparts.
  • Robustness: The models were surprisingly insensitive to how the PGSO parameters were initialized. Whether starting from a Laplacian, an adjacency matrix, or a simple zero-initialization, the parameters eventually converged to similar optimal trajectories over the training epochs.
Parameter convergence across different initializations

Limitations and Future Work

  • Undirected Focus: The theoretical proofs regarding real eigenvalues and eigenvectors currently assume undirected graphs. Extending this to directed graphs would require further complex-valued spectral analysis.
  • Global vs. Local: The current PGSO applies the same parameters to the entire graph. The authors suggest that using vector parameters (allowing different nodes or edges to have different shift properties) could increase expressivity, though it would come at a higher computational cost.
  • Receptive Field: PGSO optimizes the 1-hop neighborhood representation. It does not inherently change the "reach" of a single layer, though it can be combined with other methods that expand the receptive field.

For researchers looking to squeeze more performance out of their GNNs without the overhead of heavy attention mechanisms, PGSO offers a mathematically grounded and highly effective "plug-and-play" upgrade.

Summary updated

BibTeX
@inproceedings{dasoulas2021learning,
  author = {George Dasoulas and Johannes F. Lutzeyer and Michalis Vazirgiannis},
  title = {{Learning Parametrised Graph Shift Operators}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=r38gGDIjfIz},
}
Figure