Centrality Graph Shift Operators for Graph Neural Networks

Yassine Abbahaddou, Fragkiskos D. Malliaros, Johannes F. Lutzeyer, Michalis Vazirgiannis · DOI

Introduction

Graph Neural Networks (GNNs) typically rely on the Graph Shift Operator (GSO)—often the adjacency or Laplacian matrix—to propagate information between nodes. Standard GSOs normalize these interactions using local node degrees. However, node degree is a "myopic" metric that fails to capture a node's global importance or its position within the broader network hierarchy.

This paper introduces Centrality Graph Shift Operators (CGSOs), a novel family of operators that normalize the adjacency matrix using global centrality metrics such as PageRank and $k$-core. This approach allows GNNs to incorporate global structural context while maintaining the computational efficiency of sparse graph operations.

The Limitation of Local Information

In traditional graph representation learning, a node with five neighbors in a dense cluster is treated identically to a node with five neighbors acting as a bridge between two distinct communities. By ignoring global topology, standard GNNs miss crucial context, particularly in heterophilic graphs where connected nodes often belong to different classes.

Proposed Method: Centrality GSOs

The core innovation is the CGSO framework. Given an adjacency matrix $\mathbf{A}$ and a diagonal matrix $\mathbf{V}$ containing centrality scores, the basic CGSO is defined as $\mathbf{V}^{-1}\mathbf{A}$. The authors explore three primary global centralities:

  1. $k$-core: Measures connectivity within a neighborhood via iterative pruning.
  2. PageRank: Captures global importance based on random walk probabilities.
  3. Walk Count: Counts paths of a fixed length $\ell$ starting from a node.

To optimize these operators for specific tasks, the authors propose a learnable, parameterized CGSO: $$\Phi(\mathbf{A}, \mathbf{V}) = m_1\mathbf{V}^{e_1} + m_2\mathbf{V}^{e_2}\mathbf{A}_a\mathbf{V}^{e_3} + m_3\mathbf{I}_N$$ This formulation allows the model to learn via backpropagation whether to emphasize high or low centrality nodes and how to weight self-loops.

Heatmaps showing the performance landscape of different centrality-based operators across learnable parameters e2 and e3.

Key Results and Insights

The CGSO framework was evaluated across 16 datasets, including citation networks, social graphs, and heterophilic datasets.

Hierarchical Recovery and Spectral Clustering

On synthetic tasks designed to test hierarchical structure recovery (using the Stochastic Block Barabási–Albert Model), CGSOs significantly outperformed traditional methods. Specifically, the $k$-core CGSO achieved an Adjusted Mutual Information (AMI) of 35.78%, vastly outperforming the degree-based GSO (23.26%) and the popular Louvain community detection algorithm (14.37%).

Comparison of AMI and ARI scores for spectral clustering tasks, highlighting the superiority of CGSO with k-core centrality.

Node Classification

CGSOs demonstrated substantial gains in node classification, particularly on heterophilic datasets where neighbors often belong to different classes:

  • Wisconsin (Heterophilic): Centrality GAT (CGATv2) reached 80.78% accuracy, compared to 53.53% for vanilla GATv2.
  • Arxiv-year: Centrality GCN (CGCN) achieved 47.27% accuracy, outperforming standard GCN (38.55%).

Conclusion

Centrality Graph Shift Operators provide a scalable way to inject global structural awareness into GNNs. By preserving graph sparsity, CGSOs avoid the $O(N^2)$ complexity of Graph Transformers while offering superior performance on tasks where global hierarchy and node importance are critical. Future work includes exploring motif-based centralities and applying CGSOs to link prediction tasks.

Source Code: https://github.com/abbahaddou/CGSO

Summary updated

BibTeX
@misc{abbahaddou2024centrality,
  author = {Yassine Abbahaddou and Fragkiskos D. Malliaros and Johannes F. Lutzeyer and Michalis Vazirgiannis},
  title = {{Centrality Graph Shift Operators for Graph Neural Networks}},
  year = {2024},
  eprint = {2411.04655},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.04655},
}
Figure