arXiv:2611.01069cs.LGOct 2026

Manuscript Offprint

arXiv:2611.01069

On Sparse Graph Limits for Neural Combinatorial Optimization

Thien Le, Melanie Weber

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Graph neural networks are often trained on small graphs and deployed on larger ones, raising the question of which graph information must be preserved for combinatorial optimization values to transfer across sizes. We establish size-transfer guarantees for normalized graph optimization values using finite collections of energy features. For affine objectives, including MAX-CUT, coloring defect, and independent-set density, differences in task value are controlled by discrepancies in normalized scalar energy probes on all bounded-degree graphs. For general Lipschitz objectives, such as those with balance penalties, an additional representation error appears; this error vanishes on hyperfinite graph families but can remain bounded away from zero on expanders. Thus, at fixed degree bound, state space, Lipschitz constant, and target accuracy, a finite energy representation independent of graph size suffices universally for affine tasks and asymptotically for general Lipschitz tasks on hyperfinite families. These results yield prediction guarantees under explicit conditions on encoder accuracy, readout stability, and representation coverage, together with statistical generalization bounds. Theoretically, we prove Shapley–Folkman bounds with sharp parameter dependence, including a dimension-free ℓ2\ell_2 regime, and realize the resulting energy features with a fixed-weight message-passing network using random node initialization on bounded-treewidth graphs. Experiments with exact solvers and trained models test the resulting transfer guarantees.

1 Introduction

Graph neural networks are routinely trained on small graphs and deployed on much larger ones, raising the question of when predictions can reliably transfer across sizes. Four lines of work address different aspects of this question. Work on size transferability bounds how much the output of a fixed model changes as the input graph grows, for spectral filters and dense and sparse graph limits (Levie et al., 2019, 2021; Ruiz et al., 2020; Keriven et al., 2020; Maskey et al., 2023; Ruiz et al., 2023; Cerviño et al., 2023; Le and Jegelka, 2023), with a parallel empirical line on size extrapolation (Yehudai et al., 2021; Bevilacqua et al., 2021). Work on statistical generalization bounds the gap between training and test error, whether through classical capacity measures (Garg et al., 2020; Liao et al., 2021; Morris et al., 2023; Vasileiou et al., 2025), random-graph models (Maskey et al., 2022), or graphon, attributed-graph, graphop, and manifold limit spaces (Levie, 2023; Rauchwerger et al., 2025; Amran et al., 2026; Wang et al., 2025). Related work studies universality and expressivity on large random graphs (Keriven et al., 2021; Keriven and Vaiter, 2023). A signal-processing line studies sampling and filtering on finite graphs, graphons, and manifolds (Chamon and Ribeiro, 2018; Ruiz et al., 2021a,b; Wang et al., 2022b, 2024b,a; Le et al., 2024; Parada-Mayorga and Ribeiro, 2024). Finally, neural combinatorial optimization trains networks to output relaxed solutions to hard graph problems (Bengio et al., 2021; Cappart et al., 2023; Karalias and Loukas, 2020; Tönshoff et al., 2021; Schuetz et al., 2022; Wang et al., 2022a; Karalias et al., 2022; Wang and Li, 2023;

Sanokowski et al., 2024; Vanderbush and Weber, 2026), for which small-to-large deployment is standard but solver reliability remains debated (Angelini and Ricci-Tersenghi, 2023).

This paper connects these questions for combinatorial optimization on arbitrarily large graphs. In problems such as coloring, MAX-CUT, and maximum independent set, the objective is local but the optimum depends on a global assignment and cannot be recovered from bounded-radius neighborhoods. We ask which graph information must be retained for task values to transfer across sizes. Too coarse a representation precludes architecture-independent guarantees; too fine a representation retains information the task never uses.

Bounded-degree graph limit theory supplies a candidate representation. For fixed qq (e.g. number of colors in coloring), one qq-state assignment produces a quotient point: it records the fraction of vertices in each state and the normalized edge frequency between every pair of states. The qq-quotient set Sq(G)\mathcal{S}_q(G) collects these aggregate profiles over all assignments (see Figure 2). Hausdorff closeness of two quotient sets means that every profile attainable on either graph has a nearby counterpart on the other. Requiring this for every fixed qq is partition convergence (Bollobás and Riordan, 2011; Borgs et al., 2017), so continuous objectives of quotient statistics have stable optima across graph sizes.

