Degree Bias Does Not Scale Away on Sparse Graphs

Graph neural networks (GNNs) are models that compute each node's representation by averaging messages from its neighbors. They are consistently less accurate on nodes with few neighbors than on well-connected hubs. The theory that explains why GNNs keep working as graphs grow is built on graphons, continuous limit objects that describe what an infinitely large graph "looks like." That theory quietly assumes graphs are dense, meaning edges grow with the square of the node count. Under that assumption every node's degree grows without bound, so the low-degree problem should fade as graphs get bigger. Real graphs are sparse: citation, co-purchase, and social networks keep a roughly constant average degree as they grow. In that regime a fixed fraction of nodes stays low-degree no matter how large the graph becomes.

We propose that degree bias in sparse graphs has an error floor. It is set by how few neighbors a node has to average over. Neither adding parameters nor adding graph data removes it, and the dense-graph theory predicts the opposite. The work measures degree-stratified scaling laws over three axes: model size, training-graph size, and a controllable density exponent. It pairs these with a degree-conditioned version of the sparse-limit transfer bound. The practical payoff is that it separates the parts of degree bias that scaling does remove from the parts it cannot remove. That tells practitioners which mitigations are worth using as graph models grow.

Core Claim

Consider graph sequences whose average degree grows as $N^{\gamma}$. Here $N$ is the node count and $\gamma \in [0,1]$ interpolates between the sparse regime ($\gamma = 0$, constant degree) and the classical dense graphon regime ($\gamma = 1$). For a random-walk (mean) aggregation filter, a node of degree $d$ averages $d$ noisy neighbor signals, so its representation variance scales as $\sigma^2/d$. The accuracy gap between a low-degree stratum and a high-degree stratum should therefore shrink with graph size as

$$\Delta(N) \approx C \, N^{-\gamma} + \Delta_{\infty},$$

where $\Delta(N)$ is the accuracy gap between the bottom and top degree quintiles, $C$ is a constant depending on the degree profile, and $\Delta_{\infty}$ is a residual gap that is zero in the dense limit but positive when $\gamma = 0$. The exponent $\gamma$ comes directly from the $1/d$ variance, because in the dense regime a node's degree is proportional to $N^{\gamma}$.

We also claim that the stratified version of the empirical graph scaling law,

$$s_k(X) = -a_k (X + c_k)^{-b_k} + s_{\infty,k},$$

has a floor $s_{\infty,k}$ that depends on the degree stratum $k$. Here $s_k$ is test accuracy on stratum $k$ and $X$ is either parameter count or training edge volume. For mean aggregation, the gap between the floors $s_{\infty,k}$ should be insensitive to model width. For symmetric-normalized aggregation, part of the gap is a training lag, meaning low-degree nodes simply converge slower. That part should close with capacity and training steps. Scaling therefore removes the optimization component of degree bias but not the variance component.

Relation to Prior Work

The limit theory motivates the question and supplies the machinery. Graphon Neural Networks and the Transferability of Graph Neural Networks treats GNNs as discretizations of a continuous graphon network and proves a global $O(n^{-1/2})$ transfer error, but only for dense sequences. Limits, approximation and size transferability for GNNs on sparse graphs via graphops and A Graphop Analysis of Graph Neural Networks on Sparse Graphs replace graphons with operator limits ("graphops") that survive sparsity. They give $O(m^{-1/2}+n^{-1/2})$ transfer bounds, but the bound is a single norm averaged over all nodes. Modeling Sparse Graph Sequences and Signals Using Generalized Graphons keeps sparse sequences non-trivial by moving to unbounded domains. We reuse these constructions to generate sparse sequences. We differ from all three by asking how the error is distributed across degree strata rather than bounding its average. Our prediction is that the average hides a component that does not vanish.

