Rank That Survives Resampling: A Training-Free Proxy for Graph Architecture Search

Choosing a graph neural network (a model that updates each node's vector by pooling messages from its neighbors) usually means training thousands of candidate designs. The main public benchmark for this search, NAS-Bench-Graph, spent about 8,000 GPU hours training 26,206 architectures. Two quite different failures decide which candidates are worth that cost. The first is over-smoothing: as layers stack, node vectors collapse toward a common value, and training gradients collapse the same way. The second is structural indistinguishability: nodes whose neighborhoods look the same always receive identical vectors, whatever the model's width or depth. Both failures show up in one measurable quantity, the number of genuinely different directions the node representations span, and both are already visible before any training happens. We propose to score architectures at initialization by this effective rank, measured in the forward representations and in the backward gradients, with one correction that makes the idea work. The rank that counts is only the part that survives when any injected randomness is redrawn. Without that correction, an architecture that adds random node identifiers looks perfect to a rank metric, because noise has maximal rank.

In two sentences for a colleague: take a single forward and backward pass of an untrained graph network, run it twice with fresh random node features but the same weights, and count how many directions the two runs share in their representations and in their per-node gradients. Architectures that keep many shared directions avoid both smoothing collapse and noise-only symmetry breaking, and we test whether this cheap score ranks architectures as well as training them for a few epochs does.

Core Claim

Recent work, Are we measuring oversmoothing in graph neural networks correctly?, shows that over-smoothing is best understood as rank collapse of the node feature matrix. It measures this with effective rank (the exponential of the entropy of the normalized singular values), which reaches an average Pearson correlation of 0.91 with accuracy in trained networks, a setting where Dirichlet energy fails. The same paper warns that high rank is not sufficient, because a random noise matrix has high rank and no signal. Backward Oversmoothing shows that in deep networks the backpropagated gradients converge to a constant across nodes, so the deep layers stay frozen near their initial state. That result is what makes an initialization-time score plausible: for deep candidates, the state at initialization is largely the state after training. Meanwhile, the methods that fix indistinguishability all inject randomness into the node inputs. These include random features (Sato et al.), random coloring (Dasoulas et al.), and the quasi-orthogonal vectors of MPLP. A naive rank score therefore rewards exactly the noise the rank paper warns about.

Our claim is that a resampling-corrected rank, measured at initialization in both directions of the network, predicts trained accuracy of graph architectures better than existing zero-cost proxies. We further claim that it does so without being explained away by parameter count.

Here is the score. Let $H^{(1)}, H^{(2)} \in \mathbb{R}^{N \times d}$ be the final-layer node representations from two forward passes that share the same random weights but use independent draws of any injected node randomness. For architectures with no injected randomness, the two draws are identical. Let $G^{(1)}, G^{(2)}$ be the corresponding gradients of a minibatch loss with respect to the first hidden layer's node representations. The score is

$$ S(f) = \log \mathrm{Erank}\!\left(\tfrac{1}{N} H^{(1)\top} H^{(2)}\right) + \log \mathrm{Erank}\!\left(\tfrac{1}{N} G^{(1)\top} G^{(2)}\right), $$

where $\mathrm{Erank}(M) = \exp\!\big(-\sum_i p_i \log p_i\big)$ with $p_i = \sigma_i / \sum_j \sigma_j$ computed from the singular values $\sigma_i$ of $M$. Directions driven purely by the noise draw decorrelate across the two passes and drop out of the cross-covariance. Directions set by the graph and the input features remain. The first term penalizes forward collapse. The second penalizes the constant-gradient trap. Rank is scale-invariant, so, unlike Dirichlet energy, the score stays meaningful when normalization layers are present.

Research Program

The work has three parts. The first is purely a measurement study on NAS-Bench-Graph, where trained accuracies already exist for all 26,206 architectures on nine datasets. It therefore costs only one forward and backward pass per architecture. This benchmark contains no injected randomness, so the resampling correction is inactive. The study tests the core forward and backward rank idea against every standard proxy. It also tests a specific tension raised in the file: NAS-Bench-Graph finds that the deeper layers of an architecture matter far more to final accuracy than the early ones, while backward over-smoothing predicts that deep layers barely train. We will check whether the backward-rank term explains the benchmark's variance along the deep layers, which would reconcile the two findings.

The second part builds a small extension of the NAS-Bench-Graph search space. We add operations that break symmetry: a random-feature input channel, an MPLP-style quasi-orthogonal input channel, and a Laplacian positional-encoding channel in the style of PEG. We train a stratified sample of roughly 2,000 architectures on node classification (Cora, CiteSeer, Chameleon) and link prediction (Cora, ogbl-collab, ogbl-ddi). Link prediction is where indistinguishability visibly costs accuracy. This is the setting in which the resampling correction is supposed to matter.

The third part is analysis on graphs we can control. We use the rooted-tree family from Is uniform expressivity too restrictive? and the corrected stochastic block models from Backward Oversmoothing. On these we compute exactly how many classes of indistinguishable nodes exist, using color refinement: repeatedly relabel each node by its own label plus the multiset of its neighbors' labels, the test that bounds what message passing can tell apart. That count caps the achievable signal rank. We will check whether the score tracks that cap for deterministic architectures and exceeds it only for architectures that break symmetry in ways that survive resampling. We will also report a variant that divides the forward term by this cap. Computing the cap is cheap, and the variant may help compare architectures of different depth.

Baselines

The naive reference point is random search under a fixed budget of fully trained evaluations. NAS-Bench-Graph reports that random search is "a very strong baseline, even outperforming more complex RL and EA methods on certain datasets". No per-dataset numbers for it are reported on Lacuna. We run random search, and our proxy used to pre-filter candidates before those same trained evaluations, with identical budgets of 10, 50, and 100 queried architectures. The metric is the true test accuracy of the best architecture found, averaged over 20 seeds. Beating random search means a higher best-found accuracy at equal trained-evaluation budget on a majority of datasets.

The strongest existing method is the zero-cost proxy suite of Zero-Cost Proxies for Lightweight NAS and NAS-Bench-Suite-Zero. This covers grad_norm, snip, grasp, fisher, synflow, jacob_cov, nwot and flops, plus the XGBoost surrogate built on all of them, which the suite reports improves rank correlation by up to 42%. On NAS-Bench-201 the best single-shot vote ensemble reaches Spearman 0.82. There is no reported result on Lacuna for any zero-cost proxy on NAS-Bench-Graph, so we must produce those numbers ourselves. Every proxy is implemented in the same code path and uses the same minibatch, the same initialization seeds (five), and the same hardware. Surrogates are trained with the same number of labeled architectures as any learned variant of our score. Beating this baseline means a higher Spearman correlation with trained test accuracy on at least six of the nine NAS-Bench-Graph datasets, and in addition a positive partial correlation after controlling for parameter count.

The reduced-training baseline trains each candidate for a small number of epochs. We match it to our proxy by measured wall-clock time rather than by FLOPs, because the ICLR 2021 proxy paper found that 1/64th of the FLOPs gave only about a 4× real speedup. On NAS-Bench-201, EcoNAS reached Spearman 0.61, below the 0.82 of the zero-cost ensemble.

Three ablations isolate the ingredients. The forward term alone, and the backward term alone, separate the two over-smoothing mechanisms. Plain effective rank of a single pass, without resampling, isolates the correction and should fail specifically on the extended space containing symmetry-breaking operations. Dirichlet energy at initialization serves as the older smoothing measure.

Why not just…?

Why not just use nwot or flops, which are already the most robust proxies? This is the real threat. NAS-Bench-Suite-Zero finds both robust, and many proxies mainly reward model size. Rank is partly tied to width, so our score could be a disguised parameter count. We settle this by reporting partial Spearman correlation controlling for parameters and FLOPs. We also compare against the de-biased versions of the standard proxies, and we test within groups of architectures that have matched parameter counts. If the score adds nothing within those groups, the claim fails.

Why not just train each candidate for a few epochs? Backward Oversmoothing shows that early loss drops can come entirely from fitting the final linear layer while the deep layers stay stuck. This makes short runs systematically optimistic about deep candidates. The wall-clock-matched comparison will show whether that bias costs rank correlation among deep architectures. We will report results separately by depth, because shallow architectures may favor short training.

Why not just add random features or DropEdge and skip the search? Shedding Light on Random Dropping and Oversmoothing shows that random dropping only helps as training-time augmentation and destabilizes inference. PEG notes that raw random identifiers hurt generalization. Our extended space includes these fixes as searchable operations, so the experiment directly measures whether they win uniformly or only on some tasks. NAS-Bench-Graph's observation that the best architecture on Cora rarely transfers to PubMed suggests they will not win uniformly.

Why not just use plain effective rank at initialization? On deterministic architectures it coincides with our forward term. On architectures that inject randomness it rewards noise, which is the failure the rank paper names explicitly. The no-resampling ablation on the extended space is the decisive test. If plain rank matches the corrected score there, the correction is unnecessary and we will say so.

Proposed Experiments

The primary result is Spearman and Kendall correlation between each proxy and trained test accuracy on all nine NAS-Bench-Graph datasets. We report means and spread over five initialization seeds and the wall-clock time per architecture. This is followed by the budgeted search comparison against random search. On the extended space, the decisive check compares the corrected and plain rank scores on the random-feature and quasi-orthogonal architectures, for both link prediction (Hits@K) and node classification. As an anchor for ogbl-ddi, PEG reports Hits@20 of about 56% versus about 37% for a standard GCN, and the best architecture our proxy selects should be judged against that PEG figure.

The proposal is falsified if either of two things happens. The first is that the score's correlation with trained accuracy disappears once parameter count is controlled. The second is that, among deep NAS-Bench-Graph architectures, the backward-rank term adds no predictive power beyond the forward term. In the second case, the connection to backward over-smoothing is not doing any work in the proxy.