Manuscript Offprint
arXiv:2610.01649CrossGMN: Graph Metanetworks for Cross-Architecture Weight-Space Transformations
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Weight-space networks operate directly on parameters of other neural networks, enabling tasks such as predicting model properties, editing trained models, and generating weights. Equivariance has emerged as a key design principle for these networks, owing to weight-space symmetries such as neuron permutations. However, existing equivariant weight-space architectures have primarily been studied for transformations that preserve the network architecture. In contrast, many practical transformations, including model compression and upscaling, map a trained source network into a target network with a different architecture. In this setting, the source and target permutation symmetries act on different parameter spaces, making equivariance less straightforward to formulate. Our key idea for addressing this mismatch is to reformulate cross-architecture operators with two inputs: a trained source network and an initialization of the target network. This lets us define equivariant cross-architecture operators that refine the initialization of the target network using information from the source network, while being invariant to source-network permutations and equivariant to target-network permutations. Based on this formulation, we introduce CrossGMN, a graph metanetwork that jointly processes both networks through symmetry-preserving cross-network message passing. We prove CrossGMN is universal for continuous cross-architecture operators on compact sets under a general-position assumption. We further evaluate CrossGMN for model compression, where it predicts the parameters of a smaller network to accelerate subsequent knowledge distillation. Across 2-D and 3-D INRs and image classification with MLPs, CNNs, and Vision Transformers, CrossGMN speeds up distillation by up to , transfers across datasets without retraining ( ), and a single model can accelerate compression from heterogeneous source architectures into a common target architecture.
1 Introduction
Weight-space learning studies neural architectures that operate directly on the parameters of other neural networks, enabling tasks such as predicting model properties, editing trained models, and generating weights (Unterthiner et al., 2020; Eilertsen et al., 2020; Schürholt et al., 2021; 2022a; 2024). A central property of weight spaces is their permutation symmetries, resulting in many different model parameterizations that represent the same function. This has motivated the development of permutation-equivariant weight-space architectures (Navon et al., 2023; Zhou et al., 2023a;b; 2024; Lim et al., 2024; Kofinas et al., 2024; Tran et al., 2024; 2025; Vo et al., 2025), which represent the current state of the art for learning over weights in many tasks.
Many practical transformations of neural network weights do not preserve the network architecture. Model compression maps a trained network into a smaller one for deployment under memory, latency, or compute constraints, through structured pruning (Li et al., 2017) or knowledge distillation (Hinton et al., 2015; Gou et al., 2021). Cross-architecture knowledge transfer moves the behavior of a trained network into a structurally different one (Ahn et al., 2019; Liu et al., 2024; Czyzewski, 2021). Model upscaling initializes a wider or deeper network from a trained smaller one, allowing training to continue from the transferred parameters rather than from scratch (Chen et al., 2016; Wei et al., 2016; Chen et al., 2022; Wang et al., 2023; Pham et al., 2024). All of these map the weights of one architecture into the parameter space of another, and most of them are realized today by a separate optimization process run from scratch for every source network. Learning such a transformation instead would replace this per-network optimization with a single feedforward pass: one weight-space model is trained once, and every new source network is then transformed in a fraction of a second. Existing equivariant weight-space architectures, however, have exclusively addressed mappings whose input and output lie in the same weight space. The cross-architecture setting is fundamentally different: the source and target networks carry distinct symmetry groups acting on distinct parameter spaces, so it is not even clear what equivariance should mean. Designing equivariant cross-architecture weight-space models is thus a central yet overlooked challenge in weight-space learning.
Our key observation is that cross-architecture transformations typically come with a natural second input. Whether the target is smaller or larger than the source, the procedure always begins from an initialized target network, which is then optimized against the trained source network, as in knowledge distillation and its variants (Hinton et al., 2015; Gou et al., 2021; Nasser et al., 2024). The transformation is therefore a function of two arguments: the trained source network and an initialization of the target. Importantly, taking both as input resolves the difficulty above. The initialization specifies the target architecture and carries the target symmetry group, so the operator has a well-defined action on each of its arguments: it should be invariant to symmetries of the source network and equivariant to symmetries of the target. This leads us to study equivariant cross-architecture operators .
With the right class of operators in place, the remaining question is how to parameterize it. We introduce CrossGMN, a graph metanetwork for learning such operators. CrossGMN represents each of the two networks as a parameter graph, joins them with cross edges, and performs message passing over the resulting joint graph. Information can thus flow between the source and the target while the two permutation symmetries are respected independently. We prove that CrossGMN is a universal approximator of continuous equivariant cross-architecture operators on compact sets under a general-position assumption, and extend this result to finite collections of source architectures mapping into a common target weight space.
We evaluate CrossGMN for model compression through knowledge distillation. Given a trained teacher (source network) and an initialization for a smaller student (target network), CrossGMN predicts refined student parameters intended to reduce the number of distillation steps needed to match the teacher. We evaluate width, depth, and combined compressions across 2-D and 3-D INRs (Sitzmann et al., 2020) and MNIST (LeCun et al., 1998)/CIFAR-10 (Krizhevsky, 2009) classifiers, on architectures including MLPs, CNNs, and Vision Transformers (Dosovitskiy et al., 2021). Across these settings, CrossGMN accelerates subsequent distillation for initializing compressed students, achieving speedups of up to on MNIST INRs and on ModelNet (Wu et al., 2015) INRs. CrossGMN also generalizes out of distribution: a model trained on MNIST INRs transfers to FashionMNIST (Xiao et al., 2017), achieving up to speedup without retraining. Moreover, a single CrossGMN can compress heterogeneous CIFAR-10 MLP teacher architectures into a common smaller student architecture and generalize to unseen teacher architectures.
In summary, our contributions are: (1) formulating cross-architecture weight-space learning as learning equivariant operators on a source network and a target initialization, which makes the problem's symmetry structure well-defined; (2) introducing CrossGMN, a graph metanetwork for learning equivariant transformations between different neural-network weight spaces; (3) establishing its universality for continuous cross-architecture operators, including settings with multiple source architectures; and (4) demonstrating its effectiveness for model compression, where it accelerates knowledge distillation across diverse architectures and out-of-distribution settings.
Weight spaces. An MLP architecture with layers is specified by layer widths and an activation function . Its parameters are
The corresponding realized function is
Definition 1 (Weight space). For an architecture , its weight space is , where, denotes a direct sum.
Throughout the paper, we consider a source architecture and a target architecture , with corresponding weight spaces and . Their hidden widths and depths may differ, but we assume the same input and output dimensions.
Permutation symmetries. Permuting hidden neurons changes the parameterization of an MLP while preserving its realized function. We formalize these transformations through the following group action.
Definition 2 (Permutation action on weight space). For an architecture , let be its hidden-neuron permutation group. For , set and let denote the corresponding permutation matrix. The action is defined by and for . By construction, for every .
Definition 3 (Permutation-invariant and equivariant weight-space networks). Let be an architecture, and let act on its weight space through as in Definition 2. A weight-space network is a parameterized map , where acts on through a representation . The network is -equivariant if for all and . It is -invariant if for all and .
In the next section, we consider the cross-architecture setting in which the source and target networks belong to different weight spaces with independent permutation symmetries.
3 Cross-Architecture Weight-Space Transformations
Let and be two architectures with weight spaces and , and permutation groups and .
Limitations of predicting the target directly from the source. One could directly map source parameters to target parameters, . However, this formulation has two difficulties. First, its equivariance structure is unclear: because the source and target have different permutation groups acting on different weight spaces, must be invariant to source permutations while selecting a representative among equivalent target parameterizations. Second, natural source-to-target maps may be discontinuous and thus cannot be uniformly approximated arbitrarily well by continuous neural networks. Appendix C.1 gives a simple setting of model compression where mapping each larger network to an optimal smaller one is discontinuous.
Instead, we formulate the problem as refinement from an initialization of the target network; this gives rise to more natural continuous cross-architecture operators. This leads to the following definition.
Definition 4 (Cross-architecture weight-space operator). A cross-architecture weight-space operator is a map
The second input both specifies a concrete parameterization in the target weight space and provides the parameters that the operator can refine. We say that F is equivariant with respect to the source and target permutations if
A natural and practically important instance of the operator class above is knowledge distillation (Hinton et al., 2015). In its simplest setting, a target network, called the student, is trained to match the outputs of a source network, called the teacher. In our setting, we denote their architectures by and , their weight spaces by and , the trained teacher by , and the student by . Distillation then minimizes
where measures the discrepancy between teacher and student outputs.
Let denote the student parameters obtained after distillation steps initialized at . For SGD (Bottou, 2012) and Adam (Kingma & Ba, 2015) with fixed hyperparameters and minibatches, is a continuous equivariant cross-architecture operator in the sense of Definition 4 for every fixed , provided the student loss gradient is jointly continuous. Appendix C.2 gives the formal statement and proof.
4 CrossGMN
To learn the cross-architecture operators defined in the previous section (Definition 4), we introduce CrossGMN. Section 4.1 presents its architecture, and Section 4.2 establishes its universality for continuous cross-architecture operators.
4.1 Architecture
For parameters , let denote the parameter graph constructed as in GMN (Lim et al., 2024). For an MLP, neurons form the nodes, weights are represented as directed edges between consecutive layers, and biases as node features. The full graph construction and feature specification are given in Appendix B.2.2.
Given source and target MLP architectures, let denote the source-network parameters and an initialization of the target network. Let and denote their parameter graphs. We define the joint graph as
where denotes the set of cross edges. For the joint graph to respect both symmetries, must be invariant under the joint action of on neurons: whenever , also for all and . We construct in two steps. We first determine how the neurons of a source layer are joined to those of a target layer, which is dictated by this invariance requirement. We then choose which pairs of layers to join, which is a free design choice.
Joining two layers. Consider a source hidden layer and a target hidden layer. Since the neurons of each can be permuted independently, the only nonempty set of edges between them that is invariant to both permutations is the complete bipartite one, connecting every source neuron to every target neuron. We call this a layerwise join, following the graph join of two disjoint graphs (Cardoso et al., 2013). Input and output neurons, in contrast, are indexed by the coordinates of the realized function's input and output, and are not permuted. Since the source and target share input and output dimensions, we join them with the sparser positionwise join: the i-th source input neuron is connected only to the i-th target input neuron, and likewise for output neurons.
Choosing which layers to join. Because each layerwise join is invariant on its own, any choice of which source and target hidden layers to join yields a symmetry-preserving . We call this choice a cross-edge policy. The most permissive policy, all-to-all, joins every source hidden layer to every target hidden layer, giving nm layerwise joins for networks with n and m hidden layers. To avoid this quadratic growth with depth, we use the following strided policy.
Definition 5 (Strided cross-edge policy). For two networks with hidden layers, the strided policy partitions the hidden layers of the deeper network into consecutive blocks of near-equal size, and joins the -th hidden layer of the shallower network to every layer in the -th block. Each hidden layer of the deeper network is thus joined to exactly one hidden layer of the shallower network, for a total of layerwise joins. For example, with and , the -th hidden layer of the shallower network is joined to layers and of the deeper network, giving 10 joins instead of the 50 required by all-to-all. The formal construction is given in Appendix B.2.1.
Source network

