Skip to main content
QUICK REVIEW

[Paper Review] Node Masking: Making Graph Neural Networks Generalize and Scale Better

Pushkar Mishra, Aleksandra Piktus|arXiv (Cornell University)|Jan 17, 2020
Advanced Graph Neural NetworksComputer Science32 references7 citations
TL;DR

This paper introduces Node Masking, a simple yet effective regularization technique that improves generalization and scalability in graph neural networks (GNNs) by stochastically masking nodes during training. By enhancing relational inductive bias and reducing overfitting, Node Masking boosts performance across transductive and inductive node classification benchmarks on Cora, PubMed, and Reddit, with gains up to 3.5% in F1-score over GIN without caching.

ABSTRACT

Graph Neural Networks (GNNs) have received a lot of interest in the recent times. From the early spectral architectures that could only operate on undirected graphs per a transductive learning paradigm to the current state of the art spatial ones that can apply inductively to arbitrary graphs, GNNs have seen significant contributions from the research community. In this paper, we utilize some theoretical tools to better visualize the operations performed by state of the art spatial GNNs. We analyze the inner workings of these architectures and introduce a simple concept, Node Masking, that allows them to generalize and scale better. To empirically validate the concept, we perform several experiments on some widely-used datasets for node classification in both the transductive and inductive settings, hence laying down strong benchmarks for future research.

Motivation & Objective

  • To analyze the inner workings of state-of-the-art spatial GNNs and identify causes of over-smoothing and over-fitting.
  • To improve generalization and scalability of GNNs in both transductive and inductive learning settings.
  • To introduce and empirically validate Node Masking as a regularization technique that enhances relational inductive bias.
  • To establish strong, reproducible benchmarks across multiple data splits for future GNN research.

Proposed method

  • Node Masking stochastically masks a subset of training nodes during forward passes, forcing the GNN to rely more on relational structure rather than node-specific features.
  • The method applies dropout-like regularization at the node level, distinct from feature or message-level masking, to improve generalization.
  • It leverages theoretical tools to visualize GNN operations, revealing how over-smoothing and over-fitting emerge from aggregation dynamics.
  • The approach is applied to GIN and other aggregation-based GNNs, with performance evaluated under both transductive and inductive settings.
  • Caching is used to reduce computational cost by reusing 1-hop neighbor representations, and Node Masking maintains or improves performance even with caching.
  • Experiments compare models with and without Node Masking across multiple data splits and model sizes to assess robustness and scalability.

Experimental results

Research questions

  • RQ1How do over-smoothing and over-fitting arise in state-of-the-art aggregation-based GNNs, and what mechanisms underlie them?
  • RQ2Can a simple, trainable regularization technique like Node Masking improve generalization in both transductive and inductive GNN settings?
  • RQ3To what extent does Node Masking enhance scalability, especially when combined with caching in large graphs?
  • RQ4Does Node Masking maintain or improve performance when reducing the number of unique nodes involved in inference, particularly in inductive settings?

Key findings

  • Node Masking improves GIN performance on Cora by up to 3.93% in F1-score in the inductive setting, with gains of 3.5% or more on PubMed and Reddit.
  • On Cora, GIN+NodeMasking achieves 83.95% F1-score with 90% training set size, outperforming GIN without caching (83.07%) and with caching (82.50%).
  • On PubMed, Node Masking increases F1-score from 85.46% (GIN) to 86.59% (GIN+NM) at 75% training set size, with a significant p-value < 0.05.
  • The MAD (Maximum Activation Distance) values for GIN and GIN+NodeMasking are nearly identical (e.g., 0.65 on Cora with 10% training set), indicating that Node Masking does not compromise expressive power.
  • Node Masking reduces overfitting, as shown by loss curves in the appendix, which demonstrate smoother training dynamics and better generalization across data splits.
  • With caching, GIN+NodeMasking maintains or exceeds performance of GIN without caching, showing that the technique enhances scalability without sacrificing accuracy.

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.