A weight-sharing supernet trains one large network once so that many candidate architectures can be scored without training each of them from scratch. It works poorly when candidates that need different weights are forced to share the same ones. Mixture-of-Supernets (MoS) eases this by adding a small model, a router, that reads a description of each candidate architecture and assembles that candidate's weights from a pool of experts, which are interchangeable weight blocks. The router can only separate architectures that its input description places far apart. If the encoder that describes the architecture maps two candidates to the same vector, the router must give them identical weights. Graph neural networks, which are a natural encoder for architecture graphs, are provably unable to separate some pairs of graphs. This proposal tests whether that blind spot, and its milder "nearly the same vector" version, explains when routed supernets collapse onto a few experts or end up with experts that are interchangeable copies.
In two sentences, the idea is this. A router's ability to give different weights to different architectures is capped by the geometry of the architecture encoder it reads. Expert collapse in architecture-routed supernets should therefore appear exactly where that geometry disagrees with which architectures actually fight over shared weights. We first measure how often standard graph encoders confuse architectures in the NAS-Bench spaces, and whether the confused pairs conflict. We then build an encoder whose distances are trained to predict weight conflict, and compare it against simply using a more expressive graph encoder.
Core Claim
Write the router as $r(E(G))$, where $G$ is the architecture graph, $E$ is the encoder, and $r$ produces mixing weights over $K$ experts. Assume the router is $L$-Lipschitz, meaning its output changes by at most $L$ times the change in its input. Then for any two architectures,
$$\lVert r(E(G_1)) - r(E(G_2)) \rVert \le L \, \lVert E(G_1) - E(G_2) \rVert .$$
The consequence is direct. Exact aliasing, where $E(G_1)=E(G_2)$ for two different graphs, forces identical expert mixtures. Near-aliasing forces nearly identical ones. A load-balancing penalty can spread usage across experts, but it cannot make the router separate inputs the encoder has merged. It can only add routing noise, and noise makes experts see the same mixture of architectures, which is the homogenization failure described in Advancing Expert Specialization for Better MoE and Diversifying the Mixture-of-Experts Representation.
The 1-dimensional Weisfeiler-Lehman (1-WL) test is a node-recoloring procedure. Each round, every node's label is refreshed from the labels of its neighbors, and two graphs whose label histograms stay identical are declared indistinguishable. How Powerful are Graph Neural Networks? proves that standard message-passing encoders cannot separate graphs that 1-WL cannot separate. On the equivalence between graph isomorphism testing and function approximation with GNNs shows that the same limit bounds which graph functions they can represent. A depth-$k$ encoder is coarser still, because it merges graphs that are only separated after more than $k$ rounds.
We do not assume this blind spot matters in practice. NAS-Bench cells have at most 7 labeled nodes with a unique input and output, so exact 1-WL failures may be rare. Our claim is narrower and testable. Collapse and homogenization in a routed supernet should track how well encoder distance matches weight conflict, measured as the angle between two architectures' gradients on the shared weights. Expressivity beyond 1-WL should help only where aliased or nearly aliased pairs conflict.
Relation to Prior Work
Prior work plays three roles here: supplying the routing mechanism, supplying the encoders, and constraining or motivating the claim.
Mechanism. Mixture-of-Supernets supplies the routing mechanism we reuse. Its router reads a flat hyperparameter vector, it was evaluated on machine translation and BERT spaces without graph topology, and it never analyzes router collapse. We keep its weight-assembly design and change what the router reads.
Encoders. Four papers show that how an architecture graph is encoded changes predictor quality: GATES simulates information flow so isomorphic cells coincide; FlowerFormer passes messages in topological and reverse order with reachability-masked attention; CAP uses a 1-WL-bounded GIN pretrained on subgraph context; CATE pairs architectures by computation. All of them train standalone accuracy predictors. None is used as a router input, and none asks which architectures should share weights, which is a different target from which ones score alike. CATE's observation that topology alone gives a jagged accuracy landscape is a constraint on our design. It suggests that pure structural expressivity may be the wrong axis, which is why our main ingredient is alignment to conflict rather than raw expressivity.
Constraints and motivation from the graph side. MoSE is the closest work joining routing and expressivity. It routes anonymous-walk subgraphs to random-walk-kernel experts and proves the result is stronger than subgraph WL on molecular and social graphs. However, it routes pieces of input graphs to experts inside a classifier, never on architecture graphs, and it does not measure collapse. We route whole architectures to weight experts inside a supernet, and collapse is the measured outcome. Improving Graph Neural Network Expressivity via Subgraph Isomorphism Counting supplies our beyond-1-WL encoder, which adds substructure counts to message passing. NAS-BOWL supplies the WL-color tooling for the census in Stage 1.
Constraints and motivation from the routing side. On the routing side, Scaling Vision with Sparse Mixture of Experts, φ-Balancing, and Routers in Vision Mixture of Experts treat collapse as an optimization or balancing problem over token features. Enhanced Expert Merging shows that graph-feature routers often choose a worse expert than the runner-up. That finding motivates our view that router input geometry, not only the balancing rule, is at fault.
Research Program
Stage 1: aliasing census (cheap). On NAS-Bench-101 (NAS-Bench-101) and NAS-Bench-201, we run WL color refinement on every cell under three message directions: undirected, forward-only, and forward-plus-reverse. We do this for depths 1 through 6 and record which non-isomorphic cells share a color class.
For each merged class we compute the spread of benchmark accuracy across its members. We also compute the gradient conflict among its members, using a short warm-up supernet run and low-dimensional random sketches of each architecture's gradient on the shared weights. This stage alone answers whether exact or shallow-depth aliasing affects architectures that need different weights. If merged classes turn out to be tiny or conflict-free, we report that and drop the exact-expressivity part of the story.
Stage 2: routed supernets with controlled encoders. We train MoS-style routed supernets on NAS-Bench-201 (CIFAR-10, CIFAR-100, ImageNet-16-120) and NAS-Bench-101 (CIFAR-10), changing only the router's input encoder. The router, expert count, and training schedule are held fixed across all variants. The encoders are:
- the flat MoS-style vector;
- an undirected GIN;
- a flow encoder in the style of FlowerFormer;
- the same flow encoder with substructure counts added, to go beyond 1-WL;
- an injective lookup that gives each architecture its own learned code, in the spirit of L³: Large Lookup Layers;
- our conflict-aligned encoder.
The conflict-aligned encoder is the flow encoder pretrained during supernet warm-up with
$$\mathcal{L}_{\text{align}} = \sum_{(i,j)} \Big( \lVert E(G_i) - E(G_j) \rVert - \alpha \big(1 - \cos(g_i, g_j)\big) \Big)^2 .$$
Here $g_i$ is the gradient sketch of architecture $i$'s loss on the shared weights, $\alpha$ is a learned scale, and the sum runs over sampled architecture pairs. The objective pulls together architectures that want the same weight update and pushes apart those that conflict. Because it is a graph encoder, it generalizes to architectures never sampled during warm-up.
Stage 3: planted-alias control. We build a small synthetic cell space in which pairs of cells are deliberately 1-WL-indistinguishable but compute different functions. These are directed analogues of the two-triangles-versus-hexagon pair in Breaking the Limits of Message Passing Graph Neural Networks. If aliasing drives collapse anywhere, it must show up here.
Measurements in every run. We record:
- routing entropy over the architecture distribution;
- mutual information between expert choice and architecture;
- expert homogenization, as mean pairwise cosine similarity of expert parameters;
- the fraction of high-conflict pairs that receive similar routing;
- the supernet's ranking quality, as Kendall's tau between inherited-weight accuracy and benchmark accuracy on 1,000 held-out architectures, plus top-50 precision.
Baselines
The naive reference point is a standard single-path weight-sharing supernet with no experts. It sets how much routing helps at all. We parameter-match it to the routed models by widening the shared weights, so that "more parameters" is not mistaken for "better routing".
The strongest existing method is MoS with its flat architecture vector and its sandwich training, run exactly as described in Mixture-of-Supernets but on NAS-Bench spaces. MoS reports a 26.5% reduction in the subnetwork-to-standalone gap on machine translation and +0.85 average GLUE on sub-50M BERT. It has no reported result on Lacuna for NAS-Bench-101 or NAS-Bench-201 supernet ranking, so we establish that number ourselves. On NAS-Bench-201, the flat edge-operation vector already identifies every cell uniquely. Flat MoS therefore never aliases there, which makes it a demanding competitor rather than a strawman.
As an external, non-matched reference for ranking quality, trained predictors report Kendall's tau of 0.76 for GATES with about 190 trained NAS-Bench-101 architectures, and 0.709 for CAP with 172. These are predictor results, not supernet results, and we cite them only for scale.
Every encoder variant gets the same data, the same supernet epochs, the same router size, and the same hyperparameter search budget: twelve configurations, chosen on a validation split of architectures disjoint from the test split. Three seeds are run per configuration.
The key-ingredient ablations come in two forms. The first runs the flow encoder with and without $\mathcal{L}_{\text{align}}$, which isolates conflict alignment. The second is an oracle that clusters gradient sketches with k-means and routes each architecture to its cluster's expert. The oracle bounds what any encoder could achieve from conflict information.
We count the proposal as beating flat MoS if it improves Kendall's tau by at least 0.03 averaged across the four benchmark datasets, with non-overlapping seed intervals, while also lowering expert homogenization.
Why not just…?
Why not just keep flat MoS and add a load-balancing loss? This is the real threat on NAS-Bench-201, where the flat vector is injective. The balancing literature cited above shows that auxiliary losses buy balance at the cost of specialization. Whether that happens here is an empirical question. If flat MoS with balancing matches the aligned encoder on ranking and homogenization, the conclusion is that encoder geometry does not matter on that space, and we will report it as such. NAS-Bench-101's variable topology and the planted-alias space are where a difference is expected.
Why not just use a more expressive encoder, beyond 1-WL? If expressivity were the whole story, the substructure-count encoder would close the gap by itself. Our bound says separation is necessary but not sufficient: an encoder can separate every graph and still place conflicting architectures close together and compatible ones far apart. CATE's jagged-landscape finding suggests this mismatch is common. The comparison between the beyond-1-WL encoder and the conflict-aligned encoder settles it directly. If they tie, the simpler expressivity story wins and the alignment loss is unnecessary.
Why not just give every architecture its own code, so nothing ever aliases? A lookup table is maximally expressive, but it shares nothing between architectures. Codes for the many architectures never sampled during training stay at initialization. The injective-lookup arm measures this cost. We expect it to do well on frequently sampled architectures and poorly on held-out ones, and the held-out ranking split is designed to expose exactly that.
Why not just use Expert Choice routing, which balances load by construction? Expert Choice, analyzed in Routers in Vision Mixture of Experts, fixes how many inputs each expert takes, not which ones. If the encoder merges conflicting architectures, experts still receive mixed batches. We run Expert Choice on top of both the flat and the aligned encoder. If Expert Choice on the flat encoder removes homogenization, the balancing rule rather than the router's input is the lever, and the claim fails.
Decisive Checks
The project hinges on three results. First, the Stage 1 census must show non-trivial merged classes with high internal gradient conflict under the encoders people actually use, which are undirected or shallow. If it does not, exact 1-WL aliasing is irrelevant on NAS-Bench and only the near-aliasing claim survives. Second, on the planted-alias space, the 1-WL encoders must show measurably higher homogenization and lower ranking quality than the beyond-1-WL and aligned encoders. A null result there would falsify the mechanism outright. Third, on NAS-Bench-101 and NAS-Bench-201, how far conflict-aligned routing beats the beyond-1-WL encoder and flat MoS, measured against the gradient-clustering oracle, tells us whether the router's input geometry, rather than its expressivity or its balancing rule, is what controls expert collapse in architecture-routed supernets.
References
- Mixture-of-Supernets: Improving Weight-Sharing Supernet Training with Architecture-Routed Mixture-of-Experts
- Advancing Expert Specialization for Better MoE
- Diversifying the Mixture-of-Experts Representation for Language Models with Orthogonal Optimizer
- How Powerful are Graph Neural Networks?
- On the equivalence between graph isomorphism testing and function approximation with GNNs
- A Generic Graph-Based Neural Architecture Encoding Scheme for Predictor-Based NAS
- FlowerFormer: Empowering Neural Architecture Encoding Using a Flow-Aware Graph Transformer
- CAP: A Context-Aware Neural Predictor for NAS
- CATE: Computation-aware Neural Architecture Encoding with Transformers
- MoSE: Unveiling Structural Patterns in Graphs via Mixture of Subgraph Experts
- Improving Graph Neural Network Expressivity via Subgraph Isomorphism Counting
- Interpretable Neural Architecture Search via Bayesian Optimisation with Weisfeiler-Lehman Kernels
- Scaling Vision with Sparse Mixture of Experts
- $\phi$-Balancing for Mixture-of-Experts Training
- Routers in Vision Mixture of Experts: An Empirical Study
- Enhanced Expert Merging for Mixture-of-Experts in Graph Foundation Models
- NAS-Bench-101: Towards Reproducible Neural Architecture Search
- $L^3$: Large Lookup Layers
- Breaking the Limits of Message Passing Graph Neural Networks