Figure 1: CrossGMN. The source parameters and an initialization of the target network are represented as parameter graphs and combined into the joint graph . A GNN operates on the joint graph, and its outputs corresponding to the target network form the parameter update , yielding the CrossGMN output defined in Definition 6.
Importantly, the strided policy retains the benefits of all-to-all connectivity while using fewer cross edges. In Section 4.2, we establish universality for the strided construction, and our experiments later show that it performs comparably to all-to-all connectivity in practice (Table 6). We now have all the components needed to define CrossGMN.
Definition 6 (CrossGMN). Given the joint graph , let denote a graph metanetwork with learnable parameters operating on the joint graph, and let denote the map that extracts the target-side parameters and arranges them into a vector in the target weight space. We define the resulting parameter update as
The CrossGMN operator is then
where s > 0 is a fixed residual-scale hyperparameter. Figure 1 illustrates CrossGMN.
By construction, CrossGMN is invariant to source permutations and equivariant to target permutations, as required by Definition 4. Message passing on the joint graph preserves both symmetry actions, while discards the source and retains the target, yielding the desired invariance and equivariance. A formal statement and proof are given in Proposition 2 in Appendix B.2.5.
4.2 Expressivity
Symmetry-preserving architectures restrict the hypothesis space and may therefore limit approximation power, making expressivity analysis particularly important in this setting. We establish that CrossGMN is universal for arbitrary continuous cross-architecture operators satisfying the symmetry in equation 2. Our result applies whenever the cross-edge connectivity contains all edges of the strided policy in Definition 5.
Theorem 1 (Universality of CrossGMN). Let and be fixed MLP architectures, and let and be compact sets of weights in general position. Let be a continuous cross-architecture operator in the sense of Definition 4. Then, for every , there exists a CrossGMN such that
In particular, this theorem provides an approximation guarantee for CrossGMN applied to the knowledge distillation operator introduced in Section 3.
We use the same general-position assumption as Dayan et al. (2026); for an MLP, this means that within each hidden layer, no two neurons have the same bias value.
Table 1: INR compression. We report median speedup + IQR (in brackets) relative to the best pruning-based anchor initialization. The last two columns report the percentage of held-out teachers for which CrossGMN accelerates distillation, and the percentage for which CrossGMN fails to reach the target within the budget.
| Dataset | Reduction axis | Architecture change | Speedup | >1× (%) | Failed (%) |
|---|---|---|---|---|---|
| MNIST | Width | [2, 32, 32, 1] → [2, 16, 16, 1] | 2.20×[1.2, 3.9] | 83 | 2 |
| Width | [2, 32, 32, 1] → [2, 8, 8, 1] | 5.20×[1.1, 12.5] | 76 | 18 | |
| Width | [2, 32, 32, 1] → [2, 4, 4, 1] | 4.10×[0.0, 14.1] | 62 | 35 | |
| Depth | [2, 32, 32, 1] → [2, 32, 1] | 4.07×[2.2, 6.6] | 90 | 7 | |
| Width+depth | [2, 32, 32, 1] → [2, 16, 1] | 8.89×[3.6, 16.8] | 86 | 13 | |
| ModelNet40 | Width | [3, 48, 48, 48, 48, 1] → [3, 24, 24, 24, 24, 1] | 1.11×[0.9, 1.7] | 57 | 18 |
| Depth | [3, 48, 48, 48, 48, 1] → [3, 48, 48, 1] | 6.85×[1.0, 19.8] | 74 | 12 | |
| Depth | [3, 48, 48, 48, 48, 1] → [3, 48, 1] | 2.88×[2.0, 4.0] | 96 | 0 | |
| Width+depth | [3, 48, 48, 48, 48, 1] → [3, 24, 24, 1] | 2.46×[0.4, 4.8] | 68 | 23 |
Proof idea. The proof reduces the cross-architecture setting to the fixed-architecture universality results of Dayan et al. (2026), who showed that prominent permutation-equivariant weight-space architectures, including DWSNets (Navon et al., 2023) and GMNs (Lim et al., 2024), have equivalent expressive power and are universal on compact general-position sets for invariant functionals and equivariant operators. Specifically, fixing makes source-invariant, while fixing makes target-equivariant. We approximate these components using the corresponding invariant and equivariant universality results and combine them through the cross edges. The full proof is given in Appendix C.3.
A single CrossGMN for heterogeneous architectures. The universality result extends to any finite collection of source architectures sharing a common target architecture , provided the source architecture is identifiable from the joint graph. The formal statement and proof are given in Appendix C.4, and we evaluate this setting empirically in Section 5.2.
5 Experiments
We evaluate CrossGMN for model compression through knowledge distillation, a practical instance of the cross-architecture operators discussed in Section 3. Following that example, we refer to the source network as the teacher and the target network as the student. We measure whether student initializations predicted by CrossGMN accelerate subsequent distillation toward their teachers. Our experiments cover several model families and compression settings, including transfer across datasets and to unseen source architectures. Full experimental details are provided in Appendix D.1–D.7.
5.1 Experimental setup and evaluation
Training and evaluation protocol. For each compression setting, we train CrossGMN on a population of trained teachers and student initializations using the distillation objective in equation 3. Given a teacher , CrossGMN predicts , where is an initialization of the target network as defined in Section 3, which we refer to as the anchor throughout the compression experiments.
We initialize the anchor by applying structured pruning methods to the teacher , as this provides a stronger starting point for knowledge distillation than random initialization with little additional compression overhead (Xu et al., 2024). For each experiment, we select the structured-pruning method that yields the lowest loss at initialization among the evaluated methods, providing a strong anchor for CrossGMN to improve upon. We compare CrossGMN with the selected anchor itself and with other structured-pruning baselines, including magnitude-based (Xu et al., 2024), activation-based (Hu et al., 2016), and OBS/OBC pruning (Hassibi & Stork, 1992; Frantar & Alistarh, 2022). Appendix D.2 details the anchor and baseline initialization methods.
At evaluation, we measure the distillation speedup of CrossGMN relative to the anchor separately for each held-out teacher. We first distill the anchor until its relevant validation metric plateaus,
We define a plateau as no improvement greater than for P = 50 consecutive evaluations, following the standard early-stopping principle (Prechelt, 1998).
Width compression

Depth compression

