Manuscript Offprint
arXiv:2610.41059Nonlinear Maps Between Irreducible Representations in Graph Neural Networks
MANI SHAYESTEHFAR
ABSTRACT. Equivariant linear maps cannot mix non-isomorphic irreducible representations, whereas nonlinear activations can. We develop a degree-resolved version of this nonlinear interaction picture and use the resulting block inventory to construct SPECHT TRIPLE, a residual on unordered graph triples. On a synthetic structural benchmark with a frozen GIN backbone, SPECHT TRIPLE reduces aggregate standardised test MSE by 11.05% relative to a parameter-matched PROJECTOR CONTROL using the same irreducible projectors and complete linear equivariant space. The results support irreducible decomposition as an inductive bias for nonlinear higher-order equivariant processing.
1. INTRODUCTION
Symmetry is a standard source of inductive bias in machine learning. Convolutional networks exploit translations, graph networks respect relabellings, and many geometric architectures are built so that intermediate features transform equivariantly under a prescribed group symmetry. The geometric deep learning viewpoint organises these constructions by asking which symmetries and geometric structures should be built into the hypothesis class [BBCV21]. Representation theory provides the corresponding linear language (The mathematical concept of representation, which is the only meaning used in this paper, is different from the typical meaning of “representation” in machine learning.).
For linear equivariant maps, the basic picture is especially clean. Decompose a representation, , into irreducible summands, , and Schur's lemma restricts every equivariant linear map to be nonzero only if . However, a neural network is not linear. We consider the bias-free neural architecture
where is the input vector, are weight matrices, and scalar activation functions. A coordinatewise activation such as ReLU may already be equivariant in the natural permutation basis and yet, after changing to an irreducible basis, it can create nonzero maps between non-isomorphic summands. The nonlinearity therefore carries representation-theoretic information that is invisible to the linear theory.
Gibson, Tubbenhauer and Williamson [GTW25] (GTW) proposed studying these nonlinear equivariant maps under the name piecewise-linear representation theory. Their starting point is a piecewise-linear analogue of Schur's lemma: for irreducible, non-isomorphic -representations and ,
Thus, unlike an equivariant linear map, a piecewise-linear equivariant map may transfer information between distinct irreducible types. GTW encode these possible transfers using interaction graphs, whose vertices are irreducible representations and whose edges record which source and target types can interact through the nonlinearity.
Our theoretical contribution refines this existence-level picture by resolving each possible interaction by degree. Rather than asking only whether a nonlinear route can occur,
2020 Mathematics Subject Classification. Primary 68T07, 20C30; Secondary 05E10, 05E30.
Key words and phrases. equivariant neural networks, representation theory, symmetric group, Specht modules, graph neural networks.
MANI SHAYESTEHFAR
we ask at which degrees it can occur through
The resulting factorisation separates two independent ingredients: representation theory determines which degree- source-to-target routes are available, while the spectrum of the activation determines which of those degrees are actually supplied by the chosen nonlinearity. In earlier work [Sha26], we develop the broader theory of these three obstructions; the factorisation below is its projected-block specialisation. The present paper asks whether that structure can guide a learned model. The computational question is:
Can the nonlinear flow between irreducible components predicted by representation theory be exploited as an inductive bias?
We study this question through structural graph regression. The targets are graph diameter and algebraic connectivity, two global quantities whose prediction requires information extending beyond a single local neighbourhood. As a node-level baseline we use a Graph Isomorphism Network (GIN) [XHLJ19], which is a message-passing GNN that updates each node by combining its current state with a sum of its neighbours' states through a multilayer perceptron. After graph-level pooling, the GIN produces a baseline prediction. We freeze this backbone and ask whether a higher-order residual can improve it using features indexed by unordered triples of vertices. Triples are a useful testbed because they carry information beyond ordinary node-level message passing while their -representation theory remains explicit: the four irreducible components can be read, roughly, as global, vertex-level, pair-level and genuinely triple-level variation.
This perspective is complementary to the standard GDL programme. GDL and related equivariant architectures use symmetry, often together with irreducible feature types, primarily to constrain the admissible linear maps, while higher-order graph networks extend this principle to features indexed by tuples of vertices [BBCV21, MBHSL19, MRF19]. Our question begins one step later. Once equivariance has already been imposed, what structure does a coordinatewise nonlinearity create between the irreducible components of such a representation? Following GTW, we study this nonlinear inter-irrep flow and ask whether exposing it explicitly in a higher-order graph model provides an additional inductive bias.
Contributions. The paper makes three contributions.
(a) We present the projected-block degree factorisation, separating symmetry, coordinates and activation (Appendix B).
(b) We introduce SPECHT TRIPLE, a representation-aware higher-order graph residual that resolves unordered triple features into Specht components before nonlinear processing. A worked route explains how the grading constrains the architecture.
(c) We compare with two parameter-matched controls. The primary PROJECTOR CONTROL comparison gives a 11.05% aggregate reduction across ten paired seeds, driven mainly by diameter.
Before using the partition labels, it is useful to read the four summands by the order of interaction they capture.
TABLE 1. The irreducible components of the unordered-triple permutation module. The descriptions are an interpretation of the subset-module filtration.
| Interpretation | Specht type | Dimension |
|---|---|---|
| Global variation | 1 | |
| Vertex-level variation | n - 1 | |
| Pair-level variation | n(n - 3)/2 | |
| Triple variation | n(n - 1)(n - 5)/6 |
Two unordered triples are distinguished, up to , only by the size of their intersection. Figure 1 shows the four possibilities. Their relation matrices span the Johnson Bose–Mesner algebra. Its primitive orthogonal idempotents are exactly the projectors onto the four summands in (2). Operationally, extracts global variation, variation attributable to individual vertices, residual pair-level variation, and the remaining genuinely triple-level variation. The closed formulas and their derivation are given in Appendix A.

