Understanding Graph Neural Network Generalization via Message-Passing Structural Complexity
Anonymous authors
ICLR 2027
Abstract. Graph neural networks (GNNs) have become a fundamental paradigm for learning from graph-structured data. Unlike conventional neural networks, their predictions depend not only on learnable parameters but also on the graph structures involved in message passing, making their generalization particularly sensitive to structural variations. However, existing analyses of GNN generalization mainly focus on parameter complexity, while how the complexity of message-passing structures affects generalization remains insufficiently understood. To characterize this effect, we define message-passing structural complexity and derive a structure-aware generalization bound within a transductive Rademacher-complexity framework, theoretically revealing structural complexity as a fundamental factor in GNN generalization. To mitigate the effect of structural complexity on generalization, we develop a graph neural network method with structural entropy regularization, which controls message-passing structural complexity through structural entropy. We theoretically establish an upper-bound relation showing that structural entropy serves as a differentiable surrogate for cross-class information-propagation complexity, thereby enabling principled control of potentially harmful message passing. By incorporating the structural regularization term into several representative GNN architectures, experiments on benchmark datasets show that reducing the structural complexity can consistently improve GNN generalization.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 25 Nov 2026, 10:37 UTC.
- Rating
- 3/4(+1)
- Confidence
- 2/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper studies how message-passing structural complexity affects GNN generalization and derives a structure-aware generalization bound using transductive Rademacher complexity. It further proposes Structural Entropy Regularization (SER) to reduce cross-class message passing, showing improved node classification performance across several GNN architectures and datasets.
Strengths
-
The paper addresses a meaningful problem by examining the role of message-passing structures in GNN generalization.
-
The paper provides a clear theoretical analysis and proposes a regularization method motivated by its findings.
-
The experiments cover multiple GNN architectures and datasets, showing consistent improvements over the vanilla models.
Weaknesses
1. The theoretical analysis does not fully establish the role of structural complexity in generalization. The paper shows that increasing structural complexity leads to a looser generalization upper bound, but this does not necessarily imply worse generalization in practice. Since the bound relies on potentially loose inequalities, it remains unclear whether structural complexity is a fundamental factor affecting generalization or simply an artifact of the theoretical derivation.
2. The experimental setting does not fully reflect the claimed structural generalization problem. The paper emphasizes that GNN generalization is sensitive to graph structure, but both the theoretical analysis and experiments focus on node classification within a fixed graph. It remains unclear whether the proposed findings hold when graph structures change, such as under graph distribution shifts or on unseen graphs. Such evaluations would better support the broader motivation of the paper.
Questions for the authors
See weaknesses.
4 comments
[W1 (2/2): Empirical Evidence]
Empirical evidence. Figure 1 reports the absolute train–test classification-error gap as the number of propagation relations varies. To further examine whether changes in propagation around the effective-edge threshold can affect model performance, we conducted additional paired training interventions across three GNN architectures (GCN, GAT, and GT) on seven datasets. We identified target events where the baseline and full SER training trajectories placed the same propagation coefficient on opposite sides of the threshold at the same training step. During training, the targeted intervention kept matched target coefficients on the baseline side of the threshold, while the control applied perturbations of similar magnitude and direction to other relations. Both arms were evaluated with the same frozen full-SER inference operator for each seed. We report in percentage points (pp), so a positive difference indicates lower accuracy under targeted blocking. The experimental results are summarized in the following table. The results show that, in most model–dataset settings, preventing selected training-time threshold crossings reduces test accuracy relative to the matched control. This provides complementary evidence that changes in propagation around the effective-edge threshold can affect predictive performance.
Table 1. Paired test accuracy differences (, pp) under training-time threshold-crossing interventions across seven datasets.
| Model | Cora | CiteSeer | PubMed | CS | Physics | Computers | Photo |
|---|---|---|---|---|---|---|---|
| GCN | +0.001 | +0.120 | +0.030 | +0.0043 | +0.001 | +0.028 | +0.097 |
| GAT | +0.050 | +0.080 | +0.020 | +0.0045 | -0.003 | +0.014 | +0.290 |
| GT | +0.080 | +0.211 | +0.310 | +0.389 | +1.133 | +2.947 | +0.649 |
Note. Entries report the mean paired test accuracy difference in percentage points (pp). Within each pair, both arms use the same frozen full-SER inference operator. Positive values indicate lower test accuracy under targeted blocking.
[W2: Generalization Under Graph Distribution Shifts and on Unseen Graphs]
We thank the reviewer for raising this important concern. We agree that the original theoretical analysis and experiments primarily focus on node classification within a fixed graph, and that Theorem 1 does not directly establish generalization guarantees across different graph distributions. To examine the empirical transferability of SER beyond this setting, we have supplemented our evaluation with cross-graph experiments on Twitch-Explicit, Facebook-100, WebKB, and Airport, where the target graphs are held out from both training and validation.
For Twitch-Explicit and Facebook-100, we use the graph splits and metrics of Wu et al. [1]. On Twitch-Explicit, we train on DE, validate on ENGB, and test on five held-out regional graphs. On Facebook-100, we train on Johns Hopkins55, Caltech36, and Amherst41, validate on Cornell5 and Yale4, and test on three held-out school graphs. The Facebook-100 feature encoding is fitted on the source graphs, and accuracy is computed on nodes with known labels. For WebKB and Airport, we use leave-one-graph-out evaluation, rotating the target among Cornell, Texas, and Wisconsin for WebKB and among USA, Brazil, and Europe for Airport. Within each fold, we train on the other two graphs and reserve approximately 20% of the labeled nodes in each source graph for validation using a fixed class-stratified split. We compare SER with its baseline and with -reg using ten paired seeds per dataset and backbone. For each seed and regularization coefficient, the checkpoint is selected based on validation performance. We then select a single SER coefficient for each dataset and backbone based on the mean validation performance across seeds, and apply it consistently to all held-out target graphs. All model parameters are frozen during target-graph evaluation, and the average test performance is computed by equally weighting the target graphs. The experimental results are summarized in the tables below. Bold marks the highest average for each backbone. The results show that SER improves generalization to unseen graphs in most settings, providing empirical evidence of its effectiveness under cross-domain distribution shifts.
Table 1. Performance comparison on Twitch-Explicit (ROC-AUC ).
| Backbone | Setting | ES | FR | PTBR | RU | TW | Average |
|---|---|---|---|---|---|---|---|
| GCN | 66.770 | 65.236 | 65.280 | 57.577 | 62.132 | 63.399 | |
| GCN | -reg | 66.172 | 63.171 | 64.868 | 55.955 | 60.138 | 62.061 |
| GCN | SER | 67.337 | 65.093 | 66.288 | 57.207 | 62.327 | 63.650 |
| GAT | 66.615 | 65.546 | 66.217 | 57.387 | 58.616 | 62.876 | |
| GAT | -reg | 66.672 | 65.665 | 66.351 | 57.437 | 58.738 | 62.973 |
| GAT | SER | 66.578 | 65.569 | 66.474 | 57.380 | 59.023 | 63.005 |
| GT | 67.830 | 63.272 | 66.357 | 56.663 | 59.428 | 62.710 | |
| GT | -reg | 67.837 | 63.276 | 66.370 | 56.668 | 59.433 | 62.717 |
| GT | SER | 67.884 | 63.299 | 66.309 | 56.774 | 59.939 | 62.841 |
Table 2. Performance comparison on Facebook-100 (accuracy in %).
| Backbone | Setting | Penn94 | Brown11 | Texas80 | Average |
|---|---|---|---|---|---|
| GCN | 50.693 | 51.267 | 49.201 | 50.387 | |
| GCN | -reg | 51.431 | 53.243 | 50.195 | 51.623 |
| GCN | SER | 50.893 | 53.470 | 50.741 | 51.701 |
| GAT | 52.368 | 49.574 | 48.025 | 49.989 | |
| GAT | -reg | 52.404 | 49.501 | 48.154 | 50.020 |
| GAT | SER | 52.475 | 49.535 | 47.799 | 49.936 |
| GT | 51.913 | 55.006 | 50.666 | 52.528 | |
| GT | -reg | 51.964 | 54.843 | 50.674 | 52.494 |
| GT | SER | 52.016 | 55.748 | 50.574 | 52.779 |
Table 3. Performance comparison on WebKB (accuracy in %).
| Backbone | Setting | Cornell | Texas | Wisconsin | Average |
|---|---|---|---|---|---|
| GCN | 77.377 | 80.437 | 79.442 | 79.085 | |
| GCN | -reg | 77.705 | 79.781 | 80.080 | 79.189 |
| GCN | SER | 77.923 | 80.984 | 80.717 | 79.875 |
| GAT | 49.180 | 62.732 | 59.327 | 57.080 | |
| GAT | -reg | 54.426 | 62.404 | 57.928 | 58.253 |
| GAT | SER | 49.836 | 63.169 | 59.681 | 57.562 |
| GT | 76.066 | 80.765 | 80.717 | 79.183 | |
| GT | -reg | 75.082 | 79.344 | 81.093 | 78.506 |
| GT | SER | 77.158 | 81.093 | 82.186 | 80.146 |
Table 4. Performance comparison on Airport (accuracy in %).
| Backbone | Setting | USA | Brazil | Europe | Average |
|---|---|---|---|---|---|
| GCN | 49.126 | 58.168 | 42.356 | 49.883 | |
| GCN | -reg | 53.647 | 66.718 | 48.371 | 56.245 |
| GCN | SER | 54.185 | 66.412 | 49.023 | 56.540 |
| GAT | 40.723 | 43.511 | 32.481 | 38.905 | |
| GAT | -reg | 41.950 | 43.969 | 32.581 | 39.500 |
| GAT | SER | 41.277 | 44.475 | 32.882 | 39.545 |
| GT | 55.782 | 51.603 | 46.366 | 51.250 | |
| GT | -reg | 54.908 | 54.198 | 46.466 | 51.857 |
| GT | SER | 56.387 | 54.351 | 47.970 | 52.903 |
[1] Qitian Wu, Hengrui Zhang, Junchi Yan, and David Wipf. Handling distribution shifts on graphs: An invariance perspective. In Proceedings of the International Conference on Learning Representations, 2022.
Thank you for the detailed rebuttal and additional results, which have largely addressed my concerns. I appreciate the authors' efforts and have raised my rating to 3.
- Rating
- 3/4(+1)
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper argues that the generalization ability of GNNs depends not only on the complexity of learnable parameters but also on the structural relations involved in message passing. The authors first derive a theoretical upper bound on the generalization gap that explicitly incorporates structural complexity. They then introduce cross-class structural complexity and propose Structural Entropy Regularization (SER) to improve node classification performance by suppressing cross-class information propagation.
Strengths
-
The paper is comprehensive and well-structured, presenting a coherent progression from theoretical analysis to method development. The theoretical framework is relatively thorough, and the overall organization is clear and logical.
-
The central insight that GNN generalization depends not only on learnable parameter complexity but also on the structural relations involved in message passing is intuitive and well aligned with the fundamental characteristics of GNNs. This perspective provides a natural motivation for investigating the role of structural complexity in GNN generalization.
Weaknesses
-
Limited tightness of the generalization bound. The proposed generalization bound appears to be derived from a relatively loose relaxation of existing upper bounds. Could the authors provide a corresponding lower-bound analysis of the generalization gap to further validate the theoretical significance of structural complexity?
-
Insufficient connection between the generalization theory and SER. The preceding theoretical analysis focuses on total structural complexity, whereas SER optimizes weighted cross-class propagation. These two quantities are not equivalent, and reducing the latter does not necessarily reduce the former. In particular, SER may not change the structural complexity defined in Theorem 1. The authors should further clarify the motivation behind the proposed optimization objective and establish a stronger theoretical connection between SER and the generalization analysis.
-
Inconsistency between theoretical and empirical measures of structural complexity. Figure 2 uses a threshold to define the effective edge ratio and reports a reduction in the number of effective edges. However, is the thresholded effective edge count used in the experiments equivalent to the exact number of nonzero entries used to define structural complexity in Theorem 1? If not, the authors should clarify how the experimental observations support the theoretical analysis.
Questions for the authors
See the weakness.
5 comments
[W1: Tightness of the Generalization Bound and a Corresponding Lower Bound]
We thank the reviewer for this valuable suggestion. To further examine the tightness of the proposed generalization bound, we have added a lower-bound analysis of the worst-case transductive generalization gap, as stated in the following proposition.
Proposition R2.1. For any integers and and any , there exists a fixed graph on nodes and a two-layer ReLU hypothesis class satisfying Theorem 1, with . Draw uniformly among the element subsets. For the bounded -Lipschitz loss specified below, let , , . Then we have:
Proof. Take a complete bipartite graph with parts of size . Fix of size before drawing , and set:
Each operator has unit entries supported on graph edges. With and scalar weights , Eq. (1) gives , where . The attainable predictions are thus for .
Assign labels on and on . Use . The loss is on and on . For , the fraction of left-side nodes in minus that in is . Hence, we have:
To generate the uniform split, draw a uniform perfect matching of the nodes and independently choose one endpoint uniformly from each pair. The resulting -subset is uniform by permutation invariance. Conditional on the matching, the within-side pairs cancel in , leaving a sum of independent fair signs, where is the number of cross-side pairs. Its conditional second and fourth moments are and . Each left-side node has probability of being matched across the partition, so we have:
For , Cauchy–Schwarz gives , so . By symmetry, , which gives the probability bound and the expectation lower bound. The expectation upper bound follows from symmetry and .
Relation to Theorem 1. Both operators are rank one, with . The norm-to-support relaxation is therefore exact for these operators. With and , , the structural term in Eq. (3) is:
For , the lower bound matches the order of this term. Thus, the structural-complexity term is attainable up to constant factors for the worst-case generalization gap in this fixed, unnormalized family.
[W3: Thresholded Edge Counts in Figure 2 and Exact Support in Theorem 1]
We thank the reviewer for raising this important question. The thresholded effective-edge definition used in Figure 2 follows the convention introduced in Section 3.4, which characterizes structural complexity through effective propagation support rather than exact nonzero support. For GCN, although the normalized adjacency matrix is fixed by the input graph, SER introduces learnable edge masks to adjust propagation weights, yielding . Since the sigmoid masks are strictly positive, this adjustment does not change the exact support of . We therefore follow the threshold-based definition in Section 3.4 to measure effective propagation relations. For GAT and GT, thresholding the learned attention coefficients directly follows the same effective-support convention. Figure 2 thus provides empirical evidence that SER reduces the fraction of relations passing the threshold in the evaluated models, rather than directly demonstrating a reduction in the exact nonzero support defined in Theorem 1.
[W2 (1/3): Connection Between SER and Total Structural Complexity]
We thank the reviewer for raising this important concern. We agree that the original manuscript did not sufficiently establish the theoretical connection between the SER objective and the generalization analysis. To address this gap, we have developed a stronger theoretical connection through thresholded propagation support. Specifically, we establish a verifiable sufficient condition under which SER reduces both cross-class and total thresholded structural complexity, and further show how this reduction translates into a smaller complexity penalty in the generalization bound, thereby establishing a theoretical connection between SER and model generalization under the stated assumptions. We additionally provide numerical evaluations to examine how SER training affects the complete risk upper bound. We elaborate on the motivation behind the SER objective and the additional theoretical and numerical results below.
In homophilous node classification, cross-class propagation can introduce potentially harmful messages between nodes belonging to different classes. SER therefore aims to suppress cross-class propagation by minimizing the structural-entropy objective. Theorem 2 provides a theoretical motivation for this choice by establishing the pointwise relation . Thus, structural entropy serves as a surrogate for cross-class structural complexity. To further establish the connection between cross-class and total structural complexity, we provide the following proposition. For GCN, although the original normalized adjacency matrix is fixed, SER introduces learnable edge masks and defines the propagation weights as . For GAT and GT, the propagation weights are given by the corresponding learned attention coefficients. Therefore, we use a common threshold to define effective propagation relations, enabling a unified threshold-based structural-complexity analysis across different GNN architectures.
Proposition R2.2. Consider a layer and head of two trained models, indexed by , with a common candidate relation set , a common threshold , and row-probability assignments . Let be the actual propagation weight of , and define , , . Write , , and for total, cross-class, and within-class threshold complexity. With , , and , define , . If , then we have:
Proof. Since partition the removed, newly effective, and retained relations, respectively,
The inequality follows from and the definition of . Also , so . The identity then gives . Finally, using for both supports cancels the contribution of , giving:
[W2 (2/3): Corollary R2.1 and the Generalization Bound]
Having established how changes in cross-class structural complexity affect total thresholded structural complexity, we further investigate how this reduction translates into the generalization analysis. We illustrate the derivation using a two-layer GAT, while analogous arguments can be developed for other GNN architectures under their corresponding assumptions. The resulting bound is formalized in the following corollary.
Corollary R2.1. Consider the two-layer GAT class of Proposition 1. Fix the graph, features, labels, candidate relations for each layer, threshold , and common norm bounds before sampling a labeled set of size uniformly from the nodes. Retain the feature bound , weight bounds , and -Lipschitz activation with . Let the loss be -Lipschitz with values in . For , define , . Let , and set , , where and are the maximum row and column candidate counts in the first layer. With probability at least over the labeled set, simultaneously for all budgets and all :
where is the risk on the complement of the labeled set and is the concentration term in the transductive risk inequality used in Lemma 1. Consequently, under the same positive complexity coefficient and confidence term, the complexity penalty is strictly smaller for whenever .
Proof. For , decompose each attention matrix as , with retaining the entries at or above . Since the attention coefficients lie in , . Each entry of is below . The row and column sum bounds give , and summing the squares of the residual entries gives . Therefore and .
Eqs. (30)–(35) in the proof of Proposition 1 bound the loss-class transductive Rademacher complexity by:
Substituting the two norm bounds gives the stated complexity term. To obtain a bound that holds simultaneously over all nonempty budget classes, we apply the concentration inequality used in Lemma 1 to each class with confidence parameter , followed by a union bound over the budget classes. This yields the same concentration term as in Proposition 1, with replaced by , denoted by . The resulting event holds simultaneously over all budget classes, allowing the budgets to be selected according to the observed structural counts after training.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 1/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
The article investigates GNN generalisation via structural complexity. The main concept is to consider in generalisation analysis not only the weight norm but also the number of "active" message passing relations used in the model. For this, the authors derive a generalisation bound (for 2-layer GNNs) that grows with the number of such active relations. They specifically discuss the instantiations for GCN, GAT and GT. Motivated by this bound, the authors introduce a regulariser that penalizes message passing between nodes of different classes (assuming homophily in the graphs). In an experimental section, the authors evaluate their approach with GCN, GAT and GT on a range of datasets, showing that the regularisation method leads to some accuracy improvements over ordinary models.
Strengths
The authors correctly identify a relevant (less explored) aspect of GNN research on the role of the message passing structure in generalisation bounds rather than just the weight norms. This is well motivated and the regularisation method provides a simple approach to make use of this perspective to enhance performance.
The individual theoretical results are sound and the regulariser is evaluated on a broad set of models and datasets.
Weaknesses
The main claims are not sufficiently backed up. This concerns two aspects of the paper:
- The main contribution, i.e. the regulariser in section 4.3, is not shown to directly connect to the theory that precedes it. While the argument chain is reasonable, it is unclear how minimising the regularisation term has an immediate effect on the generalisation bound, since L_SE might just force edges to shift from cross to inner via changes in node predictions.
- The experimetal evaluation does not investigate some of the claims made in the paper:
- From the results it is not immediate that reducing structural complexity using SER improves generalisation. The observed improved accuracies might be an indicator, but are not direct experimental evidence.
- The bounds derived in section 3 and 4 are never evaluated. Thus, it's unclear whether they are at all meaningful in practice.
Overall, while the individual parts of the paper are interesting, the paper feels disconnected and doesn't yet properly support the main claims.
Questions for the authors
- Fig 2 and 3 show that SER barely changes the number of effective edges (or cross-class edges) over vanilla. In case of GCNs there is only up to 2% reduction. However, the accuracy results according to table 1 show gains for SER. Is this difference in performance actually caused by the tiny change in effective edges?
- In Fig 1, how is the number of effective edges varied? At least in the GCN case, where the number of effective edges should only depend on A, it is unclear to me how this number can be changed at all.
- Is there a particular reason why the authors didn't include in figure 4?
- Can the authors elaborate more on related work and possibly compare to them? Particularly, GNN generalisation with edge subsampling (e.g. [1]) and empirical methods that remove (or down-weight) cross-class edges (e.g. [2]).
[1] Zhang, S., et al. (2023). Joint Edge-Model Sparse Learning is Provably Efficient for Graph Neural Networks. ICLR 2023.
[2] Chatzianastasis, M., et al. (2023). Supervised Attention Using Homophily in Graph Neural Networks. ICANN 2023.
13 comments
[W1 (1/3): Connecting SER to the Generalization Bound]
We thank the reviewer for raising this important concern. We agree that the original manuscript did not sufficiently establish how minimizing the proposed regularization term translates into a reduction in the generalization bound. To address this gap, we have added experiments examining whether the reduction in cross-class propagation could merely result from changes in predicted class assignments, which reclassify existing cross-class relations as within-class ones. By evaluating both models under the same fixed ground-truth class assignments, we show that SER still reduces the aggregate cross-class propagation weight, indicating actual changes in propagation weights rather than merely an effect of class reassignment in the evaluation. Gradient ablations further quantify the incremental contribution of the direct structural gradient. More importantly, under a verifiable sufficient condition on the resulting changes in thresholded propagation support, we theoretically establish that SER reduces the total structural complexity. We further incorporate this reduction into the generalization analysis in Section 3, establishing that SER leads to a tighter structure-dependent generalization bound. The additional experimental evidence and theoretical results are detailed below.
Experiments. All experiments follow the settings of the original manuscript, with matched data splits, random seeds, and propagation parameterizations for paired comparisons. For post-hoc evaluation, we use the same ground-truth labels (Q) and candidate relations for both models, and compute , . The results are presented in the following table.
Table 1. Paired changes in cross-class propagation and test accuracy with SER.
| Model | Metric | Cora | CiteSeer | PubMed | CS | Physics | Computers | Photo |
|---|---|---|---|---|---|---|---|---|
| GCN | -1.514 | -1.707 | -0.153127 | -1.973 | -1.483 | -0.086 | -0.104 | |
| GCN | (pp) | -0.0584 | -0.0479 | -0.0007828 | -0.01150 | -0.00452 | -0.00086 | -0.00163 |
| GCN | Acc. (pp) | +1.93 | +4.02 | +0.47 | +0.92 | +0.84 | +2.38 | +1.68 |
| GAT | -0.244 | -0.4679 | -5.576 | -20.488 | -44.265 | -6.621 | -16.761 | |
| GAT | (pp) | -0.0090 | -0.0141 | -0.0283 | -0.11175 | -0.12833 | -0.04815 | -0.2191 |
| GAT | Acc. (pp) | +0.46 | +2.23 | +0.65 | +0.66 | +1.14 | +1.73 | +1.93 |
| GT | -20.213 | -3.107 | -74.8335 | -711.744 | -617.143 | -478.032 | -289.729 | |
| GT | (pp) | -0.746 | -0.0948 | -0.379538 | -3.88231 | -1.78918 | -3.54860 | -3.84511 |
| GT | Acc. (pp) | +2.52 | +4.41 | +0.53 | +2.80 | +2.26 | +4.56 | +1.87 |
Note. Each is the mean paired difference between full SER and the matched baseline (SER minus baseline). Differences are averaged over seeds within each split, then equally across splits. is the total cross-class propagation weight, and is its share of the total propagation weight. Both are evaluated using the same fixed ground-truth labels and candidate relations for both models. Negative differences indicate lower cross-class weight or share under SER. Acc. denotes test accuracy, and pp denotes percentage points.
For the gradient ablations, we consider two variants: one blocks the gradient path from to the propagation weights while retaining the gradient path to the class assignments , and the other blocks the gradient path to while retaining the gradient path to . We report the difference in cross-class propagation ratio between full SER and each ablation, where is calculated by subtracting the cross-class propagation ratio of the corresponding ablation from that of full SER. Accordingly, and denote the two respective gradient-blocking operations.
[W1 (2/3): Gradient Ablation Results and Proposition R1.1]
Table 2. SER gradient-path ablations for cross-class propagation under fixed labels.
| Model | Metric | Cora | CiteSeer | PubMed | CS | Physics | Computers | Photo |
|---|---|---|---|---|---|---|---|---|
| GCN | (pp) | -0.0365 | -0.0515 | -0.0005124 | -0.00475 | -0.00294 | -0.00009 | -0.00039 |
| GCN | (pp) | -0.0334 | -0.0314 | -0.0003368 | -0.00857 | -0.00241 | -0.00084 | -0.00130 |
| GAT | (pp) | -0.0183 | -0.0127 | -0.0263 | -0.08521 | -0.02820 | +0.03743 | -0.10894 |
| GAT | (pp) | +0.000071 | -0.0096 | -0.0034 | -0.01289 | -0.14424 | -0.02440 | -0.23056 |
| GT | (pp) | -0.193 | -0.0098 | -0.163060 | -2.32508 | -0.75977 | -2.74934 | -3.34698 |
| GT | (pp) | -0.075 | -0.0189 | -0.396074 | -0.31399 | -0.07394 | -0.42886 | -0.07536 |
Note. Each entry is the mean paired difference in between full SER and the indicated ablation (full SER minus ablation), in percentage points (pp). The ablation blocks the direct SER gradient through its structural input, and the ablation blocks the SER gradient through the soft class assignments . Each ablation retains the other SER gradient path. The cross-class share of propagation weight is evaluated using the same fixed ground-truth labels and candidate relations for both models. Negative values indicate a lower share under full SER.
Taken together, these results address the concern that SER may reduce cross-class propagation merely by changing predicted class assignments. In the fixed-label experiments, both models are evaluated using the same ground-truth assignments . The reductions in and across all 21 model–dataset settings therefore reflect actual changes in propagation weights over the same set of ground-truth cross-class relations, rather than merely reclassifying existing relations during evaluation. The gradient ablations further show that retaining the gradient path through the propagation weights yields a lower mean than blocking this path in 20 settings, even when the gradient through is retained in both variants. Similarly, retaining the gradient through also yields a lower mean in 20 settings when the propagation-weight gradient is retained. These results indicate that both gradient pathways contribute to reducing cross-class propagation, and, importantly, that the direct gradient through the propagation weights provides an additional contribution beyond changes mediated by class assignments.
Theory. To establish a unified analysis across different GNN architectures, for GCN, although the original normalized adjacency matrix is fixed, SER introduces learnable edge masks and defines the propagation weights as . For GAT and GT, the propagation weights are given by the corresponding learned attention coefficients. We use a common threshold to define effective propagation relations for structural-complexity analysis.
Proposition R1.1. Consider a layer and head of two trained models, indexed by , with a common candidate relation set , a common threshold , and row-probability assignments . Let be the actual propagation weight of , and define , , . Write , , and for total, cross-class, and within-class threshold complexity. With , , and , define , . If , then we have:
Proof. Since partition the removed, newly effective, and retained relations, respectively,
The inequality follows from and the definition of . Also , so . The identity then gives . Finally, using for both supports cancels the contribution of , giving:
[W1 (3/3): Corollary R1.1 and the Generalization Bound]
Having established how changes in cross-class structural complexity affect total thresholded structural complexity, we further connect this reduction to the generalization analysis. We illustrate the derivation using a two-layer GAT, while the same proof strategy can be adapted to other GNN architectures under their corresponding assumptions. The resulting bound is formalized in the following corollary.
Corollary R1.1. Consider the two-layer GAT class of Proposition 1. Fix the graph, features, labels, candidate relations for each layer, threshold , and common norm bounds before sampling a labeled set of size uniformly from the nodes. Retain the feature bound , weight bounds , and -Lipschitz activation with . Let the loss be -Lipschitz with values in . For , define , . Let , and set , , where and are the maximum row and column candidate counts in the first layer. With probability at least over the labeled set, simultaneously for all budgets and all :
where is the risk on the complement of the labeled set and is the concentration term in the transductive risk inequality used in Lemma 1. Consequently, under the same positive complexity coefficient and confidence term, the complexity penalty is strictly smaller for whenever .
Proof. For , decompose each attention matrix as , with retaining the entries at or above . Since the attention coefficients lie in , . Each entry of is below . The row and column sum bounds give , and summing the squares of the residual entries gives . Therefore and .
Eqs. (30)–(35) in the proof of Proposition 1 bound the loss-class transductive Rademacher complexity by:
Substituting the two norm bounds gives the stated complexity term. To obtain a bound that holds simultaneously over all nonempty budget classes, we apply the concentration inequality used in Lemma 1 to each class with confidence parameter , followed by a union bound over the budget classes. This yields the same concentration term as in Proposition 1, with replaced by , denoted by . The resulting event holds simultaneously over all budget classes, allowing the budgets to be selected according to the observed structural counts after training.
Relation to Sections 3 and 4. The SER objective in Eqs. (7)–(8) uses continuous weights and soft assignments. In the supplement, thresholding defines the effective relations in the actual propagation operator, with weights below retained in the residual terms of the bound. For a fixed operator and assignment satisfying the volume assumptions of Theorem 2, and Eq. (54) yield:
This extends the pointwise cross-class proxy to the threshold convention of Section 3.4. Proposition R1.1 then gives a paired sufficient condition under which changes in threshold support reduce both cross-class and total complexity, even allowing within-class complexity to increase. Corollary R1.1 connects the total count to the complexity penalty through simultaneous budget classes.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
[W1 (1/2): Structural Complexity and the Realized Generalization Gap]
We thank the reviewer for this important observation. We agree that the monotonic dependence of the upper bound on propagation support does not, by itself, imply that the realized generalization gap must increase with structural complexity. To address this concern, we provide complementary theoretical and empirical evidence. Specifically, we develop a lower-bound construction showing that the scale of the structural term can occur in the actual worst-case transductive risk gap, and conduct additional paired training interventions across different GNN architectures and datasets to examine whether changes in propagation structure affect model performance. We first present the lower-bound result in the following proposition.
Proposition R3.1. For any integers q≥1 and 1≤r≤q and any B,R1,R2>0, there exists a fixed graph on n=2q nodes and a two-layer ReLU hypothesis class F satisfying Theorem 1, with η(1)=η(2)=qr. Draw S uniformly among the m=q element subsets. For the bounded 1/2-Lipschitz loss specified below, let G(S)=supf∈F(ϵS(f)−ϵ^S(f)), κ=BR1R2qr, a=minκ,1. Then we have:
Proof. Take a complete bipartite graph with parts VL,VR of size q. Fix Tr⊆VR of size r before drawing S, and set:
Each operator has qr unit entries supported on graph edges. With X=B1VL and scalar weights ∣wk∣≤Rk, Eq. (1) gives f=Bqr(w1)+(w2)+1VL, where (x)+=maxx,0. The attainable predictions are thus f=t1VL for 0≤t≤κ.
Assign labels −1 on VL and +1 on VR. Use ℓ(z,y)=clip[0,1]((1−yz)/2). The loss is (1+mint,1)/2 on VL and 1/2 on VR. For Z=∣S∩VL∣−∣S∩VR∣, the fraction of left-side nodes in V∖S minus that in S is −Z/q. Hence, we have:
To generate the uniform split, draw a uniform perfect matching of the 2q nodes and independently choose one endpoint uniformly from each pair. The resulting q-subset is uniform by permutation invariance. Conditional on the matching, the within-side pairs cancel in Z, leaving a sum of K independent fair signs, where K is the number of cross-side pairs. Its conditional second and fourth moments are K and 3K2−2K. Each left-side node has probability q/(2q−1) of being matched across the partition, so we have:
For p=Pr(Z2≥q/4), Cauchy–Schwarz gives q/2≤EZ2≤q/4+3q2p, so p≥1/48. By symmetry, Pr(Z≤−q/2)≥1/96, which gives the probability bound and the expectation lower bound. The expectation upper bound follows from symmetry and E∣Z∣≤EZ2≤q. □