Skip to content
DraconiticResearch
Search Sources API
203,948 studies31 sourcesUpdated just now
PreprintCC BY 4.0arXiv

Not All Nodes Are Created Equal: Homophily-Aware Stratification for Stable GNN Evaluation

Abstract

Graph neural networks are widely used for transductive node classification, with accuracy typically measured on randomly drawn train/validation/test splits. Reported accuracy has been shown to shift substantially across different random splits of the same dataset, making published comparisons between architectures unreliable. The classical remedy in non-graph settings is stratified k-fold cross-validation, which ensures each test fold reflects the full class distribution of the dataset. We argue that class stratification alone is insufficient for graphs: nodes are not isolated but connected, and folds that differ in their distribution of local neighbourhood homophily expose the model to systematically different relational conditions that directly affect message-passing behaviour. The resulting cross-fold variation reflects the homophily composition of each split, inflating reported variance beyond what model behaviour alone would produce. To address this, we propose \hp{}, a topology-aware stratification procedure that treats node homophily as the primary stratification axis, aligning folds with respect to local relational consistency alongside the class marginal that standard stratification already controls. Stratifying on homophily alone does not guarantee class balance, so \hp{} incorporates class label as a secondary axis, preserving class representativeness as a natural consequence of the procedure. We evaluate \hp{} on a broad benchmark suite comprising 15 node-classification datasets spanning the full homophily spectrum and 7 GNN architectures. \hp{} achieves a mean stability rank of 1.49 compared to 2.31 for random k-fold, achieving the lowest mean stability rank on 13 of 15 datasets while preserving class balance close to class-stratified splits and substantially better than random. We argue that homophily-aware split construction merits broader adoption for GNN evaluation.

Related

  1. Sensitivity Bounds and Conservative Inference for Contagion under Latent Homophily
    Duncan A. Clark
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  2. A MATLAB Tool for the Stable Generation of Matrix Polynomial Evaluation Schemes with Two-Product Savings
    J. Ibáñez, J. Sastre, J. M. Alonso +1
    arXivPreprintarXiv licenceFull textNumerical analysis & scientific computingarXiv
  3. Six-hourly Probabilistic Precipitation Forecasts Created From Hourly Probabilities
    Thomas M Hamill
    arXivPreprintCC BY 4.0Full textAtmospheric science & meteorologyStatisticsarXiv
  4. Robust Inference for Dyadic Data with Spatially Dependent Nodes
    Ulrich Hounyo, Jiahao Lin, Xiaojun Song
    arXivPreprintCC0Full textStatisticsarXiv
  5. Estimating the number of nodes and paths in a DAG by following a random path
    Günter Rote
    arXivPreprintarXiv licenceFull textCombinatorics & discrete mathematicsarXiv
BibTeX
@misc{jami2026nodes,
  title = {{Not All Nodes Are Created Equal: Homophily-Aware Stratification for Stable GNN Evaluation}},
  author = {Naga Venkata Sai Jitin Jami and Thomas Altstidl and Sebastian Hoefler and Jonas Mueller and Dario Zanca and Bjoern Eskofier and Heike Leutheuser},
  howpublished = {arXiv},
  year = {2026},
  month = sep,
  doi = {10.48550/arxiv.2609.19210},
  eprint = {2609.19210},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.19210},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Not All Nodes Are Created Equal: Homophily-Aware Stratification for Stable GNN Evaluation
AU  - Naga Venkata Sai Jitin Jami
AU  - Thomas Altstidl
AU  - Sebastian Hoefler
AU  - Jonas Mueller
AU  - Dario Zanca
AU  - Bjoern Eskofier
AU  - Heike Leutheuser
PY  - 2026
DA  - 2026/09/16
PB  - arXiv
DO  - 10.48550/arxiv.2609.19210
UR  - https://arxiv.org/abs/2609.19210
AB  - Graph neural networks are widely used for transductive node classification, with accuracy typically measured on randomly drawn train/validation/test splits. Reported accuracy has been shown to shift substantially across different random splits of the same dataset, making published comparisons between architectures unreliable. The classical remedy in non-graph settings is stratified k-fold cross-validation, which ensures each test fold reflects the full class distribution of the dataset. We argue that class stratification alone is insufficient for graphs: nodes are not isolated but connected, and folds that differ in their distribution of local neighbourhood homophily expose the model to systematically different relational conditions that directly affect message-passing behaviour. The resulting cross-fold variation reflects the homophily composition of each split, inflating reported variance beyond what model behaviour alone would produce. To address this, we propose \hp{}, a topology-aware stratification procedure that treats node homophily as the primary stratification axis, aligning folds with respect to local relational consistency alongside the class marginal that standard stratification already controls. Stratifying on homophily alone does not guarantee class balance, so \hp{} incorporates class label as a secondary axis, preserving class representativeness as a natural consequence of the procedure. We evaluate \hp{} on a broad benchmark suite comprising 15 node-classification datasets spanning the full homophily spectrum and 7 GNN architectures. \hp{} achieves a mean stability rank of 1.49 compared to 2.31 for random k-fold, achieving the lowest mean stability rank on 13 of 15 datasets while preserving class balance close to class-stratified splits and substantially better than random. We argue that homophily-aware split construction merits broader adoption for GNN evaluation.
ER  -