Manuscript Offprint
arXiv:2610.35036Mapping the Solution-Set Structure of Grokking on Latin Squares
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Grokking is a delayed transition from memorisation to generalisation. A network first fits observed examples while remaining near chance on held-out inputs, then generalises abruptly. Prior work has focused mainly on this delay, finding that the network's main loss becomes weight decay after the fitting phase. We name the solution to this optimization problem as the minimum-norm endpoint, and study which tasks make all minimum-norm endpoints generalise from partial observations. Specifically, we model pairwise input tasks as edge colourings of , with Latin colourings as our structured family, and classify each observed instance as all-good, mixed, or no-good by its endpoint set. Furthermore, we prove two contrasting results: (1) Finite-abelian-group families are asymptotically all-good from partial observations; (2) Under a uniform random Latin square, all-good tasks become asymptotically rare for observation-based learners, leaving mixed or no-good behaviour. Moreover, experiments show that relabellings of addition generalise despite their dense polynomial representations. Finally, on tasks of composite order, finite-training results suggest that predictors learn a coarse part of the output before the full label.
1 INTRODUCTION
Grokking is delayed generalisation: a network fits its training examples, remains near chance on held-out inputs for a long period, and then generalises abruptly (Power et al., 2022). The classical instance is modular addition, where the network observes some pairs with their sums and must infer the rest. Such a learning curve combines two things, the quality of the predictor that training eventually reaches and the time taken to reach it, and existing work examines how learned representations, regularisation, and the training data shape this behaviour (Nanda et al., 2023; Mohamadi et al., 2024; Gu et al., 2025). However, a run that generalises shows that there exists one solution does; it does not show that every solution a training could have selected would. We isolate the generalisation behaviour and ask it at the level of the task. Defining the minimum-norm endpoint as the solution to the weight decay-induced optimization problem, our central question is therefore: which task structures make the entire minimum-norm endpoint set generalise?
Answering it needs modelling of the task and endpoint set. A pairwise input task assigns an output to every pair of inputs, and we encode it as an edge colouring of the complete bipartite graph : the two input alphabets are the two vertex classes, each pair is an edge, which we also call a cell, and the output is its colour. Written out, the colouring is a table, and at prime-power order it is a polynomial over ; table, graph, and polynomial are three coordinates on one object. The colouring is Latin when it is proper, so that no vertex sees a colour twice; in table coordinates every symbol appears exactly once in each row and column, so the Latin colourings are the Latin squares of combinatorics. Every group multiplication table is one, and the family therefore contains modular addition together with its natural competitors. Permuting the vertices within either class, permuting the colours, or swapping the two classes only changes how the table is written; we call such a move a relabelling, and the orbit of a colouring under relabellings is our task object. Training observes a uniformly random subset of the cells of fixed size.

Figure 1: Coordinates, endpoint sets, and the two poles. Left: ; a relabelling of it, 9,118 terms and degree 190; and a random-matching colouring outside the orbit. Middle: the minimum-norm interpolators agree on the observed cells, may differ elsewhere; their extremes cut into all-good, mixed, no-good. Right: each orbit maps to a simplex point; abelian group families sit at the all-good vertex (cyclic addition illustrated), while the uniform Latin ensemble sits on the opposite edge, where the mixed/no-good split is open.
The network reads an edge through its two endpoints, with one embedding table per vertex class, a hidden ReLU layer, and a head over the colours. For the endpoint of training we follow implicit-bias theory, which motivates the minimum-norm interpolator as the idealised late-training object (Soudry et al., 2018; Lyu & Li, 2020; Neyshabur et al., 2015). A partially observed colouring, however, has many minimum-norm interpolators: all meet the margins on the observed cells and are free to disagree on the rest, and a handful of training runs yields a few selected predictors without certifying that they belong to this set or how the set behaves as a whole. We therefore take the whole set, the endpoint set, as the object of study, and describe it by what holds across it at a fixed held-out threshold : an observed instance is all-good if every minimum-norm interpolator generalises, no-good if none does, and mixed if both kinds coexist. Averaged over the random observations, the three probabilities form the task's phase profile, a point of a triangle (Figure 1, middle and right).
Relabelling induces a norm-preserving bijection between endpoint sets and preserves the law of the observations, so the phase profile is well defined on orbits: it is a map from colouring orbits to the triangle. The network realises the bijection by permuting the rows of its embedding tables and of its head. This separates task structure from its polynomial description. Take and relabel it. The endpoint set is transported by the bijection, but the polynomial coordinate becomes a polynomial over with 9,118 nonzero terms and total degree 190, with essentially the same support density and the same degree as a proper colouring assembled from random perfect matchings, which lies outside the orbit. Networks trained on the relabelled colouring memorise and then generalise as they do on ; networks trained on the random-matching colouring end below chance (Figure 1, left). Relabelling preserves the phase while changing polynomial sparsity and degree, and in this comparison those coordinate statistics also fail to distinguish the trained predictors' outcomes. This is why we work with orbits.
Our results place two structures at opposite poles of the triangle. The all-good pole contains every finite abelian group family: at any fixed positive observation fraction, the worst endpoint accuracy converges to one in probability as the order grows. Cyclic addition is one instance, and non-isomorphic abelian groups supply distinct all-good orbits. At the opposite pole, a uniformly random Latin colouring defeats every learner that reads only the observations, at any fixed positive accuracy; consequently the colourings with a non-negligible all-good component have vanishing uniform mass. Generalisation is thus guaranteed throughout a structured family yet rare in the ambient space.
The core of our theory is a lemma of carrier criterion: a network that scores the full grid with controlled margins at a known norm cost. It bounds the cost of every minimum-norm endpoint on every mask, and a finite atlas fixed before the observations counts the harmful low-norm alternatives, whose number is too small for any of them to evade a random mask. The criterion does not depend on the colouring, and abelian characters provide carriers uniformly across group structures. Therefore, we have proven that satisfying this lemma is a sufficient condition for all good. We conjecture that the carrier criterion is also necessary: every asymptotically all-good Latin family admits a full-grid carrier in the same norm-and-margin regime.
Experiments at composite order 64 compare the guaranteed families with non-abelian and non-group candidates and show that coarse output factors are recovered before exact labels. These trained predictors probe structure; they do not measure the phase of the whole endpoint set. Whether a typical random colouring has some good endpoint, and whether any family carries non-vanishing mixed mass, remain open.
• Two poles: every finite abelian group family is asymptotically all-good, while the uniform Latin ensemble defeats every learner at any fixed positive held-out accuracy.
• A colouring-independent carrier criterion for all-goodness, together with the conjecture that this criterion is necessary.
• Experiments in the same model class: relabelled addition groks like addition while looking like noise, and at composite order structured tasks recover coarse output factors before exact labels.
Paper Organization. Section 2 reviews prior work, Section 3 defines the model, Section 4 states and proves the two poles and the abelian extension, Section 5 reports the composite-order experiments and states the conjecture, and Section 6 concludes. Experiments that speak directly to the theory follow the theory itself.
2 RELATED WORK
Grokking is reported in non-neural models (Mallinar et al., 2024), deep networks (Fan et al., 2024; Manir & Rupa, 2026), in-context and multi-hop reasoning (He et al., 2024; Wang et al., 2024; Abramov et al., 2025), and LLM pretraining (Li et al., 2025); its onset needs a critical data fraction (Zhu et al., 2024; Huang et al., 2024) and its delay can be shortened (Thilak et al., 2022; Lee et al., 2024; Park et al., 2024; Kunin et al., 2024; Xu et al., 2025). Related approaches include representation learning, norm and optimisation bias, and circuit competition. Representation-level work studies Fourier circuits and progress measures (Nanda et al., 2023; Gromov, 2023; Furuta et al., 2024; Barak et al., 2022), spectral dynamics (Zhou et al., 2024; Yunis et al., 2024), embedding bottlenecks (AlQuabeh et al., 2025), architectural bias (Singh et al., 2026; Yıldırım, 2026), task symmetry (Hwang & Park, 2026), embedding uniformity coupled to the training distribution (Gu et al., 2025), feature-emergence scaling laws (Tian, 2025), and topological signatures (Tang et al., 2026). Norm- and optimisation-based accounts appeal to implicit bias toward max-margin, minimum-norm endpoints (Soudry et al., 2018; Lyu & Li, 2020; Neyshabur et al., 2015; Lyu et al., 2024; Mohamadi et al., 2024; Humayun et al., 2024), to norm minimisation on the zero-loss manifold (Muşat, 2025; Tikeng Notsawo et al., 2025), to the edge of linear separability (Beck et al., 2025), to numerical stability (Prieto et al., 2025), sharpness (Miller et al., 2024), Jacobian alignment (Walker et al., 2025), and quantitative delay laws (Truong et al., 2026; Tan et al., 2026; Ersoy & Wiesner, 2026). Competition accounts pit a slow generalising circuit against a fast memorising one (Varma et al., 2023; Merrill et al., 2023), linking grokking to double descent and emergent abilities (Davies et al., 2023; Huang et al., 2024; Liu et al., 2022), with phase-transition, statistical, basin-selection, and capacity variants (Clauw et al., 2024; Carvalho et al., 2025; Cullen et al., 2026; Song & Ye, 2026; Luo et al., 2026). Provable results include generalisation guarantees for bounded-norm quadratic networks on modular addition (Mohamadi et al., 2024) and delay bounds in ridge regression (Xu et al., 2026). Gu et al. (2025) separately analyse the accuracy ceiling and embedding dynamics; Appendix E.2 discusses their ceiling and transition-time measurements. Our setting fixes a ReLU architecture and a uniform mask law, compares Latin colourings up to relabelling, and quantifies over every minimum-norm response. These choices specify the scope of our endpoint guarantees.
3 LATIN-SQUARE TASKS AND THE ENDPOINT SET
This section builds the objects the introduction used informally: the task and its observed part, the endpoint set, its three phases, and the relabelling invariance that makes the phase a property of the task rather than of its presentation.
3.1 TASKS, MASKS, AND THREE COORDINATES
Let , , , and . A pairwise classification task is a colouring ; the set of all colourings is . A colouring is Latin when every symbol occurs exactly once in each row and each column; denotes the Latin colourings of order . For every , modular addition is Latin and is the cyclic prototype of the abelian all-good family proved below.
Fix . The observed cells form a uniformly random mask of fixed size,
T is the held-out set and the dataset. All asymptotic statements hold at fixed .
Proposition 3.1 (Two coordinates, and a third at prime-power order). For every , a label table and a q-edge-colouring of (colour on the edge ) determine each other. When is a prime power and is identified with , both are also equivalent to the unique reduced polynomial with , and . is Latin if and only if the edge colouring is proper, i.e. each colour class is a perfect matching.
3.2 THE MINIMUM-NORM ENDPOINT SET
The model is a bias-free one-hidden-layer ReLU network with a separate embedding table for each input, , a hidden layer , and a head , where and ; the width allows one hidden unit per cell, which is what feasibility needs, and the embedding dimension exceeds the rank of any reduced representation. Writing ,
As a function class the pair embedding contains the common design that shares one table E and concatenates , since ; the norms differ, so the endpoint sets need not coincide. The endpoint set of an observed dataset is the set of global minimisers of the parameter norm under unit margins on the observed cells,
Max-margin and implicit-bias results for homogeneous networks motivate this as the idealised late-training object (Soudry et al., 2018; Lyu & Li, 2020; Neyshabur et al., 2015). is a set: all its members meet the margins on , and they may predict differently on . Appendix B.2 treats the extension to -regularised biases.
Three of the four parameter blocks can be folded into one matrix, which is the form the proofs work with. Assemble , put and , so that . Call a reduced representation and define
(4)
Lemma 3.2 (Reduced normalisation). The optimal value of (3) is , and every global minimiser is balanced: and .
In words: the nuclear norm of Z is the cost of its cheapest factorisation into a hidden layer and an embedding, and the scale freedom of the ReLU then balances the head against the rest, so an endpoint is simply a score table whose product is as small as the observations allow. This product is the one quantity the main proof tracks.
3.3 PHASES OF THE ENDPOINT SET AND THE PHASE PROFILE
Fix and and write . Strict held-out accuracy counts a score tie as an error, and the best and worst endpoint accuracies are its extrema over the endpoint set:
For a threshold the endpoint set is in exactly one of three phases, each a quantifier over :
Write for their indicators and for “some endpoint is good”. Averaging over the mask, for , gives the phase probabilities and the phase profile,
Proposition 3.3 (Phase decomposition). is non-empty for every and . For every the three phases in (6) are mutually exclusive and exhaustive, so lies in the simplex .
The threshold only decides where an instance falls; the extremes are properties of the set itself. A fixed instance is all-good for thresholds up to , mixed between and , and no-good above, so it is mixed at some threshold exactly when different endpoints achieve different accuracies (Appendix B.1).
3.4 INVARIANCE: THE PROFILE LIVES ON COLOURING ORBITS
Permuting rows, columns, or symbols, or exchanging the two inputs, changes how a table is written and nothing about the learning problem. The formal name for this equivalence is colouring isomorphism (for Latin squares, isotopy together with transposition); the paper calls it relabelling.
Definition 3.4 (Colouring isomorphism). when there are with for all , or for all . The quotients are and .
Theorem 3.5 (Quotient invariance). Let . There are bijections of fixed-size masks and of endpoint sets, preserving the parameter norm and the mask law, under which corresponding endpoints have the same logits, the same truth–rival margins, and the same strict correctness at every cell. Consequently and are well defined on , hence on , for every .
The proof is short: relabelling the task amounts to permuting the entries of the two embedding tables and the rows of the head, and swapping the two tables under transposition, and each of these moves preserves the norm, the margin constraints, and cellwise correctness. The consequence is that the profile becomes a function on orbits, the classification map
which is the object classified in the rest of the paper. One consequence deserves to be seen before the full proof (Appendix C.2): the support size and degree of the polynomial coordinate are not orbit invariants, so every relabelled representative of the addition orbit has the profile of , however dense its polynomial.
Dense representatives of addition grok. Figure 2 is the invariance theorem seen from the data side. Ten random relabellings of at give tables whose reduced polynomials have total degree 190 and 97% coefficient support, matching the random-matching Latin controls in