Scalar energy features offer a simpler representation by optimizing affine scores over Sq(G)\mathcal{S}_q(G). But since these quotient sets are nonconvex in general, we can optimize instead over conv Sq(G)\mathcal{S}_q(G) and employ tools from convex optimization. However, convexification introduces mixtures of profiles that need not come from any single assignment. How close Sq(G)\mathcal{S}_q(G) is to conv Sq(G)\mathcal{S}_q(G) is therefore a worst-case rounding, or representation, error: convexification leaves affine optima unchanged, but contributes an additional transfer error for nonlinear Lipschitz1^1 tasks. Figure 1 shows the mechanism that makes this error small on hyperfinite graphs while Table 1 states the four resulting transfer regimes.

Figure

Figure 1: Hyperfinite decomposition and convexification. In a hyperfinite family, with n:=∣V(G)∣n := |V(G)|, deleting EcutE_{\mathrm{cut}}, ∣Ecut∣≤εn|E_{\mathrm{cut}}| \leq \varepsilon n, leaves components C1,…,CmC_1, \ldots, C_m with ∣Cj∣≤K(ε)|C_j| \leq K(\varepsilon) and KK independent of nn. Independent component assignments make Sq(G−Ecut)\mathcal{S}_q(G - E_{\mathrm{cut}}) a vertex-weighted Minkowski sum (dots); Shapley–Folkman bounds its gap κq,s\kappa_{q,s} to the shaded convex hull.

The qq- and K/nK/n-dependencies of the ℓ1\ell^1 rate, and both branches of the ℓ2\ell^2 rate, are separately sharp; the optimal ε\varepsilon coefficient remains open (Appendix C.7). For a concrete example, appendix A works through the affine/nonlinear distinction and these bounds for coloring.

Contributions. For finite simple graphs of maximum degree at most a fixed DD, we obtain:

  1. Transfer of task values. Differences in a finite set of normalized energy features control differences in affine task values on all graphs. For general Lipschitz objectives, an additional representation error appears, quantified in Table 1 (Theorem 11).

1^1Lipschitzness is defined by equipping the partition convergence topology with an ℓs\ell^s metric, for s∈{1,2}s \in \{1,2\}

Table 1: Task-value transfer by regime. Here DD is the maximum-degree bound; TF(X):=opt⁡z∈Sq(X)F(z)T_F(X) := \operatorname{opt}_{z \in \mathcal{S}_q(X)} F(z), where opt is the task's minimum or maximum; LsL_s is the Lipschitz constant under the ℓs\ell^s quotient metric; ηq,s\eta_{q,s} is the ℓs\ell^s-Hausdorff distance between the convexified sets; κq,s(X)\kappa_{q,s}(X) is the set-to-hull distance; and nX:=∣V(X)∣n_X := |V(X)|. Under an (εX,KX)(\varepsilon_X, K_X) decomposition, ρ1=OD(εX+q2KX/nX)\rho_1 = O_D(\varepsilon_X + q^2 K_X / n_X) and ρ2=OD(εX+min⁡{qKX/nX,KX/nX})\rho_2 = O_D(\varepsilon_X + \min\{q K_X / n_X, \sqrt{K_X / n_X}\}). Note that the regime KX/nX\sqrt{K_X / n_X} is independent of qq

Task classGraph assumptionBound on ∣TF(G)−TF(H)∣|T_F(G) - T_F(H)|
Affine: MAX-CUT, coloring defect, independent-set densityAny DD-bounded G,HG, HLsηq,s(G,H)L_s \eta_{q,s}(G, H)
General LsL_s-Lipschitz, including finite balance penaltiesAny DD-bounded G,HG, HLs[ηq,s+κq,s(G)+κq,s(H)]L_s[\eta_{q,s} + \kappa_{q,s}(G) + \kappa_{q,s}(H)]
Same general class, s=1s=1Both graphs admit such decompositionsL1[ηq,1+ρ1(G)+ρ1(H)]L_1[\eta_{q,1} + \rho_1(G) + \rho_1(H)]
Same general class, s=2s=2SameL2[ηq,2+ρ2(G)+ρ2(H)]L_2[\eta_{q,2} + \rho_2(G) + \rho_2(H)]
  1. When energy features are enough. We show using Shapley–Folkman arguments that this additional error vanishes on hyperfinite graph sequences (Theorem 5 and Corollary 6), at essentially sharp rates (Remark 7). Outside this regime, a construction based on expanders gives an Ω(1)\Omega(1) separation (Proposition 8).

  2. Consequences for learning. These results yield prediction and generalization guarantees that do not depend on graph size (Theorem 11, Proposition 27). On bounded-treewidth graphs, the required energy features can be computed by a fixed-weight message-passing network with random node initialization, while high-girth constructions show that logarithmic depth is necessary in general (Theorems 15–16).

References (100)

Couldn't load all references. Reload the page to try again.