distillation budget (steps)
CrossGMN (ours) ... random init activation
anchor: magnitude OBS / OBC random neuron
CrossGMN (ours) ... random init ... keep first + last
anchor: layer fold
Figure 2: Reach-budget plots for MNIST INRs. Fraction of 1,000 held-out teachers whose students reach a prescribed performance threshold defined relative to the teacher as a function of distillation budget (log scale), comparing CrossGMN with its anchor and other baselines (Appendix D.3). Each compression setting includes two panels: (a) Fidelity to the teacher, measured by PSNR(student, teacher) ≥ T dB, and (b) Student performance retention, measured by PSNR(student, image) ≥ PSNR(teacher, image) - ε. The thresholds T and ε are chosen separately for each compression setting to account for differences in student architecture capacity. See Section 5.1 for the full description of the reach-budget plots.
and denote the attained value by . We then distill the CrossGMN prediction toward the same teacher under a fixed budget. The per-teacher speedup is the ratio between the numbers of distillation steps required by and to reach . Thus, indicates that CrossGMN accelerates distillation relative to the anchor. If does not reach within the budget, we count the teacher as a failure and set . We report the median speedup over all held-out teachers together with two complementary statistics: the acceleration rate, defined as the fraction of teachers with , and the failure rate, defined as the fraction of teachers with . We additionally report wall-clock speedup, including the cost of the CrossGMN forward pass.
Reach-budget plots. A speedup metric relative to an anchor may be less informative when the anchor itself is weak. We therefore complement speedup metrics with reach-budget plots, which evaluate whether the student reaches prescribed performance defined relative to the teacher. Each plot shows the fraction of teachers whose students reach a fixed target as the distillation budget increases. We report two measures: fidelity reach, which tracks how quickly students match their teachers' functions, and performance-retention reach, which tracks how quickly they attain a prescribed level of their teachers' task performance. Figure 2 shows both measures for representative settings; Appendices D.2 and D.9 provide the full protocol and plots for all settings.
Teacher model families. We evaluate compression on trained-model populations , including 2-D SIREN implicit neural representations (INRs) (Sitzmann et al., 2020) fitted to MNIST images (LeCun et al., 1998), 3-D SIREN INRs fitted to ModelNet40 shapes (Wu et al., 2015), MLP and Vision Transformer (ViT) classifiers (Dosovitskiy et al., 2021) on CIFAR-10 (Krizhevsky, 2009), and CNN classifiers on MNIST from the model zoo of Schürholt et al. (2022b).
5.2 CrossGMN distillation speedup across model families and datasets
INR datasets. For MNIST, we use the dataset of Navon et al. (2023), containing one SIREN INR per image with teacher architecture [2, 32, 32, 1] (1,185 parameters). For ModelNet40, we use the SIREN dataset of 3-D shape distance fields from Shamsian et al. (2024), with teacher architecture [3, 48, 48, 48, 48, 1] (7,297 parameters). CrossGMN is trained and evaluated on disjoint teacher subsets for each dataset; Appendix D.3–D.4 provides full details. Table 1 reports distillation speedups across compression settings, and Figure 2 shows reach–budget curves for representative MNIST width and depth reductions, with wall-clock speedups reported below.
Wall-clock speedup. We additionally report wall-clock speedup, including graph construction and the CrossGMN forward pass. For the MNIST INR settings in Table 1, CrossGMN inference takes
To justify amortization, each model population should span diverse functions; classifier diversity is quantified in Appendix D.11.
Table 2: Classifier compression. Median distillation speedup + IQR (in brackets) relative to the best pruning-based anchor initialization; columns as defined in Table 1.
| Family | Reduction axis | Architecture change | Speedup | >1× (%) | Failed (%) |
|---|---|---|---|---|---|
| MLP | Width | [3072, 64, 64, 64, 64, 10] → [3072, 32, 32, 32, 32, 10] | 1.04×[0.8, 1.4] | 54 | 5 |
| Depth | [3072, 64, 64, 64, 64, 10] → [3072, 64, 64, 10] | 1.25×[0.7, 2.3] | 60 | 3 | |
| Width+depth | [3072, 64, 64, 64, 64, 10] → [3072, 32, 32, 10] | 1.18×[0.8, 1.8] | 59 | 3 | |
| ViT | Depth | blocks 4→2 | 1.21×[1.1, 1.3] | 95 | 0 |
| Attention dimension | 48→24 | 0.74×[0.6, 0.9] | 7 | 5 | |
| Head count | heads 2→1 | 0.86×[0.8, 1.0] | 16 | 0 | |
| Head count+depth | heads 2→1, blocks 4→2 | 1.18×[1.1, 1.3] | 92 | 0 | |
| CNN | Width | conv [8, 6, 4] → [4, 3, 2] | 1.17×[0.9, 1.4] | 68 | 1 |
18–20 ms per teacher on an NVIDIA A100, compared with 1.8–2.4 ms per distillation step. This overhead is small relative to the overall distillation budget: width compression from [2, 32, 32, 1] to [2, 8, 8, 1], with a budget of 2,480 steps, achieves a wall-clock speedup versus in distillation steps, while joint width–depth compression to [2, 16, 1], with a budget of 2,750 steps, achieves versus . Full timing details and results are provided in Appendices D.2 and D.10.
Classifier datasets. We conduct separate compression experiments on MLP, ViT, and CNN model zoos. For MLPs and ViTs, we construct separate datasets of models trained on CIFAR-10, with 5,000 training and 1,000 test models per dataset. The MLPs have architecture [3072, 64, 64, 64, 64, 10] (209,802 parameters), while the ViTs have four Transformer blocks, two attention heads, hidden dimension 48, and FFN width 192 (115,930 parameters). For CNNs, we use the existing model zoo of Schürholt et al. (2022b), containing 2,560 MNIST classifiers with three convolutional layers of widths [8, 6, 4] (2,464 parameters). Table 2 reports the compression settings and results; Appendix D.5–D.7 provides dataset construction and training details.
Heterogeneous-architecture compression. When a model collection spans multiple architectures, training a separate compression operator for each reduces the benefits of amortization. To evaluate this setting, we train a single CrossGMN on four CIFAR-10 MLP teacher architectures, all mapped to a common student architecture. Table 3 reports results for held-out teachers from each architecture and for the pooled population.
Discussion. As seen in Table 1, CrossGMN consistently accelerates distillation across INRs, achieving significant speedups. For classifiers, Table 2 shows more modest gains that depend on the compression setting: CrossGMN improves distillation for MLPs, CNNs and the ViT depth reductions, while reducing the ViT attention dimension or head count does not yield a speedup. The results in Table 3 show that CrossGMN achieves positive speedups across heterogeneous architectures. Taken together, the results provide evidence that model compression can be learned and amortized directly in weight space, and suggest that CrossGMN is a suitable architecture for studying such learned cross-architecture transformations.
Table 3: Heterogeneous-architecture compression. A single CrossGMN maps all four source architectures to [3072, 8, 10].
| Teacher | Speedup | >1× (%) | Failed (%) |
|---|---|---|---|
| [3072, 16, 10] | 60 | 12 | |
| [3072, 16, 16, 10] | 55 | 14 | |
| [3072, 32, 10] | 65 | 6 | |
| [3072, 32, 32, 10] | 66 | 10 | |
| Pooled | 62 | 10 |
5.3 Out-of-Distribution Generalization
A desirable property of weight-space models is to become increasingly agnostic to the underlying network architecture, rather than requiring retraining for each specific model family. We therefore evaluate CrossGMN under two out-of-distribution shifts: cross-dataset transfer and unseen source architectures. Table 4 reports cross-dataset transfer, while Table 5 evaluates unseen architectures. These results support CrossGMN's ability to transfer across datasets and provide evidence of partial generalization to unseen architectures.
Table 4: Transfer across datasets. The Cross-GMN models trained on the MNIST INR settings of Table 1 are applied unchanged to FashionMNIST INRs of the same architectures.
| Architecture change | Speedup | >1× (%) | Failed (%) |
|---|---|---|---|
| [2, 32, 32, 1]→[2, 8, 8, 1] | 2.18× | 61 | 33 |
| [2, 32, 32, 1]→[2, 32, 1] | 3.09× | 86 | 6 |
| [2, 32, 32, 1]→[2, 16, 1] | 3.78× | 76 | 17 |
Table 5: Generalization to unseen architectures. The CrossGMN checkpoint used in Section 5.2 is applied without retraining to unseen wider and deeper teacher architectures.
| Source architecture | Speedup | >1× (%) | Failed (%) |
|---|---|---|---|
| [3072, 64, 10] | 61 | 11 | |
| [3072, 16, 16, 16, 16, 10] | 41 | 17 | |
| Pooled | 51 | 14 |
5.4 Ablations: the role of cross edges
We ablate the main architectural and training choices of CrossGMN, including teacher–student communication, cross-edge policy, student initialization, supervision objective, teacher-population size, weight-space backbone, and operator capacity. Table 6 focuses on the communication ablation, which highlights two main findings: removing cross edges or replacing them with FiLM conditioning on a pooled teacher summary (Perez et al., 2018) reduces distillation speedup, supporting direct equivariant neuron-level communication; and the strided policy of Definition 5 performs comparably to all-to-all connectivity while using fewer cross edges. The remaining ablations are reported in Appendix D.8.
Table 6: Teacher–student communication. CrossGMN ablations on MNIST INR width reduction [2, 32, 32, 1] → [2, 8, 8, 1], same compression setting as in Table 1.
| Variant | Speedup | >1× (%) | Failed (%) |
|---|---|---|---|
| Strided (Definition 5) | 76 | 18 | |
| All-to-all (Section 4.1) | 75 | 18 | |
| No cross edges | 67 | 24 | |
| FiLM conditioning | 68 | 24 |
6 Related Work
Weight-space learning treats neural-network parameters as structured data (Han et al., 2026). The pioneering works that started exploring this direction are Eilertsen et al. (2020); Unterthiner et al. (2020); Schürholt et al. (2021). Later approaches use symmetry considerations and include equivariant weight-space networks (Navon et al., 2023; Zhou et al., 2023a;b; Tran et al., 2025) and graph-based models (Lim et al., 2024; Kofinas et al., 2024), with extensions to additional symmetries (Kalogeropoulos et al., 2024; Tran et al., 2024). Importantly, these symmetry-aware architectures operate within a single weight space, whereas we study transformations between distinct source and target weight spaces. Related parameter-generation methods either condition on a target architecture (Zhang et al., 2019; Knyazev et al., 2021; Liu et al., 2019) or learn distributions over trained-model populations (Schürholt et al., 2022a; 2024; Erkoç et al., 2023; Wang et al., 2024; Soro et al., 2025). They generate new weights rather than transforming a particular trained network into another weight space. An extended discussion is provided in Appendix A.
7 Conclusion
We explored learning transformations between the weight spaces of different neural architectures and introduced CrossGMN, an equivariant framework for learning such cross-architecture operators. CrossGMN is a graph metanetwork that operates jointly over the source and target weight spaces, using a trained source network to refine an initialization of the target network. We proved universality for continuous cross-architecture operators and evaluated the framework on model compression with knowledge distillation. Across INRs and classifiers, CrossGMN reduces subsequent distillation steps for both width and depth compression, while supporting reuse across source architectures, transfer across datasets, and partial generalization to unseen source architectures. These results show that equivariant models can learn architecture-changing transformations directly in weight space.
Limitations and future work. Our current setting requires access to source parameters, assumes compatible input and output spaces, and is evaluated only at moderate scale (up to roughly 200k parameters). Scaling to larger models may require sparse or blockwise joint graphs and more efficient cross-network communication. Future work could also extend the operator view beyond compression to settings such as model upscaling and cross-family transfer.
Acknowledgments
HM is supported by the Israel Science Foundation through a personal grant (ISF 264/23) and an equipment grant (ISF 532/23), and by the Career Advancement Chairs in Artificial Intelligence – Schmidt Futures.
References
Sungsoo Ahn, Shell Xu Hu, Andreas C. Damianou, Neil D. Lawrence, and Zhenwen Dai. Variational information distillation for knowledge transfer. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 9155–9163, 2019.
Guy Bar-Shalom, Fabrizio Frasca, Yaniv Galron, Yftah Ziser, and Haggai Maron. Beyond token probes: Hallucination detection via activation tensors with act-vit. In Advances in Neural Information Processing Systems, volume 38, pp. 95218–95248, 2025. doi: 10.52202/085713-2865.
Léon Bottou. Stochastic gradient descent tricks. In Neural networks: tricks of the trade: second edition, pp. 421–436. Springer, 2012.
Léon Bottou, Frank E. Curtis, and Jorge Nocedal. Optimization methods for large-scale machine learning. SIAM Review, 60(2):223–311, 2018. doi: 10.1137/16M1080173. URL https://doi.org/10.1137/16M1080173.
Domingos M Cardoso, Maria Aguieiras A de Freitas, Enide Andrade Martins, and María Robbiano. Spectra of graphs obtained by a generalization of the join graph operation. Discrete Mathematics, 313(5):733–741, 2013.
Cheng Chen, Yichun Yin, Lifeng Shang, Xin Jiang, Yujia Qin, Fengyu Wang, Zhi Wang, Xiao Chen, Zhiyuan Liu, and Qun Liu. bert2bert: Towards reusable pretrained language models. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 2134–2148, 2022.
Tianqi Chen, Ian Goodfellow, and Jonathon Shlens. Net2net: Accelerating learning via knowledge transfer. In International Conference on Learning Representations, 2016.
Jacob Cohen. A coefficient of agreement for nominal scales. Educational and psychological measurement, 20(1):37–46, 1960.
G. Cybenko. Approximation by superpositions of a sigmoidal function. Mathematics of Control, Signals, and Systems, 2(4):303–314, 1989. doi: 10.1007/BF02551274. URL https://doi.org/10.1007/BF02551274.
Maciej A Czyzewski. Transfer learning between different architectures via weights injection. arXiv preprint arXiv:2101.02757, 2021.
Adir Dayan, Yam Eitan, and Haggai Maron. On the expressive power of permutation-equivariant weight-space networks. In International Conference on Machine Learning (ICML), 2026.
Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2021.
Gabriel Eilertsen, Daniel Jönsson, Timo Ropinski, Jonas Unger, and Anders Ynnerman. Classifying the classifier: dissecting the weight space of neural networks. In ECAI 2020: 24th European Conference on Artificial Intelligence, 29 August–8 September 2020, Santiago de Compostela, Spain–Including 10th Conference on Prestigious Applications of Artificial Intelligence (PAIS 2020), pp. 1119–1126. SAGE Publications 1 Oliver's Yard, 55 City Road, London, EC1Y 1SP, 2020.
Ziya Erkoç, Fangchang Ma, Qi Shan, Matthias Nießner, and Angela Dai. Hyperdiffusion: Generating implicit neural fields with weight-space diffusion. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 14254–14264. IEEE, 2023.
Elias Frantar and Dan Alistarh. Optimal brain compression: A framework for accurate post-training quantization and pruning. In Advances in Neural Information Processing Systems, 2022.
Yoav Gelberg, Yam Eitan, Aviv Navon, Aviv Shamsian, Theo Putterman, Michael M. Bronstein, and Haggai Maron. Gradmetanet: An equivariant architecture for learning on gradients. In Advances in Neural Information Processing Systems, volume 38, 2025. doi: 10.52202/085713-5155.
Jianping Gou, Baosheng Yu, Stephen J Maybank, and Dacheng Tao. Knowledge distillation: A survey. International journal of computer vision, 129(6):1789–1819, 2021.
Xiaolong Han, Zehong Wang, Bo Zhao, Binchi Zhang, Jundong Li, Damian Borth, Rose Yu, Haggai Maron, Yanfang Ye, Lu Yin, et al. A survey of weight space learning: Understanding, representation, and generation. arXiv preprint arXiv:2603.10090, 2026.
Babak Hassibi and David G. Stork. Second order derivatives for network pruning: Optimal brain surgeon. In Advances in Neural Information Processing Systems, volume 5, pp. 164–171, 1992.
Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.
Kurt Hornik. Approximation capabilities of multilayer feedforward networks. Neural Networks, 4(2):251–257, 1991. doi: 10.1016/0893-6080(91)90009-T. URL https://doi.org/10.1016/0893-6080(91)90009-T.
Hengyuan Hu, Rui Peng, Yu-Wing Tai, and Chi-Keung Tang. Network trimming: A data-driven neuron pruning approach towards efficient deep architectures. arXiv preprint arXiv:1607.03250, 2016.
Ioannis Kalogeropoulos, Giorgos Bouritsas, and Yannis Panagakis. Scale equivariant graph metanetworks. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang (eds.), Advances in Neural Information Processing Systems, volume 37, pp. 106800–106840. Curran Associates, Inc., 2024. doi: 10.52202/079017-3391. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/c13d5a10028586fdc15ee7da97b7563f-Paper-Conference.pdf.
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015.
Boris Knyazev, Michal Drozdzal, Graham W. Taylor, and Adriana Romero-Soriano. Parameter prediction for unseen deep architectures. In Advances in Neural Information Processing Systems, 2021.
Miltiadis Miltos Kofinas, Boris Knyazev, Yan Zhang, Yunlu Chen, Gertjan J Burghouts, Efstratios Gavves, Cees G Snoek, and David Zhang. Graph neural networks for learning equivariant representations of neural networks. In International Conference on Learning Representations, volume 2024, pp. 45363–45381, 2024.
Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009. URL https://www.cs.toronto.edu/~kriz/learning-features-2009-TR.pdf.
Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
Hao Li, Asim Kadav, Igor Durdanovic, Hanan Samet, and Hans Peter Graf. Pruning filters for efficient ConvNets. In International Conference on Learning Representations, 2017.
Derek Lim, Haggai Maron, Marc T Law, Jonathan Lorraine, and James Lucas. Graph metanetworks for processing diverse neural architectures. In B. Kim, Y. Yue, S. Chaudhuri, K. Fragkiadaki, M. Khan, and Y. Sun (eds.), International Conference on Learning Representations, volume 2024, pp. 11430–11458, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/file/2feafd84b23a52b3fa434bc6d7682256-Paper-Conference.pdf.
Yewei Liu, Xiyuan Wang, and Muhan Zhang. Meta pruning via graph metanetworks: A meta learning framework for network pruning. arXiv preprint arXiv:2506.12041, 2025. URL https://arxiv.org/abs/2506.12041.
Yufan Liu, Jiajiong Cao, Bing Li, Weiming Hu, Jingting Ding, Liang Li, and Stephen Maybank. Cross-architecture knowledge distillation. International Journal of Computer Vision, 132(8):2798–2824, 2024. doi: 10.1007/s11263-024-02002-0. URL https://doi.org/10.1007/s11263-024-02002-0.
Zechun Liu, Haoyuan Mu, Xiangyu Zhang, Zichao Guo, Xin Yang, Kwang-Ting Cheng, and Jian Sun. Metapruning: Meta learning for automatic neural network channel pruning. In 2019 IEEE/CVF international conference on computer vision (ICCV), pp. 3295–3304. IEEE, 2019.
Sahar Almahfouz Nasser, Nihar Gupte, and Amit Sethi. Reverse knowledge distillation: Training a large model using a small one for retinal image matching on limited data. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pp. 7778–7787, 2024. doi: 10.1109/WACV57701.2024.00760.
Aviv Navon, Aviv Shamsian, Idan Achituve, Ethan Fetaya, Gal Chechik, and Haggai Maron. Equivariant architectures for learning in deep weight spaces. In International Conference on Machine Learning, pp. 25790–25816. PMLR, 2023.
Ethan Perez, Florian Strub, Harm De Vries, Vincent Dumoulin, and Aaron Courville. Film: Visual reasoning with a general conditioning layer. In Proceedings of the AAAI conference on artificial intelligence, volume 32, 2018.
Chau Pham, Piotr Teterwak, Soren Nelson, and Bryan A. Plummer. Mixturegrowth: Growing neural networks by recombining learned parameters. In IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pp. 2788–2797, 2024.
B. T. Polyak. Some methods of speeding up the convergence of iteration methods. U.S.S.R. Computational Mathematics and Mathematical Physics, 4(5):1–17, 1964. doi: 10.1016/0041-5553(64)90137-5. URL https://doi.org/10.1016/0041-5553(64)90137-5.
Lutz Prechelt. Automatic early stopping using cross validation: quantifying the criteria. Neural networks, 11(4):761–767, 1998.
Adriana Romero, Nicolas Ballas, Samira Ebrahimi Kahou, Antoine Chassang, Carlo Gatta, and Yoshua Bengio. FitNets: Hints for thin deep nets. In International Conference on Learning Representations (ICLR), 2015.
Konstantin Schürholt, Dimche Kostadinov, and Damian Borth. Self-supervised representation learning on neural network weights for model characteristic prediction. In Advances in Neural Information Processing Systems, volume 34, 2021.
Konstantin Schürholt, Boris Knyazev, Xavier Giró-i Nieto, and Damian Borth. Hyperrepresentations as generative models: Sampling unseen neural network weights. In Advances in Neural Information Processing Systems, volume 35, pp. 27906–27920, 2022a.
Konstantin Schürholt, Diyar Taskiran, Boris Knyazev, Xavier Giró-i Nieto, and Damian Borth. Model zoos: A dataset of diverse populations of neural network models. In Advances in Neural Information Processing Systems (NeurIPS) Datasets and Benchmarks Track, 2022b.
Konstantin Schürholt, Michael W. Mahoney, and Damian Borth. Towards scalable and versatile weight space learning. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 43947–43966, 2024.
Aviv Shamsian, Aviv Navon, David W. Zhang, Yan Zhang, Ethan Fetaya, Gal Chechik, and Haggai Maron. Improved generalization of weight space networks via augmentations. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 44378–44393, 2024.
Vincent Sitzmann, Julien N. P. Martel, Alexander W. Bergman, David B. Lindell, and Gordon Wetzstein. Implicit neural representations with periodic activation functions. In Advances in Neural Information Processing Systems, 2020.
Bedionita Soro, Bruno Andreis, Hayeon Lee, Wonyong Jeong, Song Chong, Frank Hutter, and Sung Ju Hwang. Diffusion-based neural network weights generation. In International Conference on Learning Representations, volume 2025, pp. 99644–99675, 2025.
Tijmen Tieleman and Geoffrey Hinton. Lecture 6.5—RMSProp: Divide the gradient by a running average of its recent magnitude. Neural Networks for Machine Learning, Coursera, 2012. URL https://www.cs.toronto.edu/~tijmen/csc321/slides/lecture_slides_lec6.pdf. Lecture notes.
Viet-Hoang Tran, Thieu N. Vo, Tho Tran-Huu, An T. Nguyen, and Tan M. Nguyen. Monomial matrix group equivariant neural functional networks. In Advances in Neural Information Processing Systems, volume 37, 2024.
Viet-Hoang Tran, Thieu N. Vo, An Nguyen, Tho-Huu Tran, Minh-Khoi Nguyen-Nhat, Thanh Tran, Duy-Tung Pham, and Tan Nguyen. Equivariant neural functional networks for transformers. In International Conference on Learning Representations, 2025.
Thomas Unterthiner, Daniel Keysers, Sylvain Gelly, Olivier Bousquet, and Ilya Tolstikhin. Predicting neural network accuracy from weights. arXiv preprint arXiv:2002.11448, 2020.
Thieu Vo, Hoang V. Tran, Tho Tran Huu, An Nguyen The, Thanh Tran, Minh-Khoi Nguyen-Nhat, Duy-Tung Pham, and Tan Minh Nguyen. Equivariant polynomial functional networks. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 61689–61744, 2025.
Kai Wang, Dongwen Tang, Boya Zeng, Yida Yin, Zhaopan Xu, Yukun Zhou, Zelin Zang, Trevor Darrell, Zhuang Liu, and Yang You. Neural network diffusion. arXiv preprint arXiv:2402.13144, 2024.
Peihao Wang, Rameswar Panda, Lucas Torroba Hennigen, Philip Greengard, Leonid Karlinsky, Rogerio Feris, David D. Cox, Zhangyang Wang, and Yoon Kim. Learning to grow pretrained models for efficient transformer training. In International Conference on Learning Representations, 2023.
Tao Wei, Changhu Wang, Yong Rui, and Chang Wen Chen. Network morphism. In International conference on machine learning, pp. 564–572. PMLR, 2016.
Zhirong Wu, Shuran Song, Aditya Khosla, Fisher Yu, Linguang Zhang, Xiaoou Tang, and Jianxiong Xiao. 3d shapenets: A deep representation for volumetric shapes. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1912–1920, 2015.
Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
Zhiqiu Xu, Yanjie Chen, Kirill Vishniakov, Yida Yin, Zhiqiang Shen, Lingjie Liu, Zhuang Liu, et al. Initializing models with larger ones. In International Conference on Learning Representations, volume 2024, pp. 14336–14351, 2024.
Zhuoqian Yang, Mathieu Salzmann, and Sabine Süsstrunk. Weight space representation learning via neural field adaptation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 17734–17743, 2026.
Chris Zhang, Mengye Ren, and Raquel Urtasun. Graph hypernetworks for neural architecture search. In International Conference on Learning Representations, 2019.
Allan Zhou, Kaien Yang, Kaylee Burns, Adriano Cardace, Yiding Jiang, Samuel Sokota, J. Zico Kolter, and Chelsea Finn. Permutation equivariant neural functionals. In Advances in Neural Information Processing Systems, volume 36, 2023a.
Allan Zhou, Kaien Yang, Yiding Jiang, Kaylee Burns, Winnie Xu, Samuel Sokota, J. Zico Kolter, and Chelsea Finn. Neural functional transformers. In Advances in Neural Information Processing Systems, volume 36, 2023b.
Allan Zhou, Chelsea Finn, and James Harrison. Universal neural functionals. In Advances in Neural Information Processing Systems, volume 37, 2024.
Appendix Contents
A Extended Related Work 16
B Notation and Architecture-Specific Symmetries 16
B.1 Notation 16
B.2 Parameter graphs and induced permutation actions 17
B.2.1 Joint graphs and cross-edge policies 17
B.2.2 Multilayer perceptrons 18
B.2.3 Convolutional networks 19
B.2.4 Transformers 20
B.2.5 Equivariance of the joint graph 22
C Theoretical Results 23
C.1 Discontinuity of mapping a larger network to an optimal smaller one 23
C.2 Finite-step distillation is a cross-architecture operator 25
C.3 Universal approximation of cross-architecture operators 27
C.4 One CrossGMN for finitely many source architectures 30
C.5 Scope for CNN and Transformer weight spaces 31
D Experimental Details 31
D.1 CrossGMN implementation 31
D.2 Evaluation protocol 32
D.3 MNIST and FashionMNIST INR compression 35
D.4 ModelNet40 3-D INR compression 35
D.5 CIFAR-10 MLP compression 36
D.6 CIFAR-10 Vision Transformer compression 36
D.7 MNIST CNN compression 37
D.8 Ablations 37
D.9 Reach-budget plots 37
D.10 Complete results 42
D.11 Classifier teacher-population diversity 43
A Extended Related Work
Weight-space learning. Weight-space learning treats neural-network parameters as structured data for learning, representation, and manipulation (Han et al., 2026). DWSNets (Navon et al., 2023) and Neural Functional Networks (Zhou et al., 2023a) construct permutation-equivariant layers directly in weight space, while Neural Functional Transformers (Zhou et al., 2023b) use attention. Graph Metanetworks (Lim et al., 2024) and Neural Graph models (Kofinas et al., 2024) instead represent networks as graphs and apply message passing. Related work also considers additional symmetries (Kalogeropoulos et al., 2024; Tran et al., 2024), structured parameterizations such as LoRA weights (Yang et al., 2026), and related neural artifacts such as gradients (Gelberg et al., 2025) and activations (Bar-Shalom et al., 2025). Universal Neural Functionals extend equivariant weight-space models to general architectures (Zhou et al., 2024), while related approaches extend neural functionals to Transformers and polynomial weight-space features (Tran et al., 2025; Vo et al., 2025). These models have also been used to learn operators on trained networks, including optimization (Kofinas et al., 2024) and pruning-oriented editing (Liu et al., 2025). Existing expressivity results compare such architectures over a single weight space (Dayan et al., 2026). In contrast, CrossGMN studies learned operators between distinct source and target weight spaces with independent permutation actions.
Parameter generation. Parameter-generation methods amortize weight generation across architectures, tasks, or model populations. Graph HyperNetworks (Zhang et al., 2019; Knyazev et al., 2021) and MetaPruning (Liu et al., 2019) take a target architecture as input and predict its weights. Hyper-representations (Schürholt et al., 2022a; 2024) and diffusion-based generators (Erkoç et al., 2023; Wang et al., 2024; Soro et al., 2025) instead learn a distribution over a population of trained models and sample new weights, optionally conditioned on the task or dataset. These methods generate weights for an architecture or population rather than transforming a particular trained source network from one weight space into another.
Source-conditioned architecture changes. Net2Net provides analytic function-preserving transformations that widen or deepen a network (Chen et al., 2016), and model-growth methods extend this approach to pretrained Transformers (Chen et al., 2022). LiGO (Wang et al., 2023) learns a structured linear map from a smaller pretrained model to an initialization of a larger one. While these methods use analytic growth rules or optimize a growth map for a given pretrained source model, CrossGMN learns a shared operator across a population of source networks and reuses it on unseen sources without fitting a new operator for each model.
Compression and distillation. Structured pruning constructs a smaller network by removing entire units or channels and reusing the retained weights (Li et al., 2017). Knowledge distillation trains a student to match a teacher's outputs (Hinton et al., 2015; Gou et al., 2021). FitNets additionally uses intermediate teacher representations as hints to train thinner, deeper students (Romero et al., 2015). Distillation can also start from weights selected from the teacher (Xu et al., 2024). CrossGMN fits between these stages: it jointly processes the teacher and the structured-pruning initialization (the anchor) to predict a refined student initialization, from which distillation proceeds toward the same teacher. The refinement is learned across a population of teachers to accelerate this subsequent optimization.
B Notation and Architecture-Specific Symmetries
This section records the notation shared by the theoretical and experimental appendices and makes precise which permutation actions are respected by the parameter graphs used for MLPs, CNNs, and Transformers. The main universality theorem is stated for MLPs; the final paragraph of Appendix C explains what transfers to the other families.
B.1 Notation
The theoretical sections use the terms source and target, whereas the compression with knowledge distillation experiments use teacher and student. Table 7 fixes the correspondence. We write for the action of Definition 2. In the experiments, the anchor is simply the target initialization supplied to the operator.
Table 7: Correspondence between the theoretical and experimental notation.
| Object | Theory | Compression experiments |
|---|---|---|
| Architectures | teacher , student | |
| Weight spaces | ||
| Trained input | teacher | |
| Target initialization | anchor | |
| Operator output | predicted student | |
| Symmetry groups | ||
| Fixed-step optimizer |
B.2 Parameter graphs and induced permutation actions
Parameter graph. CrossGMN uses the parameter-graph construction of Lim et al. (2024). We state only the structure needed for the symmetry arguments and for reproducing the implementation.
Definition 7 (Parameter graph). For parameters , the parameter graph is a typed directed multigraph. Unit nodes represent neurons, channels, or attention coordinates. Auxiliary nodes represent parameter vectors not indexed by two units, such as biases and the gain and shift parameters of normalization layers. Every learnable scalar is stored on either a node or an edge: a matrix entry is carried by the edge ; the entries of a convolutional kernel give parallel edges between its input and output channels; and bias or normalization entries are stored on their unit node or on an edge from the corresponding auxiliary node. A fixed parameter-to-graph encoding specifies this assignment and the correspondence used to decode graph outputs into network parameters (Appendix D.1). Nodes carry layer and source/target labels; classifier nodes also carry node type, canonical input/output indices, and optional architecture-family and activation-type labels. Edges carry their scalar value, layer index, and role (source-internal, target-internal, source-to-target, or target-to-source in the joint graph), with an optional architecture-family label for classifiers.
Following Lim et al. (2024, Section 2.2 and Appendix C.2), a neural DAG automorphism preserves edge incidence, fixes input, output, and bias nodes, and preserves weight-sharing constraints. We use the term neural graph automorphism for the corresponding relabelings of our parameter and joint graphs, which may include reciprocal edges. We require these relabelings to fix auxiliary nodes and preserve all structural node and edge features, as in Lim et al. (2024, Appendix C.6). Parameter values are permuted with their nodes or edges, rather than held numerically fixed. Message passing with shared functions is equivariant to these relabelings. The layerwise joins of Section 4.1 are preserved under independent relabelings of their two endpoint layers, while positionwise joins connect only canonically indexed boundary nodes. Hence the joint graph preserves the source and target actions independently.
For an MLP, the automorphisms of the standard parameter graph are precisely the hidden-neuron permutations in Definition 2 (Lim et al., 2024, Proposition 5). We first specify the shared cross-edge policy, then give the full definitions for MLPs, CNNs, and Transformers.
B.2.1 Joint graphs and cross-edge policies
Joint graph and layerwise joins. For source and target parameter graphs and , the joint graph is
as in Equation 4. For node sets on opposite sides, write
for the bidirectional layerwise join of Section 4.1, with each ordered pair representing a directed cross edge. Cross-edge structural features are constant within each directed join. For CNNs and Transformers, cross edges have scalar value 0 and their direction role; auxiliary nodes retain only their internal connections, as in Appendix D.1.
Positionwise boundary joins. For canonically indexed node sets and , where , define
Source and target share input and output dimensions. Following Section 4.1, their boundary cross edges are
These nodes are fixed by the permutation actions, so positionwise joins preserve the required symmetries. Internal layer and block boundaries remain hidden-unit sets and use layerwise joins.
Strided cross-edge policy. We give the indexed construction of Definition 5. Let be the numbers of source and target hidden layers, indexed from 0. For , define
(8)
where round denotes nearest-integer rounding with a fixed tie convention. Each target layer is paired with the source layers in the nonempty block ; these blocks partition the source hidden layers. For , set , so pairs always list the source index first. If either network has no hidden layers, set . In particular, gives the shared-index policy for width-only compression. For Transformers, the same matching rule is applied to blocks, with joins defined below by submodule type.
B.2.2 Multilayer perceptrons
Weight space. Let have widths and entrywise activation . As in Definition 1, its parameters lie in
Realized function. For , set
Thus hidden layers apply and the output layer is affine, as in Section 2.
Permutation symmetries. The group acts as in Definition 2. For , set and , and define
Since commutes with permutations, the transformed hidden states satisfy , giving . The same permutations relabel the hidden nodes and their incident edges, while fixing input, output, and auxiliary nodes. Each layerwise join and positionwise boundary edge is preserved under independent source and target actions.
Parameter graph. The node-bias encoding used in Section 4.1 has one node per neuron and one directed edge per weight:
The parameter graph carries scalar features
For the classifier encoding, replace node-stored biases by edges of value , adding one fixed auxiliary node per affine layer. Both encodings use the structural features of Definition 7; their feature dimensions and reciprocal message-passing edges are specified in Appendix D.1.
Joint graph. For source and target MLPs with and hidden layers, use the strided pairs from Equation 8 and the positionwise boundary edges of Equation 7:
Here and for . The joint graph is Equation 6 with ; auxiliary bias nodes receive no cross edges. The all-to-all policy replaces by .
B.2.3 Convolutional networks
Weight space. Let a convolutional stack have channel counts , kernel sizes , and pointwise nonlinearity . Its weight space is
Realized function. For , define the affine convolution maps , where denotes spatial convolution with the architecture's fixed stride and padding, and biases are broadcast over spatial positions. The realized function is:
Fixed channelwise pooling maps may be inserted between layers. Any dense layers following the convolutional stack use the MLP parameterization above.
Permutation symmetries. The hidden-channel group is . For , with and the identity, applies to the output-channel axis and to the input-channel axis of the -th kernel, and sets . Channelwise nonlinearities and pooling commute with this action; flattening induces the corresponding permutation of the input coordinates of any following dense layer. Thus . In the parameter graph, the same action relabels the hidden channel nodes and their incident kernel and bias edges.
Parameter graph. The corresponding parameter graph has one node per channel and one auxiliary bias node per convolutional layer:
Its edge set is
with scalar edge values
Thus each input/output channel pair has parallel kernel edges. Spatial reuse of a kernel entry does not create additional parameter edges (Lim et al., 2024, Section 2.1.2). Edge indices specify the parameter-to-edge correspondence; structural features are those of Definition 7. Channelwise activations and pooling reuse the channel nodes. If a dense readout follows the stack, continue the layer-node notation as using the MLP construction, where is the total number of convolutional and dense layers. For the stack alone, .
Joint graph for width compression. Our CNN experiments change widths only, so source and target have the same sequence of layers. Using the node sets and of their parameter graphs, join corresponding hidden layers:
This is the equal-depth matching of Equation 8, with . The boundary edges follow Equation 7, with and for . The CNN joint graph is Equation 6 with .
B.2.4 Transformers
Weight space. Let a Transformer have L blocks, residual width d, H heads of dimension , attention width , and feed-forward width . For blocks with biases and two affine LayerNorms, its weight space is
The block factors contain the query, key, and value projections, the attention output projection, the two feed-forward maps, and the LayerNorm gains and shifts, respectively. The spaces and contain the trainable input and positional embeddings (including any class token), and the output head and any final normalization, respectively.
Realized function. To specify the realized function, store tokens as columns of and write for the all-ones vector. Suppressing the block index, the projections for head are
Here are the -row blocks of . With softmax applied rowwise, define
where concatenation is along the feature dimension and acts entrywise. In the pre-normalization convention, block is
where each LayerNorm acts separately on each token, with learned gain and shift and a fixed positive stabilizer. The realized function is
where embeds the input and adds positional representations, and applies the architecture's readout and any final normalization.
Permutation symmetries. We use permutations of coordinates within each head, permutations of heads, and permutations of feed-forward units, while fixing residual-stream coordinates:
For in the -th factor, the attention action applies to the rows and biases of , , and to the columns of ; the feed-forward action applies to the rows and bias of and to the columns of . Joint query-key permutations preserve the attention logits, value permutations are absorbed by , and feed-forward permutations are the usual one-hidden-layer MLP symmetry. Thus this action preserves the realized function.
This subgroup is compatible with the shared-coordinate attention graph of Lim et al. (2024, Section 2.1.2 and Figure 3). They describe attention edges as “a set that corresponds to the query, key, and value maps”; the shared intermediate nodes for these three projections are explicit in their released graph construction. The subgroup does not exhaust the functional symmetries of Transformers. For example, standard dot-product attention also permits independent permutations of query-key and value coordinates within each head, as well as compensating invertible changes of basis in the query and key projections.
The symmetry implemented by a graph metanetwork is determined by the typed parameter graph, not only by the computational architecture. We therefore distinguish the chosen function-preserving group above from
Whether depends on the structural labels preserved by the graph encoding; fixed head-index labels, for example, can restrict head permutations. Our implementation and all formal claims about the deployed Transformer operator use this represented subgroup , without claiming equivariance to every functional symmetry.
Parameter graph. The parameter graph is built by joining the parameter subgraphs of these modules. For block , let
The sets , , index the residual coordinates at the block input, after attention, and at the block output. The nodes in jointly index query, key, and value coordinates, with for coordinate of head ; indexes the feed-forward hidden units. Add bias nodes and normalization nodes . The block node set is
Writing for an edge whose scalar value is , the matrix edges are precisely
In particular, each pair has three parallel edges, one for each of . For every affine map , connect to each output-coordinate node of that map with the corresponding entry of . LayerNorm adds two edge families for its gain and shift :
The function self_attention_to_graph uses the same middle_neuron_idx for the query, key, and value projections and the input of the output projection; see the released implementation.
The remaining block edges are the parameter-free residual edges and . These matrix, bias, normalization, and residual edges together define . As in Lim et al. (2024, Section 2.1.2 and Appendix B), activations, attention softmax, and tokenwise reuse of the projections introduce no additional parameter nodes or edges.
The full graph is the union of these block graphs and the embedding and readout graphs, identifying at consecutive block boundaries. Patch embeddings use the convolutional construction above, and linear embeddings and readouts use the MLP edge rule. Denote their layer-node sets by and , with depths and , and identify
The network’s input and output node sets are and . Any trainable positional or class-token vector is represented by an auxiliary node with one edge per entry to the corresponding embedding coordinate; final normalization uses the same gain/shift construction. Fixed positional representations introduce no learnable edges. The node indices above specify parameter locations; structural labels and any reciprocal edges used for message passing follow Definition 7 and Appendix D.1.
Joint graph. Apply the strided matching of Equation 8 to whole Transformer blocks, with and . Within each matched block pair, join corresponding unit sets:
(11)
Thus joins match attention coordinates, feed-forward hidden units, and residual coordinates at corresponding submodule boundaries. Attention joins include all coordinates on both sides, allowing different head counts.
For matching embedding and readout depths on the two sides, join their corresponding internal node sets defined above, where and . With the positionwise input/output edges of Equation 7, the full cross-edge set is
which defines the Transformer joint graph through Equation 6. The embedding–block and block–readout interfaces are already included through and . For a single patch-embedding layer and linear classifier, , so the last union is empty. Set unions include each cross edge once, even when joins overlap after the block-boundary identifications.
B.2.5 Equivariance of the joint graph
Proposition 2 (Equivariance induced by the joint graph). Let J be the joint graph of Equation 4, with the cross-edge construction of Section 4.1 (and Appendix B.2.2) for MLPs, Appendix B.2.3 for CNNs, or Appendix B.2.4 for Transformers. Let be a graph metanetwork as defined by Lim et al. (2024, Section 2.3), and let and be parameter-permutation groups induced by neural graph automorphisms of the respective parameter graphs. Then the CrossGMN operator of Definition 6 satisfies, for every choice of parameters ,
for all and and all source and target parameters. For MLPs, we may take and , so this is exactly the symmetry required by Definition 4.
Proof. Fix and write . Let be the disjoint union of inducing automorphisms of the two parameter graphs. Each layerwise join is preserved because its endpoint sets are preserved; any positionwise boundary edges are fixed. Cross-edge features are unchanged within each directed join. Thus preserves the joint graph's structure and structural features, and
Graph metanetworks commute with such relabelings (Lim et al., 2024, Appendix C.6), so . Moreover, the target projection satisfies for every joint output : it discards source entries and decodes target entries into their corresponding parameter coordinates. Consequently,
Since acts linearly on target parameters, adding the transformed initialization and applying the fixed residual scale s in Equation 5 gives the claimed identity. Taking gives source invariance, and taking gives target equivariance.
C Theoretical Results
This appendix proves the three claims used in the main text. First, mapping each larger network to an optimal smaller one can be discontinuous (Appendix C.1). Second, any fixed number of standard distillation steps does define a continuous cross-architecture operator (Appendix C.2). Third, Cross-GMN is universal for continuous source-invariant, target-equivariant operators on compact general-position sets (Appendix C.3), including a finite collection of source architectures (Appendix C.4).
C.1 Discontinuity of mapping a larger network to an optimal smaller one
In model compression, mapping each larger network to an optimal smaller one can be discontinuous. Following Section 3, we call the larger source network the teacher and the smaller target network the student, with parameters and . We consider compressing a ReLU MLP with one hidden layer from width 2 to width 1. The optimal student switches between the teacher's two spatially separated ReLU components as their coefficients cross. Figure 3 illustrates this discontinuity.
Formal construction. Take and . On , define
All norms and inner products below are on I. The supports of u and v are disjoint, and
For , choose teacher parameters realizing
An explicit continuous parameter path is
Restrict the student to zero output bias:
Its realized function class is , as in Figure 3. Use squared functional error,

