Skip to main content
QUICK REVIEW

[Paper Review] What functions can Graph Neural Networks compute on random graphs? The role of Positional Encoding

Nicolas Keriven, Samuel Vaiter|arXiv (Cornell University)|May 24, 2023
Advanced Graph Neural NetworksComputer Science7 citations
TL;DR

The paper characterizes the function space that permutation-equivariant GNNs can approximate on latent-position random graphs, clarifies the role of node features and positional encodings, and introduces normalization and concentration results for broad PE designs.

ABSTRACT

We aim to deepen the theoretical understanding of Graph Neural Networks (GNNs) on large graphs, with a focus on their expressive power. Existing analyses relate this notion to the graph isomorphism problem, which is mostly relevant for graphs of small sizes, or studied graph classification or regression tasks, while prediction tasks on nodes are far more relevant on large graphs. Recently, several works showed that, on very general random graphs models, GNNs converge to certains functions as the number of nodes grows. In this paper, we provide a more complete and intuitive description of the function space generated by equivariant GNNs for node-tasks, through general notions of convergence that encompass several previous examples. We emphasize the role of input node features, and study the impact of node Positional Encodings (PEs), a recent line of work that has been shown to yield state-of-the-art results in practice. Through the study of several examples of PEs on large random graphs, we extend previously known universality results to significantly more general models. Our theoretical results hint at some normalization tricks, which is shown numerically to have a positive impact on GNN generalization on synthetic and real data. Our proofs contain new concentration inequalities of independent interest.

Motivation & Objective

  • Clarify the space of functions that equivariant GNNs can approximate on large random graphs.
  • Explain how input node features and, in particular, Positional Encodings (PEs) affect GNN expressivity.
  • Extend universality results to general PE designs and practical normalization that aids generalization.

Proposed method

  • Model GNNs as message-passing with a graph shift operator S acting on node features.
  • Define the GNN function space F_GNN(B) via sampling convergence to latent functions on X.
  • Introduce the S-extension F_S(B) as the minimal closed, stable extension of a base feature set B under S and Lipschitz compositions.
  • Prove that F_GNN(B) equals F_S(B) under Assumption 1 (convergence of S to its continuous counterpart).
  • Characterize base feature sets B through Positional Encodings, including eigenvector-based and distance-encoded PEs.
  • Establish concentration results and new universal approximations for square-integrable functions using ReLU-based MLP graph filters.

Experimental results

Research questions

  • RQ1What is the complete function space that permutation-equivariant GNNs can approximate on large latent-position random graphs?
  • RQ2How do different Positional Encodings (PEs) affect the universality and expressivity of GNNs in node-centric tasks?
  • RQ3What normalization and concentration results are required for convergence and generalization of PE-driven GNNs on large graphs?
  • RQ4Can ReLU-based graph filters enable robust concentration even under Bernoulli (random) graph models?
  • RQ5Do PE designs extend or improve existing universality results to more general random graph models with features?

Key findings

  • GNNs on large random graphs asymptotically approximate the S-extension F_S(B) of the input base set B.
  • PEs significantly shape the base space B and thereby the overall function space F_S(B), enabling or limiting expressivity.
  • SignNet-type eigenvector PEs, when properly renormalized, align with eigenfunctions of the continuous limit and resolve sign ambiguities across graph sizes.
  • Distance-encoding PEs with an MLP filter on eigenvalues yield concentration results that extend universality to Bernoulli-random graphs.
  • New concentration inequalities for Bernoulli matrices with ReLU filters underpin the theoretical guarantees for the proposed PE schemes.
  • Normalization strategies suggested by theory improve generalization observed in experiments on synthetic and real data.

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.