Centrality-guided Pre-training for Graph

Bin Liang, Shiwei Chen, Lin Gui, Hui Wang, Yue Yu, Ruifeng Xu, Kam-Fai Wong

In the world of Graph Neural Networks (GNNs), most self-supervised learning (SSL) techniques follow a familiar "disturb and reconstruct" pattern. They mask a few edges or nodes, then ask the model to guess what’s missing. While effective, this approach has a glaring blind spot: it treats every node as equally important.

In reality, graphs are hierarchical. A "hub" node in a social network or a high-traffic router in an internet topology is fundamentally more critical to the graph's structure than a peripheral leaf node. A new paper introduces CenPre (Centrality-guided Graph Pre-training), a framework that explicitly bakes these structural roles into the learning process.

TL;DR

CenPre is a novel graph pre-training framework that uses graph theory—specifically degree and eigenvector centrality—to guide node representation learning. By explicitly teaching models to recognize the varying importance of nodes, it achieves state-of-the-art results across node classification, link prediction, and graph classification tasks.

The Problem: Missing the Forest for the Trees

Existing SSL methods for graphs largely focus on local structure (like immediate neighbors) or global consistency through data augmentation. However, they often ignore the distinct roles nodes play. For example, two nodes might have the same features, but if one is a bridge between two massive clusters and the other is tucked away in a corner, their representations should reflect that structural difference.

The authors argue that ignoring node importance leads to representations that fail to capture the true topology of the data. The challenge lies in integrating these "importance" metrics into a deep learning pipeline without losing the original semantic information (the node's actual features) or becoming computationally overwhelmed by complex graph metrics.

The CenPre Framework

CenPre Architecture

CenPre tackles this challenge through three specialized modules:

  1. Node-level Importance Learning: This module uses degree centrality (the number of direct connections a node has). The model is trained to predict a node's degree based on its embedding. This forces the embedding to encode fine-grained local importance.
  2. Graph-level Importance Learning: To capture global influence, the authors turn to eigenvector centrality (the idea that a node is important if its neighbors are important). They use Truncated Singular Value Decomposition (SVD) to extract structural patterns efficiently. A cross-attention mechanism then fuses these structural patterns with feature-based representations.
  3. Representation Alignment: A common pitfall in pre-training is "forgetting" the original features while obsessing over structure. CenPre uses a representation alignment module to ensure the pre-trained, structure-aware embeddings stay anchored to the original semantic information.

The final objective is a joint loss function that balances these three goals, allowing the model to learn a "best of both worlds" representation.

Key Insights

  • Centrality as a Prior: Instead of hoping the GNN eventually "discovers" which nodes are important, CenPre uses established graph theory metrics as a supervised signal during the pre-training phase.
  • The Power of SVD: Calculating eigenvector centrality for every node in a massive graph is computationally expensive. By using Truncated SVD, the authors capture the most significant structural information while keeping the math tractable for large-scale data.
  • Semantic Anchoring: Ablation studies reveal the critical role of the Alignment module. Without it, the model can become too focused on the graph's skeleton, losing the rich feature data necessary for downstream tasks.

State-of-the-Art Results

The authors evaluated CenPre on 13 diverse, real-world benchmark datasets, spanning citation networks (Cora, CiteSeer, PubMed), Amazon co-purchase graphs, and large-scale networks like ogbn-arXiv.

Node Classification Results

CenPre consistently outperformed state-of-the-art baselines, including popular methods like GraphMAE and GCA:

  • Node Classification: On the Cora dataset, CenPre achieved 85.15% accuracy, significantly higher than the supervised GCN baseline (81.50%) and competing self-supervised methods.
  • Link Prediction: CenPre reached near-perfect scores on PubMed (99.82% AUC), showcasing its ability to understand the likelihood of connections based on structural roles.
  • Graph Classification: The model showed strong performance on datasets like NCI1 and MUTAG, proving that improving individual node representations leads to a better understanding of the graph as a whole.
  • Visual Proof: Visualizations in the study show that CenPre produces much tighter, more distinct clusters for different node labels compared to original representations or other SSL variants.

Limitations and Future Work

While CenPre is powerful, the authors acknowledge a few hurdles. The framework relies heavily on degree and eigenvector centrality, which might not capture the nuances of heterogeneous graphs (where nodes and edges have different types) or extremely dense graphs where centrality is less discriminative. Additionally, even with Truncated SVD, calculating global metrics for graphs with billions of nodes remains a challenge for future scaling.

Future directions include exploring more complex structural descriptors and finding ways to exploit node importance in a more differentiated way—perhaps by using different centrality measures tailored to specific downstream tasks.

Summary updated

BibTeX
@inproceedings{liang2025centrality,
  author = {Bin Liang and Shiwei Chen and Lin Gui and Hui Wang and Yue Yu and Ruifeng Xu and Kam-Fai Wong},
  title = {{Centrality-guided Pre-training for Graph}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=X8E65IxA73},
}
Figure