Figure 3: Mapping a teacher to an optimal student can be discontinuous. The width-2 teacher parameters in Equation 14 vary continuously and realize . By Lemma 3, the optimal width-1 student realizes for and for ; at , both and are optimal. These one-sided limits differ, so no continuous parameter map can select an optimal student for every teacher along the path (Proposition 4).
which is the loss of Equation 3 for uniform inputs on I, up to a constant factor. The optimal student parameters are
Lemma 3 (Best one-hinge approximation). The functions realized by the optimal students are
Proof. On , every student in realizes a scalar multiple of either the constant function, a right-facing hinge , or a left-facing hinge . For a nonzero candidate shape , optimizing its scalar coefficient gives
Thus is the reduction in squared error obtained by fitting the best scalar multiple of , relative to the zero function. Minimizing the student’s error is therefore equivalent to maximizing .
For the teacher’s two ReLU components,
For the constant function , we have and . Hence
where the last inequality follows from . Thus the best constant student has strictly larger error than either optimally scaled component and cannot be optimal.
Consider a nonzero right-facing hinge . If , it does not overlap the support of , and Cauchy–Schwarz gives , with equality only when is proportional to , i.e. only when . If , put and . Direct integration gives
and hence
The last inequality is equivalent to . Reflecting the interval by exchanges and and gives the same conclusion for every left-facing hinge other than . Therefore the maximizing shape is for , for , and both for . The minimizing scalar in equation 18 is respectively or , proving equation 17.
Proposition 4 (Discontinuity of mapping teachers to optimal students). Let . There is no continuous map such that for every . More strongly, for any continuous and any selection with ,
Proof. The realization map is continuous into with the supremum norm. Hence a continuous induces a continuous path . If the supremum in Equation 19 were , then Lemma 3 and the limits and would give
The triangle inequality would imply , a contradiction. A continuous map selecting optimal students would have zero gap, so none exists.
Remark 1 (The counterexample is in general position). General position, as defined in Equation 23, requires distinct biases within each hidden layer. Along the entire teacher path , the hidden biases are -10 and -9, including at . The width-1 student satisfies this condition vacuously. Hence and . The approximation lower bound in Proposition 4 therefore holds even in general position: the obstruction is the discontinuous choice of an optimal student.
Remark 2 (Refinement from a student initialization). The proposition concerns mapping each teacher to a globally optimal student. A cross-architecture operator instead refines a supplied student initialization , without requiring global optimality. Appendix C.2 proves that a fixed number of distillation steps gives a continuous equivariant operator under the stated assumptions.
C.2 Finite-step distillation is a cross-architecture operator
Recall from Section 3 that knowledge distillation trains a student with parameters to match a teacher with parameters by minimizing
where measures the discrepancy between their outputs (Equation 3). Starting from a student initialization , this loss can be optimized with standard first-order methods, including gradient descent (GD) (Bottou et al., 2018), stochastic gradient descent (SGD) (Bottou, 2012), momentum (Polyak, 1964), RMSProp (Tieleman & Hinton, 2012), and Adam (Kingma & Ba, 2015). These methods operate coordinatewise: after computing the gradient, they apply the same scalar update rule to each parameter, using its own value and its current or past gradient components. The gradient itself may depend on all teacher and student parameters.
For full-batch optimization, set at every step. For SGD, fix the sequence of sampled mini-batches and let be the average distillation loss over the minibatch at step ; the same convention applies to minibatch versions of the other methods. Assume each is differentiable in the student parameters and is jointly continuous in . Write and for the teacher and student permutation groups, and .
Proposition 5 (Finite-step distillation). Starting from , suppose the optimizer has the coordinatewise form
(20)
where each is a fixed continuous function shared across all coordinates. Then, for every fixed integer , the map is continuous and satisfies
Thus is a continuous equivariant cross-architecture operator in the sense of Definition 4. Functionally equivalent teachers produce identical trajectories from the same initialization.
Proof. Each depends only on the realized teacher and student functions, so
where is the permutation matrix of . Differentiating the second identity and using gives
Differentiating likewise shows that functionally equivalent teachers give identical student gradients.
Continuity follows by induction: is continuous in , and the jointly continuous gradients and continuous make each subsequent iterate continuous by composition.
For symmetry, compare runs initialized at and , where . Denote their student parameters at step by and , respectively. Their student-loss gradient vectors are
Assume inductively that for . Substituting this relation, replacing the teacher using Equation 21, and applying the gradient transformation in Equation 22 gives
Writing , the shared update rule in Equation 20 therefore yields
Since , induction gives for every fixed . Taking proves the claimed equivariance, and taking to be the identity proves equality of trajectories for functionally equivalent teachers.
Lemma 6 (Standard gradient methods). Gradient descent, SGD, momentum, RMSProp, and Adam have the form in equation 20, with fixed scalar hyperparameter schedules, decay factors in , the usual zero initialization of running averages, and in the denominators of RMSProp and Adam.
Proof. Gradient descent and SGD subtract a scalar multiple of the current gradient. Unrolling momentum expresses each update as a weighted sum of the gradients computed so far. Likewise, the running averages in RMSProp and Adam are weighted sums of gradients or squared gradients, with coefficients independent of the parameter coordinate. Their remaining operations are coordinatewise square roots and division; Adam's bias corrections are fixed scalars at each step. All these operations are continuous, since the squared-gradient averages are nonnegative and keeps denominators positive. Unrolling the parameter updates therefore gives a continuous function of the initial coordinate and its gradient history, identical across coordinates, as required by equation 20.
C.3 Universal approximation of cross-architecture operators
We now prove Theorem 1. The proof has two conceptual ingredients. First, every continuous source-invariant, target-equivariant map can be approximated by a finite sum of a source-invariant scalar times a target-equivariant operator. Second, CrossGMN can realize such finite mixtures: it computes the two factors on their respective parameter graphs, communicates the scalar through a cross edge, and multiplies them on the target side.
General position and the fixed-architecture theorem. For an MLP architecture , let
The complement is the general-position set used by Dayan et al. (2026). We use the following result.
Theorem 7 (Fixed-architecture universality; Dayan et al. (2026)). On every compact , GMNs uniformly approximate every continuous -invariant functional and every continuous -equivariant operator .
We may assume that each compact set contains every hidden-neuron permutation of each of its elements. To obtain this property, enlarge the sets to
Each enlarged set is a finite union of permuted copies of a compact set, so it remains compact. It also remains in general position, since permuting neurons only reorders the distinct biases within each hidden layer. Extend F to the enlarged sets by
The symmetry condition in Equation 2 ensures that different ways of writing the same permuted input pair give the same output. The extension is continuous on each permuted copy of ; since these are finitely many closed sets and the definitions agree on their overlaps, it is continuous on their union. Uniform approximation on the enlarged sets implies the same guarantee on the original sets. We therefore use the enlarged sets below, retaining the notation , and .
Lemma 8 (Invariant-equivariant finite mixture). Let be continuous, source invariant, and target equivariant. For every , there are continuous source-invariant functions with and continuous target-equivariant maps such that
Proof. Let be the source orbit space. Because the group is finite and acts by isometries,
makes a compact metric space. Source invariance lets factor through a continuous map , and every remains target equivariant. Uniform continuity implies that is continuous in the supremum norm. Choose a finite cover of and points such that
Let be a continuous partition of unity subordinate to this cover, set , and set . Then the are invariant, the are equivariant, and the convex-combination bound gives equation 24.
Lemma 9 (CrossGMN realizes finite mixtures). Let and be compact general-position sets for fixed source and target MLP architectures. For , let be a continuous source-invariant functional, and let be continuous and target equivariant. For every , there exists a CrossGMN whose joint graph uses the positionwise boundary joins of Section 4.1 and the strided cross-edge policy of Definition 5 such that
The same conclusion holds if further symmetry-preserving cross edges are added.
Proof. Approximate the factors. Let have value 1 in the first output-bias coordinate and 0 elsewhere, and define . This map is continuous and source equivariant because is invariant and hidden-neuron permutations fix . For any , Theorem 7 gives source and target GMNs , satisfying
Store and compute the factors in node and edge features. Let be the original node and edge features, including the parameter values and structural labels. At step j, use
The block stores the working state of on the source side and of on the target side; add zero coordinates and identity layers to match their dimensions and depths. The vectors will store the source scalars and are initially zero. Keep unchanged throughout.
Set and , where . Initialize each working block with its side's GMN encoder applied to . For block , suppress and the step index on its message, node-update, and edge-update maps , , , and use
Thus each side performs its own GMN computation, and cross edges send zero messages in this stage. Apply the local readouts and replace the working blocks by their scalar outputs. Let be the node or edge storing target parameter p, as in Appendix B.2.2, and let be the first source output node. The resulting features contain
Here selects the first output-bias coordinate. Consequently and uniformly on the corresponding input sets.
Copy the source scalars to the target features. Write . On the positionwise cross edge from to the first target output node , send the message to the field. Set all other messages in this step to zero, so that
We now update only , keeping the computed factors and original features fixed. Use the bidirectional internal message passing of Appendix D.1. Let be the distance from in the target graph, and let consist of its target neighbors at distance . For , this set is nonempty. Apply
The required neighbor masks and normalization constants are determined by the fixed MLP architecture, layer labels, and canonical output indices. Induction on gives for . After steps, set on each target edge. Every target parameter location now has the features
Multiply the stored factors and read out the parameters. Multiplication is continuous on . Hence, by the classical universal approximation theorems (Cybenko, 1989; Hornik, 1991), for every and there is an MLP such that
Let and . Choose
Then . Using the values stored at , define the local readout
The initialization coordinate is available in . Thus the residual update of Definition 6 returns . In the Euclidean norm, uniformly on the input sets,
All local rules above are continuous on compact neighborhoods of the feature ranges, and their structural masks preserve the source and target permutations. Uniform MLP approximation of these rules and uniform continuity of their finite composition give a choice of such that
The triangle inequality proves Equation 25. Additional cross edges are assigned zero messages in this construction.
Theorem 1 (Universality of CrossGMN, restated). Let and be fixed MLP architectures, and let
be compact sets, where is defined in Equation 23. Let be a continuous cross-architecture operator in the sense of Definition 4. For joint graphs containing the position-wise boundary joins and strided hidden-layer joins of Section 4.1, and every , there exists a CrossGMN such that
Proof of Theorem 1. Apply Lemma 8 with error and write . Lemma 9 gives a CrossGMN within of . The triangle inequality with equation 24 gives the desired uniform approximation of .
C.4 One CrossGMN for finitely many source architectures
The same argument applies when the source population contains finitely many architectures and all map to one target architecture. The only additional requirement is that the source architecture be identifiable from the graph.
Definition 8 (Architecture-identifiable family). A finite family is architecture identifiable if a finite message-passing block can write the one-hot architecture tag on every node of a joint graph whose source has architecture . An explicit family feature is sufficient. For finite MLP families, graph depth, layer types, and layer cardinalities are also sufficient.
Theorem 10 (Finite heterogeneous source families). Let be a fixed MLP architecture and let be an architecture-identifiable finite family of MLP architectures. Let
be compact sets, with as in Equation 23. For each , let be continuous, source invariant, and target equivariant. Then one CrossGMN, with one parameter set, can approximate all uniformly to any prescribed accuracy.
Proof. Fix . For each , Theorem 1 gives with
Add zero hidden coordinates and identity layers so that these networks have common hidden-state dimensions and depth.
Let and denote the original node and edge features, including their parameter values and structural labels. On a joint graph with source architecture , the identification block of Definition 8 writes the tag on every source and target node; its -th entry is 1 and all other entries are 0. Copy this tag to each edge from either endpoint. At step , use node and edge features
where and are the working hidden states. Initialize these states to zero. The original features and tags remain unchanged throughout; the first encoding step fills the working states.
For each encoding, message, node-update, edge-update, or readout operation , let be the corresponding rule of network , with inputs padded to common dimensions. If is the stored tag and collects the operation's other inputs, use the shared rule
A message uses the tag at its receiving node; node and edge operations use their own stored tags. Since all tags equal , at every operation. Induction over the encoding, message-passing steps, and readout therefore shows that these rules return exactly on . The rules are continuous and can be uniformly approximated by MLPs on compact neighborhoods of the local feature ranges (Cybenko, 1989; Hornik, 1991). There are finitely many rules, layers, and graph sizes, and each input set is compact. Uniform continuity of the resulting finite compositions therefore lets us choose their approximation accuracies so that one assembled Cross-GMN satisfies
The triangle inequality gives
All local rules are shared across architectures, so is a single parameter set, as required.
C.5 Scope for CNN and Transformer weight spaces
Proposition 2 establishes equivariance for CNNs and Transformers directly from their implemented parameter graphs. The universality proof extends to these families as long as the fixed-architecture invariant and equivariant universality for GMNs on their parameter graphs still hold. The extension applies with respect to the neural graph automorphism groups defined in Appendix B.2.
D Experimental Details
Throughout, CrossGMN denotes the operator in Equation 5, and the anchor is the target initialization that it refines. As in Section 5.1, the source network is the teacher and the target network is the student, whose predicted initialization is .
D.1 CrossGMN implementation
All experiments use the joint graph of the teacher and anchor . An equivariant graph metanetwork processes this graph, and the target-side readout predicts the residual in Equation 5.
In the classifier experiments, node features concatenate a scalar, an 8-dimensional layer embedding, a 4-dimensional source/target-role embedding, a 4-dimensional node-type embedding, and optional 4-dimensional family and activation embeddings. Edge features concatenate the parameter value, the layer embedding, a 4-dimensional edge-role embedding, and an optional family embedding. In the INR experiments, node and edge inputs both have dimension : scalar value, layer embedding, and role embedding. Parameter values are not normalized. The four edge roles are source-internal, target-internal, source-to-target, and target-to-source.
Cross edges. Cross edges use the layerwise joins and matching notation of Appendix B.2.1. The formal joint graphs in Appendices B.2.2–B.2.4 use positionwise input/output joins. The CNN and ViT classifier encoding uses dense boundary joins, replacing Pos by Join in Equation 7; MLP boundaries remain positionwise. Both choices preserve the stated symmetries because input and output nodes are fixed.
Backbone and readout. We use a bidirectional SCALEGMN backbone (Kalogeropoulos et al., 2024), motivated by its better empirical performance than plain GMN in most experiments. Our universality results are established for plain GMN. The backbone uses skip connections, edge updates, and dropout 0.1 during operator training. Message and update functions are two-layer SiLU MLPs with layer normalization. The classifier families use scale-equivariant message passing; the SIREN families use sign-equivariant message passing, except for the parameter-matched permutation-equivariant ModelNet40 width+depth operator. Table 8 gives the configuration for each model family.
Table 8: CrossGMN configurations. are node/edge input widths and is the metanetwork parameter count; is the residual scale in Equation 5.
| Family / operator group | Symmetry | Layers | Agg. | s | |||
|---|---|---|---|---|---|---|---|
| MNIST SIREN (all; depth and width+depth use s = .01) | sign | 128 | 4 | mean | 9/9 | 2,647,895 | .005 |
| ModelNet40 depth 4→2 | sign | 192 | 4 | add | 9/9 | 5,937,947 | .02 |
| ModelNet40 depth 4→1 | sign | 192 | 4 | add | 9/9 | 5,937,907 | .02 |
| ModelNet40 width | sign | 192 | 4 | add | 9/9 | 5,937,907 | .005 |
| ModelNet40 width+depth | permutation | 324 | 4 | add | 9/9 | 6,010,354 | .01 |
| ViT depth | scale | 64 | 4 | mean | 25/17 | 405,587 | .1 |
| ViT attention dimension, head count, head count+depth | scale | 128 | 6 | mean | 25/17 | 2,438,163 | .1 |
| CNN width | scale | 64 | 6 | mean | 21/13 | 620,607 | .4 |
| MLP width / depth / width+depth | scale | 128 | 8 | mean | 17/13 | 3,293,663 | .1 |
| MLP heterogeneous architectures | scale | 128 | 4 | mean | 17/13 | 1,579,487 | .1 |
Operator objective. We train CrossGMN directly on teacher–student outputs, without an inner distillation loop. For a minibatch of B teachers, write
where is the corresponding anchor. For classifiers, a shared image batch gives the objective
The temperature is 1; operator training uses neither a cross-entropy term nor logit clipping.
For INRs, we minimize the MSE between teacher and predicted-student outputs. Let be the full pixel grid and the fixed set of uniformly sampled query points for ModelNet40 teacher . The respective objectives are
The scalar outputs represent pixel intensities for MNIST and distance-field values for ModelNet40. Table 9 gives the training hyperparameters and number of query points.
Table 9: Operator training.
| ViT | CNN | MLP | MNIST INR | ModelNet40 INR | |
|---|---|---|---|---|---|
| Objective | Eq. 27 | Eq. 27 | Eq. 27 | Eq. 28 | Eq. 29 |
| Optimizer / decay | |||||
| Learning rate | or | ||||
| Warmup (steps) | none | 200 | 200 | none | none |
| Functional inputs | 128 images | 128 images | 128 images | 784 coordinates | 4096 or 2048 points |
All runs use global gradient clipping at 1.
D.2 Evaluation protocol
Teacher, anchor, and predicted student. We follow the notation of Section 5.1. For each held-out teacher , we construct the anchor using the corresponding method in Table 10 and predict . Let denote the student parameters after distillation steps, where identifies the initialization:
Both students are distilled toward the same teacher with the same optimizer, minibatches, data order, and evaluation steps. The comparison therefore measures the benefit of refining the anchor with CrossGMN. Additional structured-pruning baselines and random initialization appear in the reach–budget plots.
Table 10: Anchor initializations used for the distillation comparisons.
| Family | Reduction axis | Anchor |
|---|---|---|
| MNIST SIREN | width / depth / width+depth | magnitude pruning / layer fold / fold, then prune |
| ModelNet40 | width / depth / width+depth | magnitude pruning / strided layer transfer / strided prune |
| SIREN | prune | |
| CIFAR-10 MLP | width / depth or width+depth | magnitude pruning / layer fold (scale 0.1) |
| Heterogeneous MLPs | all | layer fold (scale 0.1) |
| CIFAR-10 ViT | attention dimension / head count / depth / head count+depth | top- attention dimensions / head drop / strided block transfer / strided blocks + head drop |
| CNN | channel width | magnitude pruning |
Student initializations. We define the structured initializations used as anchors and comparison baselines below; Table 10 identifies the anchor for each setting. Write the teacher's affine layers as , with hidden widths , and let be the student's number of affine layers. Retained unit indices are kept in increasing order.
Width reduction. When , selecting units in each hidden layer gives index sets with . With and containing all input and output indices, the student parameters are
Magnitude-based pruning (Xu et al., 2024; Li et al., 2017) and activation-based pruning (Hu et al., 2016) motivate the following variants. For each hidden layer, our implementations keep the units with the largest scores:
The magnitude anchor uses a two-sided score, summing incoming and outgoing weight magnitudes. Here is the input to layer for calibration example , and is its activation. Two baselines use no score: uniform selection retains
for (and for ); random-neuron selection samples distinct indices using a fixed seed per teacher.
CNN magnitude pruning. For the CNN kernels of Appendix B.2.3, the anchor uses the convolutional analogue of the MLP magnitude score. For output channel c of layer , followed by another convolution, this is
where i, o index channels and r, t index spatial kernel entries. For the final convolution, the outgoing term uses the first dense layer's weights associated with that channel. We retain the highest-scoring channels in increasing index order and slice biases and adjacent weights consistently. Thus the anchor uses structured magnitude pruning with a two-sided score; the incoming term alone is the filter criterion of Li et al. (2017). For ViTs, structured selection acts on heads or attention coordinates and slices the corresponding projection blocks.
Structured OBS/OBC. This baseline removes units sequentially while correcting the surviving weights using a quadratic layer-reconstruction objective (Hassibi & Stork, 1992; Frantar & Alistarh, 2022). For hidden layer , let contain its calibration activations as rows, and define
Starting from and , each iteration selects and compensates for a removed unit by
Delete column p of W and the corresponding row and bias entry in the preceding affine map, and update the inverse on the remaining indices:
Repeat until units remain.
Depth and joint reduction. For , strided layer transfer copies student layer from teacher layer
Layer fold instead replaces each contiguous group by the affine composition obtained by omitting its intermediate nonlinearities:
At these are exactly the parameters of that affine composition; the scale controls its magnitude. Folded classifier maps use , whereas INRs use . Keep-first copies the first teacher layers and initializes a new output layer; keep-last copies the last layers and initializes a new input layer; keep-first+last retains layers at both ends and drops intermediate ones. For width+depth reduction, fold-then-prune applies magnitude pruning after folding, and strided-prune applies it after strided layer selection. Fresh random initialization uses the corresponding model family's initialization rule. Family-specific choices are given below.
Quality and target. Write for the quality of , with larger values indicating better agreement with the teacher. For classifiers, this is the fraction of test inputs on which teacher and student predict the same label, measured on the full test set for ViTs and CNNs and a fixed 1,000-image subset for MLPs. For INRs, it is the negative MSE between student and teacher renders or fields. Both initializations are evaluated on the step grid , without interpolation.
For each teacher, we determine the anchor's plateau step using the improvement threshold and patience evaluations from Section 5.1. Its target quality is
Thus each predicted student is evaluated against the quality attained by its own teacher's anchor.
Budget and per-teacher speedup. Let T be the set of N held-out teachers in a compression setting. The setting's budget is the empirical 95th percentile of the anchor plateau steps, rounded up to the next evaluation step:
The CrossGMN distillation budget is . For , define the first recorded step reaching the target by
where the minimum is over recorded evaluations and . The anchor reaches its target by construction. Following the main paper, the per-teacher speedup is
If no recorded CrossGMN evaluation reaches the target by H, we count a failure and set .
Reported metrics. We report the median and interquartile range of , together with the acceleration and failure rates defined in the main paper:
All N teachers, including failures, contribute to these statistics; tables express the rates as percentages. The additional column in Table 17 uses the same definition with threshold 2. The reach–budget plots instead track fidelity to the teacher and performance retention against teacher-relative thresholds, as described in Section 5.1 and Appendix D.9.
Wall-clock speedup. We include the time needed to construct each student initialization. Let be the anchor-construction time, the complete CrossGMN initialization time (including anchor construction, graph construction, and the forward pass), and , the measured distillation time per step. The per-teacher wall-clock speedup is
Table 17 reports the median over all teachers, assigning wall-clock speedup 0 to failures. All timing constants were measured with device synchronization and batch size one on NVIDIA A100-SXM4-40GB (A100-SXM4-80GB for ViT). The ModelNet40 width+depth setting has no recorded runtime profile.
Table 11: Evaluation-time distillation. Classifiers use pure KL at temperature 1 and no learning-rate schedule; all evaluation loops record every 10 steps.
| ViT | CNN | MLP | MNIST INR | ModelNet40 INR | |
|---|---|---|---|---|---|
| Optimizer | AdamW | AdamW | AdamW | Adam | Adam |
| Learning rate | |||||
| Batch | 256 images | 256 images | 256 images | full 28 × 28 grid | 4096 points |
| Augmentation | none | none | crop + flip | - | - |
| Cohort | 1,000 | 400 | 1,000 (500 OOD) | 1,000 | 1,000 |
D.3 MNIST and FashionMNIST INR compression
Population and splits. We use the pre-fit MNIST SIREN population of Navon et al. (2023): one INR per image, with teacher architecture [2, 32, 32, 1] (1,185 parameters), two sine hidden layers with , and a linear output. Of 70,000 INRs, 55,000 are used for operator training, 5,000 for validation, and a fixed 1,000-INR subset of the test split for every reported evaluation. The FashionMNIST transfer population has the same architecture and 55,000/5,000/10,000 split. The MNIST-trained operators are applied to its 1,000-INR test cohort without retraining.
Table 12: MNIST SIREN configurations. Compression is the teacher-to-student parameter-count ratio; is the CrossGMN residual scale.
| Reduction axis | Student | Params | Compression | Anchor | Operator lr | s |
|---|---|---|---|---|---|---|
| Width | [2, 16, 16, 1] | 337 | 3.52× | magnitude pruning | .005 | |
| Width | [2, 8, 8, 1] | 105 | 11.29× | magnitude pruning | .005 | |
| Width | [2, 4, 4, 1] | 37 | 32.03× | magnitude pruning | .005 | |
| Depth | [2, 32, 1] | 129 | 9.19× | layer fold | .01 | |
| Width+depth | [2, 16, 1] | 65 | 18.23× | fold, then prune | .01 |
Anchors and comparator initializations. Table 12 specifies the anchors; their formulas and the comparison baselines are defined in Appendix D.2. For MNIST depth reduction, layer folding retains the first affine map and composes the final two, omitting the intermediate sine activation. The reach–budget plots compare CrossGMN with these anchors, the width or depth baselines appropriate to each setting, and fresh SIREN initialization, all distilled with the same optimizer and minibatches. Width reductions use strided cross edges; depth and width+depth reductions use all-to-all cross edges.
Operator training and evaluation. The five operators use the MNIST row of Tables 8 and 9. One epoch contains 1,719 optimizer steps over the 55,000 training teachers; validation render MSE selects the checkpoint. The selected checkpoints are from epochs 29, 142, 30, 12, and 40 in the order of Table 12. Evaluation distills the complete 1,000-teacher cohort as a batch of independent student parameter vectors and records per-INR render MSE every ten steps.
D.4 ModelNet40 3-D INR compression
Population and splits. We use the pre-fit SIREN distance-field population of Shamsian et al. (2024), with teacher architecture [3, 48, 48, 48, 48, 1] (7,297 parameters) and . The dataset contains 12,311 objects, each fit ten times; we use view 0 and the object-disjoint 7,874/1,969/2,468 train/validation/test split.
Table 13: ModelNet40 configurations. Columns follow Table 12.
| Reduction axis | Student | Params | Compression | Anchor | Operator lr | s |
|---|---|---|---|---|---|---|
| Width | [3, 24, 24, 24, 24, 1] | 1,921 | 3.80× | magnitude pruning | .005 | |
| Depth | [3, 48, 48, 1] | 2,593 | 2.81× | strided layer transfer | .02 | |
| Depth | [3, 48, 1] | 241 | 30.28× | strided layer transfer | .02 | |
| Width+depth | [3, 24, 24, 1] | 721 | 10.12× | strided prune | .01 |
Anchors, training, and evaluation. We use magnitude pruning for width reduction, strided layer transfer for depth reduction, and strided-prune for width+depth reduction, as defined in Appendix D.2. Three operators use the sign-equivariant backbone. The width+depth operator uses the parameter-matched permutation-equivariant backbone. Each is trained for 30 epochs with a fixed set of uniformly sampled points and the final epoch is evaluated.
All settings are evaluated on 4,096 points.
D.5 CIFAR-10 MLP compression
Teacher populations. For fixed-architecture compression, we construct a model zoo of 6,100 ReLU MLP teachers of architecture [3072, 64, 64, 64, 64, 10] (209,802 parameters), trained for 100 epochs with varied learning rates, weight decay, label smoothing, dropout, and seeds. The split contains 5,000 training, 100 validation, and 1,000 test teachers.
For heterogeneous-architecture compression, we construct a second ReLU MLP model zoo with four training architectures: [3072, 16, 10], [3072, 16, 16, 10], [3072, 32, 10], and [3072, 32, 32, 10], all mapped to the common student [3072, 8, 10] as in Section 5.2. We hold out the wider architecture [3072, 64, 10] and the deeper architecture [3072, 16, 16, 16, 10] to test generalization to unseen source architectures. The respective splits contain 5,000 training, 100 validation, 1,000 test teachers from the training architectures, and 500 teachers from unseen architectures, balanced across the architectures in each split. These model zoos and their fixed splits can also serve as benchmarks for other weight-space methods, supporting evaluation within an architecture and generalization to unseen architectures.
Table 14: MLP compression configurations.
| Reduction axis | Student | Params | Compression | Anchor | Operator lr | s |
|---|---|---|---|---|---|---|
| Depth | [3072, 64, 64, 10] | 201,482 | 1.04× | layer fold (scale 0.1) | .1 | |
| Width | [3072, 32, 32, 32, 32, 10] | 101,834 | 2.06× | magnitude pruning | .1 | |
| Width+depth | [3072, 32, 32, 10] | 99,722 | 2.10× | layer fold (scale 0.1) | .1 | |
| Heterogeneous architectures | [3072, 8, 10] | 24,674 | 2.00–4.04× | layer fold (scale 0.1) | .1 |
Anchors. We use the magnitude-pruning and layer-fold initializations defined in Appendix D.2, with the choices in Table 14. Layer folding partitions the teacher's affine layers into contiguous groups, composes each group, and scales folded interior maps by 0.1.
Operator training and evaluation. The fixed-architecture operators use eight message-passing layers and learning rate . The heterogeneous-architecture operator uses four layers and learning rate . The test cohorts contain 1,000 teachers from training architectures or 500 teachers from unseen architectures.
D.6 CIFAR-10 Vision Transformer compression
Teacher population. We construct a model zoo of 6,100 ViTs with patch size 4, residual width 48, four blocks, two heads of dimension 24, FFN width 192, and a ten-class head (115,930 parameters). Teachers vary in optimizer hyperparameters and seed. The splits contain 5,000 training, 100 validation, and 1,000 test teachers. Like the MLP zoos, this population and its fixed splits can serve as a benchmark for learning from model parameters, extending evaluation to the Transformer family. Operator configurations and checkpoints are chosen using only the validation split.
Anchors, training, and evaluation. Attention-dimension and head-count anchors use two-sided magnitude pruning. Each attention coordinate is scored by summing the absolute weights in its value-projection row and output-projection column. Attention-dimension reduction retains the
Table 15: ViT compression configurations. All four settings use the strided cross-edge policy of Definition 5; when the teacher and student block counts agree it reduces to shared-index matching. Here is the residual width, the number of blocks, the number of heads, and the total attention dimension across heads.
| Reduction axis | Student | Params | Compression | Anchor | Operator lr | s |
|---|---|---|---|---|---|---|
| Attention dimension | 97,210 | top-k attention dimensions | .1 | |||
| Head count | 97,210 | head drop | .1 | |||
| Depth | 59,386 | strided block transfer | .1 | |||
| Head count+depth | 50,026 | strided blocks + head drop | .1 |
twelve highest-scoring coordinates in each head; head-count reduction retains the head with the largest sum of coordinate scores. The retained indices are applied to the query, key, and value rows and output columns, preserving their original order. Depth reduction uses strided block selection, retaining the first and third teacher blocks; head count+depth reduction first selects these blocks and then prunes their heads. Parameters outside the reduced modules are copied unchanged.
Each operator is trained for 10,000 steps at three candidate learning rates; mean validation agreement selects the run and checkpoint. The selected checkpoints are from steps 10,000, 9,500, 9,000, and 10,000, in the order of Table 15.
D.7 MNIST CNN compression
The public zoo of Schürholt et al. (2022b) contains 2,560 classifiers with three convolutional stages of widths [8, 6, 4], kernel sizes 5, 5, 2, pooling after the first two stages, a 20-unit fully connected layer, and a ten-class head (2,464 parameters). The population spans tanh, ReLU, sigmoid, and GELU models; the activation-type embedding is therefore enabled.
We reduce only convolutional width, , leaving the head unchanged and retaining 41.5% of the parameters. The anchor uses the two-sided magnitude-pruning criterion in Appendix D.2. The operator uses the CNN row of Tables 8 and 9, with residual scale s = .4, and is trained for 100,000 steps on 1,407 teachers. Evaluation uses a fixed 400-teacher cohort.
D.8 Ablations
All rows in Table 16 use the MNIST INR reduction and the same 1,000 held-out teachers as the corresponding main result. Each row changes one choice from the reference CrossGMN configuration and follows the per-teacher speedup protocol in Appendix D.2.
The communication rows isolate the role of the joint graph: direct neuron-level cross edges outperform removing communication or replacing it by a pooled FiLM summary, while strided and all-to-all cross-edge policies yield similar speedups. The remaining rows show that performance depends more strongly on the training population, message-passing depth, and width than on choosing ScaleGMN rather than a parameter-matched GMN. Direct teacher matching is also more effective here than supervising the initialization toward a student obtained after a fixed number of distillation steps. These are single operator runs; the table should not be read as an estimate of seed variance.
D.9 Reach-budget plots
The speedup tables use the target attained by each teacher's anchor. To show progress independently of that relative target, the following figures plot the fraction of teachers that have reached a fixed teacher-dependent criterion by distillation budget . They cover exactly the 22 settings reported in the main tables: all rows of Tables 1, 2 and 4, and the pooled rows of Tables 3 and 5.
For INRs, fidelity reach requires PSNR(student, teacher) , while performance-retention reach requires PSNR(student, data) PSNR(teacher, data) - . For classifiers, fidelity is test agreement at least , and retention is student accuracy at least times that teacher's accuracy. For ModelNet40, we record only error to the teacher field and therefore report fidelity reach only.
We choose thresholds to make the reach–budget plots informative: overly easy or difficult thresholds can produce nearly flat curves near one or zero, respectively, obscuring how reach changes with the distillation budget. We choose a threshold separately for each setting and criterion from
Table 16: CrossGMN ablations on MNIST INR compression. Median speedup and IQR relative to the corresponding anchor, including failures ().
| Ablation | Variant | Speedup | (%) | Failed (%) |
|---|---|---|---|---|
| Communication | Strided | [1.1, 12.5] | 76 | 18 |
| No cross edges | [0.4, 8.6] | 67 | 24 | |
| All-to-all | [0.9, 11.6] | 75 | 18 | |
| FiLM on pooled teacher (Perez et al., 2018) | [0.4, 9.1] | 68 | 24 | |
| Initialization | Structured pruning | [1.1, 12.5] | 76 | 18 |
| Random initialization | [0.5, 8.5] | 70 | 23 | |
| Supervision | Teacher matching | [1.1, 12.5] | 76 | 18 |
| Student after 50 steps | [0.0, 4.0] | 52 | 35 | |
| Student after 250 steps | [0.0, 6.9] | 61 | 30 | |
| Student after 2,500 steps | [0.0, 4.6] | 55 | 33 | |
| Training teachers | 55,000 | [1.1, 12.5] | 76 | 18 |
| 1,000 | [0.0, 5.1] | 58 | 33 | |
| 500 | [0.0, 3.8] | 50 | 36 | |
| 100 | [0.0, 2.1] | 36 | 51 | |
| Backbone | ScaleGMN | [1.1, 12.5] | 76 | 18 |
| parameter-matched GMN | [1.0, 13.0] | 76 | 18 | |
| Capacity | width 128, 4 layers | [1.1, 12.5] | 76 | 18 |
| width 64, 4 layers | [0.0, 5.8] | 58 | 32 | |
| width 32, 4 layers | [0.0, 3.4] | 44 | 43 | |
| width 128, 3 layers | [0.0, 5.8] | 57 | 32 | |
| width 128, 2 layers | [0.0, 3.0] | 43 | 44 |
For each setting, let be the last recorded distillation step. We choose the strictest threshold for which (i) the anchor reaches it for at least half the teachers by , (ii) neither the anchor nor CrossGMN reaches it for half the teachers at step 0, and (iii) the anchor's median step to reach it lies in . If none qualifies, we display the most informative available level and mark it by an asterisk.
Each curve is an empirical step function giving the fraction of teachers whose students have reached the threshold by budget . A final value below one indicates that some students never reach it within the recorded horizon. Each panel shows the budget interval in which its curves change.
We show all evaluated initializations: CrossGMN in solid blue, its anchor in dashed orange, random initialization in dotted gray, and additional structured baselines in thin gray. Appendix D.2 defines the baselines, and the family-specific subsections specify which ones are evaluated. In thirteen of the forty panels, both CrossGMN and its anchor eventually reach the threshold for nearly all teachers.

