Quantifying the Optimization and Generalization Advantages of Graph Neural Networks Over Multilayer Perceptrons

Wei Huang, Yuan Cao, Haonan Wang, Xin Cao, Taiji Suzuki

Abstract

Graph neural networks (GNNs) have demonstrated remarkable capabilities in learning from graph-structured data, often outperforming traditional Multilayer Perceptrons (MLPs). While previous research has attributed this to Laplacian smoothing or expressivity, there remains a lack of quantitative analysis comparing GNNs and MLPs from an optimization and generalization perspective. This study addresses this gap using feature learning theory. By examining a signal-noise data model, we track the trajectory of signal learning and noise memorization in GNNs. We reveal that GNNs significantly prioritize signal learning, enhancing the regime of low test error over MLPs by a factor of $D^{q-2}$, where $D$ is the node's expected degree and $q$ is the power of the ReLU activation function. This finding highlights a substantial quantitative discrepancy between GNNs and MLPs, supported by empirical simulations on synthetic and real-world datasets.

Introduction

In deep learning, it is widely accepted that Graph Neural Networks (GNNs) outperform standard Multilayer Perceptrons (MLPs) when data possesses a graph structure. However, until recently, we lacked a rigorous, quantitative way to measure exactly how much of an advantage graph convolutions provide during the training process. A new theoretical breakthrough demonstrates that GNNs don't just work better—they fundamentally prioritize signal over noise in a way that MLPs cannot.

The Optimization and Generalization Gap

While empirical evidence for GNN superiority is overwhelming, theoretical explanations have often been qualitative, focusing on expressivity or separability. This research tackles the optimization and generalization gap by asking: What happens to the weights during gradient descent?

In noisy real-world data, models face a choice: learn the underlying "signal" (features determining the label) or "memorize" the noise (random patterns unique to the training set). By applying Feature Learning Theory, the authors quantify how graph convolutions tip the scales in favor of signal learning.

The $D^{q-2}$ Advantage

The most striking finding is the quantitative gap in the "regime of low test error." The authors found that GCNs can achieve low test error in a regime that is $D^{q-2}$ times broader than that of MLPs. If a graph is dense (high expected degree $D$), the GCN has a massive head start in learning the signal.

Comparison of the low test error regimes for MLP and GCN, illustrating the theoretical $D^{q-2}$ advantage.

Graph convolution acts as a statistical filter. When a node aggregates features from its neighbors, random noise components tend to average out, while label-consistent signals reinforce each other. This allows the model to reach a state of "benign overfitting"—where it might have zero training error, but its predictions are still driven by the signal learned early in training.

Empirical Validation

The researchers used a rigorous mathematical framework and validated it across several datasets:

  • Synthetic Data: Generated using a Signal-Noise Model (SNM) and Stochastic Block Model (SBM) to control SNR and graph density.
  • Modified MNIST: Images modified with "noise patches" where digits act as signals and a graph connects similar digits.
  • Real-World Benchmarks: Standard datasets like Cora, Citeseer, and Pubmed were used to verify that theoretical assumptions (like feature orthogonality) hold in practice.

Key Results

Empirical simulations show that GCNs maintain near 100% test accuracy across a wide range of sample sizes and SNRs, whereas MLPs quickly drop off as noise increases or samples decrease. Experiments confirmed that as the graph becomes denser, the GCN's performance improves significantly, validating the $D$ factor in the theoretical bound.

Empirical test accuracy comparison between GNN and MLP over training epochs, showing the GNN's superior generalization.

Conclusion

By moving from qualitative claims to the quantitative proof that GNNs are $D^{q-2}$ better, this research provides a vital yardstick for understanding the fundamental powers of learning on graphs. While current proofs are restricted to two-layer networks and specific polynomial activations, they lay the groundwork for exploring deeper architectures and more complex mechanisms like graph attention.

Summary updated

Abstract

Graph neural networks (GNNs) have demonstrated remarkable capabilities in learning from graph-structured data, often outperforming traditional Multilayer Perceptrons (MLPs) in numerous graph-based tasks. Although existing works have demonstrated the benefits of graph convolution through Laplacian smoothing, expressivity or separability, there remains a lack of quantitative analysis comparing GNNs and MLPs from an optimization and generalization perspective. This study aims to address this gap by examining the role of graph convolution through feature learning theory. Using a signal-noise data model, we conduct a comparative analysis of the optimization and generalization between two-layer graph convolutional networks (GCNs) and their MLP counterparts. Our approach tracks the trajectory of signal learning and noise memorization in GNNs, characterizing their post-training generalization. We reveal that GNNs significantly prioritize signal learning, thus enhancing the regime of {low test error} over MLPs by $D^{q-2}$ times, where $D$ denotes a node's expected degree and $q$ is the power of ReLU activation function with $q>2$. This finding highlights a substantial and quantitative discrepancy between GNNs and MLPs in terms of optimization and generalization, a conclusion further supported by our empirical simulations on both synthetic and real-world datasets.
BibTeX
@inproceedings{huang2025quantifying,
  author = {Wei Huang and Yuan Cao and Haonan Wang and Xin Cao and Taiji Suzuki},
  title = {{Quantifying the Optimization and Generalization Advantages of Graph Neural Networks Over Multilayer Perceptrons}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=9L0Qz7d4Pb},
}
Figure