Figure 2: Relabelled addition groks like addition.
both statistics, while their orbit is still that of . All 30 runs memorise and then generalise, ending at median held-out accuracy 1.000; the 24 controls fit their training cells and end below 0.0014 held-out. Reusing a symbol already seen in the row or column of a cell is always wrong by the Latin property, so below-chance accuracy is possible. Within the orbit final accuracies cluster near one but the delays vary with the optimisation seed: a random-effects decomposition of the transition midpoint attributes about 93% of its variance to it (Appendix D.3). At this order, these runs support a stable final outcome with variable delay; they do not certify membership in or measure its phase. The next section states the endpoint guarantees.
4 TWO POLES OF THE LATIN QUOTIENT
Informal Results. The objects of the previous section turn the question of the introduction into a map: each relabelling orbit of Latin colourings is sent to its phase profile, a point of the triangle whose corners are all-good, mixed, and no-good. Which orbits sit at the all-good corner? Which carry mixed mass? And where does the orbit of a uniformly random Latin colouring sit? Our results answer the first for every abelian group family and the third in its all-good coordinate, with the observation fraction and the success threshold held fixed while the order grows.
Informal Theorem (Two poles of the Latin quotient). Fix an observation fraction and a success threshold and let the order tend to infinity.
(i) Abelian group families are all-good: along any sequence of finite abelian groups of growing order, the worst minimum-norm endpoint accuracy converges to one in probability, so the profile converges to the all-good corner.
(ii) Uniform Latin squares are unlearnable from the observations: for a uniformly random Latin colouring, no learner whose prediction depends only on the observed cells reaches the success threshold with probability bounded away from zero. Consequently orbits with a non-negligible all-good component have vanishing mass under this law.
Part (i) concerns every endpoint of each task in a structured family; part (ii) concerns every learner under a random task law. The latter controls the all-good coordinate, leaving open whether a typical colouring has some good endpoint.
4.1 THE MAIN RESULTS
We prove cyclic addition first and obtain every abelian group from it as a corollary, rather than proving the general statement directly: both proofs share one method, a carrier and a notch; the notch is insensitive to the colouring, and only the characters that build the carrier change from to a general abelian group. The cyclic case thus shows the whole argument in its most concrete form. Part (ii) needs two pieces of vocabulary: a task ensemble, since it concerns a random Latin square, and a learner, since it quantifies over everything that reads the observations. A task ensemble is a sequence of distributions on ; we use and . A learner is a deterministic map from observed datasets to score tables on , that is, to functions read through as in (5) (a randomised learner is covered by conditioning on its coins). With and independent,
A selector is a learner with for some ; since depends on the observations alone, any choice function on it is a learner, and one exists because the endpoint set is never empty.
Theorem 4.1 (Cyclic prototype and uniform obstruction). Fix and let .
(i) (Addition is all-good.) The worst endpoint accuracy converges to one in probability over the mask,
(ii) (Uniform Latin squares defeat every learner.) Uniformly over all learners ,
(11) hence and for every .
The two parts are proved in the next two subsections. The second part is pure counting and never looks at the model; the phase enters only through the observation that on an all-good instance every selector succeeds, so , and Markov's inequality turns the vanishing expectation into the vanishing-mass statement. Nothing in either proof depends on the arithmetic of : the theorem holds along every sequence of orders, with the cyclic group table of order . Written as , the bound in (11) becomes informative once ; the statement about orbits is the push-forward of the uniform law on squares.
4.1.1 ADDITION: A CARRIER AND A NOTCH
The all-good pole rests on two lemmas. The first exhibits a cheap network that computes the whole addition table with a comfortable margin; the second says that, with high probability over the observed cells, no cheap network can agree with the observations and still be confidently wrong on a constant fraction of the table.
Lemma 4.2 (Addition carrier). There is an absolute constant such that for every sufficiently large there is a full-grid score table of width whose truth–rival gaps and product norm satisfy, for all and ,
The carrier is the Fourier-multiplication circuit of the interpretability literature, made explicit and costed. Roughly frequencies suffice for their averaged cosine to separate the correct sum from every wrong one by a constant gap; a small ReLU expansion of a piecewise-linear square approximates the required products of cosines and sines, and each of its hinges splits into a row part plus a column part, which is what the additive architecture needs. A constant number of hidden units per frequency gives product norm (Appendix C.3.1).
Lemma 4.3 (One-sided notch). Fix and let be a deterministic sequence with . With probability over there is no table , of any finite width, with that satisfies both
(1) for every and , where ; and
(2) at least cells admit a rival with .
Both names are descriptive: the carrier carries the whole table at a known cost, and the notch is the region of the norm–error plane the lemma cuts out, cheap tables that fit the observations yet err confidently on a constant fraction of cells. The difficulty is that may be chosen after the mask is seen, and the proof meets it in three steps. Before the mask is drawn it fixes a finite atlas of suspect cell sets, such that the wrong cells of every cheap confidently-wrong table are covered, up to a vanishing fraction of , by some member. The atlas is small: splitting at rank about , replacing both parts by a few sampled atoms, covering the sampled core by integer codes (Zhang, 2002; Ledent et al., 2021), and counting the sign patterns of the resulting polynomial gates (Caro & Datta, 2020) give , a count that needs exactly the scaling assumed of . And a fixed set of cells meets a uniform mask in too few cells only with probability , while a cheap table that is confidently wrong on an observed cell violates its margin there (Appendix C.3.2). Part (i) is therefore the competition
the carrier serving only to put every endpoint inside the budget ; width enters through the budget alone (Appendix E.1).
Proof of Theorem 4.1(i). Padded with zero hidden rows to width , is feasible for the minimisation defining on every addition mask, so , and by Lemma 3.2 each endpoint response has a width- reduced representation with . Take and . On an observed cell against a carrier gap of at most 9, so ; at a held-out non-strict error, including a tie, some rival has against a carrier gap of at least 1, so . Balancing both representations by homogeneity and stacking them, and represent with and , so
Then , and the stack has width , which Lemma 4.3 permits. An endpoint with has more than non-strict errors, so with its table is excluded by the lemma. The exclusion event is a property of the mask, so it holds simultaneously for all endpoints: with probability , . This holds for every fixed , which is ; the phase decomposition gives the profile limit.
Corollary 4.4 (Abelian group families are all-good). Let be any sequence of finite abelian groups with , identify their elements with , and let be their group tables. For every fixed ,
The conclusion holds for every relabelled representative.
Cyclic frequencies are the characters of ; replacing them by the characters of preserves the carrier's width , gaps [1, 9], and cost , and the notch uses no group arithmetic, so the same budget proves the corollary. The general criterion and full character calculation are in Appendices E.3.1 and E.3.2.
4.1.2 UNIFORM LATIN SQUARES: A COUNTING BOUND
Lemma 4.5 (Counting). Let and . For every learner ,
(a)
(b)
The uniform pole needs no geometry. Part (a) fixes the mask, notes that the observed labels can take at most values, and for each value counts the tables within Hamming distance of what the learner predicts; part (b) is a lower bound on the number of Latin squares, obtained by extending a square row by row and applying the van der Waerden permanent bound to the admissible entries of each new row (Egorychev, 1981; Falikman, 1981; Gurvits, 2005); the bound is essentially sharp, since (van Lint & Wilson, 2001). The ratio of the two counts is the theorem.
Proof of Theorem 4.1(ii). Since and , the two parts of (16) give , uniformly in . On an all-good instance every deterministic selector succeeds, so for any such selector.
Remark 4.6 (Biases). With hidden bias and output bias added to (2) and to the penalised norm, both assertions of the theorem survive (Corollary B.4): a biased endpoint response has a bias-free analysis representation of product , so and (13) is unchanged. Remark 4.7 (Vanishing observation fractions). Applying part (i) at and choosing orders beyond which the failure probability at accuracy is below yields along which still holds. This is existence without a rate; the rate the atlas calculation suggests, , is recorded as a proof-guided scaling question in Appendix B.4, and the empirical thresholds of Table 3 fall from 0.33 at to 0.20 at .
Remark 4.8 (What part (ii) leaves open). The existential probability under , the mixed/no-good boundary of the triangle, has no known limit, nor is any sequence with non-vanishing mixed mass known; Appendix B.5 packages the programme. The non-abelian and non-group extensions of the carrier criterion also remain open.

exact label

2-way factor