CrossGMN (ours)
anchor: magnitude pruning
random initialization
OBS / OBC
activation
-outgoing
magnitude-sum
uniform
random-neuron

CrossGMN (ours)
anchor: layer fold
random initialization
keep first+last
keep first
keep last
CrossGMN (ours)
anchor: fold, then prune
random initialization
prune, then fold
distillation budget (steps)
Figure 4: MNIST INR reach–budget plots (N = 1,000 per setting). All five reductions in Table 1; fidelity reach above and performance-retention reach below.

CrossGMN (ours)
anchor: magnitude pruning
random initialization
OBS / OBC
activation
-outgoing
magnitude-sum
uniform
random-neuron
CrossGMN (ours)
anchor: strided layer transfer
random initialization
keep first
keep last
layer fold
CrossGMN (ours)
anchor: strided prune
random initialization
Stride-then-prune
distillation budget (steps)
Figure 5: ModelNet40 INR reach–budget plots (N = 1,000 per setting). All four reductions in Table 1, showing fidelity to the teacher field. The asterisk marks a fallback threshold.

CrossGMN (ours)
anchor: magnitude pruning
random initialization
OBS / OBC
activation
-outgoing
uniform
random-neuron
CrossGMN (ours)
anchor: fold (scale 0.1)
random initialization
keep first+last
keep first
keep last
strided transfer
CrossGMN (ours)
anchor: fold (scale 0.1)
random initialization
prune, then fold
fold, then prune
strided transfer
distillation budget (steps)
Figure 6: CIFAR-10 MLP reach–budget plots ( per setting). The three reductions in Table 2; fidelity reach above and performance-retention reach below.

