Using Random Noise Equivariantly to Boost Graph Neural Networks Universally

Xiyuan Wang, Muhan ZhangarXiv 2025 · DOI

Standard Graph Neural Networks (GNNs) face a fundamental trade-off: increasing expressivity often compromises generalization. While adding random noise as a node feature can theoretically make GNNs more powerful, it typically leads to poor performance on real-world data due to high sample complexity. This paper introduces the Equivariant Noise GNN (ENGNN), an architecture that processes noise equivariantly to achieve high expressivity without sacrificing generalization.

The Problem: Expressivity vs. Generalization

Most GNNs are Message Passing Neural Networks (MPNNs), which are theoretically limited by the 1-Weisfeiler-Lehman (1-WL) isomorphism test. They cannot distinguish certain non-isomorphic graph structures. While assigning unique random noise to each node (acting as a "fingerprint") can theoretically distinguish any two graphs, it creates a "sample complexity" problem. Because the noise is random, the model perceives the same graph differently across different noise samples, leading it to memorize noise patterns rather than learning underlying structural features.

The Solution: Equivariant Noise GNN (ENGNN)

The authors propose that the key to using noise effectively lies in symmetry and equivariance. By enforcing permutation equivariance over the noise channels, the searchable input space is significantly reduced, forcing the model to focus on the structural uniqueness provided by the noise rather than its randomness.

Conceptual diagram of ENGNN processing noise channels equivariantly across a graph structure.

The ENGNN architecture utilizes a specialized Equivariant Aggregator. It separates representations into an invariant component (capturing structural signals) and an equivariant component (capturing the "fingerprint"). This design ensures that if noise channels are permuted, the output permutes accordingly, maintaining consistency across different noise samples.

Universal Performance Across Tasks

The authors evaluated ENGNN across a wide range of benchmarks, including node classification, link prediction, and graph-level tasks.

  • Node Classification: On datasets like Cora and CiteSeer, naive noise (NMPNN) caused a significant drop in accuracy (averaging 32%). In contrast, ENGNN maintained or slightly improved performance over standard GNNs, successfully mitigating the "noise tax."
  • Link Prediction: ENGNN achieved a 16% average improvement over standard MPNNs, rivaling specialized state-of-the-art models like SEAL and BUDDY.
  • Subgraph Counting: This task highlights the model's superior expressivity. While standard MPNNs fail to count basic subgraphs like cycles or cliques (MAE > 0.01), ENGNN performs with high precision, matching the capabilities of much more computationally expensive high-order GNNs.
Performance comparison on subgraph counting tasks showing ENGNN's superior expressivity compared to standard MPNNs.

Efficiency and Scalability

A major advantage of ENGNN is its efficiency. While high-order GNNs often require $O(n^3)$ complexity or higher, ENGNN maintains the $O(m)$ complexity (where $m$ is the number of edges) of standard MPNNs. On the ZINC molecular dataset, ENGNN was found to be 4x to 10x faster and significantly more memory-efficient than other high-expressivity models like SUN or SSWL.

Conclusion

ENGNN provides a robust framework for boosting GNN expressivity using random noise. By applying principles of equivariance, the model overcomes the generalization hurdles that previously plagued noise-augmented GNNs. It offers a "universal" boost, performing competitively across node, link, and graph-level tasks while remaining computationally efficient.

Summary updated

BibTeX
@misc{wang2025using,
  author = {Xiyuan Wang and Muhan Zhang},
  title = {{Using Random Noise Equivariantly to Boost Graph Neural Networks Universally}},
  year = {2025},
  eprint = {2502.02479},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.02479},
}
Figure