The degree-bias literature supplies the mechanism. Theoretical and Empirical Insights into the Origins of Degree Bias in Graph Neural Networks shows that degree bias is not an expressivity failure. It traces the bias to representation variance under random-walk filters and to training lag under symmetric filters, and finds it largely absent on heterophilic graphs. That analysis is finite, linearized, and at a single model size. We take its two mechanisms as the hypotheses our scaling experiments must separate. Subgroup Generalization and Fairness of Graph Neural Networks shows accuracy falling with graph distance to training nodes. That is a confounder for us, since low-degree nodes tend to be peripheral, so we control for it explicitly.

The scaling literature supplies both the functional form and the provocation. Neural Scaling Laws on Graphs fits the modified power law above with $R^2$ between 0.97 and 0.99. It finds edge volume a better data measure than graph count and identifies "model scaling collapse" when parameters outgrow data. It tracks only aggregate metrics, which is the gap we fill. From language and vision, Les représentations contextuelles stéréotypées dans les modèles de langue français reports a correlation of $\rho = 0.63$ between model proficiency and stereotype scores. Benchmarking Bias Mitigation Toward Fairness Without Harm from Vision to LVLMs finds that scaling from 7B to 72B leaves group gaps flat or wider, and that tuned standard training (ERM) is rarely beaten by specialized debiasing. These results constrain our design: any mitigation must be compared against well-tuned standard training, and we should expect "the gap is stable under scaling" as a live outcome rather than an anomaly.

Research Program

The theoretical part proves a degree-conditioned transfer bound for linearized message passing on sparse graphop and generalized-graphon sequences. The target statement bounds the error at a node of degree $d$ by the global graphop term plus a term of order $d^{-1/2}$. For bounded-degree sequences, the second term does not vanish as $n \to \infty$. We expect this to be tractable for random-walk filters, because the extra term is a sample-mean concentration term. The symmetric filter is harder because its effect runs through training dynamics. There we aim only for a gradient-magnitude argument showing that the lag shrinks with step count and width, and we leave non-linear networks to experiment.

The empirical part builds a density-controlled testbed. We sample stochastic block models and smooth graphons at edge probability scaled by $N^{\gamma-1}$, for $\gamma$ in $\{0, 0.25, 0.5, 0.75, 1\}$ and $N$ from $10^3$ to $10^6$. Node labels correlate with blocks so the graphs are homophilic, and heterophilic variants serve as controls. On these graphs, and on nested subgraph samples of real graphs, we sweep model width and depth up to the collapse point reported by the graph scaling-law work. We use GCN with symmetric normalization, GraphSAGE with mean aggregation, GAT, and one graph transformer. We then fit the stratified law per degree quintile.

Two further stratifications are run alongside the degree one. The first is by inverse collision probability, the neighborhood-diversity measure from the degree-bias paper. The second is by distance to the nearest training node. Together they test whether "degree" is really the variable doing the work.

Baselines

The prediction baselines are competing theories of how the gap evolves, since the main deliverable is a law. The naive reference assumes the gap is constant and equal to its value at the smallest scale. The dense-graphon prediction, implied by the graphon transferability analysis, says the gap decays to zero with $N$. The aggregate-law baseline fits the graph scaling-law form to overall accuracy and assumes every stratum moves in parallel. For the aggregate law, the file reports $R^2$ of 0.97–0.99 on aggregate metrics. There is no reported result found on Lacuna for stratified or gap metrics. The fair protocol fits every predictor on the same small-scale runs, up to $10^4$ nodes and the lower half of the parameter sweep. All predictors are then scored on held-out larger scales. Our law beats these baselines if its extrapolation error on the gap is clearly lower, and specifically if the fitted exponent tracks $\gamma$ on synthetic sequences with a nonzero floor at $\gamma = 0$.

The mitigation baselines test what the law implies about interventions. The first is carefully tuned standard training of each backbone. The second is inverse-degree loss reweighting. The third is On Generalized Degree Fairness in Graph Neural Networks (DegFairGNN), which adds synthetic context to low-degree nodes through a hypernetwork and a parity loss, and which reports cutting the degree parity gap by nearly 70% versus GCN on EMNLP. The fourth, and the strongest existing method, is GraphPatcher. It freezes the GNN and generates virtual neighbors for sparse nodes at test time, reporting up to 6.5% low-degree gains and up to 3.6% overall on Cora and CiteSeer while preserving high-degree accuracy, where competing methods lost 2–11%.

