On the Rademacher Complexity of Graph Neural Networks: Unifying Expressivity and Geometry
Martin Carrasco, Caio Netto, Ehimare Okoyomon, Vahan A. Martirosyan, Aneeqa Mehrab, Caterina Graziani
NeurIPS 2026
TL;DR. We unify the study of GNNs' generalization, expressivity, and graph geometry through the lens of Rademacher complexity.
Abstract. Understanding the interplay between generalization, expressivity, and the geometry of the input space is a central challenge in graph learning. The expressivity of Graph Neural Networks (GNNs) is typically characterized through their correspondence with graph invariants, such as those from the Weisfeiler-Leman (WL) hierarchy. While more expressive GNNs can distinguish a richer set of graphs, they are also associated with weaker generalization guarantees. Previous works have addressed this trade-off using the VC dimension, a purely combinatorial measure, independent of the training data. In this work, we adopt a data-dependent measure of generalization, the empirical Rademacher complexity, and derive tight generalization bounds that jointly consider the expressive power of GNNs and the geometry of the underlying input space. Specifically, any graph invariant that upper-bounds a GNN's expressive power partitions the input space into equivalence classes, and we show that the empirical Rademacher complexity is controlled by the distribution of training samples across these classes. Moving beyond discrete partitions, we incorporate the geometry of the input space and derive covering-number bounds under Lipschitz continuity, showing that the complexity cost can be mitigated when the hypothesis class remains smooth over the data geometry. In addition, we prove that the empirical Rademacher complexity is Lipschitz continuous with respect to the Wasserstein distance between empirical measures supported on different datasets. This yields robustness and generalization guarantees under sampling variability. Importantly, our framework is not restricted to message-passing GNNs or WL, but extends to arbitrary GNN architectures and their associated invariants, providing a step toward a unified theory of 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
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
In this paper, the authors derive generalization bounds for GNNs with a Rademacher approach, focusing however on reconciling greater expressivity with better (at least not worse) generalization. For this, they adopt data-dependent definitions and incorporate the geometry of the underlying space, with notions of smoothness that are usually quite rare in the discrete settings of graphs.
The reviewer globally appreciated the idea and noted its importance and relevance. However, they formulated two main concerns that must be addressed: the noted that the derived bound was extremely general and was not instantiated on concrete architecture and graph distribution, as well as lack of numerical experiments. This makes it difficult to compare the bound with previous ones, and assess whether there is a real improvement, and at which level. Could the authors convincingly develop such concrete examples, even simple ones?
Final justification
The authors have answered quite successfully to the main concerns about this paper, mostly about particular instantiation of their framework. Some concerns however remain about the motivation and usefulness of their results, but I tend to consider that they do not outweigh the positive aspects of the paper. I would therefore tend to recommend acceptance, with a note that some aspects of the paper are a bit on the edge.
Read meta-review
Meta-review
In this paper, the authors derive generalization bounds for GNNs with a Rademacher approach, focusing however on reconciling greater expressivity with better (at least not worse) generalization. For this, they adopt data-dependent definitions and incorporate the geometry of the underlying space, with notions of smoothness that are usually quite rare in the discrete settings of graphs.
The reviewer globally appreciated the idea and noted its importance and relevance. However, they formulated two main concerns that must be addressed: the noted that the derived bound was extremely general and was not instantiated on concrete architecture and graph distribution, as well as lack of numerical experiments. This makes it difficult to compare the bound with previous ones, and assess whether there is a real improvement, and at which level. Could the authors convincingly develop such concrete examples, even simple ones?
Final justification
The authors have answered quite successfully to the main concerns about this paper, mostly about particular instantiation of their framework. Some concerns however remain about the motivation and usefulness of their results, but I tend to consider that they do not outweigh the positive aspects of the paper. I would therefore tend to recommend acceptance, with a note that some aspects of the paper are a bit on the edge.
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies the Rademacher complexity of function classes defined on graphs, motivated by generalization of graph neural networks. This Rademacher complexity classically decays as where is the number of graphs used for training, but the authors further analyze the rate of decay as a function of the expressivity of the family of graph models. Expressivity is qualitatively defined by the ability of different models in the family to take distinct values of distinct graphs, and quantitatively measured either by the number of distinct values a graph parameter takes on a training set, or by the covering numbers of that set with respect to a pseudometric on graphs. The resulting bounds are nonasymptotic, roughly-speaking have the form where quantifies expressivity as above, and often come with matching lower bounds.
Strengths and weaknesses
The paper is clearly written and does a good job motivating and interpreting its results. I think the approach taken in the paper to quantify expressivity is simple and natural, as are the bounds on Rademacher complexity, and ultimately on generalization.
The main weakness in the paper is the lack of instantiations of the its theory, making it very hard to judge how significantly they improve upon previous results. The authors state all of their results for general training sets, data distributions, loss functions, model classes, and graph invariants, but never actually instantiate these results on any concrete settings or perform any experiments.
For example, what do the bounds in the paper look like for vanilla GNNs and the 1-WL test? How significantly do the bounds on Rademacher complexity improve using the results in this paper? Naively looking at the bounds in the paper, it would seem that the authors merely improve a constant in front of the usual term. For the same reason, it's not clear how the bounds in Propositions 2-4 actually differ, when one should expect each bound to be most informative, and how these bounds compare to previous results in the literature.
Questions
Can you instantiate the bounds in Propositions 2-4 in some concrete settings, like vanilla GNNs with the 1-WL test, or for a model class consisting of linear combinations of some homomorphism densities? How do the bounds compare with each other and with previous bounds that do not take expressivity into account? Does the choice of graph invariant or the data distribution (e.g., sampling from a graphon) play a significant role?
Limitations
There is an adequate discussion of limitations.
Final justification
I agree with the authors that the idea of quantifying expressivity using graph invariants is novel and potentially an interesting direction for further research, but I'm not sure that the results in this paper are convincing demonstrations of its utility. I'm keeping my score unchanged but I'm not confident about it, and wouldn't be opposed to recommending acceptance if the other reviewers feel strongly otherwise.
Formatting concerns
None.
4 comments
Response to authors
Thank you very much for the detailed response!
Having read your responses to me and the other reviewers, my understanding is that your bounds give an improvement over previous, more naive approaches when relatively few of the graphs in the dataset can be distinguished by the architecture at hand (i.e., is small compared to ). The significance of this improvement is still not clear to me: Theoretically you say that it is at most logarithmic in and can sometimes vanish, while the numerical examples in your responses only involve your own bound. I still struggle to understand the potential implications of correctly taking expressivity into account, either theoretically or empirically, though I do find the ideas in this paper intruiguing. For this reason, I opt to leave my original score unchanged.
Clarification to Reviewer xJfY
We want to thank the reviewer for their response and taking the time to engage with our rebuttal.
While the quantitative improvement provided by Proposition 3 alone may be modest, we do not view this specific contribution as the main significance of the framework. Below, we clarify why accounting for expressivity is important beyond the specific logarithmic refinement, and how it naturally leads to the broader geometric framework of Proposition 4.
1. Why expressivity?
The implication of accounting for expressivity is not that every dataset must yield a dramatically smaller numerical bound. Rather, it is that complexity is measured with respect to the effective hypothesis class that the architecture can actually realize. When , architectural indistinguishability reduces the number of effective degrees of freedom. When , every observed graph is distinguishable and the discrete analysis naturally reduces to the classical case. Accordingly, no improvement based on exact equivalence should be expected in this regime.
2. Expressivity is an instance of a broader metric framework
More broadly, the -invariant formulation provides a model-dependent representation of the input space on which a data-dependent analysis can be built. The simplest instance of this idea is the discrete partition in terms of , which is our Proposition 2.
Proposition 4 generalizes the equivalence classes to be metric neighborhhods. The bound then depends on the covering geometry of the sample.
This introduces a form of data dependence that is absent from previous architecture-dependent or expressivity-aware bounds[1, 2]: graphs belonging to distinct invariant classes may still contribute jointly to the bound when they are close under a suitable pseudometric. Thus, even when every graph forms its own invariant class, the geometric analysis may remain informative at a finite resolution.
Additional comparison
We outline additional distinctions with respect to previous methods:
a.) Garg et al. [1] Their covering-number analysis concerns a specific class of MPNNs, whereas our framework applies to arbitrary architectures.
b.) Morris et al. [2] Their analysis is tied on piecewise-polynomial activation, bounded discrete color complexity, and 1-WL. Our analysis generalizes to nodes with real-valued features, unbounded graphs, any choice of Lipschitz activation function, and generic invariant (including but not limited to MPNNs/1-WL).
While a systematic empirical evaluation of whether these quantities correlate with observed generalization gaps remains an important direction for future work, we hope that the theoretical distinction and improvement are now clearer.
[1] Garg, V. K., et al. Generalization and Representational limits of graph neural networks. ICML 2020.
[2] Morris, Christopher, et al. "Wl meet vc." ICML 2023.
We thank the reviewer for the further comments. We further clarify the points raised in the latest comment we made, which for some reason moved to the top of the thread.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper develops empirical Rademacher complexity bounds for GNNs that jointly account for expressivity, input-space geometry, and cross-dataset stability. They parameterize everything by an arbitrary expressivity-bounding graph invariant (with 1-WL as the running example) rather than fixing the message-passing/1-WL pairing.
The authors present three main results: (1) a partition-based bound, two-sided tight under a "maximal expressivity" assumption; (2) a geometric refinement under Lipschitz continuity w.r.t. a pseudo-metric; (3) a stability result showing RS is -Lipschitz in the 1-Wasserstein distance between empirical dataset measures, yielding cross-dataset generalization and perturbation-robustness corollaries.
There is also an improvement to the Dudley entropy integral and a quotient-space construction generalizing the discrete and T-equivalent-metric cases.
Strengths and weaknesses
Strengths: The generality beyond 1-WL is a nice conceptual contribution and is explained cleanly: the invariant-indexed framework subsumes the discrete partition, T-equivalent-metric, and quotient cases as special instances. The Dudley improvement (Prop 3) is concrete. The concavity insight (uniform class distribution maximizes the bound; skewed distributions tighten it) provides real intuition for why worst-case expressivity penalties are often not realized. The stability analysis via optimal transport is a clean way to get distribution-shift guarantees.
Weaknesses: No empirical validation, which is a notable gap for a paper that explicitly claims to explain why the expressivity/generalization tension is "milder in practice." The two-sided tightness rests on the maximal-expressivity assumption (Def 1) and a universal-approximation step whose realism for actual GNN classes is asserted rather than argued. The scope is restricted to binary classification. Several core results have hidden structural requirements (e.g., equal sample size in the continuous W_1 bound) that limit applicability to the very distribution-shift settings motivated.
Questions
- Is the maximal-expressivity assumption (Def 1) satisfiable by realistic GNN classes, or is it effectively vacuous? The lower bounds hinge on it.
- How does the continuous W_1 stability bound (Thm 5) degrade when ? The permutation argument seems to require equal sizes, but the motivating distribution-shift setting generally won't.
Limitations
Addressed in the comments on weaknesses
Formatting concerns
No concerns
5 comments
Rebuttal
We thank the reviewer for their response and request for further explanation. This provides us an opportunity to clarify our work.
Q1. Is the maximal-expressivity assumption (Def 1) satisfiable by realistic GNN classes, or is it effectively vacuous? The lower bounds hinge on it.
Yes, it is satisfiable. A concrete example would be fixing to be GIN [1] and to be 1-WL. Then the class is maximally expressive since it contains a function that is as good as (1-WL in this case) in distinguishing graphs [1]. On any finite collection of observed 1-WL classes, a sufficiently expressive MLP prediction head can interpolate arbitrary values on the corresponding distinct representations. Hence the resulting GIN hypothesis class can realize every assignment of signs to the observed 1-WL classes, and therefore satisfies the conditions required by the lower bound. For a broader class of GNNs, they have been shown to be universal approximators on every measurable function, modulo the 1-WL (or unfolding tree) equivalence. This result was proven in probability by Scarselli for the original GNN model [2] and then extended for modern MPNNs by D’inverno [3].
Q2. How does the continuous W_1 stability bound (Thm 5) degrade when ? The permutation argument seems to require equal sizes, but the motivating distribution-shift setting generally won't.
We assume that in the stability bound (Thm. 5) samples have equal size. As noted, that is a requirement for the permutation argument. Though not wrong, we acknowledge that there is a real gap between what we proved and the distribution shift claim.
We first note that some size-dependent term is unavoidable, so this cannot be repaired by sharpening the transport term alone. Replicating every graph of times leaves both empirical measures exactly unchanged, hence , while and stays fixed: the discrepancy approaches its maximal value at zero distance. The reason is that, because of the normalization in Eq. (7), is not a functional of the empirical measure alone – it depends on the class sizes , not only on the proportions .
We have accordingly proved an unbalanced version. Let , write the graphs of as and those of as , and replace the permutation by an injection , which gives the partial-transport cost
Then the empirical Rademacher complexity satisfies
where and are as in Thm. 5, with in the continuous pseudo-metric regime and in the discrete partitioning regime.
Proof sketch. Let be the matched sub-sample consisting of , and let hold the unmatched graphs. Split the discrepancy into a transport term and an imbalance term:
The first term compares two samples of equal cardinality , so the permutation argument of Thm. 5 applies verbatim and bounds it by . The second term is a pure size effect and is controlled in two directions: subadditivity of the supremum gives , while conditioning on the Rademacher variables indexed by and using with Jensen's inequality gives . Since for classes with outputs in , both directions yield . Minimizing over gives in the continuous regime. The discrete regime then follows by instantiating as the discrete metric induced by and observing that implies , whence . The full proof will appear in Appendix C.4 of the revised version.
The bound is thus Thm. 5 plus a single imbalance term, and is consistent with it: when , injections are bijections, so and the two transport terms coincide, the imbalance term vanishes, and we recover Thm. 5 exactly in both regimes. The imbalance term is also unavoidable in the sense above – on the replication family the true discrepancy tends to while – so is informative when (resampling, perturbation, moderate reweighting) and degrades genuinely, under severe imbalance. We will state this scope explicitly rather than claiming distribution shift in general.
Regarding the reported weakness that "The scope is restricted to binary classification", we agree with the reviewer that the current paper is formally stated only for binary classification. We nevertheless note that the main upper-bound mechanisms underlying Propositions 2–4 are not inherently tied to binary labels. In particular, Appendix C.2 already provides an upper bound for real-valued function classes, which may serve as a first step toward regression settings. A full treatment of regression, however, is beyond the current scope and is left for future work.
[1] Xu, K., Hu, W., Leskovec, J., & Jegelka, S. (2019). How powerful are graph neural networks? ICLR
[2] Scarselli, F., Gori, M., Tsoi, A. C., Hagenbuchner, M., & Monfardini, G. (2008). The graph neural network model. IEEE transactions on neural networks
[3] D’Inverno, G. A., Bianchini, M., Sampoli, M. L., & Scarselli, F. (2024). On the approximation capability of GNNs in node classification/regression tasks. Soft Computing
Dear Reviewer,
As the discussion period is about to end, we wanted to follow up on our rebuttal and ask whether our responses have addressed the concerns raised in your review. If any questions or concerns remain, we would be grateful for the opportunity to clarify them before the discussion closes.
Thank you for your consideration and your time.
Thank you for the detailed rebuttal. The GIN/1-WL example establishes that the maximal-expressivity assumption is not vacuous, at least in a finite-sample setting with a sufficiently expressive prediction head. The proposed unequal-cardinality extension also directly addresses my second question by separating the transport contribution from an explicit and unavoidable sample-size imbalance term.
These clarifications resolve my specific technical questions, but they do not change my overall assessment. The upper bounds remain useful without maximal expressivity, but the two-sided tightness result still relies on a strong finite-sample interpolation condition and does not establish when typical fixed-capacity GNN classes satisfy it. Moreover, while experiments are not inherently required for a theory paper, the motivating claim that the expressivity/generalization tension is milder in practice remains empirically unvalidated. The formal scope also remains binary classification, and the unequal-size guarantee becomes weak under substantial imbalance. I therefore maintain my current score.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper connects the generalization properties of graph neural networks (GNNs) with notions of their expressive power. In particular, it formalizes expressive power of an architecture using graph invariants. A graph invariant is a function from graphs to an invariant space, which naturally induces an equivalence relation on the set of graphs. The paper derives upper and lower bounds on the empirical Rademacher complexity of a class of GNNs in terms of the probability distribution induced by the cardinalities of equivalence classes of graphs in the dataset. Here, the equivalence classes are induced by any graph invariant that bounds the expressivity of the class of GNNs. These bounds match one another up to a constant factor. It additionally generalizes the Dudley entropy integral upper bound on the empirical Rademacher complexity. Finally, stability of the empirical Rademacher complexity to perturbations of the data is studied.
Strengths and weaknesses
The paper makes an interesting contribution by tying generalization power of GNNs to their expressivity in a general manner. The resulting bounds are tight up to a constant factor. The exposition is mostly easy to follow, and limitations and future work are discussed.
A weakness is that example applications of the main bounds are not given (though the authors mention the possibility of analyzing the expected Rademacher complexity for specific random graph models).
Additionally, there are some very minor deficiencies in the writing:
1.) Line 229: When stating that the empirical Rademacher complexity lower and upper bounds are of the same order, a $\Theta$ should be used instead of $O$.
2.) On the same page, at a few points, the property of maximal expressivity is ascribed to individual functions in a hypothesis class. This seems to be a mistake, since maximal expressivity is a property of an entire class.
Questions
The main thing that would improve the paper is an example application of the derived bounds. For instance, can the authors, without too much trouble, use the results to compute bounds on the expected Rademacher complexity of a GNN architecture on a very simple graph distribution?
To what extent are the results specific to GNNs, rather than general graph learning hypothesis classes? Can some consequences for specific GNN architectural parameters be derived?
Answers to both of these questions would improve my ``clarity'' rating of the paper.
Limitations
Yes.
Final justification
I am inclined toward acceptance after the discussion period, for reasons discussed at length in my post-author-discussion comment. The authors have addressed all of my questions, and concerns raised by other reviewers have been addressed to my satisfaction.
Formatting concerns
N/A
1 comment
Rebuttal
We thank the reviewer for their comments. We will revise the presentation of the paper following their suggestion and, in particular, clarify that maximal expressivity is a property of the function class, as correctly pointed out. We address their questions below.
Can the authors, without too much trouble, use the results to compute bounds on the expected Rademacher complexity of a GNN architecture on a very simple graph distribution?
We empirically validate our lower and upper bounds of Proposition 2, by fixing as 1-WL and generating samples (our ). The dataset will contain both -regular graphs and Erdos-Renyi graphs with a total of 1-WL equivalence classes. Regular graphs of the same degree are all 1-WL equivalent, costituting one class. After generating each ER graph we check that it belong to a new 1-WL class. Each equivalence class that is not the -regular graphs will have the same number of graphs, denoted as in the table below.
The task is to train a GIN network of 1-layer and hidden dimension , followed by a two-layer MLP, on a dataset with to fit labels . To approximate we use the Monte Carlo method and perform training runs, each with different random assignmets of the two labels, and average over them. In the table below MC denotes this estimate and denotes the exact by closed formula derived below. The results show that MC always stays within the lower and upper bounds and remains close to as shown by the last column. It's also shown how the gap between the lower and upper bounds becomes progressively smaller as increases. We will update the manuscript with pretty plots of these results.
| Lower | MC | Upper | MC$\mathcal{R}_S-\mathcal{R}_S|$ | |||
|---|---|---|---|---|---|---|
| 50 | 1 | 0.12630 | 0.14200 | 0.17860 | 0.15000 | 0.00800 |
| 2 | 0.13590 | 0.14760 | 0.19220 | 0.14764 | 0.00004 | |
| 5 | 0.15270 | 0.16240 | 0.21590 | 0.17530 | 0.01290 | |
| 10 | 0.16690 | 0.17320 | 0.23600 | 0.18510 | 0.01190 | |
| 100 | 1 | 0.08414 | 0.10280 | 0.11900 | 0.09879 | 0.00401 |
| 5 | 0.09870 | 0.11020 | 0.13960 | 0.11300 | 0.00280 | |
| 10 | 0.10800 | 0.11520 | 0.15270 | 0.12040 | 0.00520 | |
| 20 | 0.11800 | 0.12240 | 0.16690 | 0.13200 | 0.00960 | |
| 200 | 2 | 0.05950 | 0.07400 | 0.08414 | 0.06578 | 0.00822 |
| 10 | 0.06979 | 0.08040 | 0.09870 | 0.07806 | 0.00234 | |
| 20 | 0.07634 | 0.08640 | 0.10800 | 0.08562 | 0.00078 | |
| 40 | 0.08345 | 0.09480 | 0.11800 | 0.09376 | 0.00104 |
About the closed formula for the exact empirical Rademacher complexity
On the considered sample, the GIN produces distinct representations for the three observed 1-WL equivalence classes, and its two-layer MLP prediction head can realize every assignment of the labels to these classes. Therefore, for every realization of the Rademacher variables, the model can attain the supremum independently on each equivalence class. Hence,
where . Denote by the number of signs among . For , the Rademacher sum equals . Hence, $a_{n}=\sum\limits_{k=0}^n|2k-n|\mathbb{P}(K=k)=\sum\limits_{k=0}^{n} |2k-n|\frac{\binom nk}{2^{n}}$. This is a closed formula we can use to compute the exact empirical Rademacher of our model class .
To what extent are the results specific to GNNs, rather than general graph learning hypothesis classes?
The results are not specific to GNNs. Propositions 2 and 3 apply to any graph-learning hypothesis class for which one can identify an invariant such that all models are constant on its equivalence classes. GNNs provide a natural instantiation because their expressive power can often be related to well-studied invariants such as WL tests. Ideally, one would use the invariant induced by the architecture itself, as this yields the coarsest valid partition and therefore the tightest bound. Proposition 4 applies whenever the hypothesis class is Lipschitz with respect to a suitable graph pseudometric and if it is maximally expressive (for the matching lower bound).
At a more abstract level, this framework can be adapted to other domains once suitable model-specific invariants and (pseudo)metrics are identified. We thank the reviewer for this observation and we will broaden the scope of the discussion in the revised manuscript.
Can some consequences for specific GNN architectural parameters be derived?
Yes, indeed model design affects the bounds thourgh different quantities in the three propositions.
Specifically for Proposition 2, we can substitute the invariant with the one induced by the architecture itself. The resulting partition can be estimated empirically on the dataset, by grouping together graphs whose output is close , for a selected threshold , and for all . Any architectural specification -- such as the number of layers, the choice of aggregation function, the width -- that increases the expressive power of and refines the partition, will increase the bound.
Proposition 3 provides a direct route to parameter-dependent consequences, since the covering number of the output space is directly bounded by architecture parameters. Existing architecture-specific estimates can be plugged into our result and further refined by exploiting the dimensional structure induced by the invariant (see Q2.2 of Reviewer xJfY for more details).
Finally, in Proposition 4, architectural choices enter through the Lipschitz constant with respect to the selected metric. For standard message-passing architectures, this constant can typically be bounded in terms of the product of layer-wise weight norms, including the input projection and readout, together with suitable norms of the graph shift operator. Controlling these quantities leads to a smaller Lipschitz constant. The effect of a larger Lipschitz constant can be mitigated by choosing a smaller , but this generally increases the number of metric balls required to cover the input space, leading to the usual approximation–complexity trade-off.
Comments on the paper
1 comment
Dear Reviewers,
As the discussion period draws to a close, we wanted to check in on our rebuttal and ask whether our responses have addressed your concerns. We would be grateful for any feedback, and we are happy to provide further clarification if needed.
Thank you for your time and consideration.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We thank the reviewer for their question and request for instantiation of the theory. This provides us an opportunity to clarify and improve our work.
We agree that the current presentation is model-agnostic, hence, we performed experiments to validate Proposition 2. Please, see the response to reviewer yaPg, Q1, for the results and see the following point Q4 for an instantiation to particular graph distributions.
Proposition 2 uses exact invariant equivalence and requires no Lipschitz assumption; it is most informative when many sample graphs share an invariant class.
Proposition 4 can be viewed as a continuous relaxation of Proposition 2. Exact equality of the model output within each equivalence class is replaced by a Lipschitz condition. This bound is more informative when graphs that are distinguished by the invariant are close in the metric space. In that case, non-equivalent graphs may fall into the same ε-ball, reducing the covering number, at the fixed cost of the approximation term λε.
As an example where Prop.4 can be more informative than Prop. 2, consider attributed graphs with the same underlying structure (e.g. Cycles of n nodes) but slightly different real-valued node features and set T=1−WL. Two such graphs belong to different equivalence classes, already from the initialization of 1-WL. If instead we choose a metric such as d(G,H)=∣∣XG−XH∣∣F, where XG is the feature matrix, then graphs with similar features remain close in the metric space. Under suitable norm/activations constraints, architectures such as GCNs are Lipschitz with respect to d, so Prop. 4 can cover close graphs at the same finite resolution.
Proposition 3 combines the partition-based improvement of Proposition 2 with the classic Dudley entropy bound. The proposition is most useful when one wants to combine an existing architecture-dependent covering bound from the literature with the additional improvement provided by the invariant-induced partition.
The clearest comparison is between Prop. 3 and the MPNN covering argument of [2]. The improvement is at most logaritmic in p and vanishes for p≈m. Nevertheless, we note that it is not only a constant value in front of the entropy term: using the same argument as [2], the classical choice α=1/m can be replaced by α=1/p, while keeping the residual contribution equal to 4/m. This raises the truncation scale and replaces the factor m inside the logarithmic entropy term with p. Thus, when p≪m, the improvement propagates to the covering term; when p≈m, the gain essentially disappears. In their specific instantiation, this is at most a logarithmic improvement but provides a metric to compare architectures beyond standard network parameters. If the p is fixed, the explicit bound improves from O(logm/m) to O(1/m).
We can also relate our bound in Prop. 2 to the classical growth function argument. Assuming a maximally expressive GNN over p discrete equivalence classes (e.g., with a sufficiently wide 2-layer MLP that acts as a universal approximator at each layer), the model is capable of assigning any arbitrary binary combination of labels to those classes. Therefore its growth function is 2p, so Massart’s lemma gives RS≤2pln2/m≈1.17mp.
We can now directly compare this classical baseline to the upper bound established in our Prop. 2, which is always strictly smaller than the classical bound. We can demonstrate this by examining the bounds under two regimes:
We will add these comparisons to the appendix, together with a comparison to the expressivity-related VC-dimension bound of [3, Proposition 2], showing that our bound is strictly tighter in the considered setting.
Yes. The selected invariant affects the bound through the empirical partition it induces. In particular, for any two valid graph invariants upper bounding the expressive power of an architecture, the best choice is to select the least expressive. Indeed, increasing the expressive power of the invariant, and therefore refining the partition, can only increase the bound. Ideally, one would use the partition induced by the architecture itself, which gives the tightest bound, or using only L iterations of 1-WL rather than the stable 1-WL partition, for a L-layer GNN. The stable partition may distinguish graphs using more refinement steps than the architecture can realize, leading to a valid but more pessimistic bound.
For homomorphism-count invariants, the comparison depends on the selected pattern family. For a generic collection of motifs, there may be no ordering with respect to a WL test, and the resulting bound depends on the dataset. If, instead, the complete homomorphism profile over all patterns of treewidth at most k is used, it induces the same equivalence partition as k-WL ([1], Theorem 3) and therefore gives exactly the same bound.
The dependence on the graph distribution is mediated by the representation of the graph space used in each proposition. In Prop. 2, a distribution D matters only through its pushforward onto the equivalence classes induced by the selected invariant. In particular, if (C1,…,Cp) are the equivalence classes and qj=PG∼D(G∈Cj), then, assuming that the data distribution is supported on the p classes, the bound depends on D only through the vector q=(q1,…,qp). In the following, a concrete example on how the bound changes by changing the distribution q. We consider GIN as a running example because it allows us to compute the exact Rademacher complexity in a maximally expressive setting and compare it numerically with our bounds. With a sufficiently expressive MLP, this hypothesis class can realize the "sup" of the Rademacher:
Let ∣Ij∣=nj and let qj=PG∼D(G∈Cj) be the probability that G is in class Cj. Then (n1,…,np)∼Multinomial(m;q1,…,qp). For the sufficiently rich GIN class described above, its true Rademacher complexity is
where ar=k=0∑r2r∣2k−r∣(kr). The statistical version of our bound becomes:
This formula allows to compute the Rademacher complexity of FGIN, for different distribution of graphs in equivalence classes. A complete derivation will appear in the revised paper. For m=100:
A graphon W provides one concrete way of defining a graph distribution. For graphs with n vertices sampled according to W, one can define qjW=PG∼W(G∈Cj) and substitute these probabilities directly into Prop. 2. We emphasize that there is no universal behavior shared by all graphons. Degenerate graphons may concentrate all probability on a single equivalence class, whereas stochastic graphons may distribute their mass over many classes. The latter illustrates the complementary role of Prop. 4. Even when exact collisions are rare, the distribution may still be concentrated with respect to a graph metric. There, Proposition 4 may remain informative, although concentration under a specific metric does not follow from graphon sampling alone and must either be established for the considered model or evaluated empirically.
[1] Dell, H., et al. Lovász Meets Weisfeiler and Leman. ICALP 2018.
[2] Garg, V. K., et al. Generalization and Representational limits of graph neural networks. ICML 2020.
[3] Morris, Christopher, et al. "Wl meet vc." ICML 2023.