TL;DR
As graph representation learning (GRL) transitions into the era of foundation models, evaluating model reliability under real-world deployment stress is more critical than ever. This paper introduces GRL-Safety, a comprehensive benchmark that tests 12 representative graph models across 25 datasets on five distinct safety axes. The findings reveal that newer graph foundation models do not offer blanket safety dominance, and model reliability depends heavily on the specific type of deployment stress encountered.
What Problem Does This Paper Address?
Graph Neural Networks (GNNs) and Graph Foundation Models (GFMs) are increasingly deployed in high-stakes domains like fraud detection, molecular design, and recommendation systems. While existing benchmarks thoroughly measure how well these models transfer to new tasks under "clean" conditions, they largely ignore how models behave under real-world deployment stresses. For instance, what happens when graph structures are corrupted, labels are heavily imbalanced, or data distributions shift over time?
Currently, safety evaluations are fragmented—focusing on one issue at a time (e.g., just fairness or just robustness) under disparate protocols. This paper bridges the gap by introducing a unified, multi-axis safety benchmark to evaluate the entire GRL spectrum under standardized, comparable conditions.
Methods
The authors present GRL-Safety, a standardized benchmark framework designed to evaluate 12 representative GRL methods spanning four distinct architectural eras:
- Shallow graph embeddings: DeepWalk, Node2vec
- Supervised GNNs: GCN, GAT, GraphSAGE
- Self-supervised graph models: BGRL, GraphMAE
- Graph Foundation Models (GFMs): GFT, GIT, UniGraph2, OFA, LLaGA
To ensure a fair comparison while preserving each method's native design, the authors standardized the input substrate: feature-consuming methods use shared text-attribute embeddings (via Sentence-BERT), and pretrained models share a common nine-graph pretraining corpus.
The benchmark evaluates these models across five safety axes:
- Corruption Robustness: Stability against feature noise (Gaussian perturbations) and structure noise (random edge deletion).
- OOD Generalization: Performance under degree, temporal, scaffold, and inductive entity shifts.
- Class Imbalance: Performance under skewed label support, measuring major vs. minor class recall.
- Fairness: Performance disparities between structural groups (high-degree "head" vs. low-degree "tail" nodes) and demographic groups.
- Interpretation: The actual predictive fidelity of post-hoc explanations (saliency maps) under subgraph ablation.
Datasets
The benchmark evaluates models across 25 text-attributed graph datasets spanning seven diverse domains (Academic, E-commerce, Book, Web platform, Knowledge Graph, Recommendation, and Molecule) and three task formats (Node Classification, Link Prediction, and Graph Classification). Standard datasets include Cora, CiteSeer, PubMed, ogbn-arxiv, BACE, Tox21, WN18RR, and FB15K237. While no entirely new datasets are introduced, their unified curation and standardized text-embedding processing form a novel, holistic evaluation substrate.
Key Insights and Ideas
- Stress × Design Matters: Safety isn't a monolithic property dictated by model family alone. A model's vulnerability depends entirely on the interaction between its representation design and the specific graph factor being stressed. For example, topology-only models are highly fragile to edge deletion but completely immune to feature noise.
- No GFM Dominance: "Foundation-era" graph models (GFMs) do not universally outperform older models across safety axes. Instead, they exhibit highly axis-specific strengths (e.g., OFA excels at temporal shifts, while GFT dominates in explanation fidelity). Adopting a GFM is not a silver bullet for safety.
- Persistent Capability Gaps: Certain deployment regimes remain fundamentally broken for all evaluated models. Severe class imbalance consistently forces a harsh trade-off between majority and minority class recall, and temporal drift causes massive accuracy drops across the board, signaling a need for new training objectives rather than just better model selection.
Key Results
- Corruption Robustness: Under severe edge deletion ($p=0.5$), shallow embeddings like DeepWalk drop by nearly 10 points, whereas supervised and self-supervised GNNs remain remarkably stable (dropping $<2$ points). GFMs show mixed results: LLaGA handles feature noise well but degrades under structure noise, while UniGraph2 shows the opposite trend.
- OOD Generalization: Model rankings completely flip depending on the type of distribution shift. GraphMAE shows the lowest drop under degree shifts, but the foundation model OFA achieves the best resilience against temporal shifts on the arXiv dataset.
- Class Imbalance & Fairness: Skewed label support causes severe minority-class collapse; topology-only models drop to near-zero recall on minority classes despite high majority performance. For structural fairness, purely structural representations heavily amplify degree-position disparity, consistently favoring well-connected "head" nodes over isolated "tail" nodes.
- Interpretation Fidelity: Only a small subset of models yield faithful post-hoc explanations. GFT consistently leads in node-level attribution fidelity, followed by GraphSAGE and GIT, while other models fail to outperform a random-edge baseline.
Limitations and Future Work
The authors note that GRL-Safety is not an exhaustive taxonomy of all safety concerns; it currently omits calibration, privacy, and adaptive adversarial robustness. Furthermore, the evaluation is constrained by adapter compatibility—for instance, models without a shared per-edge gradient interface (like LLM-based GFMs) could not be evaluated on the node-level attribution fidelity axis. Future work aims to expand the benchmark to include more diverse adapters, domains, and explicit optimization methods tailored to handle these specific deployment stressors.
Summary updated