4-way factor
8-way factor
Figure 3: Coarse factors are recovered before exact labels. Colour encodes label resolution: exact label and the prespecified 2-, 4-, 8-way factor quotients. Left: held-out accuracy at nominal 30% coverage (runs small, medians outlined). Right: nested masks at 20%, 30%, 40%; coarse factors saturate one coverage level before the exact label.
5 BEYOND THE POLES: STRUCTURED FAMILIES AT COMPOSITE ORDER
At we compare the abelian all-good families of the previous section with non-abelian and non-group candidates, using product factors unavailable at prime order to measure partial label recovery. Runs follow Appendix D.1 with label-stratified masks (distinct from ); they do not measure the phase of . is the cyclic table, the elementary abelian table, a task-seeded Latin table built from random perfect matchings (Appendix D.3), and products are direct products.
Group laws beyond cyclic addition. Every group-table run in Table 1 transitions; completes exactly, and the other medians are 0.87–0.95. These finite-training outcomes need not match the asymptotic phase: 30% is at addition's training threshold at nearby orders (Table 3). yields one run above 0.99. The dihedral and non-group cases motivate further carriers (Appendix E.3).
Factor recovery with weak exact completion. The table carries a binary label component even when its 32-way residual is hard to infer. Runs are scored on exact labels and on factor quotients: projections of predicted and true labels to product factors, distinct from the orbit quotient . In Figure 3, left, replacing the cyclic residual by the random lowers median exact recovery to chance or below, while binary accuracy remains above 0.98: one label component is recovered while finer components remain unresolved.
Table 1: Final trained predictors at , 30% coverage, six runs per family. “Transition” is the plateau-relative event of Appendix D.1; 0.99 is a reporting cutoff unrelated to .
| Latin family | final outcome over 6 runs | ||
|---|---|---|---|
| trans. | med. acc. | ≥0.99 | |
| 6/6 | 1.000 | 6/6 | |
| 6/6 | 0.949 | 3/6 | |
| 6/6 | 0.941 | 2/6 | |
| Dih64 | 6/6 | 0.870 | 1/6 |
| 4/6 | 0.231 | 1/6 | |
Coverage moves the recovered resolution. The nested-mask panels re-train the same task and optimisation seeds at increasing coverage. Coarse factors are recovered before exact labels, with the residual structure setting the required coverage: for the exact median rises while the binary factor is 0.948 already at . This suggests a coordinate for the open region: the finest factor resolved at a given coverage (Appendix D.4). Checkpoint trajectories, alternate factor directions, and probe interventions (Appendix D.5) confirm that the factor accuracies reflect structured label resolution, not exact hits alone.
These observations motivate carriers beyond abelian groups and for coarse factors. For the all-good limit, we propose the following robust necessity conjecture.
Conjecture 5.1 (Robust margin necessity). Let be deterministic with . If for every fixed under the corresponding uniform mask law, then admits mask-independent carriers of width at most , with truth–rival gaps at least 1 outside cells and product norm .
Appendix E.3.5 gives the precise formulation, motivation, and remaining proof gaps.
6 CONCLUSION
We study which task structures make the entire minimum-norm endpoint set generalise. Our carrier criterion guarantees this asymptotically for every finite abelian group family, whereas the uniform Latin ensemble defeats observation-based learners at fixed positive accuracy. Moreover, relabelling preserves endpoint generalisation despite changing polynomial complexity, making task structure central to this classification. Composite-order experiments further suggest recovery through coarse factors, without characterising the whole endpoint set. Together, these results connect grokking to the generalisation properties of its idealised endpoints, leaving carrier necessity and the mixed/no-good boundary as open questions.
AI Use STATEMENT
Generative AI tools were used to improve the language and clarity of the manuscript, and to surface existing results in the literature that shortened the proofs. The authors located the original sources and verified each result in the form used; the external proof ingredients are stated explicitly in Appendix C.4.
REFERENCES
Roman Abramov, Felix Steinbauer, and Gjergji Kasneci. Grokking in the wild: Data augmentation for real-world multi-hop reasoning with transformers. In Int. Conf. Mach. Learn. (ICML), 2025. arXiv:2504.20752. 3
Hilal AlQuabeh, Velibor Bojkovic, Munachiso Nwadike, and Kentaro Inui. Mechanistic insights into grokking from the embedding layer. arXiv preprint arXiv:2505.15624, 2025. 3
Boaz Barak, Benjamin Edelman, Surbhi Goel, Sham Kakade, Eran Malach, and Cyril Zhang. Hidden progress in deep learning: SGD learns parities near the computational limit. In Adv. Neural Inform. Process. Syst. (NeurIPS), volume 35, pp. 21750–21764, 2022. 3
Alon Beck, Noam Levi, and Yohai Bar-Sinai. Grokking at the edge of linear separability. In Int. Conf. Mach. Learn. (ICML), 2025. arXiv:2410.04489. 3
Matthias C. Caro and Ishaun Datta. Pseudo-dimension of quantum circuits. Quantum Machine Intelligence, 2(2):14, 2020. arXiv:2002.01490. 7, 26
Breno W. Carvalho, Artur S. d'Avila Garcez, Luís C. Lamb, and Emílio Vital Brazil. Grokking explained: A statistical phenomenon. arXiv preprint arXiv:2502.01774, 2025. 3
Kenzo Clauw, Sebastiano Stramaglia, and Daniele Marinazzo. Information-theoretic progress measures reveal grokking is an emergent phase transition. arXiv preprint arXiv:2408.08944, 2024. 3
Ben Cullen, Sergio Estan-Ruiz, Riya Danait, and Jiayi Li. A basin-selection perspective on grokking via singular learning theory. arXiv preprint arXiv:2603.01192, 2026. 3
Xander Davies, Lauro Langosco, and David Krueger. Unifying grokking and double descent. arXiv preprint arXiv:2303.06173, 2023. 3
G. P. Egorychev. The solution of van der Waerden's problem for permanents. Advances in Mathematics, 42(3):299–305, 1981. 8, 26
Ibrahim Talha Ersoy and Karoline Wiesner. Noise-driven escape from metastable phases explains grokking in deep neural networks. arXiv preprint arXiv:2606.17120, 2026. 3
Pavel Etingof, Oleg Golberg, Sebastian Hensel, Tiankai Liu, Alex Schwendner, Dmitry Vaintrob, and Elena Yudovina. Introduction to representation theory, 2011. URL https://math.mit.edu/~etingof/rereflect.pdf. Lecture notes, January 10. 26, 33
D. I. Falikman. Proof of the van der Waerden conjecture on the permanent of a doubly stochastic matrix. Mathematical Notes of the Academy of Sciences of the USSR, 29(6):475–479, 1981. 8, 26
Simin Fan, Razvan Pascanu, and Martin Jaggi. Deep grokking: Would deep neural networks generalize better? arXiv preprint arXiv:2405.19454, 2024. 3, 31
Hiroki Furuta, Gouki Minegishi, Yusuke Iwasawa, and Yutaka Matsuo. Interpreting grokked transformers in complex modular arithmetic. arXiv preprint arXiv:2402.16726, 2024. 3
Andrey Gromov. Grokking modular arithmetic. arXiv preprint arXiv:2301.02679, 2023. 3
Zihan Gu, Ruoyu Chen, Hua Zhang, Yue Hu, and Xiaochun Cao. Beyond progress measures: Theoretical insights into the mechanism of grokking. arXiv preprint arXiv:2504.03162, 2025. 1, 3, 31
Leonid Gurvits. A proof of hyperbolic van der Waerden conjecture: the right generalization is the ultimate simplification. Electronic Colloquium on Computational Complexity (ECCC), 2005. Report TR05-103; arXiv:math/0504397. 8, 26
Tianyu He, Darshil Doshi, Aritra Das, and Andrey Gromov. Learning to grok: Emergence of in-context learning and skill composition in modular arithmetic tasks. arXiv preprint arXiv:2406.02550, 2024. 3
Wassily Hoeffding. Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association, 58(301):13–30, 1963. 19, 22, 26
Yufei Huang, Shengding Hu, Xu Han, Zhiyuan Liu, and Maosong Sun. Unified view of grokking, double descent and emergent abilities: A perspective from circuits competition. arXiv preprint arXiv:2402.15175, 2024. 3
Ahmed Imtiaz Humayun, Randall Balestriero, and Richard Baraniuk. Deep networks always grok and here is why. In Int. Conf. Mach. Learn. (ICML), 2024. 3
Hyeonbin Hwang and Yeachan Park. Intrinsic task symmetry drives generalization in algorithmic tasks. arXiv preprint arXiv:2603.01968, 2026. 3
Daniel Kunin, Allan Raventos, Clémentine Carla Juliette Dominé, Feng Chen, David Klindt, Andrew M Saxe, and Surya Ganguli. Get rich quick: exact solutions reveal how unbalanced initializations promote rapid feature learning. In High-dimensional Learning Dynamics 2024: The Emergence of Structure and Reasoning, 2024. 3
Antoine Ledent, Waleed Mustafa, Yunwen Lei, and Marius Kloft. Norm-based generalisation bounds for deep multi-class convolutional neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pp. 8279–8287, 2021. arXiv:1905.12430. 7, 25
Jaerin Lee, Bong Gyun Kang, Kihoon Kim, and Kyoung Mu Lee. Grokfast: Accelerated grokking by amplifying slow gradients. arXiv preprint arXiv:2405.20233, 2024. 3
Ziyue Li, Chenrui Fan, and Tianyi Zhou. Grokking in LLM pretraining? monitor memorization-to-generalization without test. arXiv preprint arXiv:2506.21551, 2025. 3
Ziming Liu, Ouail Kitouni, Niklas S Nolte, Eric Michaud, Max Tegmark, and Mike Williams. Towards understanding grokking: An effective theory of representation learning. In Adv. Neural Inform. Process. Syst. (NeurIPS), volume 35, pp. 34651–34663, 2022. 3
Róisín Luo, Christian Gagné, Jonas Ngnawé, Ihsan Ullah, and Karyn Morrissey. A stochastic–geometric theory of scaling laws in grokking. arXiv preprint arXiv:2606.30388, 2026. 3
Kaifeng Lyu and Jian Li. Gradient descent maximizes the margin of homogeneous neural networks. In International Conference on Learning Representations (ICLR), 2020. 2, 3, 4
Kaifeng Lyu, Jikai Jin, Zhiyuan Li, Simon Shaolei Du, Jason D. Lee, and Wei Hu. Dichotomy of early and late phase implicit biases can provably induce grokking. In Int. Conf. Learn. Represent. (ICLR), 2024. 3
Neil Mallinar, Daniel Beaglehole, Libin Zhu, Adityanarayanan Radhakrishnan, Parthe Pandit, and Mikhail Belkin. Emergence in non-neural models: grokking modular arithmetic via average gradient outer product. arXiv preprint arXiv:2407.20199, 2024. 3
Shalima Binta Manir and Anamika Paul Rupa. A systematic empirical study of grokking: Depth, architecture, activation, and regularization. arXiv preprint arXiv:2603.25009, 2026. 3, 31
William Merrill, Nikolaos Tsilivis, and Aman Shukla. A tale of two circuits: Grokking as competition of sparse and dense subnetworks. arXiv preprint arXiv:2303.11873, 2023. 3
Jack Miller, Patrick Gleeson, Charles O'Neill, Thang Bui, and Noam Levi. Measuring sharpness in grokking. arXiv preprint arXiv:2402.08946, 2024. 3
Mohamad Amin Mohamadi, Zhiyuan Li, Lei Wu, and Danica J Sutherland. Why do you grok? a theoretical analysis of grokking modular addition. arXiv preprint arXiv:2407.12332, 2024. 1, 3
Tiberiu Muşat. The geometry of grokking: Norm minimization on the zero-loss manifold. arXiv preprint arXiv:2511.01938, 2025. 3
Neel Nanda, Lawrence Chan, Tom Lieberum, Jess Smith, and Jacob Steinhardt. Progress measures for grokking via mechanistic interpretability. In Int. Conf. Learn. Represent. (ICLR), 2023. 1, 3
Behnam Neyshabur, Ryota Tomioka, and Nathan Srebro. Norm-based capacity control in neural networks. In Proceedings of the 28th Conference on Learning Theory (COLT), pp. 1376–1401, 2015. 2, 3, 4
Yeachan Park, Minseok Kim, and Yeoneung Kim. Acceleration of grokking in learning arithmetic operations via kolmogorov-arnold representation. arXiv preprint arXiv:2405.16658, 2024. 3
Gilles Pisier. Remarques sur un résultat non publié de B. Maurey. In Séminaire d'Analyse Fonctionnelle (Polytechnique), pp. 1–12. École Polytechnique, 1981. Exposé no. V. 20, 26
Alethea Power, Yuri Burda, Harri Edwards, Igor Babuschkin, and Vedant Misra. Grokking: Generalization beyond overfitting on small algorithmic datasets. arXiv preprint arXiv:2201.02177, 2022. 1
Lucas Prieto, Melih Barsbey, Pedro A. M. Mediano, and Tolga Birdal. Grokking at the edge of numerical stability. In Int. Conf. Learn. Represent. (ICLR), 2025. arXiv:2501.04697. 3
Jaisidh Singh, Diganta Misra, and Antonio Orvieto. Explaining grokking in transformers through the lens of inductive bias. arXiv preprint arXiv:2602.06702, 2026. 3
Yiding Song and Hanming Ye. Model capacity determines grokking through competing memorisation and generalisation speeds. arXiv preprint arXiv:2605.09724, 2026. 3
Daniel Soudry, Elad Hoffer, Mor Shpigel Nacson, Suriya Gunasekar, and Nathan Srebro. The implicit bias of gradient descent on separable data. Journal of Machine Learning Research, 19(70):1–57, 2018. 2, 3, 4
Hu Tan, Kuo Gai, and Shihua Zhang. Deciphering two training clocks in grokking via deep linear network theory with conditional ReLU reduction. arXiv preprint arXiv:2606.05863, 2026. 3
Yifan Tang, Qiquan Wang, Inés García-Redondo, and Anthea Monod. Topological signatures of grokking. arXiv preprint arXiv:2605.06352, 2026. 3
Vimal Thilak, Etai Littwin, Shuangfei Zhai, Omid Saremi, Roni Paiss, and Joshua M. Susskind. The slingshot mechanism: An empirical study of adaptive optimizers and the grokking phenomenon. In Has It Trained Yet? NeurIPS 2022 Workshop, 2022. 3
Yuandong Tian. Provable scaling laws of feature emergence from learning dynamics of grokking. arXiv preprint arXiv:2509.21519, 2025. 3
Pascal Jr Tikeng Notsawo, Guillaume Dumas, and Guillaume Rabusseau. Grokking beyond the Euclidean norm of model parameters. In Int. Conf. Mach. Learn. (ICML), 2025. arXiv:2506.05718. 3
Xuan Khanh Truong, Quynh Hoa Truong, Duc Trung Luu, and Thanh Duc Phan. The norm-separation delay law of grokking: A first-principles theory of delayed generalization. arXiv preprint arXiv:2603.13331, 2026. 3
J. H. van Lint and R. M. Wilson. A Course in Combinatorics. Cambridge University Press, 2nd edition, 2001. 8
Vikrant Varma, Rohin Shah, Zachary Kenton, János Kramár, and Ramana Kumar. Explaining grokking through circuit efficiency. arXiv preprint arXiv:2309.02390, 2023. 3
Thomas Walker, Ahmed Imtiaz Humayun, Randall Balestriero, and Richard Baraniuk. GrokAlign: Geometric characterisation and acceleration of grokking. arXiv preprint arXiv:2506.12284, 2025. 3
Boshi Wang, Xiang Yue, Yu Su, and Huan Sun. Grokked transformers are implicit reasoners: A mechanistic journey to the edge of generalization. arXiv preprint arXiv:2405.15071, 2024. 3
Hugh E. Warren. Lower bounds for approximation by nonlinear manifolds. Transactions of the American Mathematical Society, 133(1):167–178, 1968. 26
Mingyue Xu, Gal Vardi, and Itay Safran. To grok grokking: Provable grokking in ridge regression. In Proc. Int. Conf. Mach. Learn. (ICML), 2026. arXiv:2601.19791. 3
Zhiwei Xu, Zhiyu Ni, Yixin Wang, and Wei Hu. Let me grok for you: Accelerating grokking via embedding transfer from a weaker model. In Int. Conf. Learn. Represent. (ICLR), 2025. arXiv:2504.13292. 3
Alper Yıldırım. The geometric inductive bias of grokking: Bypassing phase transitions via architectural topology. arXiv preprint arXiv:2603.05228, 2026. 3
David Yunis, Kumar Kshitij Patel, Samuel Wheeler, Pedro Savarese, Gal Vardi, Karen Livescu, Michael Maire, and Matthew R Walter. Approaching deep learning through the spectral dynamics of weights. arXiv preprint arXiv:2408.11804, 2024. 3
Tong Zhang. Covering number bounds of certain regularized linear function classes. Journal of Machine Learning Research, 2:527–550, 2002. 7, 25
Zhangchen Zhou, Yaoyu Zhang, and Zhi-Qin John Xu. A rationale from frequency perspective for grokking in training neural network. arXiv preprint arXiv:2405.17479, 2024. 3
Xuekai Zhu, Yao Fu, Bowen Zhou, and Zhouhan Lin. Critical data size of language models from a grokking perspective. arXiv preprint arXiv:2401.10463, 2024. 3
A NOTATION
Table 2 lists the symbols used throughout the main text. Appendix-local symbols are defined where they enter.
Table 2: Notation used in the main text. Appendix-local symbols are defined where they enter.
| Symbol | Meaning |
|---|---|
| Task order, symbol set , its symmetric group, cell grid , and . | |
| A colouring, all pairwise colourings, Latin colourings, and modular addition. | |
| A finite abelian group of order and its group table, after identifying its elements with . | |
| Observed cells, held-out cells, mask law, coverage, and mask size. | |
| Observed triples . | |
| Score map, network parameters, and minimum-norm endpoint set. | |
| Their -regularised hidden/output-bias counterparts in Appendix B.2. | |
| Strict held-out accuracy, success threshold, and endpoint extrema. | |
| All-good, mixed, no-good, and existential indicators. | |
| Threshold-indexed mask-averaged phase probability and phase profile. | |
| Colouring isomorphism, ambient quotient space, and Latin quotient space. | |
| Cell indicator, stacked embedding matrix, and reduced hidden matrix . | |
| Reduced product functional, its constrained optimum, and the original norm optimum. | |
| Full-grid carrier score table and the product bound in the notch lemma. | |
| Addition and uniform-Latin task ensembles and their threshold-indexed probabilities. | |
| Success probability of an observation-measurable learner ; a selector is a learner with values in . | |
| Cyclic, elementary-abelian, and task-seeded sequential-Latin families used in Section 5. |
B SUPPLEMENTARY THEORY
This appendix contains the exact finite-instance criterion behind the phases, the bias extension of Theorem 4.1, an unstructured comparison bound, and a formal statement of the classification programme that the two poles leave open. Proofs are in Appendix C.
B.1 AN EXACT CRITERION FOR A FINITE INSTANCE
Fix and , and allow hidden width exactly with zero padding. For let have -th column . On the nuclear sphere define
with if no is feasible, and put and . For let be the unique minimum-Frobenius solution of (17), , for , the -th largest held-out margin with , and
Theorem B.1 (Exact finite-instance criterion). is non-empty and compact, is continuous on , and the global responses of (3) are exactly . Moreover
A tie is on the bad side, matching (5). The criterion turns the phase of one instance into two extrema over a compact set.
Proposition B.2 (The mixed phase is a degeneracy question). For fixed the phases partition the threshold axis: all-good on , mixed on , no-good on . Hence
If the held-out accuracy of the minimum-norm response is almost surely constant along a family, then on that family and its profile lies on the edge of joining (1, 0, 0) to (0, 0, 1) for every .
Two distinct responses of equal accuracy do not make an instance mixed, so (20) is strictly stronger than non-uniqueness of the minimum-norm response. A spread of accuracies across finite-training runs is not evidence of it either: such runs need not be global minimisers, and their spread is typically removable by changing the optimiser or regulariser. The natural source of the required degeneracy would be a nontrivial stabiliser of the observed data inside the isomorphism group of Definition 3.4, which by Theorem 3.5 carries one global response to another; we expect that stabiliser to be trivial with high probability under the uniform mask law, and responses that respect a symmetry produce score ties, which (5) counts as errors.
B.2 -REGULARISED BIASES
Add a hidden bias and an output bias , so that and
and let be the minimum-norm set under the constraints of (3). Superscript b marks the corresponding phase events, probabilities, and profile. With and the set of satisfying the observed unit margins for , define
Lemma B.3 (Bias complexity bridge). The biased problem is equivalent, in optimal value and in score responses, to . There is an absolute constant such that on every addition mask every biased minimum-norm response has a finite-width bias-free representation with .
The representation is an analysis device whose width may exceed by one unit, which Lemma 4.3 permits.
Corollary B.4 (Transfer to -regularised biases). For the model (21):
(i) feasibility, phase decomposition, and quotient invariance hold, so is well defined on ;
(ii) for fixed , , , and ;
(iii) uniformly over deterministic biased selectors, ; hence and biased all-good colourings have zero uniform mass;
(iv) on a finite instance, with , the extrema of the -th largest held-out margin over the biased reduced minimiser set, the three phases are characterised by the sign conditions of (19); Theorem B.6 holds for the biased profiles.
B.3 UNSTRUCTURED COLOURINGS
Removing the Latin constraint gives an elementary independent-label bound for comparison with Lemma 4.5.
Proposition B.5 (Unstructured colourings). Let . For any learner, any , and any ,
Proof. Conditionally on D, the labels on T are independent and uniform, so a strict prediction is correct with probability at most 1/q per cell, independently; Hoeffding's inequality gives the bound.
B.4 A PROOF-GUIDED OBSERVATION-SCALE QUESTION
Tracking the discarded-cell parameter through the atlas calculation of Appendix C.3.2 suggests that the notch argument tolerates
Turning this into a theorem requires a uniform accounting of the -dependence in the covering and concentration bounds; the scale is a separate target.
B.5 A FORMAL TARGET FOR COMPLETE ASYMPTOTIC CLASSIFICATION
Fix . Let be the set of subsequential limits of over sequences of orders and classes . Set and , and define the uniform polarisation defect
Full edge realisation holds when for every there are and classes with and .
Theorem B.6 (Classification readiness). Theorem 4.1(i) gives . Then holds if and only if both and full edge realisation holds. Under these two conditions a convergent profile sequence tends to iff , and to iff and .
The theorem packages the remaining programme as a polarisation estimate and a realisation construction. Realisation is the harder half: Proposition B.2 says it needs instances on which is non-constant over the global responses, and none is known.
C PROOFS
This appendix gives the detailed proofs for Section 3, Theorem 4.1, and Appendix B; the abelian extension Corollary 4.4 is proved in Appendix E.3.2. Appendix C.1 covers the modelling section, Appendix C.2 the invariance theorem and the finite-instance criterion, Appendix C.3 the two poles of Theorem 4.1, Appendix C.3.5 the bias transfer, and Appendix C.4 states the external results in the forms used.
C.1 PROOFS FOR SECTION 3
Proof of Proposition 3.1. Assigning the value to is a bijection between label tables and edge colourings with colour set , for every integer .
Now suppose is a prime power and identify with . For , define
The finite-field identity for gives for . Hence
has degree at most in each variable and agrees with on . The vector space of such reduced polynomials and the vector space of functions both have dimension . Since (27) makes the evaluation map surjective, it is bijective, proving uniqueness.
Suppose is a Latin colouring. Fixing a left endpoint , the colours are pairwise distinct because each symbol appears once in row ; fixing a right endpoint gives the same statement for columns. Hence edges sharing an endpoint receive distinct colours, which is properness.
Conversely, properness says the q edges at each left vertex, and at each right vertex, carry pairwise distinct colours. Since there are exactly q colours available, each colour occurs exactly once in every row and every column, which is the Latin condition.
Fix a colour . The Latin condition gives each left vertex and each right vertex exactly one incident edge of colour , so is a perfect matching. The classes are pairwise disjoint and cover by construction. Conversely, if the edge set decomposes into perfect matchings then each colour occurs exactly once at each vertex, which is properness and hence the Latin condition.
Under each bijection, the mask selects the same evaluations, cells, or edges.
Proof of Proposition 3.3: non-emptiness. We exhibit a feasible point of finite norm; attainment then follows from closedness and coercivity. Let be the standard basis of , , and set
so that . For each cell place one hidden row
Its preactivation at cell is , which equals at and is at most elsewhere. Hence after ReLU the unit is active only at , with value . Let this unit output with weight 2 to class and 0 to every other class. The resulting network has score 1 at the true class of every cell and 0 at every other class, so the margin constraint of (3) is met with equality on the whole grid, in particular on . There are such units, so the width is respected and the norm is finite.
The feasible set of (3) is closed, being an intersection of preimages of closed sets under the continuous map , and is coercive. A coercive continuous function on a non-empty closed set attains its infimum, so .
C.2 PROOFS OF INVARIANCE AND OF THE FINITE-INSTANCE CRITERION
Proof of Theorem 3.5. Consider first the direct case of Definition 3.4. Given , set
a bijection of the space of subsets of a fixed size, hence measure-preserving for . Given define
and let have rows for . Then
Each transformation permutes the entries of a finite table or the rows of a matrix, so . By (32) the training constraints correspond term by term, and applying the same construction with the inverse permutations yields the inverse map; hence we have a norm-preserving bijection between feasible sets, which must map global minimisers onto global minimisers. At a test cell the true label is transported by the same , so strict argmax correctness is preserved cell by cell, and therefore so is .
For the transposed case set and
with permuted by as before. The new preactivation at equals the old one at . The two embedding tables enter (2) symmetrically, so swapping them is again norm-preserving, and the uniform mask law is invariant under these coordinate permutations. Hence all four events and their probabilities are unchanged.
Proof of Proposition 3.3: decomposition. By the first part the set is non-empty. If it contains no good global minimiser then , which is no-good. Otherwise ; if additionally there is no bad global minimiser then all of them are good, which is all-good, and if there is one then good and bad coexist, which is mixed. The three cases are mutually exclusive and exhaustive. Taking probabilities under gives . The threshold-axis partition of Proposition B.2 is the same statement read for fixed and varying , and (20) follows from Theorem B.1, since the global responses are exactly .
Proof of Lemma 3.2. If , the zero parameters are the unique minimiser and all stated quantities vanish. Assume henceforth that . For any factorisation the nuclear-norm factorisation identity gives
with equality attained as follows: if is a compact SVD, take and , so that . Since , this factorisation respects the embedding dimension, and padding with zero rows respects the hidden width.
Now fix a reduced representation . Positive homogeneity of ReLU gives, for every ,
so the score table, and hence feasibility, is unchanged under . Eliminating W and via (34), the objective of (3) at the balanced point becomes
Then , so the unique stationary point is , it is a minimum since , and
Minimising over all feasible reduced representations gives . At the optimal , , , and all equal , which is the balanced factorisation.
Proof of Theorem B.1. If , then , , and every ; the only global response is zero and the claim follows directly. Assume below. Positive homogeneity normalises any non-zero reduced representation to without changing either the scores or the product . Hence the minimal reduced product equals .
The set is a compact subset of a finite-dimensional space. The function is lower semicontinuous: if with , pass to a subsequence along which the fixed-list minimisers are bounded and convergent; continuity of the constraints in (17) shows the limit is feasible for , so . The cell-selector construction of Proposition 3.3 provides at least one feasible list, so and the minimum is attained. As everywhere on , we may write , which is closed in a compact set, hence compact.
For fixed the feasible form a closed convex set and is strictly convex, so the minimiser is unique. If with all , then for all ; any convergent subsequence has a limit that is feasible at with norm , hence equals by uniqueness. Therefore the whole sequence converges and is continuous; ReLU is continuous, so is continuous. A finite-order statistic of continuous functions is continuous, so the extrema in (18) are attained.
Any reduced global minimiser, once normalised, must have , and its output must be : otherwise replacing it by the smaller-norm fixed-list output would strictly decrease the product, contradicting optimality. Conversely every paired with attains the minimal product and lifts, by the balancing step of Lemma 3.2, to a global minimiser of the original problem. Hence is exactly the set of global responses.
Finally, a response has strict test accuracy at least iff at least of its held-out margins are strictly positive, iff . Therefore all global responses are good iff ; good and bad coexist iff the minimum is non-positive while the maximum is positive; and no global is good iff the maximum is non-positive. An exact tie counts as bad by the strict convention in (5). This is (19).
C.3 PROOFS FOR SECTION 4.1
C.3.1 THE ADDITION CARRIER
Proof of Lemma 4.2. We give the construction explicitly. Put
and
Frequency selection. We claim there are non-zero frequencies such that every satisfies
Argue probabilistically: for uniform non-zero , the mean of is , since the full sum over all vanishes. The summands lie in , so Hoeffding's inequality (Hoeffding, 1963) bounds the probability that (40) fails at a fixed by . A union bound over the values of gives total probability below 1 by the choice of , so the required frequencies exist.
An exact ReLU surrogate for multiplication. Let be the piecewise-linear interpolant of on the grid . It has the exact ReLU representation
and satisfies for . Hence
satisfies, for ,
Scores. For each frequency , set and use (43) inside the addition formulas:
so that and . Define
Margins. The idealised version of (46), with , replaced by exact cosines and sines, scores at and, by (40), at most at any wrong class. Each realised score differs from its ideal by at most , so every truth–rival gap is at least , which is the lower bound in (12). For the upper bound, each ideal score is at most in absolute value and each realised score deviates by at most ; since and , every gap is at most
Additivity and width. Every hinge in (41) is the positive part of . The constant may be split, half into the row potential and half into the column potential, so each is a legitimate additive preactivation in the reduced coordinates of Section 3.2. Each frequency needs only a constant number of hidden rows, so the total width is , which is below for large .
Norms. Each preactivation row has Euclidean norm over the 2q row/column potential coordinates, and each corresponding output column has Euclidean norm . Hence
so, taking these constructed factors as , after fixing an absolute , which is (12). A compact SVD of finally yields admissible and as in Lemma 3.2.
C.3.2 THE ONE-SIDED NOTCH LEMMA
Proof of Lemma 4.3. Throughout, .
Step 0: the design Gram matrix. The full addition design satisfies
because that Gram matrix is .
Step 1: low-rank split. Let and split Z into its rank-m SVD core and the tail. Write the -th column of as and the -th row of as , and put the non-zero terms in the form
with and , so that
By (49) each normalised scalar gate has full-grid squared norm at most 2q, so Maurey sampling in Hilbert space (Pisier, 1981) yields a proxy built from core atoms with full-grid squared vector error at most .
The -th tail atom is . Using that ReLU is 1-Lipschitz, Cauchy–Schwarz, and the singular-value tail bound — which follows from and termwise summation — we get
and sampling tail atoms divides the right-hand side by .
Step 2: sampling budgets. Set
and
Then and by the hypothesis , and the combined full-grid squared vector error of the two proxies is .
Write the core proxy as , dividing each sampled core scalar gate by the fixed constant and multiplying that constant into the output column. The Maurey construction gives
(55) and the normalised feature table satisfies , so after discarding at most cells,
The tail proxy remains explicit outside the covering theorem:
which avoids hiding a mask-adaptive component inside a fixed-feature cover.
Step 3: a mask-independent cover code for the core. Apply Theorem C.1 with , using the block-diagonal lift over the output columns in Theorem C.2; that is, represent one evaluation by the feature
On the retained cells , while the stacked output weight has Euclidean norm . Fix precision . Zhang's proof first fixes a deterministic threshold grid with ; this grid is determined by and is independent of the numerical feature table and mask.
Dispose first of the degenerate branch: if then Cauchy–Schwarz bounds every core score coordinate by , so the single zero centre is already a valid cover; add it to the atlas as a deterministic code. Assume henceforth .
At the duality map in Zhang's argument is linear, so each cover centre is determined by a finite non-negative integer multiplicity code of total mass at most
defined on the ambient address set after zero-filling unused addresses. Zhang's augmented separating vector is
(60)
where depends only on the code and the deterministic grid. Zhang's separation argument shows every code that actually produces a cover centre has ; in the enumeration we simply discard codes with , so no division by zero or sign ambiguity arises. The effective centre is . If the core output vanishes identically and the zero centre suffices, so the formula is only used when ; a sampled gate that vanishes on the whole grid contributes a zero feature and requires no division by a feature norm. By Theorems C.1 and C.2, every realised is approximated within at every output coordinate of every retained cell by some effective code centre.
The number of codes is likewise fixed before the mask is drawn. The address count is at most , and the number of non-negative integer codes of total mass at most is at most . From (54)–(56),
and is at most a fixed polynomial in q, so
The additive constant 1 is the at most one extra atom created by the ceiling in (59); it contributes , and in the non-degenerate branch , so it is absorbed by the main term.
Step 4: sign-pattern counting. Write the common rank-m row space of the core as and the -th sampled core normal as , giving continuous core parameters; the tail atoms of (57) contribute at most parameters through and . Hence
and therefore
For each and , the core preactivation is a degree-2 polynomial in the continuous parameters, and the tail preactivations , are degree-1. By Theorem C.3, the ternary sign patterns of these polynomials give at most ; because zeros are counted, all exact zero gates are retained.
On a fixed gate stratum each is a polynomial of degree at most 2, so by (60) the c-th score of an effective code centre at cell x has the explicit form
with integer coefficients determined entirely by the code and free of continuous parameters. Thus (65) is a polynomial of degree at most 4 divided by the positive code-only constant . The tail score (57) is a polynomial of degree at most 2 on a fixed tail-gate stratum. Clearing the positive denominator, each truth–rival half-gap comparison
agrees in sign with a polynomial of degree at most 4, and there are only such comparisons. Applying Theorem C.3 again — or the direct bound when the number of polynomials is below the number of parameters — bounds the number of threshold sets per pair (code, gate stratum) by .
Combining (62) and (64), the deterministic atlas of all threshold sets arising from gates, zero gates, score ties and half-gap comparisons satisfies
Its address set, threshold grid, codes and polynomial list are all fixed before is drawn, whereas the endpoint, the SVD row space, the sampled atoms, the tail atoms and the effective code may all be chosen after seeing ; the enumeration (67) covers them simultaneously.
Step 5: concentration. Let contain the high-feature cells discarded in (56) together with the cells where either Maurey approximation exceeds the fixed vector threshold 1/16. By Markov's inequality and the total squared errors of Step 2, choosing small and then letting ,
Off the core Maurey error and the tail Maurey error each have vector norm below 1/16 and the Zhang centre has entrywise error below 1/16, so the final proxy differs from D by less than 3/16 in each coordinate and by less than 3/8 in each pair gap. Define the atlas threshold set
Hypothesis (1) gives , while the reverse-unit-gap cells of hypothesis (2) give for large .
Fix any with . Then is hypergeometric with mean at least . Choosing , the binomial-coefficient formula gives
for some ; the same bound follows from sampling-without-replacement Chernoff estimates (Hoeffding, 1963). Taking a union bound over the sets permitted by (67) leaves total probability . Hence with probability no such exists. Exact zero gates and exact ties are preserved throughout by the ternary sign counting and by the weak threshold .
C.3.3 ASSEMBLY OF PART (I)
The proof of Theorem 4.1(i) is given in full in Section 4.1.1. For the bias transfer of Appendix C.3.5 we record the two gap inequalities in the form used there. With , , and the carrier gap,
and at every held-out non-strict error, including a tie, some has , whence
The norm budget is of (14).
C.3.4 THE UNIFORM LATIN SQUARE OBSTRUCTION
Proof of Lemma 4.5(a). Since is uniform on and independent of , , so it suffices to bound the count for a fixed mask . The observed labels take at most values. Fix one observed dataset . On each test cell the learner has at most one strict winner; if there is no strict winner, assigning an arbitrary label only enlarges the candidate set counted below.
Success means the true Latin table differs from the winner table on at most r test cells. Choosing those positions and their replacement labels, the number of full arrays within that Hamming ball is at most
and restricting to Latin arrays can only decrease the count. Summing over all D and averaging over fixed-size masks gives (16).
Proof of Lemma 4.5(b). By the permanent bound in Theorem C.4, if is a non-negative doubly stochastic matrix then .
Build the Latin square row by row. When k rows have been placed, the symbol–column incidence matrix of admissible entries for the next row is -regular; dividing by makes it doubly stochastic, so its permanent is at least
The first row admits choices, so
Finally gives , and substituting yields .
C.3.5 -REGULARISED BIASES
Proof of Lemma B.3. For fixed , the nuclear-norm factorisation identity used in (34) gives
Every admissible Z has at most 2q columns, while , so an SVD factorisation attaining (76) respects the embedding dimension; zero padding respects the hidden width. Keeping A, b, c fixed therefore establishes both directions of the equivalence with . Its feasible set is non-empty because the bias-free cell-selector construction of Proposition 3.3 is feasible with . Closedness and coercivity give attainment.
Let be the addition carrier and let denote the cost of the constructed representation in Lemma 4.2. Balancing its two reduced factors and taking provides a feasible competitor for every addition mask. Hence the biased optimum satisfies
for an absolute constant . Consequently, every reduced global minimiser obeys
The hidden bias can be absorbed into the two endpoint blocks. Put
Since has exactly two unit entries, . The added rank-one matrix has nuclear norm , and thus
It follows that has a bias-free representation of cost at most
The constant table has a one-hidden-unit representation: take , for which , and use as the output column. By (78),
If have respective product costs , balance their factors, concatenate the output matrices, and stack the hidden matrices. The triangle and Cauchy–Schwarz inequalities give
Applying (83) to and using (77) yields
which proves the bound of Lemma B.3.
Proof of Corollary B.4. The bias-free feasible set embeds into the biased one by taking , so feasibility persists; attainment again follows from closedness and coercivity. For a direct colouring isomorphism, use the parameter map in the proof of Theorem 3.5, keep fixed, and permute the coordinates of by the same symbol permutation used on the rows of . Under transposition, also exchange the two embedding tables. These maps preserve (21), the constraints, and cellwise strict correctness, and their inverses have the same form. This proves the biased phase and quotient claims.
For addition, let F be any biased minimum-norm response. By Lemma B.3, it has an analysis representation with
Set . The observed non-negative gaps in (71) and the unit reverse gaps at every held-out non-strict error in (72) depend only on the score table, so they remain valid. Applying (83) gives
and therefore
For any fixed , an endpoint below accuracy supplies more than reverse-gap cells. Taking , the one-sided notch lemma excludes all such biased endpoint responses simultaneously with probability . Applying this statement at each fixed proves the first convergence in Corollary B.4(ii); the all-good probability and profile follow from the phase decomposition.
The proof of Lemma 4.5 uses only observation measurability of the predicted table. It therefore applies verbatim to every biased minimum-norm selector and gives Corollary B.4(iii). On a biased all-good instance every such selector succeeds, which proves ; Markov's inequality then gives the biased zero-mass statement.
For the finite-instance claim, let
This set is non-empty and compact. By (76), its score responses are exactly the original biased global responses. The held-out margins and their finite order statistics are continuous on . Taking the minimum and maximum of the k-th largest margin, where , and repeating the final step of Theorem B.1 gives the same three sign conditions. Finally, the proof of Theorem B.6 uses only the simplex identity, the addition vertex, and the definitions of the polarisation defect and edge realisation. The biased versions established above supply these ingredients, completing the transfer.
C.3.6 CLASSIFICATION READINESS
Proof of Theorem B.6. Assume first that . Take any convergent profile sequence and let be the limit of its first coordinate. By (25), , so . If the simplex identity of Proposition 3.3 forces the limit to be ; if the limit lies in . Hence . Theorem 4.1(i) gives and full edge realisation gives , so holds.
Conversely suppose holds and . Then there are , a sequence of orders and classes with
The probability simplex is compact, so we may extract a further subsequence along which the profile converges. Its first coordinate lies strictly inside , so the limit is neither v nor a point of e, contradicting . Therefore . Moreover says every point of e has a realising sequence of classes by the definition of , which is exactly full edge realisation.
The final coordinate characterisation is immediate from .
C.4 EXTERNAL RESULTS USED
We state the covering/counting results, permanent bound, sampling estimates, and character identities in the forms used in the proofs.
Theorem C.1 (Zhang, 2002, Theorem 4). Let sample vectors satisfy and linear weights satisfy , where and . Then for every the empirical covering number of the linear function class on these samples satisfies
Theorem C.2 (Ledent et al., 2021, Proposition 5). Let with for every patch. For any reference , the matrix class admits an entrywise cover over all sample, patch and output-channel coordinates with
where m is the number of output channels.
Theorem C.2 is the block-diagonal lift of Theorem C.1 to the index triple (sample, patch, output channel), which is exactly the form we need in Step 3 of the proof of Lemma 4.3.
Theorem C.3 (Caro & Datta, 2020, Corollary 3.2). For real polynomials of degree at most in real variables, the number of realisable sign assignments in is at most
Zeros are counted in (94), which is why exact zero ReLU gates and exact score ties survive our enumeration. This is the multi-valued refinement of the classical bound of Warren (1968).
Theorem C.4 (van der Waerden permanent bound; Gurvits, 2005, Theorem 2.1, diagonal specialisation). If is a non-negative doubly stochastic matrix then
The bound (95) was conjectured by van der Waerden and first proved by Falikman (1981), with the uniqueness statement due to Egorychev (1981); we quote the hyperbolic-polynomial proof of Gurvits (2005) because its diagonal specialisation yields exactly the inequality we use.
Lemma C.5 (Hilbert-space sampling; Pisier, 1981). Let be a finite sum in a Hilbert space and . For every integer there is an average of rescaled atoms with squared error at most . For , one may sample with probability and use the atom , omitting zero terms.
Proof. Each sampled atom has mean and squared norm . The expected squared error of the average of independent samples is , so some average attains this bound. If , use the zero average.
Theorem C.6 (Bounded sampling; Hoeffding, 1963). If are independent variables in with , then for ,
The same bound, including the lower-tail version, holds for a uniform sample without replacement from a finite population in , centred at its population mean. Applied to cell indicators, it yields the hypergeometric estimate (70).
Proposition C.7 (Finite-group character identities; Etingof et al., 2011, Sections 3.1–3.5). For a finite abelian group , its unit-modulus characters form a group of order , satisfy , and obey . For an arbitrary finite group, with irreducible unitary representations of dimensions and characters , the regular representation identity is
D EXPERIMENTAL PROTOCOLS AND SUPPLEMENTARY RESULTS
This appendix specifies the finite-training protocol, gives the complete run-level results behind Figures 2 and 3, and records the supplementary analyses and controls; the group-family runs of Table 1 are part of the order-64 structure sweep audited in Appendix D.7. The experiments train the model class of the theory, the pair-embedding one-hidden-layer ReLU network of Section 3.2 with the -penalised biases of Appendix B.2, for a fixed number of updates and report one predictor per run; the theory concerns the complete minimum-norm endpoint set with the dimensions and mask law specified in Section 3.
D.1 PROTOCOL
Model and optimisation. The network (“PairMLP”, named for its pair embedding) has separate trainable row and column embedding tables , in , one width-512 ReLU hidden layer acting on the embedded pair, and a linear q-class head, with biases on the hidden and output layers; this is the architecture of (2) with the biases of (21). Its dimensions are fixed across orders, whereas the theory uses and ; the width-independent notch bound still requires a feasible carrier to bound endpoint costs (Appendix E.1). The common design that shares one embedding table and concatenates the two embedded inputs is the special case , of the pair embedding. Cross-entropy is minimised by full-batch momentum SGD for 80,000 updates (learning rate 0.03, momentum 0.9, weight decay 0.001 on embeddings, weights, and biases) in float64.
Masks. The orbit comparison uses one uniform random fixed-cardinality split with 2823 observed cells out of 9409; the implementation rounds , while (1) uses a floor. The experiments use label-stratified masks, with the same number of observed cells from each colour. The realised sizes are
For the coverage experiment, each colour has one random ordering and the masks are prefixes of that ordering, so the three levels are nested.
Seeds and reporting units. A task seed selects a table, product residual, or coordinate relabelling; a training seed selects the initialisation and optimisation repeat. Every point in the main figures is one training run; saturated markers and lines report medians.
Relative transition. The transition statistic locates sustained training memorisation, estimates a pre-generalisation test plateau and a stable terminal plateau, and counts a run when its test accuracy crosses the midpoint of that run's plateau-relative gain. It permits terminal accuracy below one; absolute endpoint accuracy is reported separately, and 0.99 is a reporting cutoff unrelated to the threshold .
D.2 ADDITION COVERAGE ACROSS ORDERS
The archived addition experiments vary the order and the observed fraction . At each order we sweep on a grid of resolution 0.01 and record , the smallest tested fraction at which all five optimisation seeds reach exact held-out accuracy 1.000 under the protocol of Appendix D.1. Each grid point costs one training run per seed, so the sweep covers four orders, ; Table 3 is the complete record.
Table 3: Empirical observation threshold for modular addition. is the smallest fraction on a grid of resolution 0.01 at which all five optimisation seeds reach exact held-out accuracy 1.000. Cell counts are the nominal of (1); the implementation rounds, so realised sizes can differ by one cell.
| order q | 47 | 79 | 113 | 211 |
|---|---|---|---|---|
| 0.33 | 0.25 | 0.23 | 0.20 | |
| grid cells | 2209 | 6241 | 12769 | 44521 |
| observed cells | 728 | 1560 | 2936 | 8904 |
The measured fraction falls from 0.33 at to 0.20 at while the grid grows by a factor of about twenty. Four points at resolution 0.01, with successive decrements of 0.08, 0.02, and 0.03, fix a decline over the tested window and nothing about its shape or its monotonicity; the all-seeds criterion is one-sided, so each entry is an upper bound on the fraction at which this protocol typically succeeds. The quantity measured is a finite-training threshold under one optimiser, horizon, and architecture; the sequence of Remark 4.7 is an existence statement about the full minimum-norm endpoint set with no rate. The table is not used in any proof.
D.3 THE ORDER-97 ORBIT COMPARISON
The hidden-addition experiment samples ten independent triples of row, column, and symbol permutations of one cyclic-addition table. Each representation is trained under three optimisation seeds, giving 30 runs. The Latin control uses eight task seeds from the sequential random-perfect-matching generator and three optimisation seeds, giving 24 runs. Two further planned control seeds were never completed and are excluded. A one-way random-effects decomposition of the transition midpoint over the ten task seeds with three optimisation seeds each attributes about of the variance to the
Table 4: Reduced-polynomial reconstruction at . Support counts are out of coefficients.
| representation | tasks | nonzero coefficients | total degree | |
|---|---|---|---|---|
| visible addition | 1 | 2 | (1, 1) | 1 |
| hidden addition | 10 | 9108–9134 | (95, 95) | 190 |
| sequential Latin | 8 | 9107–9127 | (95, 95) | 190 |
Table 5: Index of the machine-readable sparse coefficient archives. Each CSV stores the nonzero triples over .
| family | seed | nonzero | support (%) | degrees | total | file |
|---|---|---|---|---|---|---|
| visible addition | 0 | 2 | 0.021 | (1, 1) | 1 | visible_addition.task_000.csv |
| hidden addition | 0 | 9118 | 96.907 | (95, 95) | 190 | hidden_addition.task_000.csv |
| hidden addition | 1 | 9133 | 97.067 | (95, 95) | 190 | hidden_addition.task_001.csv |
| hidden addition | 2 | 9121 | 96.939 | (95, 95) | 190 | hidden_addition.task_002.csv |
| hidden addition | 3 | 9109 | 96.812 | (95, 95) | 190 | hidden_addition.task_003.csv |
| hidden addition | 4 | 9134 | 97.077 | (95, 95) | 190 | hidden_addition.task_004.csv |
| hidden addition | 5 | 9126 | 96.992 | (95, 95) | 190 | hidden_addition.task_005.csv |
| hidden addition | 6 | 9131 | 97.045 | (95, 95) | 190 | hidden_addition.task_006.csv |
| hidden addition | 7 | 9127 | 97.003 | (95, 95) | 190 | hidden_addition.task_007.csv |
| hidden addition | 8 | 9122 | 96.950 | (95, 95) | 190 | hidden_addition.task_008.csv |
| hidden addition | 9 | 9108 | 96.801 | (95, 95) | 190 | hidden_addition.task_009.csv |
| sequential Latin | 0 | 9121 | 96.939 | (95, 95) | 190 | sequential_latin.task_000.csv |
| sequential Latin | 1 | 9115 | 96.875 | (95, 95) | 190 | sequential_latin.task_001.csv |
| sequential Latin | 2 | 9107 | 96.790 | (95, 95) | 190 | sequential_latin.task_002.csv |
| sequential Latin | 3 | 9118 | 96.907 | (95, 95) | 190 | sequential_latin.task_003.csv |
| sequential Latin | 4 | 9119 | 96.918 | (95, 95) | 190 | sequential_latin.task_004.csv |
| sequential Latin | 5 | 9125 | 96.982 | (95, 95) | 190 | sequential_latin.task_005.csv |
| sequential Latin | 6 | 9127 | 97.003 | (95, 95) | 190 | sequential_latin.task_006.csv |
| sequential Latin | 7 | 9127 | 97.003 | (95, 95) | 190 | sequential_latin.task_007.csv |
task seed and about 93% to the optimisation seed (variance-components estimate; the fixed-effects is 0.36, and the task-seed effect is not significant, , ; between-task medians span 15,000–20,000 updates, mean within-task range 3,500). Midpoints are read on the 1,000-update checkpoint grid.
For the polynomial statistics illustrated in Figure 1, we reconstruct the unique reduced polynomial over by inverting the two Vandermonde evaluation maps. Table 4 reports the result. The hidden representatives occupy the same colouring orbit as , while their observed-coordinate support is as dense as that of the sequential Latin controls.
D.3.1 MACHINE-READABLE COEFFICIENT ARCHIVE
For every unique task instance in the order-97 comparison, we archive the unique reduced coefficient matrix over once per task seed. Optimisation repeats share the same target table and therefore do not duplicate the coefficient file. Each sparse CSV contains the triples for all nonzero terms , sorted first by and then by . The archive is materials/polynomial-coefficients/ in the submission bundle. It also contains manifest.csv, which records the source experiment, support statistics, degree statistics, relative file path, and full SHA-256 digest. The 19 archived task instances comprise visible addition, ten hidden-addition relabellings, and eight sequential-Latin controls.
The median hidden-addition support is 9124/9409 = 96.971%. Its 30 endpoint accuracies have median 1.000 and range 0.969025–1.000; all 30 runs meet the relative-transition criterion. The 24 sequential-Latin endpoints have median and range , with 0/24 relative transitions. Both constructions are exactly Latin; the sequential generator defines a reproducible ensemble distinct from Unif( ).
D.4 COMPLETE ENDPOINT SUMMARIES FOR THE OPEN-REGION EXPERIMENTS
The designated-factor experiment (left panel of Figure 3) uses five families, three task seeds per family, and two training seeds per task. Table 6 lists the final exact accuracy and the prespecified binary factor quotient. The family has no designated binary component.
Table 6: Final medians at nominal 30% label-stratified coverage; six runs per family.
| family | exact accuracy | prespecified binary factor quotient |
|---|---|---|
| 0.9094 | 0.9977 | |
| 0.5938 | 0.9922 | |
| 0.0165 | 0.9823 | |
| 0.00330 | 0.9816 | |
| 0.00069 | — |
Table 7: Final held-out accuracy under nested masks. A dash denotes a factor quotient absent from the factor chain.
| family | resolution | 20% | 30% | 40% |
|---|---|---|---|---|
| binary factor quotient | 0.948 | 0.999 | 1.000 | |
| 4-way factor quotient | 0.846 | 0.998 | 1.000 | |
| 8-way factor quotient | 0.398 | 0.998 | 1.000 | |
| exact | 0.0169 | 0.882 | 0.985 | |
| binary factor quotient | 0.495 | 0.982 | 0.992 | |
| 4-way factor quotient | 0.344 | 0.960 | 0.984 | |
| exact | 0.00184 | 0.0189 | 0.376 |
The run-level binary factor-quotient ranges for the two hardest structured families are 0.456–0.989 for and 0.478–0.984 for . This variation motivates the run-level markers in the left panel of Figure 3.
Table 7 gives all median resolutions used in the matched nested-mask comparison. Every entry aggregates the same two task seeds and two training seeds, giving four matched triplets per family.
D.5 FACTOR-QUOTIENT LATTICE AND INTERVENTION ANALYSES
Section 5 evaluates prespecified product-factor quotients at the final checkpoint. The supplementary mechanism audit expands the evaluation to every checkpoint and, for elementary 2-group factors, to all factor-quotient directions of a fixed order. Eighteen runs contribute nine saved checkpoints each. The audit contains 550 factor-quotient-lattice records, 148 probe/intervention records, and 32 matched random-partition controls.
Two observations refine the endpoint picture. First, different optimisation runs can select different isomorphic binary factor-quotient directions. In one run, for example, prespecified binary accuracy is 0.4559 while an alternate binary factor quotient reaches 0.9858. Factor-quotient recovery is therefore naturally evaluated over the available projection lattice. Second, factor-quotient labels are linearly readable at every one of the 17 checkpoints selected for intervention, and removing the classifier component associated with the recovered factor quotient produces a substantially larger behavioural change than matched random subspaces. Removing one ridge-probe direction often has little effect; the distributed classifier component is the more faithful intervention target.
These analyses concern representation dynamics along the trajectory; their role here is to confirm that the factor-quotient accuracies in Figure 3 reflect structured label resolution rather than the contribution of exact hits to a coarse score.
D.6 SUPPLEMENTARY FAMILIES AND NEGATIVE CONTROLS
Several additional sweeps delimit the empirical interpretation.
-
A product ladder from through , , , and shows a gradual loss of exact completion as the sequential residual factor grows. The endpoints range from 0.0427 to 0.9924, providing a finite-order non-group high-generalisation example.
-
Sparse perturbations of the cyclic table yield a finite crossover at corruption levels around 2–5%. Forty valid runs remain after removing task-seed collisions. These endpoints quantify robustness to leaving the group orbit and carry no asymptotic phase label.
• A bank of nine named polynomial rules contains 81 runs. Six families show relative transitions in all nine repeats; three cross-term variants show none. The variant names used in the experiment archive are kept separate from the theoretical term mixed.
• A second stratified split reproduces the endpoint contrast between and in eight additional runs.
• Under the same SGD/weight-decay protocol, sixteen Transformer runs do not reach sustained training memorisation within the horizon and are therefore not comparable endpoints.
Timing-only weight-decay and angular-clock analyses remain in the experiment archive as analyses of trajectory delay.
D.7 COMPLETENESS AND REPRODUCIBILITY AUDIT
The order-64 structure sweep contains 72/72 completed runs and the factor-quotient sweep contains 64/64 completed runs, all reaching 80,000 updates. Stored manifests and checkpoint hashes pass the archive checks. The order-97 Latin control contributes the 24 completed runs specified in Appendix D.3; denominators use completed runs only.
Archived run identities record a base commit and a dirty-worktree flag, so exact reproduction requires the frozen source snapshot, which the submission archive preserves together with the run manifests, analysis script, endpoint CSVs, figure inputs, and the finite-field polynomial reconstruction table.
E DISCUSSION
The first two subsections discuss the stability of the all-good proof and the relation between endpoints and training timescales. The third turns to task structure: it extracts a colouring-independent carrier criterion, proves the all-good conclusion for every finite abelian group family, and examines the necessity conjecture stated in Conjecture 5.1.
E.1 WHAT THE ALL-GOOD PROOF RESTS ON
The competition. Stripped of its construction, the proof of Theorem 4.1(i) is the competition (13) between a counting term and a deviation term. is the deterministic atlas of (67): the enumeration, fixed before the mask is drawn, of every cell set on which a low-norm score table can be confidently wrong while remaining consistent on the observed cells. The exponent of (70) is the large-deviation price a positive-density set pays to meet a uniform mask of density in too few cells; against it, counts how many harmful patterns an adversary who sees the mask may choose between. The proof succeeds because (67) gives , so the deviation term dominates and every minimum-norm response is forced to generalise. The carrier of Lemma 4.2, the SVD split, Maurey sampling, and the sign-pattern counting exist only to make subquadratic while keeping the atlas mask-independent. That the atlas is fixed first is why the conclusion covers the whole solution set: the adversary's freedom to choose after seeing has already been paid for.
Stability in width. Lemma 4.3 quantifies over tables of any finite width, and the atlas dimension of (64), , contains no width variable: and the atom budgets of (54) depend only on , the norm budget , and the schedule . Maurey sampling replaces a sum over arbitrarily many hidden units by sampled atoms at a controlled error, so width enters the argument only through the product . Once the width suffices to realise the carrier ( units, padded to in the proof), further width changes the reachable norm but not the counting.
Fragility in depth. There is no depth-L analogue, and the obstruction is structural: all three ingredients of (67) are tied to a single hidden layer. The variational identity behind J reduces a two-factor objective to with no comparable surrogate for a composition of L factors; Maurey sampling compresses a sum of atoms, whereas depth composes them, so the Gram bound (49) that caps each normalised gate at 2q does not apply to inner layers; and the sign-pattern count treats preactivations of degree 2 in the core parameters, whereas at depth L they become piecewise polynomial of degree growing with . Each of these degrades the entropy estimate in the same direction. This says the present proof does not extend, not that deep networks fail; a depth-robust form of (13) is the natural next target.
The empirical record on depth. Fan et al. (2024) train 12-layer MLPs, find deep networks at least as susceptible to delayed generalisation as shallow ones, and find that internal feature rank, not weight norm, tracks the transition; Manir & Rupa (2026) report a non-monotone depth effect on modular addition, with depth-4 MLPs failing to grok and depth-8 residual networks recovering generalisation. Both point to architectures in which upper layers are forced to track a representation built below, which is also the situation the atlas argument can cover: a single controlled map over a given feature table. A norm bound over a solution set and a rank statistic along a trajectory answer different questions, and a trajectory-level account of depth would likely be organised around a different quantity than the one controlled here.
E.2 TIMESCALES, AND THE EXTENT TO WHICH THEY DECOUPLE
Scope. The phase of (6) is a property of the solution set and carries no time index; every statement in Section 4.1 would read identically if the optimiser reached its endpoint immediately. The transition statistic of Appendix D.1 is a reporting device, not an object the theory predicts.
What our measurements show. The order-97 orbit comparison is a clean instrument for the separation: all ten hidden-addition tasks are relabellings of one addition table, so Theorem 3.5 makes the phase constant along the orbit, and the trained predictors have concentrated final accuracies (30/30 transitions, median 1.000, range 0.969–1.000). The delay is not constant: midpoints span 13,000–21,000 updates, with about 93% of their variance attributable to the optimisation seed (Appendix D.3). Within one orbit the phase is invariant and the delay is dominated by optimisation randomness. This does not establish that endpoint and delay are independent: every family we sweep either fixes the task and varies the optimiser, or varies the task and reports endpoints; none varies task structure while measuring delay under a comparable phase.
Where the coupling is visible. Gu et al. (2025) distinguish the accuracy ceiling from the training process leading to it, and their experiments measure both the ceiling and transition time. At with a 30% training fraction, they replace the random split by excised training distributions—a square block and a strip —and record both the accuracy ceiling after the transition and the epoch at which it occurs (Table 8). Enlarging the excision lowers the ceiling monotonically and shifts the transition epoch non-monotonically; the widest strip removes the transition. Under a random split the same configuration transitions near epoch 5000 and reaches accuracy 1. One manipulation thus moves ceiling and delay together.
Table 8: Excised training distributions at , reproduced from Gu et al. (2025). U-Acc is the accuracy ceiling after the transition, GO-Epoch the epoch at which it occurs.
| excision | parameter | U-Acc (%) | GO-Epoch |
|---|---|---|---|
| square | 99.04 | 1500 | |
| 84.50 | 1700 | ||
| 77.39 | 3400 | ||
| 57.31 | 2200 | ||
| strip | 89.89 | 1300 | |
| 80.10 | 1600 | ||
| 7.56 | none observed |
A ceiling below one, with runs halting at different accuracies, is not evidence of the mixed phase: that phase concerns the exact minimum-norm set (Proposition B.2), and no training curve reports it.
How this sits against our framework. Both of their manipulations fall outside our hypotheses in instructive ways. The excisions keep the colouring at and replace the mask law: our is the uniform fixed-cardinality law of (1), and uniformity is what makes hypergeometric in (70) and so supplies the deviation term of (13). A square or strip excision is a mask that a positive-density harmful set can evade at no exponential cost, so the degradation of the ceiling is consistent with, and delimits, what the uniform-mask assumption does. Their second manipulation changes the rule to , whose ceiling stays below 1 under every split and on which a two-layer network stalls near 0.01 while a transformer retains partial generalisation; for fixed i that map is quadratic in j, so the rule is not Latin and lies outside . What survives the translation is the separation of the accuracy ceiling from the process leading to it. Our phase formalises an endpoint question by quantifying over the whole minimum-norm set under uniform masks; their experiments measure trained transformers under designed masks and expose the role of the training distribution. This comparison does not establish that the attainable accuracy is independent of the optimiser. The coupling between that ceiling and the delay is visible in their data and absent from ours; it is an open direction.
E.3 WHAT THE ALL-GOOD PROOF NEEDS FROM THE COLOURING
Appendix E.1 asked what the proof is stable to as the model varies. Here we vary the colouring while keeping the bias-free model, the product norm (4), and the mask law (1) fixed. Only the carrier construction uses addition; the counting argument that turns a carrier into an all-good statement does not.
E.3.1 A COLOURING-INDEPENDENT NOTCH AND A CARRIER CRITERION
Lemma E.1 (One-sided notch for any colouring). Fix and a deterministic sequence . Let satisfy . With probability over , there is no finite-width table with such that
(1) for every and ; and
(2) at least cells admit a rival with .
The failure bound is uniform in the choice of the deterministic colouring.
Proof. In Appendix C.3.2, replace by . The Gram matrix in Step 0 depends only on the grid and on . The low-rank split, sampling, and cover codes of Steps 1–3 use only the score table and its norm budget. In Step 4, the labels select the truth coordinate in polynomial comparisons, without changing their degrees or parameter counts. The resulting atlas may depend on , but its cardinality bound does not, and it is fixed before the mask is drawn. Step 5 uses only the size of a set and the uniform mask law. Thus the same bounds prove the claim for each fixed colouring, uniformly in that colouring. This is not a simultaneous event over all colourings.
Proposition E.2 (Carrier criterion). Let be deterministic. Suppose that, for every sufficiently large , it admits a full-grid carrier of width at most , with and satisfying
(99)
Then for every fixed ,
Proof. Zero padding makes the carrier feasible in (4) on every mask, so . For any endpoint response , take its width-N reduced representation from Lemma 3.2 and put . On , the observed unit margin and the upper carrier gap give , where . At every held-out non-strict error, some has , so the lower carrier gap gives .
Balance the two representations by positive homogeneity so that and . The stacked factors
(101) represent D, and the same estimate as (14) gives
(102)
Since , condition (99) is equivalent to . The stack may exceed width , which Lemma E.1 permits; the carrier itself must fit width to justify the bound on . An endpoint with supplies more than reverse-unit-gap cells. Apply Lemma E.1 with . Its exclusion event covers every endpoint simultaneously, proving (100).
The proposition is a sufficient condition. Its contrapositive constrains families that fail to be all-good; it does not say that a family without such a carrier fails to generalise. In particular, the observed optimum can be cheaper than a chosen full-grid construction, and a colouring-specific atlas can be smaller than our bound for the whole norm ball. The necessity direction in Conjecture 5.1 is an additional hypothesis.
E.3.2 FINITE ABELIAN GROUP TABLES
Let be a finite abelian group of order , identify its elements with , and write its operation additively. Its table is Latin. Let be its character group, with elements, and write , where . We use the standard finite-group character identities of Etingof et al. (2011, Sections 3.1–3.5).
Lemma E.3 (Abelian carrier). There is an absolute constant such that, for every finite abelian group of sufficiently large order , the table has a full-grid carrier of width , truth–rival gaps in , and .
Proof. Keep and the ReLU product surrogate from Appendix C.3.1. We give each change to that construction.
Character selection. For , character orthogonality gives . Indeed, a character with exists, and multiplying the sum by merely permutes its terms. Thus, if 1 denotes the trivial character,
The real parts lie in . Hoeffding's inequality and a union bound over the nonzero elements therefore give, with the same choice of , characters such that
Sampling with replacement is allowed; no distinctness is needed.
Products, scores, and gaps. Multiplicativity gives the real and imaginary addition identities. Set
(105)
By (43), these approximate and to error at most . Define
Its ideal version is , which is at the true label and at most at a rival. Since , the score error is at most . The margin calculation in Appendix C.3.1 therefore gives exactly the same interval .
Architecture and cost. Expanding using (41) produces a constant number of hinges per character. Each hinge is , with bounded row and column potentials; splitting equally between them makes it a single reduced ReLU unit. The preactivation row has norm , and its output column has norm , with constants independent of . Consequently
giving and width .
Proof of Corollary 4.4. Lemma E.3 gives . Apply Proposition E.2 and Theorem 3.5.
Thus the all-good pole contains every abelian group family, beyond the cyclic case of Theorem 4.1(i). Non-isomorphic abelian groups give distinct colouring orbits: an isotopy between two such group tables can be written ; substituting the identity in each argument shows that is a group isomorphism. Transposition changes no abelian table. At orders , partitions of therefore supply an unbounded number of distinct abelian orbits (11 at ), all covered by the same asymptotic bound. This is a limit statement along families, not a claim that a finite-order profile equals exactly.
E.3.3 WHAT THE FINITE-ORDER EXPERIMENTS CAN SUGGEST
The abelian rows , , and in Table 1 are finite members of families covered by Corollary 4.4. The corollary concerns the whole minimum-norm endpoint set under as ; the table reports one trained predictor per run at , under label-stratified masks and a fixed horizon. It neither tests the endpoint quantifier nor orders the finite-training accuracies.
There is nevertheless a concrete simplification for elementary abelian 2-groups. Every character is real with values in , so and (105) reduces to one product per character. Its two arguments have sum and difference in , interpolation nodes of , hence exactly on these inputs. The construction uses fewer hinges and has no multiplication error. These are improvements to this explicit circuit, not a comparison of the minimum achievable carrier norms across groups or a prediction of the 6/6 exact completions for .
E.3.4 NON-ABELIAN TABLES AND THE MISSING COST ESTIMATE
The transitions for invite an extension beyond scalar characters. Every one-dimensional character of a non-abelian group factors through its abelianisation. It therefore equals 1 on every commutator, so no selection of such characters can satisfy (104) at a non-identity commutator. For the order-64 dihedral group, the abelianisation has only four elements.
Write now for the irreducible unitary dual, let have dimension , and set . The regular-representation identity gives
The real part of the normalised character lies in , so sampling with weights gives a separation argument analogous to the abelian one. The candidate ideal score for label uses , rather than alone. In particular,
Each complex product of a row quantity and a column quantity can again be expanded into real products and approximated using . But this direct construction contains scalar complex products shared across the label scores; counting only the terms in does not cost all those scores. Moreover, multiplication errors accumulate with dimension, so the mesh may need refinement, and the nuclear and output norms must be recomputed. We leave these costs open. Families with uniformly bounded irreducible dimensions, including dihedral groups, are a concrete first target for Proposition E.2; growing dimensions require quantitative control of both approximation and representation size.
E.3.5 RARITY, AND WHAT A NECESSARY CARRIER WOULD MEAN
Every colouring has a full-grid carrier of finite, indeed polynomial, cost: the cell-indicator construction in Appendix C.1 uses N units and bounded parameter entries. This includes non-group Latin tables and uniformly random Latin squares. What is unknown for the non-group products of Section 5 is a construction cheap enough to satisfy (99) along an infinite family.
The uniform obstruction does give a precise rarity statement for cheap carriers. For a deterministic , let contain the colourings with a width-at-most-N carrier whose gaps lie in and whose cost satisfies for some . The proof of Proposition E.2, using , gives uniformly on this set. Thus Theorem 4.1(ii) implies
This rules out this cheap-carrier regime for almost all Latin colourings; it rules out neither arbitrary carriers nor the existence of a good endpoint in a mixed instance.
The sufficient budget in (99) is not necessary. The accompanying Carrier necessity counterexample note constructs a deterministic Latin family along even orders for which at every fixed positive observation fraction, yet the minimum of over all width-at-most-N carriers with gaps in is . Its ratio to tends to infinity. The construction uses independent four-cell Latin trades and the first crossing of a carrier-cost threshold; a multiscale margin count still establishes all-goodness. Thus the counterexample separates the old numerical budget from the broader carrier mechanism. Its lower bound concerns the joint cost , not the unit-margin cost without .
A mask-independent robust certificate. For a colouring and , define
where . The infimum ranges jointly over the representation and the exceptional set . Both are chosen from the deterministic task, independently of the mask. No upper gap is prescribed, and the architecture and width restriction remain those of Section 3.
In this notation, Conjecture 5.1 asserts that if a deterministic Latin sequence satisfies for every fixed under its corresponding mask law, then there exists a deterministic sequence such that
The premise includes every fixed accuracy threshold , separately at each fixed observation fraction; it does not assert a single event uniform in . The conclusion is equivalent to the existence of the carriers in the main-text statement: near-minimisers of the infimum suffice to select their representations and exceptional sets.
The upper-gap factor pays for the subtraction in the original proof, whereas a direct margin argument can work with itself. Removing it avoids treating that proof cost as an intrinsic necessary complexity. Allowing exceptional cells matches an accuracy limit that can ignore a vanishing fraction of difficult cells. Requiring all-goodness at every fixed positive observation fraction avoids assuming an unproved transfer from one fraction to all others. These are independent changes to the converse, not a claim that merely replacing the exponent by gives a sharp characterisation.
The accompanying multiscale exploration gives a sufficient condition using a full-grid unit-margin carrier of cost , without an upper-gap factor. It does not prove (112): all-goodness supplies neither an upper bound on nor a quantitative lower bound on the positive held-out margins. Scaling a good endpoint to unit margin outside a small exceptional set may therefore have uncontrolled cost. Averaging endpoints over masks does not resolve this problem, since accuracy does not control the magnitude of rare negative gaps or the norm of a combined representation. An entropy upper bound also cannot be reversed to force bad global minimisers above its sufficient budget.
Conversely, a robust carrier need not satisfy the constraints at observed exceptional cells, so it does not by itself give . Repairing an arbitrary -cell set requires additional cost and width control, beyond the four-cell trade argument. The revised conjecture is therefore only a proposed necessary condition, not an equivalence; neither necessity of the exponent nor a critical logarithmic factor is established.