Skip to main content
QUICK REVIEW

[Paper Review] When Do Graph Neural Networks Help with Node Classification? Investigating the Impact of Homophily Principle on Node Distinguishability

Sitao Luan, Chenqing Hua|arXiv (Cornell University)|Apr 25, 2023
Advanced Graph Neural NetworksComputer Science12 citations
TL;DR

The paper introduces CSBM-H to jointly study intra- and inter-class node distinguishability (ND) under varying homophily, proposes two ND metrics (Probabilistic Bayes Error and negative generalized Jeffreys divergence), analyzes how graph filters and degree distributions influence ND, and proposes a classifier-based performance metric (CPM) to predict GNN superiority beyond traditional homophily measures.

ABSTRACT

Homophily principle, i.e., nodes with the same labels are more likely to be connected, has been believed to be the main reason for the performance superiority of Graph Neural Networks (GNNs) over Neural Networks on node classification tasks. Recent research suggests that, even in the absence of homophily, the advantage of GNNs still exists as long as nodes from the same class share similar neighborhood patterns. However, this argument only considers intra-class Node Distinguishability (ND) but neglects inter-class ND, which provides incomplete understanding of homophily on GNNs. In this paper, we first demonstrate such deficiency with examples and argue that an ideal situation for ND is to have smaller intra-class ND than inter-class ND. To formulate this idea and study ND deeply, we propose Contextual Stochastic Block Model for Homophily (CSBM-H) and define two metrics, Probabilistic Bayes Error (PBE) and negative generalized Jeffreys divergence, to quantify ND. With the metrics, we visualize and analyze how graph filters, node degree distributions and class variances influence ND, and investigate the combined effect of intra- and inter-class ND. Besides, we discovered the mid-homophily pitfall, which occurs widely in graph datasets. Furthermore, we verified that, in real-work tasks, the superiority of GNNs is indeed closely related to both intra- and inter-class ND regardless of homophily levels. Grounded in this observation, we propose a new hypothesis-testing based performance metric beyond homophily, which is non-linear, feature-based and can provide statistical threshold value for GNNs' the superiority. Experiments indicate that it is significantly more effective than the existing homophily metrics on revealing the advantage and disadvantage of graph-aware modes on both synthetic and benchmark real-world datasets.

Motivation & Objective

  • Motivate a comprehensive understanding of how homophily influences node distinguishability by considering both intra- and inter-class distances.
  • Propose a graph generative model CSBM-H that explicitly incorporates homophily, class variance, and node degrees to study ND.
  • Define and compute ND metrics (Probabilistic Bayes Error and negative generalized Jeffreys divergence) to quantify ND under CSBM-H.
  • Analyze how graph filters (LP, FP, HP) and degree distributions affect ND and identify the mid-homophily pitfall.
  • Propose and evaluate a non-linear, feature-based performance metric CPM to predict when graph-aware models outperform graph-agnostic ones.

Proposed method

  • Introduce CSBM-H as a two-class contextual stochastic block model with an explicit homophily parameter h and class variances σ0^2, σ1^2.
  • Derive the Bayes classifier for CSBM-H and express its decision boundary through Q(x) with parameters a, b, c.
  • Define Probabilistic Bayes Error (PBE) using the generalized chi-squared distribution of Q(x) to quantify ND.
  • Define negative generalized Jeffreys divergence D_NGJ(CSBM-H) to decompose ND into ENND and NVR terms.
  • Show how LP (A_rw), full-pass, and HP (I - A_rw) filtered features affect ND via analytical expressions and ablation studies.
  • Propose Classifier-based Performance Metric (CPM) using hypothesis testing thresholds to predict GNN superiority.
Figure 1: Example of intra- and inter-class node distinguishability.
Figure 1: Example of intra- and inter-class node distinguishability.

Experimental results

Research questions

  • RQ1How do intra-class and inter-class ND interact to determine the effectiveness of GNNs for node classification?
  • RQ2How do homophily levels, class variances, and node degrees shape ND under graph filters?
  • RQ3Can a non-linear, feature-based metric (CPM) threshold the advantage of graph-aware models beyond traditional homophily metrics?
  • RQ4What is the impact of LP, FP, and HP graph filters on ND across different homophily regimes?
  • RQ5Do real-world datasets exhibit a mid-homophily pitfall where medium homophily worsens ND or model performance?

Key findings

  • ND depends on both intra- and inter-class distances, not just intra-class ND, and smaller intra-class ND than inter-class ND is ideal for node classification.
  • Under CSBM-H, PBE and D_NGJ(CSBM-H) exhibit a bell-shaped relation with homophily for LP-filtered features, indicating a mid-homophily pitfall.
  • HP filters improve ND in heterophily regions, while LP filters help in low- and high-homophily regimes; FP remains advantageous in medium-to-high homophily.
  • Ablation shows higher high-variation class degree can shrink ND for LP and HP, expanding FP regime, while increasing low-variation class degree has nuanced effects.
  • CPM, a hypothesis-testing based metric, outperforms traditional homophily metrics in predicting when graph-aware methods are superior on synthetic and real datasets.
(b) $D_{\text{NGJ}}$
(b) $D_{\text{NGJ}}$

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.