All mitigation methods get the same hyperparameter-trial budget and the same seeds and splits. GraphPatcher's patcher training is counted in its compute. The key ablation is a crude densification that adds feature-similarity edges only to low-degree nodes. It isolates our key ingredient, the claim that the floor comes from too few averaged neighbors. It is the simplest intervention that attacks that cause directly. A mitigation counts as beating tuned standard training only if it lowers the low-degree stratum's floor $s_{\infty,k}$ without lowering the top stratum. A one-off gain at a single scale does not count.

Why not just…?

Why not just reweight low-degree nodes or use focal loss? Reweighting changes how much each node's loss counts, not how many neighbors it averages over. Under our account it can shorten the symmetric-filter training lag but cannot move the variance floor. The degree-bias paper already shows that GNNs can fit training nodes of every degree, so the failure is at test time and not in fitting. The experiment settles this directly. If reweighting shrinks the floor gap under mean aggregation at $\gamma = 0$, our mechanism is wrong.

Why not just scale the model? This is the hypothesis under test, not an alternative we dismiss. Our prediction is split. Scaling should close the optimization part of the gap, so for GCN the gap shrinks with width. It should not close the variance part, so for GraphSAGE-mean the gap stays flat. The vision-language results from the fairness benchmark and the collapse findings from the graph scaling-law work make "flat" plausible, but we have no graph evidence yet. A uniformly shrinking gap across all filters would falsify the core claim.

Why not just tune standard training well? The fairness benchmark shows this is often the right answer, so tuned standard training is our reference point for every mitigation rather than a strawman. Our claim is compatible with it: if no mitigation lowers the floor, the correct conclusion is that the floor is a property of the data. It would then be reported as such, and not be something methods can fix.

Why not just use GraphPatcher or add edges? This is the real threat, and it agrees with our mechanism. Adding virtual or similarity-based neighbors raises effective degree, so it is exactly what the law says should work. The open question is whether GraphPatcher's gain survives as $N$ and model size grow, or whether the crude densification ablation matches it. If densification matches GraphPatcher at scale, that is itself a useful finding: the expensive component would be unnecessary.

Proposed Experiments

The decisive synthetic check fits $\Delta(N)$ across the five density exponents. It tests whether the fitted decay exponent tracks $\gamma$ and whether the floor $\Delta_\infty$ is positive only near $\gamma = 0$. Homophilic sequences should show the effect. Heterophilic controls, following the degree-bias paper's finding, should show little gap at any scale, and that result guards against the gap being an artifact of the sampler.

On real graphs, we use nested random subgraphs of ogbn-arxiv and ogbn-products, taking forest-fire samples at five sizes. On ogbn-products the file reports GraphSAINT at 79.08% and GraphSAGE at 78.50% full-graph test accuracy, which anchors our largest-scale runs. We add Cora, CiteSeer, and PubMed to connect to the reported Cora transfer gaps of 23.1% at 271 training nodes and 15.4% at 1,354. We also use Amazon Photo, Amazon CS, and Amazon Physics as homophilic sets and Chameleon and Squirrel as heterophilic sets. On each, we fit the stratified law over width and edge volume. The test is whether the floor gap separates between mean and symmetric aggregation as predicted.

The confound check repeats the degree stratification within bins of distance to the nearest training node and of inverse collision probability. If the degree effect vanishes once distance is controlled, the result is about peripherality rather than degree, and we will report it that way. Finally, the mitigation study runs all baselines at three model sizes and three graph sizes on ogbn-arxiv and PubMed subsamples. It asks which method, if any, moves the low-degree floor relative to tuned standard training, and whether GraphPatcher's reported low-degree advantage holds, grows, or disappears with scale.