CrossGMN (ours)
anchor initialization
random initialization
keep first+last
CrossGMN (ours)
anchor initialization
random initialization
distillation budget (steps)
Figure 7: CIFAR-10 ViT reach–budget plots ( per setting). The four reductions in Table 2; fidelity reach above and performance-retention reach below.

CrossGMN (ours)
anchor: magnitude pruning
random initialization
OBS / OBC
activation
-outgoing
magnitude-sum
uniform
random-neuron
CrossGMN (ours)
anchor: layer fold
random initialization
keep first+last
keep first
keep last
CrossGMN (ours)
anchor: fold, then prune
random initialization
prune, then fold
distillation budget (steps)
Figure 8: Transfer across datasets (N = 1,000 per setting). MNIST-trained CrossGMN operators applied to FashionMNIST INRs without retraining (Table 4). Asterisks mark fallback thresholds.

CrossGMN (ours)
anchor: magnitude pruning
random initialization
activation
-outgoing
uniform
random-neuron
distillation budget (steps)
(a) MNIST CNN classifiers

distillation budget (steps)
(b) heterogeneous MLPs

distillation budget (steps)
(c) unseen architectures
Figure 9: Reach–budget plots for CNNs and heterogeneous MLPs. (a) CNN width reduction (N = 400, Table 2). (b) Four teacher architectures mapped to [3072, 8, 10] (N = 1,000, Table 3). (c) The same operator on unseen source architectures (N = 500, Table 5).
D.10 Complete results
Table 17 collects the complete results under the protocol in Appendix D.2. It reports each setting's anchor and budget, the median and interquartile range of per-teacher speedups, the fractions with and , the failure rate, and wall-clock speedup including initialization. The final group is an anchor ablation.
Table 17: Complete compression results. Budget is from Equation 37. Speedup statistics include failures (). Wall-clock speedup is the median per-teacher ratio from Equation 38. @Budget is the median paired CrossGMN-minus-anchor quality difference at the last evaluation step not exceeding : PSNR (dB) for INRs and test agreement for classifiers.
| Setting | Anchor | Median | Failed | Wall-clock speedup | @ Budget | ||||
|---|---|---|---|---|---|---|---|---|---|
| Budget | speedup | IQR >1 (%) | >2 (%) | ||||||
| MNIST SIREN INRs | |||||||||
| width 3.5× | magnitude pruning | 2,710 | [1.24, 3.86] | 83 | 54 | 2 | +1.78 | ||
| width 11.3× | magnitude pruning | 2,480 | [1.14, 12.48] | 76 | 68 | 18 | +1.65 | ||
| width 32× | magnitude pruning | 3,520 | [0.00, 14.10] | 62 | 58 | 35 | +0.47 | ||
| depth 2→1 | layer fold | 4,560 | [2.21, 6.57] | 90 | 78 | 7 | +0.65 | ||
| width+depth 18.2× | fold, then prune | 2,750 | [3.56, 16.83] | 86 | 83 | 13 | +0.44 | ||
| FashionMNIST SIREN INRs (transfer across datasets) | |||||||||
| width 3.5× | magnitude pruning | 2,740 | [1.15, 3.16] | 80 | 51 | 6 | +0.77 | ||
| width 11.3× | magnitude pruning | 2,250 | [0.00, 5.77] | 61 | 52 | 33 | +0.32 | ||
| depth 2→1 | layer fold | 4,320 | [1.54, 6.09] | 86 | 66 | 6 | +0.32 | ||
| width+depth 18.2× | fold, then prune | 2,870 | [1.11, 10.27] | 76 | 64 | 17 | +0.17 | ||
| ModelNet40 3-D INRs | |||||||||
| width 3.8×(s = 0.005) | magnitude pruning | 1,750 | [0.88, 1.73] | 57 | 20 | 18 | +0.00 | ||
| depth 4→2 | strided layer transfer | 4,730 | [0.95, 19.81] | 74 | 68 | 12 | +3.87 | ||
| depth 4→1 | strided layer transfer | 1,930 | [1.97, 4.03] | 96 | 74 | 0 | +2.61 | ||
| width+depth 10.1× | strided prune | 1,830 | [0.41, 4.76] | 68 | 55 | 23 | - | +0.29 | |
| MLP (CIFAR-10) | |||||||||
| width 64→32 | magnitude pruning | 3,940 | [0.75, 1.35] | 54 | 4 | 5 | +0.0050 | ||
| depth 4→2 | layer fold (scale 0.1) | 3,290 | [0.73, 2.27] | 60 | 30 | 3 | +0.0120 | ||
| width+depth | layer fold (scale 0.1) | 3,780 | [0.76, 1.84] | 59 | 21 | 3 | +0.0100 | ||
| MNIST CNN | |||||||||
| conv width | magnitude pruning | 9,900 | [0.93, 1.42] | 68 | 7 | 1 | +0.0008 | ||
| ViT (CIFAR-10) | |||||||||
| attention dimension48→24 | top-k attention dimensions | 3,680 | [0.63, 0.85] | 7 | 0 | 5 | -0.0011 | ||
| head count 2→1 | head drop | 4,530 | [0.78, 0.96] | 16 | 0 | 0 | +0.0004 | ||
| depth 4→2 | strided block transfer | 6,960 | [1.12, 1.30] | 95 | 0 | 0 | +0.0044 | ||
| head count+depth | strided blocks + head drop | 7,470 | [1.09, 1.27] | 92 | 0 | 0 | +0.0047 | ||
| Heterogeneous-architecture compression | |||||||||
| pooled (four source architectures) | layer fold (scale 0.1) | 3,640 | [0.71, 2.25] | 62 | 28 | 10 | +0.0040 | ||
| Generalization to unseen source architectures | |||||||||
| pooled (unseen source architectures) | layer fold (scale 0.1) | 3,450 | [0.49, 1.84] | 51 | 23 | 14 | +0.0030 | ||
| Anchor ablation: heterogeneous-architecture compression (layer-fold reference above) | |||||||||
| strided layer transfer | strided layer transfer | 4,240 | [0.62, 2.60] | 61 | 35 | 13 | +0.0030 | ||
| keep first+last | keep first+last | 4,190 | [0.54, 2.36] | 60 | 31 | 15 | +0.0030 | ||
| random initialization | random initialization | 3,730 | [0.34, 1.59] | 42 | 16 | 21 | +0.0020 | ||
The quality difference at complements speedup: faster distillation need not imply a better asymptotic solution. All reported settings with median speedup above one also have nonnegative median quality differences at this budget. For ViT attention-dimension and head-count reductions, the struc-tured anchors already provide strong initializations, and CrossGMN does not accelerate subsequent distillation.
D.11 Classifier teacher-population diversity
As noted in Section 5.1, amortizing a learned compression operator across a model population is motivated by the population spanning diverse functions. We therefore measure diversity in classifier teachers' outputs, which directly characterize the functions that their students must preserve. Parameter differences alone would be insufficient, since different weights can realize the same function.
Populations and sampling. Table 18 reports averages over 10,000 randomly sampled pairs of distinct teachers from each classifier population, using the full held-out cohort evaluated for compression. Settings that share a teacher population share its diversity statistics.
Diversity metrics. For teachers and , let and be their predicted labels on a shared test set . Prediction agreement measures how often their decisions coincide:
Lower agreement indicates greater variation in predictions. To distinguish shared correct predictions from shared mistakes, define each teacher's error set and report wrong-prediction intersection over union:
This measures whether the teachers fail on the same inputs, regardless of which incorrect labels they predict. Lower values mean less overlap in errors, although the metric also depends on accuracy.
Finally, Cohen's (Cohen, 1960) corrects agreement for each teacher's predicted-label frequencies:
Here is the agreement expected from independent predictions with those label frequencies. Thus complements raw agreement by accounting for class preferences; it does not remove all effects of accuracy or task difficulty. Together, the three metrics describe overall prediction similarity, overlap in errors, and agreement beyond the label marginals.
Table 18: Classifier teacher-population diversity. Mean statistics over 10,000 pairs of distinct teachers. Lower agreement, error IoU, and indicate greater diversity in their respective aspects.
| Teacher population | Teachers | Agreement ↓ | Error IoU ↓ | ↓ |
|---|---|---|---|---|
| CIFAR-10 MLP | 1,000 | 0.715 | 0.694 | 0.682 |
| CIFAR-10 ViT | 1,000 | 0.792 | 0.556 | 0.769 |
| MNIST CNN | 400 | 0.891 | 0.210 | 0.879 |
| CIFAR-10 MLP, four source architectures | 1,000 | 0.643 | 0.683 | 0.602 |
| unseen source architectures | 500 | 0.618 | 0.653 | 0.574 |
Findings. On CIFAR-10, fixed-architecture MLP teachers have lower agreement than ViTs (0.715 versus 0.792), also reflected in (0.682 versus 0.769). The MNIST CNNs have high agreement (0.891) but low error overlap (0.210): their predictions often coincide, while their mistakes are less shared. The heterogeneous MLP population and its unseen-architecture counterpart have similar statistics, with and 0.574, respectively. These results establish variation within each population.