FIGURE 1. The four -orbits on ordered pairs of unordered triples, classified by their intersection size . These relations generate the Johnson scheme and hence the complete linear -equivariant algebra on .
3. WHAT THE ACTIVATION ADDS
Let be a multiplicity-free permutation representation, with orthogonal projections , inclusions , and projector matrices . Write for the coordinatewise extension of a scalar activation in the permutation basis . The nonlinear interaction from to is
Unlike the linear case, nonlinear activations can transfer information between non-isomorphic irreducible components. To describe these interactions by degree, we place in a Gaussian space, where it admits an orthogonal Hermite expansion. The degree-k component is then governed by the symmetric power , and possible transfers to are encoded by . The activation can retain only those degrees whose coordinate maps are nonzero. A nonzero Hom space is necessary but is not sufficient for this particular block. We denote the degree-k Gaussian-reference component by . The formal construction is given in Appendix B.
Theorem 3.1 (Degree-graded activation block). For a continuous scalar activation with finitely many affine pieces, applied coordinatewise in a transitive permutation basis, let be as in (3). Then
Here is the coordinate variance for a standard Gaussian on , is defined in (11), and is the homogeneous coordinate polynomial. Homogeneous degree-k equivariant polynomials are identified with , and is the Hermite representative of . The notation means coordinatewise power in the
MANI SHAYESTEHFAR
permutation basis. The map depends on those coordinates, not on the activation, and may be zero. Appendix B proves the factorisation.
Corollary 3.2 (Odd-degree blindness). For a scalar activation homogeneous of degree one, including ReLU,
Hence for every odd . This is a statement about a bias-free block; it does not impose the same restriction on arbitrary compositions or on biased activations.
Note that the implemented architecture does not explicitly separate Hermite degrees. We use the grading only to determine which complete source-to-target blocks can be nonzero for ReLU.
A worked example. Consider the permutation representation of ,
Schur's lemma gives , so there is no linear equivariant route from to . Theorem 3.1 asks whether such a route can appear at degree two. Since
the homogeneous coordinate map is nonzero: , where . Since , the normalisation in Theorem 3.1 gives
The centring constant is . Thus : ReLU produces a second-chaos interaction where the linear Hom space vanishes. For the triple representation used below, the same calculation is performed for the four Specht components. The resulting route inventory is given in Appendix C.
4. REPRESENTATION-AWARE TRIPLE PROCESSING
We now use these blocks to define a residual architecture. A five-layer GIN produces node states and a graph-level baseline prediction. The GIN is frozen before any higher-order residual is trained. All three residuals receive the same form of symmetric triple lift, and the final prediction is the frozen GIN output plus the learned residual. For every benchmark order , exact evaluation of the coordinate maps gives the ReLU route set
Thus can only map to , whereas each nontrivial source has routes to all four targets. All these routes already occur in ReLU-supported degrees at most two, except , whose first ReLU-supported contribution occurs in degree four.
Triple lift. Let be a simple graph with , and let denote its adjacency matrix,
The frozen GIN assigns to each vertex a hidden state , where 64 is the hidden width of the backbone. To apply the -representation theory of unordered triples, we convert these node-level states into a feature indexed by every .
For a triple , we retain two kinds of information. First, the three frozen node states are projected to the channel space of the higher-order branch by a learned map
and then averaged. Second, we record the connectivity internal to the triple. Since there are exactly three possible edges among , define
Thus is simply the number of edges in the subgraph induced by . A learned embedding converts this discrete structural quantity into the same six-dimensional channel space. We then define
The dimension 6 is an architectural choice for the width of the higher-order residual branch; it is not prescribed by the representation theory.
Collecting the features of all unordered triples gives
Both terms in (5) depend only on the unordered set . Consequently, a vertex relabelling sends the coordinate to . The triple lift is therefore -equivariant, with acting on the triple coordinates and trivially on the six feature channels.
Specht Triple. The exact Johnson projectors give . If , the source is rescaled by , matching its Gaussian-reference unit scale, and multiplied by a learned positive channel gain. ReLU is applied in the original triple-coordinate basis, after which each source activation is projected onto its permitted target components. We write
where is the source and the target. For a route tensor , we remove the triple index using two permutation-invariant channelwise statistics, defined as
The projectors act as , and the source gains and ReLU act channelwise. Each channel therefore uses the multiplicity-free block theorem separately (Appendix B). A learned gate acts on each route summary before accumulation. Algorithm 1 states the implementation with shapes.
Algorithm 1: SPECHT TRIPLE residual for one graph.
Input: , frozen and ; projectors ; route set .
Output: Prediction .
using (5)
for do
end
foreach do
end
return
MANI SHAYESTEHFAR
Control Triple. To test whether the gain of SPECHT TRIPLE comes from its irreducible organisation of the nonlinearity, we compare it with a control that already has access to the full space of linear -equivariant mixing between unordered triples.
Let and let be the adjacency matrix of the Johnson graph, where
Since every triple has such neighbours, define the normalised Johnson operator . From its lifted tensor defined by (5), the control computes
Here mixes triple coordinates and mixes feature channels. At fixed , the four operators span , so CONTROL TRIPLE can realise arbitrary linear -equivariant mixing before the activation.
The distinction between the two residuals is where the nonlinearity is applied. Control Triple first forms a general linear -equivariant mixture and then applies ReLU. Specht Triple first separates the four irreducible source components, applies ReLU to each source separately, projects the result onto the permitted targets in , and pools the resulting route summaries. Further Johnson-scheme details and parameter accounting are given in Appendices A and D.
PROJECTOR CONTROL. The stronger control uses the same primitive projectors as SPECHT TRIPLE, forming with learned before one ReLU. Both controls apply ReLU, then (7), layer normalisation and a residual head. At fixed , and span the same complete linear equivariant algebra. PROJECTOR CONTROL therefore controls for access to the irreducible projectors as well as the linear space. It does not retain nonlinear source-to-target blocks separately.
5. EXPERIMENTAL DESIGN
The frozen GIN provides node-level message passing and a baseline graph prediction. CONTROL TRIPLE adds global linear -equivariant mixing of triple features, PROJECTOR CONTROL uses the same linear space in the projector basis, and SPECHT TRIPLE uses the same triple lift but resolves the nonlinear computation by irreducible source and target type. Each residual has 884 trainable parameters. Equal parameter counts do not equalise nonlinear factorisation, normalisation or computation, so this is a comparison of complete residual designs rather than an isolation of one mechanism. Hence, the primary comparison is SPECHT TRIPLE against PROJECTOR CONTROL.
We use a synthetic structural benchmark so that the targets have clear graph-theoretic meaning and the graph orders remain small enough for exact triple representations. Graphs have and are sampled from Erdős-Rényi, Barabási–Albert, Watts–Strogatz and two-block stochastic block families. The primary regression targets are diameter, which measures a global shortest-path scale, and algebraic connectivity, the second-smallest eigenvalue of the combinatorial Laplacian. These probe different aspects of global graph structure while using the same inputs.
Exact- batching ensures that the Specht projectors and Johnson operators always correspond to the actual action of each graph. The complete data split, generator parameters, architecture dimensions, optimisation settings, random-identifier protocol, ten paired seeds and statistical procedure are reported in Appendix D; Table 3 gives a compact summary.
6. RESULTS
The comparison of the three models is summarised in Table 2. Across ten paired seeds, SPECHT TRIPLE improves on CONTROL TRIPLE in every seed. It reduces aggregate standardised test MSE by 19.23% with paired-bootstrap interval [15.97%, 21.90%]. Against PROJECTOR
CONTROL, the reduction is 11.05% with paired-bootstrap 95% interval [2.24%, 18.27%] and 7/10 seed wins.
SPECHT TRIPLE improves on CONTROL TRIPLE for both diameter and algebraic connectivity. Importantly, diameter improves by 14.24% with 8/10 seed wins, whereas algebraic connectivity improves by 2.57% with 6/10 wins. Hence the strongest empirical conclusion is a benefit for diameter on this benchmark. Complete per-seed values, paired uncertainty estimates, hypothesis tests, taskwise reductions, graph-family breakdowns and graph-order diagnostics are reported in Appendix D.
TABLE 2. Mean standardised test MSE over ten paired seeds. The primary comparison is SPECHT TRIPLE versus PROJECTOR CONTROL. All residuals have 884 trainable parameters.
| Model | Residual params | Aggregate | Diameter | Alg. connectivity |
|---|---|---|---|---|
| GIN | - | 0.09132 | 0.11720 | 0.06543 |
| CONTROL TRIPLE | 884 | 0.07640 | 0.10492 | 0.04787 |
| PROJECTOR CONTROL | 884 | 0.06937 | 0.10081 | 0.03794 |
| SPECHT TRIPLE | 884 | 0.06171 | 0.08645 | 0.03696 |
7. DISCUSSION
The experiment supports a stronger claim than the earlier pointwise-triple control could justify. CONTROL TRIPLE can already mix every triple with every other triple through the full linear -equivariant Johnson algebra before applying ReLU. Its improvement over GIN confirms that higher-order equivariant processing is useful on the benchmark. The further SPECHT TRIPLE gain therefore points to the organisation of nonlinear computation by irreducible source and target type, rather than simply to adding triples or allowing global triple mixing.
The comparison should not be read as a pure change-of-basis experiment. SPECHT TRIPLE and CONTROL TRIPLE have different nonlinear factorisations. The Johnson branch applies one general equivariant linear map and then ReLU. The Specht branch resolves sources, applies ReLU separately, projects onto targets, and preserves the resulting block summaries until the invariant readout. Representation-adapted coordinates may also provide a better conditioned parameterisation of the equivariant algebra. These effects are all part of the representation-aware inductive bias tested here, so the 19.23% gap should not be attributed causally to one individual route mechanism.
The theory explains why this design is natural. Linear equivariance alone sees the four Specht types as decoupled channels. GTW show that the activation reconnects them. The degree grading identifies when those reconnections can occur and which ones a particular activation can supply. SPECHT TRIPLE does not explicitly separate Hermite degrees, but it uses the grading to determine and audit the ReLU block inventory, then exposes those full nonlinear blocks to learning. An explicit degree-resolved architecture is a separate direction.
Limitations. The GIN backbone is frozen, so the experiment does not show that SPECHT TRIPLE outperforms end-to-end higher-order graph architectures. The Gaussian construction provides a reference grading for the nonlinear maps, but it does not assume that the learned GIN features themselves are Gaussian. Although CONTROL TRIPLE spans the full linear equivariant algebra at each fixed graph order, the same polynomial-basis parameters are shared across different values of . It therefore does not learn an independent Johnson operator for each graph size. The random node identifiers preserve permutation invariance when they are relabelled together with the vertices, but predictions are not invariant to drawing a new
MANI SHAYESTEHFAR
set of identifiers. Finally, the experiments cover only one family of groups, one -subset representation and one structural graph benchmark.
Conclusion. For equivariant linear maps, irreducible decomposition simplifies the problem. For nonlinear equivariant maps, the activation creates structured communication between those irreducibles. This paper shows that the same structure can be used computationally. Generic equivariant triple mixing already improves a message-passing backbone, while resolving the nonlinear computation by Specht source and target gives further improvements. The key takeaway should be that piecewise-linear representation theory is not only a language for interpreting equivariant networks, but it also is a source of architectural inductive bias.
Code availability. The code used to generate the experiments in this paper, including data generation, all three residual models, training scripts, evaluation routines and representation-theoretic operators, is available in this GitHub repository.
ACKNOWLEDGEMENTS
I would like to thank Dani Tubbenhauer for their guidance and reviews. I also thank the anonymous reviewers of NeurReps 2026 Workshop for their helpful comments.
AI DECLARATION
OpenAI's ChatGPT 5.6 was used initially for development of the polynomial–Hermite decomposition theory, followed by assistance with computational experiment design, code generation and debugging, computational analysis, and the editing and restructuring of the paper. The author takes full responsibility for the mathematical statements, experimental design, reported results, citations, and final text.
REFERENCES
[BBCV21] Michael M. Bronstein, Joan Bruna, Taco Cohen, and Petar Veličković. Geometric deep learning: Grids, groups, graphs, geodesics, and gauges. arXiv preprint arXiv:2104.13478, 2021.
[BCN89] Andries E. Brouwer, Arjeh M. Cohen, and Arnold Neumaier. Distance-Regular Graphs, volume 18 of Ergebnisse der Mathematik und ihrer Grenzgebiete. Springer, 1989.
[Del73] Philippe Delsarte. An Algebraic Approach to the Association Schemes of Coding Theory. PhD thesis, Université Catholique de Louvain, 1973. Philips Research Reports Supplements, no. 10.
[GTW25] Joel Gibson, Daniel Tubbenhauer, and Geordie Williamson. Equivariant neural networks and piecewise linear representation theory. In Modern Algebra. Vol. 1: Representation Theory, volume 829 of Contemporary Mathematics, pages 157–192. American Mathematical Society, Providence, RI, 2025. arXiv:2408.00949.
[Jan97] Svante Janson. Gaussian Hilbert Spaces, volume 129 of Cambridge Tracts in Mathematics. Cambridge University Press, 1997.
[JK81] Gordon James and Adalbert Kerber. The Representation Theory of the Symmetric Group, volume 16 of Encyclopedia of Mathematics and its Applications. Addison-Wesley, 1981.
[MBHSL19] Haggai Maron, Heli Ben-Hamu, Nadav Shamir, and Yaron Lipman. Invariant and equivariant graph networks. In International Conference on Learning Representations, 2019.
[MRF+19] Christopher Morris, Martin Ritzert, Matthias Fey, William L. Hamilton, Jan Eric Lenssen, Gaurav Rattan, and Martin Grohe. Weisfeiler and Leman go neural: Higher-order graph neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 4602–4609, 2019.
[Sha26] Mani Shayestehfar. Graded representation theory of equivariant neural networks, 2026. arXiv:2609.25776v1.
[XHLJ19] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In International Conference on Learning Representations, 2019.
MANI SHAYESTEHFAR
APPENDIX A. REPRESENTATION THEORY AND THE JOHNSON SCHEME
This appendix collects the linear representation theory used by the main text. A permutation representation is a space with an orthonormal basis permuted by . The action is transitive if any basis vector can be sent to any other by a group element. It is multiplicity-free if its irreducible summands are pairwise non-isomorphic. These are distinct conditions: transitivity equates coordinate variances, while multiplicity-freeness labels the blocks without choices among repeated copies. Let be finite and let all representations be finite-dimensional, real and orthogonal. A linear map is -equivariant when . If and are irreducible and nonisomorphic, Schur's lemma gives . Thus an equivariant linear map is block diagonal across non-isomorphic irreducible types in a multiplicity-free decomposition.
For the action of on -subsets, the permutation module is the Young permutation module . For and , the classical Young rule gives
with dimensions for [JK81].
A.1. Johnson relations and exact projectors. Let be the matrix whose entry is one when . The four matrices span the Bose–Mesner algebra of the Johnson scheme [Del73, BCN89]. Since the triple module is multiplicity-free, this algebra is exactly .
The eigenvalue of on is
These values are pairwise distinct for . Consequently the primitive idempotent projecting onto is
This gives the exact- projectors used by SPECHT TRIPLE. The implementation applies the polynomial in sparsely rather than constructing a dense matrix.
A.2. Why both controls are linearly complete. Set . Normalisation changes the eigenvalues but not their distinctness. Since has four distinct eigenvalues, its minimal polynomial has degree four. Therefore
For six feature channels on which acts trivially,
Hence the layer with arbitrary parameterises the complete linear equivariant operator space at fixed . The projector-basis form parameterises the same space. Each mixing layer has weights, exactly the dimension predicted by the commutant calculation. This fixed- spanning statement does not equate their parameterisations when weights are shared across different graph orders.
APPENDIX B. GAUSSIAN/HERMITE BACKGROUND AND PROOFS
The degree grading is an exact decomposition of the nonlinear map with respect to a Gaussian reference measure. This section defines the relevant spaces before proving Theorem 3.1.
B.1. Gaussian spaces
Definition B.1 (Standard Gaussian measure). Let be an -dimensional real inner-product space. The standard Gaussian measure is the probability measure whose density in any orthonormal coordinates is
It is invariant under the orthogonal group .
Definition B.2 (Vector-valued Gaussian space). For a finite-dimensional inner-product space , let be the Hilbert space of measurable maps , modulo equality almost everywhere, with
A continuous piecewise-linear map with finitely many pieces has at most linear growth, hence belongs to this space. If and are orthogonal -representations, acts unitarily on by
and the fixed points are precisely the square-integrable -equivariant maps.
B.2. Hermite polynomials and polynomial chaos. We use the probabilists' Hermite polynomials, defined by
Thus , , , , and for . They are orthogonal rather than unit-normalised, and complete in [Jan97].
In orthonormal coordinates on , the products with span the th polynomial chaos . The orthogonal projection onto this space is . Orthogonal changes of coordinates preserve each chaos, and the map taking a homogeneous degree- polynomial to its th-chaos projection is an equivariant isomorphism. In particular, chaos polynomials need not be homogeneous: has degree two and a constant term, but is orthogonal to all lower degrees.
Using the invariant inner product to identify with its dual gives
Indeed, tensor the scalar chaos decomposition with and take -fixed vectors; each orthogonal chaos projection commutes with the group action. The completion is a Hilbert direct sum. This is an ambient decomposition, not an assertion that every element is piecewise linear. See Shayestehfar [Sha26, Section 1.3 and Theorem 2.1].
B.3. Coordinatewise factorisation. Let be a transitive permutation representation with multiplicity-free decomposition , projections , inclusions , and projector matrices . For , set . Transitivity and equivariance imply that is independent of . Since is an orthogonal projector, and summing over the dim basis vectors gives . For define , which is standard Gaussian under . For an activation define
The activation block is
MANI SHAYESTEHFAR
Expanding the scalar activation in Hermite polynomials gives
The inner sum is equivariant and belongs to the th chaos. It equals , where is the coordinate polynomial specified in Theorem 3.1. Orthogonal projection onto chaos therefore yields (4).
If is positively homogeneous of degree one, for , hence
Every continuous degree-one positively homogeneous scalar map has the form .
The linear term contributes only at degree one, while the even term is orthogonal to all odd Hermite polynomials. Thus every odd coefficient above degree one vanishes. For ReLU, , , and
The last identity follows by two integrations by parts using , where is the standard normal density; . Thus ReLU has support [Sha26, Theorem 4.3].
B.4. Multiplicity in the implemented feature tensor. The theorem above is stated for a multiplicity-free permutation module. The implemented tensor is , so each appears with multiplicity six. The narrow theorem is sufficient for the implemented sourcewise computation; the broader factorisation in Shayestehfar [Sha26, Theorem 3.6 and Appendix B] treats arbitrary inputs and multiple coordinate orbits. The group acts trivially on the channel index, the projectors act as , and coordinatewise ReLU acts independently in each channel. The factorisation is therefore applied copy by copy, with its channel gain included in the scalar activation, before invariant summaries are formed. This does not establish independent control of joint multidegree interactions between channels, nor a degree decomposition of the full trained network.
APPENDIX C. ROUTE AND MULTIPLICITY CALCULATIONS
For the triple module, the degree- route multiplicity is
At the first nontrivial degrees are shown below. Rows are sources and columns are targets. A zero means that symmetry forbids that degree; positive entries give the multiplicity. Degree one is the identity matrix by Schur's lemma.
| 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | |||
| 1 | 1 | 1 | 0 | 1 | 2 | 1 | 1 | 2 | 3 | 3 | 1 | |||
| 1 | 1 | 2 | 1 | 2 | 3 | 6 | 5 | 5 | 10 | 22 | 21 | |||
| 1 | 1 | 2 | 2 | 2 | 5 | 9 | 16 | 12 | 32 | 84 | 139 | |||
FIGURE 2. Degree-resolved interaction multiplicities for . Matrix form avoids the direction and label ambiguity of dense arrow diagrams.
These multiplicities were computed exactly from symmetric-group characters. Writing for the permutation character on -subsets gives , and the characters of
Sym follow from Newton identities applied to the power sums . Inner products with then give .
C.1. Realised coordinate maps and their norms. A nonzero Hom space does not, in complete generality, force the particular coordinate map to be nonzero. For the benchmark family this can be checked exactly, using the projected Gram criterion of Shayestehfar [Sha26, Section 3.3]. Let and . Under the standardised coordinate forms have correlation
From Mehler's identity, , so
\|\Pi_k Q_k^{ji}\|_L^2_{(\gamma_{L_i};L_j)} = k!\sum_{b,b'} (E_i)_{bb'}^k (E_j)_{bb'}.For triples at Johnson distance , write and let be the number of at that distance from a fixed . There are choices for , hence
\|\Pi_k Q_k^{ji}\|_L^2_{(\gamma_{L_i};L_j)} = \frac{k!}{N^k} \sum_{t=0}^{3} v_t \, q_i(t)^k q_j(t). \tag{12}The factor arises because the ordered choices of the first triple cancel one of the factors contributed by the projector entries. Since the omitted prefactor in the zero/nonzero test is strictly positive, the realised-route conclusions depend only on the finite sum in (12).
Exact rational evaluation of (12) verifies, for every , every and every , that is nonzero exactly when the corresponding Hom space is nonzero. This is a finite verification for the benchmark family, not a general theorem. It justifies the thirteen ReLU blocks used by SPECHT TRIPLE over every graph order in the experiment.
APPENDIX D. COMPLETE EXPERIMENTAL PROTOCOL AND PER-SEED RESULTS
D.1. Setup summary. Summary of the experiments.
TABLE 3. Experimental setup.
| Item | Fixed setting |
|---|---|
| Primary targets | graph diameter, algebraic connectivity |
| Graph orders | , exact- representation in every batch |
| Families | Erdős–Rényi, Barabási–Albert, Watts–Strogatz, two-block SBM |
| Train/validation/test | 8,000/2,000/4,000 graphs |
| Backbone | five-layer GIN, width 64, frozen before residual training |
| Residuals | CONTROL TRIPLE, PROJECTOR CONTROL and SPECHT TRIPLE, 884 parameters each |
| Optimisation seeds | 11, 23, 37, 53, 71, 89, 107, 127, 149, 173 |
| Residual learning rate | for both models |
| Score | mean of the two training-standardised test MSEs |
D.2. Graph generation. The final corpus was generated once with seed 440081. Graph order is sampled uniformly from 15 through 24 and the corpus is balanced over four families. Disconnected samples are rejected, with at most 300 attempts before a deterministic connectivity rescue that did not affect the audited final protocol.
MANI SHAYESTEHFAR
TABLE 4. Graph-generator parameters. Uniform intervals are sampled independently for each graph.
| Family | Parameters | Range |
|---|---|---|
| Erdős–Rényi | edge probability | |
| Barabási–Albert | attachments | |
| Watts–Strogatz | degree , rewiring | |
| Two-block SBM | block cut, | cut in middle third; ; |
The split sizes are 8,000/2,000/4,000, with each family contributing 2,000/500/1,000. Node identifiers are four-dimensional independent standard Gaussian vectors, centred and scaled coordinatewise within each graph. Targets are unweighted graph diameter and the second-smallest eigenvalue of the combinatorial Laplacian . The training means and standard deviations are (4.51775, 1.09949) and (2.33446, 0.79849), respectively. Spectral radius is retained only as a shortcut diagnostic.
A four-round permutation-invariant 1-WL structural hash is used for global split exclusion. Train/validation/test overlap is empty. The final corpus also excludes 11,981 graph hashes inspected during earlier development, with recorded cross-corpus overlap zero.
D.3. Architectures. The GIN has depth 5 and width 64. Its input projection maps to . Each layer uses an -weighted self term plus adjacency aggregation, a two-layer MLP of hidden width 128 with SiLU, a residual connection and layer normalisation. Mean pooling gives the graph representation, followed by a 64-hidden-unit prediction head.
All three higher-order residuals use the same triple-lift design in (5) with branch width 6 and are added to the frozen GIN prediction. The two controls have identical parameter counts by component, so the following accounting covers all three residuals:
| Component | SPECHT TRIPLE | Either control |
|---|---|---|
| node projection | 384 | 384 |
| edge-count embedding | 24 | 24 |
| source/route or Johnson mixing | 24 + 156 | 144 + 6 |
| layer normalisation | 24 | 24 |
| residual head | 272 | 302 |
| Total | 884 | 884 |
Specht uses a head and the controls use heads to match total active parameter counts; no inactive padding is used.
For SPECHT TRIPLE, the factor in Algorithm 1 is inherited from the frozen implementation. During development, several nested structured variants were embedded in a common 48-route reference supernet and shared this normaliser so that zeroing additional route gates preserved exact function-class inclusions. Changing the constant after freezing the model would change the evaluated checkpoint, so the original normalisation is retained and documented.
For CONTROL TRIPLE, and the four basis powers are . The mixed tensor is divided by before adding the learned channel bias, then passed through ReLU. PROJECTOR CONTROL instead uses , with the same rescaling and channel bias. Each control pools the mean square and mean activated value over triples, followed by layer normalisation and a SiLU head. Specht normalises each source before ReLU and has no corresponding pre-activation bias; these are retained differences between the evaluated designs.
D.4. Optimisation and controlled-comparison protocol. The ten optimisation seeds are 11, 23, 37, 53, 71, 89, 107, 127, 149, 173. The GIN is trained for at most 140 epochs at initial learning rate . Residual branches use at most 140 epochs at . Batch size is 256, subject to a cap of 600,000 triple coordinates and an automatic memory probe. Weight decay is , gradients are clipped at 5, validation is evaluated every four epochs, and learning rate is halved after three validation checks without improvement down to . Early stopping patience is twelve checks. Automatic mixed precision is enabled. Checkpoints are selected only by validation mean standardised MSE.
The higher-order branches use the frozen GIN checkpoint for the corresponding seed, the same residual learning rate , seed IDs and training schedule. The primary comparison is SPECHT TRIPLE versus PROJECTOR CONTROL. There is no control hyperparameter sweep in the final runner. Test predictions are aligned by graph ID, target and graph order.
The replication unit is the optimisation seed, conditional on one fixed corpus and split. Relative reductions are ratios of paired means. The reported 95% percentile bootstrap interval uses 100,000 joint resamples of the ten paired seeds (bootstrap seed 40311). Exact paired sign-flip tests enumerate all sign assignments of seedwise MSE differences, using the mean difference as statistic; their interpretation requires sign exchangeability under the null. We report both the directional one-sided test and a two-sided sensitivity analysis. The designated primary comparison is unadjusted; taskwise and subgroup analyses are secondary.
TABLE 5. Aggregate standardised test MSE by optimisation seed.
| Seed | GIN | Control Triple | Projector Control | Specht Triple |
|---|---|---|---|---|
| 11 | 0.09307 | 0.08139 | 0.08151 | 0.06383 |
| 23 | 0.09019 | 0.07012 | 0.05813 | 0.06492 |
| 37 | 0.08733 | 0.07603 | 0.08714 | 0.06515 |
| 53 | 0.09374 | 0.07637 | 0.06541 | 0.06288 |
| 71 | 0.08861 | 0.07254 | 0.07917 | 0.06023 |
| 89 | 0.09002 | 0.07533 | 0.05430 | 0.05728 |
| 107 | 0.09424 | 0.07549 | 0.06422 | 0.06090 |
| 127 | 0.09453 | 0.08012 | 0.07211 | 0.06220 |
| 149 | 0.08920 | 0.08068 | 0.07899 | 0.06224 |
| 173 | 0.09225 | 0.07590 | 0.05274 | 0.05742 |
| Mean | 0.09132 | 0.07640 | 0.06937 | 0.06171 |
D.5. Per-seed results. The primary absolute MSE reduction is 0.0076673, the ratio-of-means reduction is 11.052%, the paired effect size is , and the paired-bootstrap interval is [2.242%, 18.272%]. Specht wins 7/10 paired seeds. The exact one-sided and two-sided sign-flip -values are 0.029296875 and 0.05859375, respectively. The taskwise reductions against PROJECTOR CONTROL are 14.24% for diameter (8/10 wins) and 2.57% for algebraic connectivity (6/10 wins). The latter remains statistically unresolved.
For context, the secondary SPECHT TRIPLE-CONTROL TRIPLE comparison gives the previously reported 19.23% reduction, 10/10 wins and paired-bootstrap interval [15.97%, 21.90%]. This is a different comparison from the primary 11.05% result. The two controls span the same linear space at fixed , but their basis parameterisations and their weights shared across differ. Neither comparison removes the normalisation and nonlinear-factorisation differences described in Section 7.
D.6. Random-identifier redraw diagnostic. The architecture is permutation invariant when node identifiers move with their vertices. It is not invariant to replacing them by independent new identifiers. On 512 held-out graphs with 20 redraws, the prediction standard deviation normalised by training-target scale is approximately 0.050 for diameter and 0.077 for algebraic connectivity. This diagnostic is why the paper describes random identifiers as nuisance stochastic probes rather than invariant graph features.
MANI SHAYESTEHFAR
TABLE 6. Computational cost over the ten optimisation seeds. Inference time is for the complete 4,000-graph test set. Values are mean ± standard deviation across seeds. Training quantities for the two higher-order models are incremental to the frozen GIN backbone.
| GIN | Control Triple | Specht Triple | |
|---|---|---|---|
| Residual parameters | – | 884 | 884 |
| Incremental training time (s) | – | ||
| Peak training memory (GiB) | – | ||
| Test-set inference time (s) | |||
| Latency (ms / graph) | |||
| Throughput (graphs / s) | |||
| Peak inference memory (GiB) |
D.7. Computational cost. We report computational measurements to quantify the cost of the representation-resolved architecture. These measurements are descriptive rather than part of the primary statistical comparison. In particular, the present experiment does not claim that Specht Triple is computationally cheaper than the generic equivariant control.
All three residual architectures have exactly 884 trainable parameters. They nevertheless perform substantially different amounts of computation. The timing table covers Control Triple and Specht Triple; it does not report a matched timing measurement for Projector Control. Control Triple applies a general -equivariant Johnson-algebra operator to the triple signal before the nonlinearity, whereas Specht Triple first resolves the signal into irreducible source components and explicitly evaluates multiple nonlinear source-to-target routes.
Benchmark protocol. We benchmarked the frozen models for each of the ten optimisation seeds on the complete 4,000-graph test set. For inference, each model received two warm-up passes followed by nine timed passes, with CUDA synchronisation before and after each measurement. The median of the nine repetitions was recorded for each seed. Table 6 reports the mean and standard deviation of these seed-level measurements. Peak memory denotes peak CUDA memory allocated during the corresponding computation. Training times and training-memory measurements are those recorded during the original ten residual-branch training runs; the GIN backbone was frozen and therefore has no incremental training entry.
The exact parameter match therefore does not imply a compute match. On average, Specht Triple required approximately the incremental training time and the peak training memory of Control Triple. For end-to-end inference, Specht Triple required approximately the test-set inference time of Control Triple and its peak allocated inference memory.
It is also useful to separate the common GIN computation from the cost of the higher-order residual branch. Relative to GIN alone, Control Triple added s to inference over the full test set, whereas Specht Triple added s. The corresponding incremental peak allocations were approximately GiB and GiB, respectively. Thus the explicit representation-resolved route computation is the dominant additional cost of Specht Triple.
These measurements clarify the interpretation of the predictive results. The reduction in test error from Control Triple to Specht Triple is not an efficiency gain obtained by increasing parameter count: both residual branches use 884 trainable parameters. Rather, Specht Triple spends additional computation to impose a more structured nonlinear parameterisation. These measurements describe the additional cost of the explicit route computation on the small-graph benchmark; they do not establish large-graph efficiency or isolate the reason for the predictive gain.
Scaling of the implementation. At fixed channel width, storing features on all triples costs memory. The implementation applies Johnson adjacency through pair-triple incidence: if for , , then . Each triple has three incident pairs, so has nonzeros and applying costs at width . The projectors are fixed-degree polynomials in , and the route count is fixed, giving work and storage for the representation operations, apart from the common backbone and channel mixing. This is an operation count for the supplied sparse implementation, not a measured scaling law. Dense projector storage would instead cost and is avoided. Increasing graph order can still make the cubic feature tensor impractical; no performance or numerical-stability claim outside the tested range is made.
APPENDIX E. WORKED CYCLIC-GROUP EXAMPLE
This example, also discussed in Shayestehfar [Sha26, Section 4.3], illustrates the separation between algebraically available degrees and degrees supplied by an activation without involving the graph experiment.
Let and let be the real regular representation with its indicator basis. Its irreducible decomposition is
where is trivial, is the sign representation and the are two-dimensional real rotation representations. The minimal degree
with , is shown below, with sources on rows and targets on columns.
| 0 | |||||
| 0 | 1 | ||||
| 0 | 4 | 1 | 2 | 3 | |
| 0 | 2 | 1 | |||
| 0 | 4 | 3 | 2 | 1 |
For the rotation sources, this follows from the closed congruence condition
For example and , whereas no integer solves , so is absent at every degree.

FIGURE 3. The graded Hom graph for . Edge labels give the first degree at which the corresponding symmetric-power Hom space becomes nonzero.
ReLU has Hermite support . The two routes first occur in odd degree three and, in fact, only in higher odd degrees. They are therefore absent from the
MANI SHAYESTEHFAR
ReLU interaction graph even though both source and target are faithful. A translated ReLU has
so every nonzero translation restores both cubic routes. For the regular representation of a finite abelian group, every permitted degree has a nonzero coordinate polynomial [Sha26, Proposition 3.14]. In this example it is therefore the activation coefficient that removes the otherwise realised cubic routes. This implication is special to these coordinates and is not valid for arbitrary permutation representations.

FIGURE 4. Cumulative construction of the coordinatewise ReLU interaction graph on . ReLU retains degrees 0, 1 and positive even degrees, so the degree-three red routes never enter.
SCHOOL OF MATHEMATICS AND STATISTICS, THE UNIVERSITY OF SYDNEY, SYDNEY, NSW, AUSTRALIA Email address: mani.shayestehfar@sydney.edu.au Personal Webpage: https://maani.info