Skip to main content
QUICK REVIEW

[Paper Review] Random Features Strengthen Graph Neural Networks

Ryoma Sato, Makoto Yamada|arXiv (Cornell University)|Feb 8, 2020
Advanced Graph Neural NetworksComputer Science10 citations
TL;DR

This paper proposes adding random features to each node in Graph Neural Networks (GNNs), demonstrating that this simple modification significantly enhances their expressive power. By enabling GNNs to learn randomized algorithms, the method achieves near-optimal approximation ratios for combinatorial problems like minimum dominating set and maximum matching, even on arbitrarily large graphs, while maintaining performance on real-world datasets.

ABSTRACT

Graph neural networks (GNNs) are powerful machine learning models for various graph learning tasks. Recently, the limitations of the expressive power of various GNN models have been revealed. For example, GNNs cannot distinguish some non-isomorphic graphs and they cannot learn efficient graph algorithms. In this paper, we demonstrate that GNNs become powerful just by adding a random feature to each node. We prove that the random features enable GNNs to learn almost optimal polynomial-time approximation algorithms for the minimum dominating set problem and maximum matching problem in terms of approximation ratios. The main advantage of our method is that it can be combined with off-the-shelf GNN models with slight modifications. Through experiments, we show that the addition of random features enables GNNs to solve various problems that normal GNNs, including the graph convolutional networks (GCNs) and graph isomorphism networks (GINs), cannot solve.

Motivation & Objective

  • To address the theoretical limitations of standard GNNs, which cannot distinguish certain non-isomorphic graphs or learn efficient graph algorithms.
  • To improve the approximation ratios of GNNs for NP-hard combinatorial problems such as minimum dominating set (MDS) and maximum matching (MM).
  • To develop a method that enhances GNNs' expressive power without requiring architectural changes or prior knowledge of graph structure.
  • To ensure the method remains effective and generalizable across graphs of arbitrary size, including unbounded sizes.
  • To demonstrate that random features enable GNNs to implicitly learn complex substructures like cycles and local clustering coefficients.

Proposed method

  • Introduce random features to each node in GNNs, creating a variant called rGINs (Graph Isomorphism Networks with Random Features).
  • Use a random feature vector per node that is i.i.d. across nodes and re-sampled at each forward pass, enabling the model to simulate randomized algorithms.
  • Prove that rGINs can learn algorithms with approximation ratios matching the best-known polynomial-time algorithms, up to lower-order terms.
  • Establish a theoretical equivalence between rGINs and constant-time distributed randomized algorithms, enabling transfer of theoretical guarantees.
  • Apply the method to message-passing GNNs such as GCNs and GINs with minimal modifications, maintaining compatibility with existing frameworks.
  • Use t-SNE visualization and AUC scores to empirically validate that rGINs learn meaningful representations and generalize across different random seeds and graph sizes.

Experimental results

Research questions

  • RQ1Can adding random features to nodes significantly improve the expressive power of GNNs beyond the 1-WL test?
  • RQ2Can rGINs achieve near-optimal approximation ratios for fundamental graph problems like MDS and MM?
  • RQ3Does the addition of random features allow GNNs to distinguish local substructures such as triangles or cycles, even when standard GNNs fail?
  • RQ4Can rGINs maintain or improve performance on real-world graph datasets without harming existing performance?
  • RQ5Is the theoretical advantage of rGINs preserved across graphs of arbitrary size, including unbounded sizes?

Key findings

  • rGINs achieve an approximation ratio of $ H(\Delta+1) + \varepsilon $ for the minimum dominating set problem, matching the best-known polynomial-time algorithms up to lower-order terms.
  • For the maximum matching problem, rGINs achieve an approximation ratio of $ 1 + \varepsilon $, which matches the known lower bound and is optimal up to $ \varepsilon $.
  • rGINs can learn the sequential greedy algorithm for MDS, as evidenced by high AUC scores on test graphs with 100 nodes, while standard GINs and GCNs fail to learn this pattern.
  • The method enables GNNs to detect local substructures such as triangles and compute local clustering coefficients, which standard GNNs cannot do.
  • On real-world datasets (MUTAG, NCI1, PROTEINS), rGINs show statistically significant improvements over GINs in two tasks, with no performance degradation on others.
  • rGINs maintain consistent performance across different random seeds, as shown by stable t-SNE visualizations of node embeddings, indicating robustness to random feature variation.

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.