Skip to main content
QUICK REVIEW

[Paper Review] On Positional and Structural Node Features for Graph Neural Networks on Non-attributed Graphs

Hejie Cui, Zijie Lu|arXiv (Cornell University)|Jul 3, 2021
Advanced Graph Neural NetworksComputer Science52 references9 citations
TL;DR

This paper investigates artificial node features for graph neural networks (GNNs) on non-attributed graphs, categorizing them into positional and structural types. It demonstrates through extensive experiments on 10 benchmark datasets that positional features outperform on positional node classification, while structural features excel in structural node classification and graph classification—achieving state-of-the-art results with a novel degree bucket range initialization method, even surpassing models with real features in some cases.

ABSTRACT

Graph neural networks (GNNs) have been widely used in various graph-related problems such as node classification and graph classification, where superior performance is mainly established when natural node features are available. However, it is not well understood how GNNs work without natural node features, especially regarding the various ways to construct artificial ones. In this paper, we point out the two types of artificial node features, i.e., positional and structural node features, and provide insights on why each of them is more appropriate for certain tasks, i.e., positional node classification, structural node classification, and graph classification. Extensive experimental results on 10 benchmark datasets validate our insights, thus leading to a practical guideline on the choices between different artificial node features for GNNs on non-attributed graphs. The code is available at https://github.com/zjzijielu/gnn-positional-structural-node-features.

Motivation & Objective

  • To understand how artificial node features affect GNN performance on non-attributed graphs where natural node features are absent.
  • To categorize common artificial node features into positional and structural types based on their information content and utility.
  • To provide empirical insights and a practical guideline for selecting appropriate artificial node features based on downstream task requirements.
  • To evaluate the performance of various initialization methods across multiple graph mining tasks and datasets.

Proposed method

  • The authors categorize artificial node features into two types: positional (e.g., position-based, deepwalk) and structural (e.g., degree, pagerank, eigenvalues), based on the graph information they encode.
  • They evaluate eight common initialization methods—random, one-hot, degree, pagerank, eigenvalues, deepwalk, shared, and degree bucket range—on 10 benchmark datasets across three tasks.
  • For each task, they apply GNNs (specifically GraphSAGE) with mean and sum aggregation, using standard protocols from prior work to ensure fair comparison.
  • They introduce a novel degree-based initialization method, 'degree bucket range', which groups nodes by degree ranges to better encode structural hierarchy.
  • Experiments are conducted on three types of tasks: positional node classification, structural node classification, and graph classification, with performance measured via accuracy.
  • The study uses a consistent evaluation framework across datasets, including MUTAG, PROTEINS, IMDB-BINARY, IMDB-MULTI, and others, with 5-fold cross-validation and standard deviation reporting.

Experimental results

Research questions

  • RQ1Which type of artificial node feature—positional or structural—yields better performance for positional node classification tasks?
  • RQ2How do different artificial node features impact structural node classification and graph classification tasks?
  • RQ3Can a well-designed artificial node feature outperform models using real node features in certain scenarios?
  • RQ4What is the relative contribution of aggregation type (mean vs. sum) in graph classification when using artificial features?
  • RQ5How does the novel 'degree bucket range' initialization method compare to existing methods in terms of performance and generalization?

Key findings

  • The degree bucket range initialization method achieves state-of-the-art performance on structural node classification tasks, outperforming standard degree and other baselines.
  • On graph classification, GNNs with degree features using sum aggregation achieve 84.4% accuracy on MUTAG and 69.7% on IMDB-BINARY, surpassing the performance of models using real features (71.4% on MUTAG).
  • For PROTEINS, pagerank with sum aggregation reaches 70.3% accuracy on IMDB-BINARY, exceeding the real feature baseline of 67.8% on PROTEINS.
  • Sum aggregation consistently outperforms mean aggregation in graph classification, as it better preserves neighborhood cardinality information.
  • Structural node features, particularly pagerank and degree-based methods, consistently outperform positional features across all graph classification datasets.
  • Even in the absence of natural node features, carefully designed artificial features can lead to GNN performance that exceeds that of models using real features in specific settings.

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.