Standard Graph Neural Networks (GNNs) are theoretically limited by the "1-WL" bottleneck, meaning they cannot distinguish between certain non-isomorphic graph structures. This paper proves that simply adding Random Node Initialization (RNI)—assigning random noise to initial node features—makes GNNs "universal" approximators for any graph function while remaining computationally efficient and preserving permutation invariance in expectation.
The Expressiveness Barrier in GNNs
The most popular GNNs, known as Message Passing Neural Networks (MPNNs), have a fundamental "expressiveness barrier." They are only as powerful as the 1-dimensional Weisfeiler-Leman (1-WL) graph isomorphism test. This means they are "blind" to certain structural differences; for example, they cannot distinguish between two different graphs if those graphs have the same local neighborhood distributions.
As shown in the figure above, graphs like $G$ (a disjoint union of a triangle and a 4-cycle) and $H$ (a 7-cycle) both consist of 7 nodes with degree 2. A standard MPNN would produce identical embeddings for these graphs, failing any task that requires distinguishing them. To fix this, researchers previously proposed "higher-order" GNNs. While these are more powerful, they are memory-intensive—often requiring $O(n^k)$ space—making them impractical for large graphs.
Methods: Achieving Universality via RNI
This paper investigates a much simpler trick: Random Node Initialization (RNI). The authors combine logical characterizations of GNNs with probabilistic analysis to prove their main results:
- Universality Proof: They show that MPNNs enhanced with RNI are universal, meaning they can approximate any function defined on graphs of a fixed order. By giving each node a unique (random) ID, the GNN can distinguish every node and thus reconstruct the entire graph structure within its embeddings.
- Invariance in Expectation: While a single run with RNI might break permutation invariance, the authors prove the model is invariant in expectation.
- Partial RNI: They explore randomizing only a fraction of node feature dimensions. This allows the model to retain useful deterministic features (like node types) while gaining the structural detection power of RNI.
Key Results and Convergence
The authors tested these models on synthetic datasets like EXP, which consists of graph pairs that are 1-WL indistinguishable. Standard GNNs are guaranteed to fail (50% accuracy) on this task.
As illustrated in the performance plot, GCNs with RNI successfully reach near 100% accuracy, matching the performance of the theoretically powerful but memory-heavy 3-GCN. However, there is a "convergence tax": RNI models take significantly longer to train. The model has to "learn" to ignore the specific random values while simultaneously using them to identify unique nodes and structures.
Conclusion
RNI provides a massive boost in expressiveness without the $O(n^k)$ memory overhead of higher-order GNNs. For a 50-node graph, an RNI-GCN used only ~3,200 parameters compared to ~1.2 million for a 3-GCN, yet achieved similar performance. While RNI models are more sensitive to hyperparameters and training time, they offer a practical path toward universal graph learning.
Summary updated