MEKAWIRE
ExpertarXiv

LawKAN: Group-Law Layers for Composition -- When Imposing a Known Law Pays Off

Anna Mishchenko, Nikolai Gavrilin
From the abstract

Many tasks compose transformations by a known rule: chained rotations in robotics and navigation. Learned models relearn it, compounding error; classical estimators hardcode it and miss hardware deviations.

From the abstract. Our summary is in progress.

Full paper

LawKAN: Group-Law Layers for Composition -- When Imposing a Known Law Pays Off

Anna Mishchenko, Nikolai Gavrilin

Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.12567 (PDF).

Abstract

Many tasks compose transformations by a known rule: chained rotations in robotics and navigation. Learned models relearn it, compounding error; classical estimators hardcode it and miss hardware deviations. We impose the known structure and learn only the remainder: an exact non-commutative group law sits in the node of a self-contained layer, its edges learn local increments, and a zero-initialized correction \psi learns unknown deviations of the law. A pre-training criterion predicts exact representability. On fixed-angle \mathrm{SU}(2) composition, a 54-parameter dense edge is the most accurate dense model, at 27\times fewer parameters than the strongest fixed-matrix baseline, and lies 0.05^{\circ} above the Bayes floor. On real robot arms, an isolated 306-parameter \psi reaches 1.12–1.14 mm versus 1.29–1.33 mm for Gauss–Newton at N\geq 60, and the recipe transfers across three vendors and two protocols. The recipe matches classical fits where the data obey the law and loses where the imposed law is not the task’s.

1 Introduction

Composition tasks come with their rule known in advance, and the rule is a non-commutative product. We ask how much of the model should be that rule — imposing the structure we know and learning only the remainder.

The known structure operates at two levels: the group law (the exact, non-commutative symmetry of composition) and the form of the increment, when supplied by the task (e.g., a constant per-joint screw or a fixed analytic support). Consequently, only two things are learned: the values inside the known form (the edge coefficients) and the deviation whose form is unknown. The natural home for the law is the Kolmogorov–Arnold Network (KAN), which splits a layer into learnable edge functions and a fixed additive node, a split exact for addition. The law to be embedded, however, is multiplicative: composition is a fixed, non-commutative product. We ask what the split yields when the node’s law is a group law (a rule for composing two elements into a third), and under what conditions embedding a known law in the node pays off.

Our answer keeps the layer’s edge/node split and changes its node. The node applies the known group law exactly; a zero-initialized learned correction \psi modifies it only where the hardware deviates from the law, and at \psi{=}0 the node is exact. Each edge learns only the local step — the coefficients of a map from the input chart (a coordinate system on the group) into the group’s increment. Where the exponential covers the whole group (the compact case and \mathrm{SE}(3)) the increment is such a step; where it does not (GL^{+}(2,\mathbb{R})) the edge emits the group element itself, and the node composes by the law (Figure 1). Only the edge’s coefficients are learned; with the law fixed, the outcome is a reading of the data (Section 3.1), and the isolated correction of Section 3.4 learns the unknown part of a deviation. We call the family LawKAN1 with one instance per group: LawKAN-SU(2) for rotations, LawKAN-GL+ and LawKAN-SE(3) (Section 4). The governing principle — the law composes, the edge spans — is made precise in Section 3 as two levels of known structure and a representability criterion (Proposition 1); the rest measures the consequences.2

Figure 1: The recipe and its rotation case. (a) Only the edge is learned (the coefficients of the step): where the exponential map covers the whole group, the edge emits an infinitesimal step that the node turns into a group element; otherwise the edge emits the group element directly (e.g. GL^{+}(2,\mathbb{R}), dashed). The node applies the exact law and carries no parameters itself, but may be modified by an optional zero-initialized learned correction \psi (grey; Section 3.4). (b) Rotations: Fourier edges over the axis phases give a rotation vector, the exponential map lifts it to a unit quaternion, and the node composes by the Hamilton product (for other groups, only the edge’s target and the node’s realization differ, Section 4); an optional \psi modifies the product there as well. A parameter-annotated wiring of case (b) is Figure A10.
Contributions.
  • Known structure, imposed. The composition is a group law — an exact, non-commutative symmetry — placed in the node, with the edge spanning the step: composition is representable exactly when the edge carries the right coordinates for it (Proposition 1), and better edge features then improve results; placing an exact group law in a KAN node is, to our knowledge, new.
  • Learning the unknown deviation. Where the deviation’s form is not known, a zero-initialized correction in the node learns it (trained in isolation) and doubles as a diagnostic probe: it deviates from zero only when the data demand it, and its shape localizes the deviation.
  • One recipe, across the group laws. The same construction serves the compact \mathrm{SU}(2) (rotations), the semidirect \mathrm{SE}(3) (rigid motions) and the non-compact GL^{+}(2,\mathbb{R}) (positive-determinant 2{\times}2 matrices); adapting it changes only the group’s chart, the edge’s target and the node’s operation.
  • A measured map. The exact composer wins on composition-structured tasks with a small fraction of the parameters and saves data on a real arm at small training sets (1.5–2\times lower error with 60–200\times fewer parameters), while converging far faster than the matched MLP. It matches classical fits (least-squares or closed-form methods that hard-code the same law) without tuning on real sensors and robots, and the learned correction adds the deformed-law case where the hardware deviates. The full outcome map is Sections 5–6 and Table 6.
Headline results.

On real arm calibration, an isolated 306-parameter correction to the law matches or overtakes the same-class Gauss–Newton fit at every training size (1.12 vs 1.29–1.33\,mm for GN; exact node 1.37–1.40\,mm at N\geq 60) and transfers across three robot vendors and two protocols. On the remaining real probes (consumer IMUs, a gyroscope, three arms) the exact node matches the classical constant-fit reference without per-model tuning; where the imposed law is not the task’s, it loses. The full map is Section 5 and Table 6.

Where it is useful.

The practical case is the one the applications meet: a task with a law-side deformation and scarce data. There the exact edge fixes the law, so the correction starts from the right model and learns only the deformation. On our arm task the two-slot correction reaches 1.51\,mm at N{=}20 and 1.24\,mm at N{=}40, against 2.39 and 2.03\,mm for the matched MLP — 1.5–2\times lower error with 60–200\times fewer parameters — and our convergence check (Section 5.2) shows it reaching its plateau within a few hundred epochs, while the matched MLP needs 500–2000 and then overfits.

2 Related work

Rotation representations for learning. Continuous rotation heads — 6D (Gram–Schmidt; Zhou et al., 2019) and SVD-orthogonalized 9D (Levinson et al., 2020) — are the output standard and our strongest baselines; continuity fixes the codomain, not the algebra of composition, which such heads must still learn, and regression on manifold-valued regression is studied separately (Brégier, 2021).

Building known structure into the network. Equivariant architectures (Cohen & Welling, 2016; Thomas et al., 2018; Fuchs et al., 2020; Batzner et al., 2022; Deng et al., 2021) fix a symmetry (for a robotics survey see Seo et al., 2025); Lie-group reparameterizations (Falorsi et al., 2019) respect the manifold; Riemannian optimization (Absil et al., 2008; Boumal, 2023) and RPMG (Chen et al., 2022) fix the gradient side, and decompositions of non-compact, non-abelian groups into charts (Mironenco & Forré, 2024) supply the coordinate choices we use. The general principle — impose the known operator, learn the remainder — is known-operator learning (Maier et al., 2022). For composition, these methods never place the composition law itself as the node’s operation: each fixes a structure but learns the remainder wholesale, without separating the known form — which can be imposed exactly — from the part whose form is unknown. LawKAN takes this approach (Section 3). Equivariant models transport features under a global rotation rather than compose scalar phases, so we measure the standard readouts as opponents instead.

KANs and quaternion networks. KANs (Liu et al., 2024b) and MultKAN (Liu et al., 2024a) put learnable functions on edges with an additive (or scalar-multiplicative) node; EKAN (Hu et al., 2025), geometric (Alesiani et al., 2025) and permutation (Elbaz et al., 2025) KAN extensions add symmetries, and polynomial or wavelet edges replace splines (Sidharth et al., 2024; Bozorgasl & Chen, 2024), while range-aware Euler-angle regression (Sun et al., 2026) keeps the additive node where bounded joint ranges make the target near-additive — the complementary case to composition, where the node must carry the law. Concretely, LawKAN inherits the KAN edge/node split — a fixed node plus learned edge coefficients — but the node composes by a non-commutative group law rather than adding, and the edge basis functions are fixed in advance; only the coefficients are learned. Our use of the KAN label stays modest: the node is the group’s law, not an activation (footnote 1); a controlled comparison likewise finds KANs ahead mainly on symbolic tasks (Yu et al., 2024). The additive node cannot serve here: composing non-commuting increments through a finite Baker–Campbell–Hausdorff expansion does not terminate, so a truncation leaves a positive floor for generic inputs (Appendix C.3), while the exact group law is a finite operation (the Hamilton product costs 28 scalar operations). Quaternion-valued networks (Parcollet et al., 2019; Parcollet et al., 2020; Zhang et al., 2020; Pavllo et al., 2020) put quaternion arithmetic in the weights, not composition as a primitive.

Learned calibration and inertial odometry. Learned gyroscope calibration and inertial odometry (Liu et al., 2022; Stolero & Klein, 2024; Zhang et al., 2025) are points on the accuracy–complexity curve; TinyGC-Net (Cui & Zhao, 2024) shrinks a calibrator to 27 parameters for MCU deployment; configuration-dependent kinematics (Lu et al., 2025) interpolates local PoE models with a Fourier correction over the configuration — a configuration-indexed model, not a pair-level deformation of the law. Classical strapdown integration (Titterton & Weston, 2004) and product-of-exponentials calibration are the constant-edge limits of our recipe (Section 3).

Positioning. These lines build a known structure — a symmetry or a model class — into the architecture, while the composition stays fixed arithmetic. We build the composition law itself into the node (a non-commutative group law; to our knowledge the first KAN whose node carries one), and, because real hardware deviates from the law, we let a zero-initialized correction learn the part of the deviation whose form is unknown — imposed where the form is known, learned where it is not. The measured envelope (win/tie/lose) is in Section 5.

3 Method

Object of study. We study the case the paper’s premise is about: a composition, where elements of a group G are combined in a fixed order by \circ (for \mathrm{SU}(2), the Hamilton product) and the law itself is the structure we know and impose. This is the class of tasks — orientation, poses, calibration — in which embedding the known law in the node and learning only the remainder applies. The inputs are chart coordinates x_{1},\dots,x_{n} in the domain U of a chart \chi:U\to G; the answer is R=\chi(x_{n})\circ\cdots\circ\chi(x_{1})\in G, read out through a fixed map \pi (for \mathrm{SU}(2), the direction of a rotated probe vector). The law \circ is exactly the structure a generic learner must otherwise relearn. We develop the construction on three representatives chosen to exercise the design branches — compact vs non-compact, global vs non-global exponential, pure rotation vs mixed rotation–translation: the compact \mathrm{SU}(2), the non-compact GL^{+}(2,\mathbb{R}), and the mixed \mathrm{SE}(3) (Section 4).

The recipe. Two pieces of structure are known in a composition task: the law of composition (the node) and the form of the increment (what the task tells us about its increments). Everything else is learned — the values (coefficients, always unknown) and the deviation (what the hardware adds, of unknown form). The recipe imposes the law exactly in the node, realizes the edge in that known form, and leaves the values and the deviation to learning. A generic network is the degenerate case in which nothing is imposed; a classical calibration estimator fixes the law to the exact kinematics and the increment’s form to a constant-screw. This paper walks the middle; LawKAN is the recipe’s instance when the known structure is a composition law placed in the node.

3.1 The outcome map

The outcome is not a claim we make but a reading of the data: whether it gives parity, a win, a loss, or no gain is fixed by whether the data obey the imposed law or deviate from it, and in what form. Two objects can differ from the truth: the edge, which produces the increment from the chart, and the law, which the node applies. Reading each off the data gives the outcome; the two criteria of Section 3.3 decide it before training. We measure the outcome against two reference points:

  • the classical estimator — hard-codes the law and fits only its parameters. The recipe contains it, by the span criterion of Section 3.3: where the law holds and the edge spans the chart’s logarithm, the trained model is that estimator. Comparing with it is therefore a theorem, not an experiment.
  • a generic network — given no law, it relearns the composition from scratch. The recipe is a constrained instance of it (the law is fixed), so the empirical question is what that structure buys against it.

With these yardsticks we read the two objects in turn, edge first — the edge is the primary learned object, and the correction is trained only after the edge is frozen (Section 3.4):

Edge (the increment).

  • the increment’s form is right (the deviation lies in the estimator’s class) \to parity: the model is the classical estimator, its coefficients learned from data (the fully known case is the ideal limit).
  • an unknown increment form that falls inside the edge’s span \to win: the form is richer than the estimator’s class.
  • an increment form outside the span \to loss: a floor no training removes (Proposition 1).

Law (the composition).

  • no effect at the node (the law matches) \to the edge reading stands.
  • a deformation inside \psi’s span \to win: the classical estimator cannot carry a product-level deformation (Corollary 2).
  • a deformation outside \psi’s span \to loss (the projection remains).
  • the wrong law (a different group or rule) \to loss.

Common to either object: if the deviation is not identifiable (it depends on an input not given) or is noise, the outcome is no gain — the signal is not in the data, and no structure recovers it (at most, add the missing input).

One further boundary lives not in the data but in the fit: even a win or a parity can be undone by an unregularized correction trained on a small, seed-unstable set. We report it as a boundary of the trained model, not of the data (Section 3.4).

3.2 The construction, on the \mathrm{SU}(2) example

The construction is general — any group G with a chart whose analytic support can be written (the criterion below asks nothing more) — and we give it concretely on the compact \mathrm{SU}(2), the running example, noting at each step what a different group changes (Section 3.5). For \mathrm{SU}(2) two pieces are known: the law — the Hamilton product the node composes — and the form of the increment — a fixed-amount rotation about a unit axis, carried by the edge’s analytic support over the axis phases (\alpha,\beta). Transfer to the other groups is measured on synthetic composition tasks (Section 4) and, where the law is real, in the applications (Section 5). The whole layer is:

LawKAN-SU(2) layer (one composition). Input: axis phase pairs (\alpha_{i},\beta_{i}), in a fixed order; chain length n. The increment is \xi_{i}=\tfrac{\theta_{i}}{2}\,a(\alpha_{i},\beta_{i}) — rotation amount \theta_{i}, unit axis a(\alpha_{i},\beta_{i}) — and \mathbb{H} matches \mathrm{SU}(2) exactly. Features (fixed). F_{i}=\{1,\cos\alpha_{i},\sin\alpha_{i}\}\otimes\{1,\cos\beta_{i},\sin\beta_{i}\} (the tensor product of the two feature sets, 9 scalars per factor) — the known increment form. Edge (coefficients learned, form fixed). \xi_{i}\leftarrow W_{i}F_{i}\in\mathfrak{so}(3), yielding the rotation vector. Node (exact, no parameters). q_{i}\leftarrow\exp(\xi_{i})\in S^{3}; Q\leftarrow q_{n}\cdots q_{1}, the Hamilton product. Readout (fixed). \pi(Q): the direction of Q\hat{e}_{z}. Optional correction (learned, zero at init). Q\leftarrow Q\exp\big(\psi(f(A),f(B))\big), on the physical composition (Section 3.4). Parameters: the n edge matrices W_{i}\in\mathbb{R}^{3\times 9} (54 for n{=}2) and, optionally, the \psi head; the node and readout carry none. Known-values limit: with the amounts \{\theta_{i}\} and axes known exactly, every edge map is written down and nothing is learned — the layer is a transcription of the task.

With hand-set edge weights the machine reproduces the known rule exactly — the algorithm written down, not approximated; we state the lemma for \mathrm{SU}(2) and do not claim validity for any other instance (it verifies the constructive direction of Proposition 1 at K{=}1; the criterion itself is general, Section 3.5). The classical estimators of the applications — strapdown integration, nominal product-of-exponentials kinematics — are the zero-correction points of this layer: where nothing is unknown, the layer is the classical algorithm.

Lemma 1 (the layer is exact, \mathrm{SU}(2)). For every fixed \{\theta_{i}\} there exist edge weights, depending only on \{\theta_{i}\} and not on the input, such that the network computes the composition exactly: \widehat{Q}=Q, hence \pi(\widehat{Q})=\pi(Q), for all inputs (\alpha_{i},\beta_{i}). At K{=}1 the features \{1,\cos\alpha,\sin\alpha\}\otimes\{1,\cos\beta,\sin\beta\} contain the three axis components as single features (a_{x}=\cos\alpha\sin\beta, a_{y}=\sin\alpha\sin\beta, a_{z}=\cos\beta); weights \theta_{i}/2 on those, zero elsewhere, give \xi_{i}=(\theta_{i}/2)\,a(\alpha_{i},\beta_{i}); \exp(\xi_{i})=(\cos\tfrac{\theta_{i}}{2},\,a(\alpha_{i},\beta_{i})\sin\tfrac{\theta_{i}}{2}) is the exact per-factor rotation; the node composes by the Hamilton product. Full proof: Appendix C. ∎

The layer is fixed by (G,\chi,K,n) and carries no width to tune: the only tensors are the edge matrices W_{i} (and, optionally, the \psi head); the node and readout carry none.

3.3 The two criteria

If the layer is exact, what is there to learn? Two things: the increment’s values (the edge coefficients) and the deviation — the departure of the data from the known, at the increment or at the law. Two criteria decide the outcome before training, and we use both throughout the paper: the span criterion (Proposition 1) for the increment, and the law-match criterion (Corollary 2) for the law. Both are proved in Appendix C.1.

(i) The increment’s values (coefficients). The law and the increment’s form are right; the numbers are not — a rotation amount, a joint’s miscalibration, a sensor’s increment map. The learned object is the edge’s coefficient vector W, over the known increment form. Whether the edge can carry the unknown exactly — and what floor remains if it cannot — is decided before training by the span criterion:

Criterion 1 (span).

With a linear edge and the exact node, the architecture represents the composition exactly iff the row space of F contains a branch of \log\chi (one consistent choice of the multi-valued logarithm), up to the antipodal symmetry of the double cover — where q and -q give the same rotation (Remark 6); if a needed component is absent, a positive error floor independent of training remains.

The criterion cuts both ways: a form too poor leaves the floor above, and an over-complete form is not harmless either — features beyond \log\chi are spare capacity that fits noise — so the minimal sufficient form is preferred (pruning to the analytic edge beats the dense one). The constructive direction places \log\chi in the edge weights and the converse is in Appendix C.1; in words, the node is never the bottleneck when its law is the task’s --- the chart and the feature set are.3

(ii) The deviation: of the increment or of the law. The data may depart from the known — at the increment (a form the edge does not carry, absorbed by a richer edge form; Proposition 1) or at the law (a product-level change the edge cannot cancel). By the law-match criterion, the correction \psi absorbs the law side exactly when the deformation lies in \psi’s span:

Criterion 2 (law-match).

With the edge as the only learner (\psi\equiv 0), a node law differing from the chart’s on a reachable pair cannot be represented exactly. If the true law is written as A\star B=(AB)\exp(\eta(A,B)), the edge-only floor is, to first order, \|\eta\|, independent of training; \psi removes it exactly when \eta lies in \psi’s feature span, leaving its projection otherwise (Appendix G).

The two results bound the design space: the edge must carry the right coordinates, the node the right law. What is learned is always a deviation from the known, never the composition itself (Section E.3).

3.4 The law correction \psi

We stay in the \mathrm{SU}(2) construction of Section 3.2 and now let the law deviate too. When the data depart from the Hamilton product, we keep it exact and add a small learned law correction,

R(A,B)=(AB)\exp\!\big(\psi(f(A),f(B))\big),
(1)

with A,B\in S^{3} (juxtaposition the Hamilton product), f the pair features of the two factors, and \psi a small head whose output lies in \mathfrak{so}(3), so R is again a unit quaternion. The correction is right-multiplied onto the physical composition: a joint or a step. It is not applied at every intermediate product along a long chain, where it would compound. Every head’s last layer is zero, so the relaxed model is the exact model at initialization. This is exactly the law-match criterion (Section 3.3): a product-level deformation \eta is removed when it lies in \psi’s feature span, and its projection left otherwise. The parameterization makes no additivity assumption — any perturbation of the Hamilton product is again a unit quaternion, right-multiplied as \exp(\eta).

What is known is imposed here too. When the form of the law’s deformation is known — a gravity-torque term, the sign of a backlash, a fixed per-joint offset — it goes into an analytic \psi with only its coefficients fitted (the known-deformation probes, Appendix G).

The learned heads are for the case where the law’s deformation has no known form. A learned head maps the pair features f=f(A,B) into the algebra and, in general, combines two parts — a global and a local one — as their superposition \psi=\psi_{\mathrm{g}}+\psi_{\mathrm{k}} (the two corrections add in the algebra), so no per-task choice is needed in the common case:

  • a global readout — a smooth linear map \psi_{\mathrm{g}}(f)=Wf with weights W (a small MLP decoupled from the arm’s physical links), which extrapolates a smooth deformation such as thermal drift or compliance;
  • a local kernel — an expansion \psi_{\mathrm{k}}(f)=\sum_{k}c_{k}\exp(-\|f-f_{k}\|^{2}/2\sigma_{k}^{2}) over data centers f_{k}, with learned coefficients c_{k} and widths \sigma_{k} (the locality scale of each center); it is large where the data speak and decays off them, matching localized mechanisms such as backlash or friction, and conservative off the data.

A single head wins only in the boundary regimes measured later: the kernel on a seed-unstable set (Section 5.3); the global where the deformation is smooth (Section 5.4). The scopes are collected in Appendix G (Table 25).

The experiments force two caveats. First, zero initialization is only a starting point. Training can move \psi away from the exact law, and an unregularized head can raise the held-out error (the two-slot on Kinova, Section 5.3). Conservatism is a property of the map off the data, not a guarantee for the trained model. Second, the correction doubles as a probe. Under isolation — freeze the exact edge and train \psi alone — a nonzero correction is a candidate signal against the law and localizes it. Joint training, by contrast, is non-identifiable: the edge absorbs part of the correction and drifts into a compensated solution that does not transfer. Isolation removes the drift (Appendix G).

3.4.1 What “the data obey the law” means

The phrase is shorthand for a property of the classical estimator’s residual — the estimator being the constant-edge limit of our layer with \psi\equiv 0. Fit it and examine what it leaves. Three cases: (i) the residual is at the noise floor — the data obey the law; the exact node is already the estimator, and no correction has a signal to find (Section 5.5). (ii) The residual is structured but lies inside the estimator’s class — a form gap on the edge side, to be closed by a richer edge, not by a law correction (Section 5.3, the socket FR3 unit). (iii) The residual is structured and pair-dependent — a deformation of the law, the case of this section. The two criteria of Section 3.3 decide which case a dataset is before any training.

Physically, a law-side deformation makes the composition of two configurations differ from the group’s product. Three physical candidates were probed. Gravity load is ruled out as the dominant term on the FR3: a physics-shaped correction is at parity with the exact model and worse than the agnostic \psi at N\geq 60 (X19). Backlash appears in a synthetic probe with matched approaches: the sign of the last joint motion predicts the residual direction (alignment 1.000), and a constrained correction in isolation removes 98\% of the hysteresis floor (X20); on the real arm the signature does not rise above the 0.44\,mm residuals, so that verdict stays inconclusive (X21). The smooth-drift regime is represented by the range-only data, where a global head suffices (Section 5.4); a thermal origin is a hypothesis read off the head comparison, not a verified mechanism. None of these forms can be assumed a priori on a new platform, which is why the default correction is learned.

The correction doubles as the detector. Train \psi in isolation on the frozen exact edge: at \psi=0 the model is the exact-law model, so a nonzero correction is a candidate signal of a law-side deformation, and its input dependence is diagnostic — zeroing a channel group of the pair features degrades the held-out error on both sides (X16; quantified in Section 5.1). On synthetic exact-law data the isolated correction gives no held-out gain and overfits at small N (S1): the verdict is read at held-out error, not from the norm of \psi.

3.5 Generalization to three group laws

The construction above is the \mathrm{SU}(2) instance. The recipe itself is general, so we now separate what carries over to any group law from what has to be re-chosen for each.

The theory is general: the span criterion and its converse (the chart-spanning argument, Appendix D.4) hold for any group G and chart satisfying hypotheses (i)–(iv) of Appendix C.1. The criterion that gates the edge therefore works before training for any law a task supplies.

The law must be associative, not merely invertible. Associativity is what makes the fixed-order product well-defined, and the tasks’ laws are groups, whose inverses power the converse of the span criterion (Appendix D.4). We therefore do not use a non-associative algebra such as the octonions \mathbb{O}. The recipe needs only an associative law and a chart whose analytic support can be written; the group case adds the inverses that power the converse of the span criterion. Laws beyond groups — monoid and semigroup products, such as strings or typed chains — therefore carry over unchanged, and we leave their study to future work (Section 7).

What is group-generic is the recipe’s core: the node executes the law, the edges carry the increments, the span criterion gates the edge, and the zero-initialized correction handles deviations. Exactly three things are group-specific — the chart, the edge target, and the node realization — and the three representatives we test exercise the design-relevant branches:

  • \mathrm{SU}(2) — compact, global exponential, periodic chart. Chart: axis phases (\alpha,\beta); edge: F_{i}=\{1,\cos\alpha,\sin\alpha\}\otimes\{1,\cos\beta,\sin\beta\}\to\mathfrak{so}(3); node: the Hamilton product.
  • GL^{+}(2,\mathbb{R}) — non-compact, no global exponential. Chart: Iwasawa (\theta,s_{1},s_{2},t); edge: the six analytic features \to the group element itself; node: the matrix product.
  • \mathrm{SE}(3) — mixed, surjective exponential, semi-direct product. Chart: axis, angle, translation p; edge: \{a,p,a{\times}p,a(a{\cdot}p)\}\to\mathfrak{se}(3); node: \exp then the rigid-motion product.

For each branch the constructive direction is realized with written weights over the chart’s analytic features: Lemma 1 for \mathrm{SU}(2), and the constructed weights of Appendix C.2 for GL^{+}(2,\mathbb{R}) (residual 1.1\times 10^{-7}) and \mathrm{SE}(3) (1.6\times 10^{-7}). All three instances are constructively exact, the two non-compact ones up to floating-point residual.

3.6 Model summary

The model has two parts. The node is the composition operator: the exact node applies the known group law, and a relaxed node adds the learned correction \psi. The edge is the learned feature map into the node’s target (the algebra when the exponential is global, the group element itself otherwise; Section 3.5), and its type follows the task. We write a model as LawKAN-\langlegroup\rangle, edge: \langleedge\rangle, node: \langlenode\rangle (e.g. LawKAN-SU(2), edge: Fourier (K{=}1), node: exact), where the group names the instance (the law and chart), not the architecture. Tables 10 and 11 (Appendix B) list the edge types and the node variants studied here.

4 Synthetic tasks: transfer, exactness, and limits

The synthetic program has two parts. One composition task per group asks whether the construction transfers (the exact node, different charts and edges); the home case then asks what each part contributes — the exact node’s representability, the relaxed node’s correction under a deviating law — and where the advantage ends. Existence is settled in Section 3; what follows measures the trained edges and the necessity side (blind ablations, floors). Each subsection states the result and delegates the construction, the mechanism and the per-seed tables to the appendices.

4.1 Across groups

One composition task per group tests that the recipe transfers; Section 3.5 lists the per-group construction. \mathrm{SU}(2) is the home case — exact already at K{=}1 (Lemma 1) and the one the sensor tasks use — developed in Section 4.2.

On the non-compact GL^{+}(2,\mathbb{R}), where the exponential is not global, the constructed weights are exact to 1.1\times 10^{-7} (Appendix C.2) and the trained edge reaches 0.0024 relative Frobenius, beating a 4996-parameter MLP (0.53); a generic edge over raw coordinates plateaus (0.82): the limit is the chart and the feature span, not the node. On the mixed \mathrm{SE}(3) (surjective exponential) the constructed weights are exact to 1.6\times 10^{-7} and the trained edge reaches 4.8\times 10^{-4}, orders below a dense linear edge (0.39) and the strongest MLP (0.33, h{=}64; paired p{=}3\mathrm{e}{-8}); a blind feature-group test on held-out seeds confirms that both nonlinear feature groups are necessary and that the floor scales linearly in the translation noise. Table 1 summarizes the three, and Figure A1 the transfer.

Table 1: The three instances: one exact node, different charts and learned edges (GL^{+}(2,\mathbb{R}): the edge emits the group element directly, since the exponential is not global). Errors: \mathrm{SU}(2) exact; GL^{+}(2,\mathbb{R}) relative Frobenius; \mathrm{SE}(3) per-coordinate probe. Details in Section D.4.
  • LawKAN-SU(2)
    Chart (input coords)
    axis phases (\alpha,\beta)
    Learned edge \to exact node
    Fourier features \to\mathfrak{so}(3), exp + Hamilton
    Result
    exact (Lemma 1)
  • LawKAN-GL+
    Chart (input coords)
    Iwasawa (\theta,s_{1},s_{2},t)
    Learned edge \to exact node
    6 product features (group elem.), matrix product
    Result
    0.0024 (dense 0.82)
  • LawKAN-SE(3)
    Chart (input coords)
    axis, angle, translation p
    Learned edge \to exact node
    \{a,\ p,\ a{\times}p,\ a(a{\cdot}p)\}\to\mathfrak{se}(3), exp + rigid product
    Result
    4.8\mathrm{e}{-4} (MLP 0.33)

The cross-group evidence is bounded: one synthetic composition task per group with task-specific metrics, so error magnitudes are not directly comparable across different structures — a characterization rather than a strict taxonomy; the general statement is the criterion, and the transfer of the construction is what the three branches test. Further laws (\mathrm{SU}(N), symplectic, \mathrm{sim}(3), nilpotent, Lorentz, affine) are future work (Section 7).

4.2 The compact case in depth

We study one case, LawKAN-SU(2) on rotations, in depth: it is the home case — the compact instance, and the one the sensor tasks use (Section 5.5) — and it admits a measured Bayes floor, which makes every effect attributable. The construction is in Appendix H, mechanism details in Appendix I, and per-seed and expanded tables in Appendix D.

4.2.1 The benchmark and the opponent matrix
Figure 2: Opponent matrix as a Pareto front (log–log): geodesic error vs parameter count (E1; hollow markers: the same opponents at their best learning rate, E38); rotation amounts fixed, not fed as input. LawKAN-SU(2) (54 params) leads the front with a single point — its count is fixed by the construction (no width knob); the node/edge capacity curves are Figure A2.

The benchmark composes two of these rotations, with fixed amounts (0.7 and 1.1 rad, not fed as input) about random axes, and the network predicts the probe direction from the noisy axes. Training follows the shared protocol of Appendix A; the standard rotation heads (6D, SVD-9D, normalized quaternion) share a cos/sin-featured MLP backbone, so only the head differs.

Table 2: Opponent matrix: geodesic error (deg), mean \pm std, input/output noise \sigma{=}0.03 (h: hidden width); the rotation amounts are fixed, not fed as input. The full 21-row table is Table 14 (Appendix E); the lower block gives the same opponents at their best learning rate (E38).
  • LawKAN-SU(2), edge: Fourier (K{=}1), node: exact
    Params
    54
    Error (deg)
    2.78 \pm 0.02 (5 seeds)
  • Opponents
  • MLP + quaternion head h{=}32
    Params
    1476
    Error (deg)
    3.36 \pm 0.06 (5 seeds)
  • MLP + quaternion head h{=}32 + RPMG (Chen et al., 2022)
    Params
    1476
    Error (deg)
    3.42 \pm 0.15 (5 seeds)
  • MLP + 6D h{=}32 (Zhou et al., 2019)
    Params
    1542
    Error (deg)
    3.91 \pm 0.11
  • MLP + 9D-SVD h{=}16 (Levinson et al., 2020)
    Params
    569
    Error (deg)
    4.32 \pm 0.46
  • RealKAN + 6D head h{=}16
    Params
    550
    Error (deg)
    4.90 \pm 0.26
  • MLP h{=}4 (atan2 head)
    Params
    76
    Error (deg)
    15.14 \pm 1.44 (5 seeds)
  • Tuned learning rate (E38):
  • MLP + quaternion head h{=}64, tuned
    Params
    4996
    Error (deg)
    3.25 \pm 0.02 (5 seeds)
  • MLP + 6D h{=}16, tuned (Zhou et al., 2019)
    Params
    518
    Error (deg)
    4.00 \pm 0.54 (5 seeds)
  • MLP h{=}4 (atan2), tuned
    Params
    76
    Error (deg)
    14.41 \pm 1.05 (5 seeds)

LawKAN-SU(2) is the most accurate model, with 27\times fewer parameters than the strongest baseline in the fixed matrix (92\times fewer than the strongest tuned baseline), and it comes within 0.05^{\circ} of the measured Monte-Carlo Bayes floor — the error of the best possible predictor under this input noise (+0.05^{\circ}; strongest fixed-matrix baseline +0.63^{\circ}, strongest tuned baseline +0.52^{\circ}). The learned edge matches the exact construction it embeds rather than beating it: the exact composition under the analytic features is its optimization instance, and the floor is its noise-limited value. The unstructured architectures must learn the composition and lag behind. Neither a Lie-algebra baseline, nor baseline tuning, nor training on the reported metric closes the gap, and the edge is roughly 32\times more sample-efficient than the fixed-protocol 6D baseline (Figure A3); against the strongest tuned baseline the factor is about 7\times (E39). Tuning strengthens these baselines without changing the ordering: the best cell of the registered grid (E32; MLP-Quat h{=}64, lr 3\cdot 10^{-3}) reaches 3.25\pm 0.02^{\circ} at 4996 parameters, and the 6D head reaches 4.00\pm 0.54^{\circ} at lr 10^{-2} (E9/E38); both remain above the floor, and LawKAN’s own sweep (E38) confirms 10^{-2} as its best rate (2.78 vs 2.82 at 3\cdot 10^{-3}). Figure 2 shows the benchmark (E14) as a Pareto front; the full 18-configuration matrix and the protocol argument are in Appendix E (Table 14). The edge-side capacity variants are in Figure A2.

4.2.2 Node versus edge: the mechanism
Which features, not how many.

On the benchmark of Section 4.2.1, the K{=}1 construction leaves only the edge’s feature set to choose. Pruning the 54-parameter dense edge to the three analytic features (18 parameters) is more accurate, while a random equal-size mask is far worse (32.9^{\circ}): the identity of the features, not their number, and automatic magnitude pruning does not recover it. The exp-map node also avoids the singular q/\|q\| regimes (Appendices H, I). When the rotation amount is supplied as an input, the same edge stays at the floor for variable angles (0.14–0.35^{\circ}; Table 28) where the fixed-angle edge leaves a 24–35^{\circ} floor.

Pre-registered isolation separates the two ingredients under the same node. The spanning edges (Fourier, MLP h{\geq}8) reach the best rows of Table 17 (Appendix E.2); both no-node controls remain above them; and every matched edge below 278 parameters fails. The span criterion (Section 3.3) is tested by the two linear-side rows — the 30-parameter linear edge fails and the 18-parameter analytic edge spans — while the 278-parameter MLP threshold is a capacity observation, not a span test. The node is necessary but not sufficient, and the analytic edge is the cheapest spanning point. The full-\mathrm{SO}(3) readout keeps the ordering (Table 13); details and element ablations are in Appendix E.2. This is the exact node’s contribution — the representability side. Where the law itself deviates, the relaxed node is what wins, and Section 4.2.4 measures that case.

4.2.3 Boundaries: where the advantage ends

All stress tests use the dense edge; the boundaries:

  • noise: linear degradation, dominant over the curve; the Fourier edge and the group law are global out of band (Figure A4);
  • depth: the advantage widens along chains up to n{=}8, where every architecture leaves the regime (n{=}6 seed-bimodal; Appendix D);
  • hidden angles: the margin narrows to the Bayes floor — structure–task alignment, not a universal parameterization win (Table 6).
Mismatch: the null task.

Where the imposed law is not the task’s, the node loses: the Hamilton node reaches 23.87\pm 0.41^{\circ} against 12.64\pm 3.00^{\circ} for an MLP (h{=}4). This is our violation of the recipe’s own premise, not an unknown structure (E7; Appendix G).

4.2.4 The deformed law

On synthetic data generated by an exact serial-chain law the isolated correction gives no held-out gain and overfits at small N (S1). On data deformed by a known pair-dependent function it recovers the noise floor (1.40 vs 11.5\,mm at N{=}160), while the exact model stays at its floor (S1; Figure A9(a), Appendix G).

5 Applications

The two criteria of Section 3.3 predict three outcomes, and we test each on real data with known ground truth: where a same-class classical estimator exists and the law holds, the model is that estimator (parity, with data efficiency); where the hardware deviates from the law and the deviation falls in the correction’s span, the correction wins; and where the imposed structure is not the task’s, it loses. A group-law subcomputation cannot be read off an end-to-end system, so we evaluate the recipe in isolated subcomputations whose ground truth is known.

Across the applications our models use the same optimizer (Adam with a cosine schedule) and the task’s own objective. Where a matched comparison is possible we fit the reference with the same optimizer and loss (row 3 vs row 6 of Table 3; the socket reference), so those comparisons isolate the architecture, not the optimizer; we also report the classical optimum on its own solver (GN), so optimizer and loss effects can be told apart from structure. Our models use the recipe’s constant learning rate, without a per-seed tune; the learned opponents are given their best configuration from the registered four-configuration grid (X22) — a deliberately conservative asymmetry for our side. Unless stated otherwise, p-values are per-comparison (two-sided paired t-test over shared seeds; Appendix A.4); where a family of tests is reported, the correction is stated (Benjamini–Hochberg for the socket table), and the remaining cells are exploratory.

5.1 The deformed arm: the correction as remedy and probe

Why this task. The test needs a real device whose kinematics deviate from the ideal, with ground-truth poses at several data sizes — which separates a data-scarcity win from an asymptotic one. Our test bed is the Franka Research 3 (FR3) robot, evaluated on 114 real poses (Nadeau, 2024) (joint encoders plus camera-recovered flange poses). Performance is scored by held-out end-point position error at N{=}20/40/60/80. The classical bar and the learned opponent are the two poles of Section 5. Section 3.4.1 makes “obey the law” operational: it is a property of the classical estimator’s residual, not an assumption about the hardware.

Design: why these choices. The classical pole is the product-of-exponentials least-squares fit (PoE) and its Gauss–Newton optimum (GN, the classical estimator). The learned opponent is a residual MLP, tuned to 18k–69k parameters (59–225\times the two-slot model’s 306). What is known about the task then fixes the recipe:

  • The group law. The task is rigid-body motion, so the known structure is the exact \mathrm{SE}(3) group law, imposed in the node.
  • The form of the mismatch. We impose the known per-joint form — the classical estimator’s corrected per-joint screw — on the edge; whatever the hardware adds beyond it is left to \psi.
  • What is not known. The mismatch’s form is unknown — any pair-dependent deformation — so we learn it with a small two-slot \psi (a global linear trend with a size-dependent weight-decay dose, plus a local RBF kernel; 306 parameters) on the frozen exact edge, trained in isolation; the two-slot is the default because no single head dominates across settings (Section 3.4).

Experiments. The headline: on the FR3 arm the isolated two-slot correction is below both the exact node and the classical GN optimum at every N (1.51 vs 1.56\,mm at N{=}20; 1.12 vs 1.29–1.33\,mm for GN at N{\geq}60; the exact node is 1.37–1.40\,mm). A paired seed bootstrap (10{,}000 resamples) of row 7 minus row 1 gives -0.05\,[-0.18,+0.07] at N{=}20 and -0.15\,[-0.25,-0.08], -0.14\,[-0.24,-0.06], -0.21\,[-0.26,-0.16] at N{=}40/60/80.

The controls below show that this is a law correction, not capacity and not an edge effect.

  • Does the learned edge with the rigid law reproduce the classical estimator? By the span criterion the exact node is the classical estimator of its class, and on real data its outputs match the reference per-joint screw to machine precision ({\leq}10^{-11}) at every N (Table 3, rows 3 and 6); the gap to the strongest optimum (row 1) is optimizer and loss, not class. The next question is whether an isolated \psi adds beyond this.
  • Is there an extra deformation the law does not carry? The law-match criterion (Section 3.3) says an isolated \psi can win only if the data carry a product-level deformation inside \psi’s span — one the per-joint class cannot express. On the FR3 arm it wins: the two-slot correction (Table 3, row 7) is below the exact node (row 6) at every N (significantly for N{\geq}40: paired p=0.028/0.007/0.003 at N{=}40/60/80; N{=}20 p=0.84) and below the classical GN optimum (row 1) as well (1.51 vs 1.56\,mm at N{=}20, within noise; 1.12 vs 1.29–1.33\,mm for GN at N{\geq}60, exact node 1.37–1.40). The FR3 arm’s deviation therefore has a component outside the per-joint class: the correction removes a floor the per-joint edge cannot. It beats the exact node under the same Adam optimizer, which we do not tune per task, and it also beats the best GN fit, where the optimizer is tuned.
  • Is the gain just capacity? A strong learned opponent — the validation-selected residual MLP (Table 3, row 4) — is at parity with the exact node (row 6) for N{\geq}60, and even its test-oracle best (row 5) stays above the two-slot model (row 7). Extra parameters do not help, so the gain is not capacity.
  • Is the deformation real, and where does it sit? The correction is pair-dependent: both sides of the pair carry weight — setting either side’s angle or translation channels to zero raises the error from 1.30 to 3.75–4.71\,mm (X16, Fourier head; Figure 3a); the final two-slot head reproduces the qualitative split (1.25 to 3.35–4.38\,mm; X16b). With the per-joint edge fixed, only 12\% of its effect field can be absorbed by the edge (88\% orthogonal; G3, and the final two-slot head reproduces 88\%; G3b), and training the edge jointly (Table 3, row 8) stays within 0.07\,mm of isolation (row 7) — a law-level correction rather than compensation of this edge (a richer edge could absorb more; that control is not run here). A node-only learned law (Fourier \psi, no per-joint edge; row 9) overfits at small N, so the learned per-joint edge matters.
Table 3: Real-robot calibration (FR3 arm): end-point position error (mm; mean\pmstd over 5 seeds, each a random split). Nominal 10.65\pm 1.90\,mm; the base-only fit saturates near 4.4\,mm. Superscripts give each row’s optimizer and loss (the matched pair shares them, rows 3 and 6): A Adam + bounded 2(1-\cos) pose loss; G GN on the position residual (strongest); P PoE least squares (weaker). The note marks the independent-implementation sanity check (agrees with the exact node to machine precision, X42), the isolated versus joint (control) correction, and the analytic-edge ablation; the oracle row picks the best configuration on the test set itself (it uses test information, so its error is an optimistic best-case bound, not a deployable model), reported for N{\geq}60. The opponent’s width and learning rate are selected per seed on validation data; the 18k–69k range is that per-seed selection, so the capacity comparison is against the best per-seed opponent.
  • 1
    kind
    reference
    model
    per-joint screwG
    params
    54
    note
    strongest
    N{=}20
    1.56\pm 0.14
    N{=}40
    1.39\pm 0.10
    N{=}60
    1.29\pm 0.10
    N{=}80
    1.33\pm 0.09
  • 2
    kind
    reference
    model
    PoEP
    params
    34
    note
    weaker class
    N{=}20
    1.72\pm 0.22
    N{=}40
    1.58\pm 0.14
    N{=}60
    1.47\pm 0.08
    N{=}80
    1.52\pm 0.07
  • 3
    kind
    reference
    model
    per-joint screwA
    params
    54
    note
    sanity check
    N{=}20
    1.53\pm 0.18
    N{=}40
    1.49\pm 0.11
    N{=}60
    1.37\pm 0.08
    N{=}80
    1.40\pm 0.06
  • 4
    kind
    opponent
    model
    residual MLPA
    params
    18k–69k
    note
    selected
    N{=}20
    2.39\pm 0.40
    N{=}40
    2.03\pm 0.46
    N{=}60
    1.35\pm 0.26
    N{=}80
    1.33\pm 0.42
  • 5
    kind
    opponent
    model
    residual MLP, oracleA
    params
    18k–69k
    note
    optimistic
    N{=}20
    —
    N{=}40
    —
    N{=}60
    1.27\pm 0.25
    N{=}80
    1.26\pm 0.37
  • 6
    kind
    LawKAN
    model
    exact nodeA
    params
    54
    note
    —
    N{=}20
    1.53\pm 0.18
    N{=}40
    1.49\pm 0.11
    N{=}60
    1.37\pm 0.08
    N{=}80
    1.40\pm 0.06
  • 7
    kind
    LawKAN
    model
    two-slotA
    params
    306
    note
    isolated
    N{=}20
    1.51\pm 0.24
    N{=}40
    1.24\pm 0.08
    N{=}60
    1.14\pm 0.07
    N{=}80
    1.12\pm 0.11
  • 8
    kind
    LawKAN
    model
    two-slotA
    params
    306
    note
    joint (control)
    N{=}20
    1.52\pm 0.31
    N{=}40
    1.19\pm 0.04
    N{=}60
    1.08\pm 0.06
    N{=}80
    1.09\pm 0.17
  • 9
    kind
    LawKAN
    model
    node-only \psi (Fourier)
    params
    198
    note
    no per-joint edge
    N{=}20
    2.55\pm 0.70
    N{=}40
    1.53\pm 0.16
    N{=}60
    1.20\pm 0.09
    N{=}80
    1.18\pm 0.14
Figure 3: (a) The correction wins: held-out error against N for the exact node, the classical GN optimum, the isolated two-slot correction, and the residual MLP; the two-slot is lowest at every N. (b) The measured head comparison on the FR3 arm: the global (Fourier) head overfits at N{=}20; the two-slot head is best in the data-starved regime, and at large N the global and two-slot heads coincide within noise — no single head dominates. (c) On the FR3 arm, which inputs carry the learned correction (X16, Fourier head; the two-slot head gives the same qualitative split, X16b): held-out error with one input channel group zeroed — both sides of the pair matter; the inset plots the correction norm \|\psi\| against the B-side rotation angle \theta_{B}.

5.2 Convergence check: the model, not the budget

The question. On the FR3 arm calibration task the learned opponent — the residual MLP, trained under the same optimizer, loss and splits — trails LawKAN-SE(3), node: relaxed (two-slot) (Table 3, rows 4 and 7). Is that a limit of the MLP’s model class, or is it undertrained? A checkpoint grid answers this directly.

Figure 4: Convergence check (X46 A1) on the FR3 arm calibration task of Table 3 (not the FR3 unit of the socket protocol, Table 4): held-out error vs training epochs (checkpoint grid 10–4000, 5 seeds) for LawKAN-SE(3), node: relaxed (two-slot), and the MLP opponent at N{=}20/60/80. LawKAN reaches its plateau by 250–1000 epochs; the MLP is best at 500–2000 and degrades after. The grid was run on this task only. The MLP opponent runs at its per-seed selected width and learning rate (h\in\{128,256\}, 18k–69k parameters, 10^{-3} or 10^{-2}, Table 3); the two-slot at 5\cdot 10^{-3}, so the early transient is the optimizer, not the model.

What the grid shows.

  • LawKAN plateaus early. It reaches its held-out error by 250–1000 epochs and does not improve afterwards; extended 8000-epoch runs are not better.
  • The MLP opponent peaks and then degrades. It is best at 500–2000 epochs and rises afterwards: at N{=}80, 1.24\,mm at 1000 vs 1.33\,mm at 4000; at N{=}60, 1.25\,mm at 2000 vs 1.35\,mm at 4000. More training makes it worse, not better.
  • On this task, the gap is the model. Both models are past their own optimum, so the difference comes from the parameterisation, not from the training budget.

Training dynamics. Two different effects produce the remaining spikes.

Startup transient. At lr 5\cdot 10^{-3} LawKAN overshoots in the first tens of epochs (up to {\sim}24\,mm) and recovers. Gradient clipping does not remove it; lr 10^{-3} cuts the peak fivefold at the same final error (X52).

Residual chart spike. At some seeds a smaller spike remains. Its cause is an operand chart singularity: the pair features log the accumulated pose, and when its rotation crosses \pi the axis–angle chart branches (the quaternion component w_{A} changes sign), although the learned correction \psi itself stays small (\lVert\omega_{\psi}\rVert\approx 0.02\,rad; X53-print-2). Three checks separate mechanism from symptom:

  • Features. The quaternion-feature variant of LawKAN halves the peak but does not remove it, and the final error rises (26\to 13\,mm; 1.09\to 1.29\,mm; X53-fix).
  • Metric. A kernel defined by the group metric instead of input coordinates does not recover the final error either (1.27 and 1.39\,mm; X60).
  • Trajectory. Averaging the weights over training (Polyak/EMA) removes the spike in every configuration we ran (raw maxima of 6–40\,mm fall to {\leq}1.6\,mm) and leaves the final error within 0.02\,mm (X59, X61).

What follows. The spike is a property of the training trajectory, not of the learned solution: average the weights before deployment. A separate matched-protocol check at N{=}60 (200 epochs, six seeds; X61, not a Table 3 row) finds no cost for the branch-safe variant (quaternion features, global slot only): mean -0.062\,mm, 90\% CI (-0.114,-0.011); the interval misses the \pm 0.11\,mm margin by 0.004\,mm, so equivalence at the \pm 10\% margin is not established. We therefore keep the feature kernel as the default and recommend the branch-safe variant for tasks that cross \pi.

5.3 Transfer across vendors: the socket protocol

Why this task. The deformed arm is a single robot; a general recipe should transfer across vendors on a common protocol, where each unit’s true deviation is unknown and the ground truth is an independent metrology. The MUKCa socket-consistency protocol gives one task and metric on four units (KUKA iiwa14, Panda, Kinova Gen3 lite, the FR3 unit): held-out root-mean-square (RMS) scatter (mm).

Design. The scheme is the one of Section 5.1: the exact \mathrm{SE}(3) group law in the node, the full per-joint screw (the dense screw) as the classical reference, and the reduced edge (tool plus joint biases) with \psi as the isolated correction. The residual deformation is unknown; where it lies inside the full constant-screw class that the reduced base does not contain, no correction can span it — a base-form boundary, not an accuracy limit. Unlike configuration-dependent PoE interpolation (Lu et al., 2025), which fits local models plus a smooth, configuration-indexed correction, one exact law is imposed here and the correction is a pair-level deformation of the composition, trained in isolation.

The reference and our models share the optimizer: on this protocol both the classical per-joint screw and our edges are fitted with the same Adam schedule, so the comparison isolates the architecture (the node’s law and \psi). The classical Gauss–Newton fit differs in both optimizer and loss; where we report it (the arm table, Table 3, row 1), the table separates the two and we do not attribute the difference to the optimizer alone.

Experiments.

  • Does the correction transfer across vendors? On units whose deviation is pair-dependent and whose reduced base suffices, \psi should win. Measured (Table 4): it does on KUKA iiwa14 (0.166 vs the reduced edge 0.55\,mm, p<0.001; and vs the dense screw 0.26\,mm, p{=}0.023) and Panda (0.330 vs 0.93\,mm, p<0.001; vs dense 0.49\,mm, p{=}0.007); on the same KUKA in two further tool sessions it wins both (0.23/0.38 vs 0.61/0.75), so the deformation is a property of the robot, not the setup.
  • Where does it stop, and is that a limit? On units whose mismatch lies inside the constant-screw class, we predict a boundary. Measured: on the FR3 unit the full per-joint screw already spans the mismatch (0.29) and \psi cannot beat the dense screw. Both boundaries are base-form mismatches — a base whose form nests the classical estimator would reduce them to parity, not loss (a design direction we do not measure here).
  • Is the collapse the correction’s fault? On the Kinova platform, the reduced edge underfits a large base mismatch, forcing \psi to absorb a large residual; consequently, the socket objective is susceptible to a degenerate workspace collapse. Measured: the global slot is seed-unstable (2/10 seeds, Figure A7), while the kernel head removes it (1.908, matches the dense screw 1.98, p{=}0.10) and stays below the reduced edge on every seed — a small-data instability of the global slot, not of the correction.
Table 4: MUKCa socket consistency, held-out RMS scatter (mm); 10 seeds for KUKA/Panda/Kinova, 5 for the FR3 unit. All rows use Adam and the same socket loss. reference = the full per-joint screw (the classical estimator of the base’s class, fitted with the same optimizer as our models); LawKAN = the reduced-edge base (tool + joint biases) with \psi{=}0, global and sequential two-slot heads (kernel first, then the global slot on the residual, dose 0; a joint two-slot differs within noise on KUKA/Panda, is slightly better on Kinova (p{=}0.061) and worse on the FR3 unit (p{=}0.017), X47), and the per-joint-screw base with its \psi{=}0, global, kernel and two-slot heads (the per-joint-screw \psi{=}0 column reproduces the dense-screw reference). Bold marks the best cell per row, {\ddagger} an attribution boundary. p = the declared head of each base: the reduced base’s sequential two-slot, tested against its own edge (p_{\rm edge}, the correction’s contribution) and against the dense screw (p_{\rm dense}, parity); and the per-joint base’s best form (sequential two-slot on KUKA, global on Panda, kernel on Kinova, \psi{=}0 on the FR3 unit), tested against the dense screw; for the FR3 unit the declared form is the dense screw itself, so its entry is a parity by construction, not a tested p-value. Benjamini–Hochberg over the eleven numeric tests in this table (taking p{<}0.001 as 0.001): all reported p\leq 0.04 survive at q=0.05; the Kinova edge (p{=}0.483, q{=}0.48) and the Kinova per-joint dense entry (p{=}0.101, q{=}0.11) do not.
  • No data
    reference
    LawKAN (reduced-edge base)
    LawKAN (per-joint-screw base)
  • Platform
    N
    dense screw
    \psi{=}0
    global \psi
    two-slot \psi
    p_{\rm edge}
    p_{\rm dense}
    \psi{=}0
    global \psi
    kernel \psi
    two-slot \psi
    p_{\rm dense}
  • KUKA iiwa14
    42
    0.26
    0.55
    0.187
    0.166
    <\!0.001
    0.023
    0.26
    0.198
    0.218
    0.190
    0.011
  • Panda
    42
    0.49
    0.93
    0.365
    0.330
    <\!0.001
    0.007
    0.49
    0.387
    0.466
    0.390
    0.0015
  • Kinova‡
    39
    1.98
    2.47
    2.269
    2.325
    0.483
    0.040
    1.98
    2.386
    1.908
    2.397
    0.101
  • FR3 unit‡
    46
    0.29
    1.49
    0.450
    0.441
    <\!0.001
    0.028
    0.29
    0.310
    0.300
    0.310
    parity

5.4 Range-only arm calibration

Why this task. Range-only calibration tests whether the recipe holds when the observation is a single distance per pose instead of the full pose. The ABB RobotCali draw-wire protocol (Li et al., 2021b; Li et al., 2021a) gives held-out mean |\Delta L| (mm) at N{=}80/160/320. The dataset has no explicit license; we use it under the authors’ stated permission for calibration and verification and do not redistribute the raw file.

Design. The underlying motion is rigid-body, so the exact \mathrm{SE}(3) group law is imposed in the node; the classical reference is the exact screw model and its Gauss–Newton fit, the strongest classical form of the class; and the residual deformation is smooth, so the isolated global \psi should suffice (the scheme of Section 5.1).

Experiments.

  • Does it beat the exact screw and reach the Gauss–Newton fit? With the deviation in span and a smooth deformation, it should. Measured (Table 5): the global \psi is below the exact screw at every N and below the Gauss–Newton fit at N\geq 160 (p{=}0.013/0.0004); at N{=}80 it is numerically below GN as well, but the gap is not significant (p{=}0.74).
  • Does a richer head help? The deformation is smooth, so a global head should suffice; we keep it and do not add a local kernel here.
Table 5: ABB RobotCali draw-wire (range-only), held-out mean |\Delta L| (mm), 10 seeds. reference = Gauss–Newton on the range residual, the classical optimum; \psi{=}0 = the same class without the correction on our Adam + bounded range loss; the \psi head is the learned correction on our optimizer (Adam); p = the global \psi vs the reference. (A fit of the neural \psi on the GN solver is unstable across runs, so we report \psi on Adam only.)
  • No data
    reference
    LawKAN
  • N
    GN
    \psi{=}0 (Adam)
    global \psi (Adam)
    p
  • 80
    1.41
    1.53
    1.37
    0.74
  • 160
    1.20
    1.38
    1.11
    0.013
  • 320
    1.14
    1.33
    1.06
    0.0004

5.5 Parity: the model is the classical estimator

This section checks that the parity result reproduces on tasks of a different type: a rotation-only sensor (Section 5.5.1) and a low-dimensional calibration (Section 5.5.2). In both the law holds exactly and a same-class classical estimator exists, so parity is the prediction: the exact node should be that estimator, with no distortion of the law and only estimation, data-efficiency and gauge differences.

5.5.1 IMU orientation

Why this task. A rotation-only sensor is where a same-class classical estimator exists — the training-free strapdown integrator already carries the law — so parity is the prediction. Orientation increments over 0.07–5\,s windows on the real BROAD sensor (geodesic error against motion capture), a trial-level split.

Design: why these choices. \mathrm{SU}(2) is the known group law; the exact node uses one shared edge (27 parameters, the full K{=}1 group features, pruned to the 18-parameter analytic edge, and 36 with a bias feature at long horizons), against the training-free strapdown integrator (which already carries the law) and structure-free (flat) MLPs. The 36-parameter variant is the 27-parameter edge plus the 3{\times}3 bias-to-direction map (9 more); the flat MLPs are the two sizes (h{=}8, h{=}32) carried verbatim from the synthetic opponent battery, where they were the strongest flat opponents; three seeds (0–2) split the 16 trials at trial level; we report equivalence under two one-sided tests (TOST) at a 10\% margin as consistent with parity — with three seeds the interval is wide, so it bounds the difference rather than establishing power. The theory then predicts parity.

Experiments. Parity (Table 18): the exact node keeps the rotation manifold where flat MLPs leave it — the advantage is data efficiency.

5.5.2 Gyroscope calibration

Why this task. A second parity case, on a low-dimensional calibration whose classical fit has the same form. Calibration of the raw gyroscope (\omega_{\mathrm{true}}=M(\omega_{\mathrm{raw}}-b)), held-out.

Design: why these choices. The known form is the linear 12-parameter (M,b) calibration, learned by the edge and compared against the classical Levenberg–Marquardt (LM) fit of the same form. The theory predicts parity.

Experiments. Parity (Table 19): the learned calibration matches the LM fit to \leq 0.009^{\circ} on every window, and the TinyGC-style subnet to \leq 0.002^{\circ}; both fits are deterministic (identical across seeds), so this is agreement between optimizers rather than a statistical equivalence.

5.6 The applied envelope

The applied envelope. Table 6 collects the measured envelope: parity where an analytic estimator exists and the law is exact; a win where the hardware deviates from the law and the deviation lies in \psi’s span; and a loss where the imposed law is not the task’s. Which head to apply follows from the deformation and the setting (Table 21, Appendix F): the two-slot is the default, the local kernel is the collapse-safe choice for a small, seed-unstable set, and a global head suffices where the deformation is smooth.

5.7 Using the span criterion

It is a five-step check:

  1. fix the group and the chart — what composes, and in which coordinates the increment is expressed;
  2. write the target’s chart logarithm, the algebra element the edge must produce (or the group element itself when the exponential is not global, as for GL^{+}(2,\mathbb{R}));
  3. test the edge’s span: does its feature map cover those coordinates (or the chart element)? If yes, the exact node is representable (Proposition 1); if not, a training-independent floor remains;
  4. for a deviating law, write the deviation \eta and test whether \psi’s features span it (the law-match criterion); the projection left is the floor;
  5. verify empirically: parity if the span is full, a floor if it is not.

A companion script, tools/span_check.py, implements steps 2–5 as a linear probe from the features to the logarithm (with a runnable --demo). The applied tasks are instances: the per-joint screw spans the arm’s constant-screw class (parity with the classical fit); the reduced socket base does not span the dense screw class (a form gap, Section 5.3); the global \psi spans the smooth range-only deviation (a win, Section 5.4); and the IMU and gyroscope steps span exactly (parity, Section 5.5).

What it is good for. Before training, it screens an edge: a short span is a training-independent floor, so a wider head or a longer schedule will not close it — fix the features instead. Diagnosing a plateau, it separates a span limit from an optimization one, and designing the correction it states in advance whether \psi can remove a measured deformation and which feature set is the cheapest spanning one (the 18-parameter analytic edge over the 54-parameter dense edge, Section 4.2). The probe needs only features and targets, so it is a cheap first check on a new task.

6 Limitations

Scope. The recipe is an architectural component, not a standalone, universal alternative:

  • the pruned edge assumes fixed known angles, and chain scaling holds to n{=}4;
  • the dense composer does not beat strapdown on real data (the pruned one does, modestly);
  • on GL^{+}(2,\mathbb{R}) a raw (unstructured) dense edge does not beat an MLP, while the analytic-support edge solves the same task (0.0024 vs 0.53, Section 4) — the boundary is the edge’s form, not the method;
  • without a composition law the model loses: the exact node presumes the law, and the correction belongs on the physical composition (a joint or a step).

Measured failure modes. The correction is not universal glue; its failures fall into the three kinds that the recipe’s own framing separates:

  • Form boundaries (different class): on the FR3 unit the mismatch lies inside the constant-screw class — a form the classical estimator fixes and our reduced base does not contain — so \psi is the wrong tool (an attribution boundary, Section 5.3); a base whose form nests the classical class would reduce this to parity.
  • Estimation gaps (same class): on UR10 and UR5 the same-class Gauss–Newton fit is ahead at large N — a matter of optimizer and data, not of representable form (Appendix G).
  • Identifiability: on UR10 the freely-tuned edge drifts (test error 0.40\to 11.7\,mm with the correction off) and isolation removes it; on Kinova the global slot collapses on 2/10 seeds until a local head is used; at N{=}20 the correction overfits until a validation gate is added (Section 5.1, Section 5.3, Appendix G).

External validity. The evidence is narrow: one synthetic composition benchmark, 39 consumer-MEMS BROAD trials, six real calibration datasets across three tasks (FR3 arm; socket consistency on KUKA iiwa14, Panda, Kinova Gen3 lite and the FR3 unit; ABB draw-wire range), and 3–10 seeds per platform. Tactical-grade IMUs, other robots, and large-scale vision or language tasks are untested; the arm sets carry no approach trajectories, so backlash signatures are only proxy-tested. The FR3 arm result comes from a single unit, and the socket FR3 unit is at parity by construction, so unit-to-unit variability of the deformation is not measured. Signal-level denoising subnets (e.g., TinyGC-Net (Cui & Zhao, 2024)) are complementary and out of scope.

Evidence caveats. One claim remains synthetic (rigid-body closure); gains trace to structure–task alignment, not overly complex arithmetic. Opponents use default hyperparameters (the registered four-configuration tune leaves the headline gap); the two-slot’s weight-decay dose follows a size-based rule selected on these splits (X26c), and transfer of the rule to a new protocol was not measured; beyond the flat MLPs (h{=}8, h{=}32), the IMU probe adds only a GRU and a residual MLP. On the real arm the learned model’s edge over the same-class Gauss–Newton fit is the data-scarce regime, and the shared loss is conservative for a position metric. The dense IMU edge is seed-bimodal at 5\,s (one seed reaches 73^{\circ}), and capacity does not cure it: a weight-decay dose leaves the outlier (73.9\to 76.8), while the pruned 18-parameter edge stays stable (spread 0.017) — the deployment claim applies to the pruned edge. Predictions are an authorial record: fourteen soft verdicts, one inconclusive proxy and one post-hoc fix are weaker than clean confirmations, and the per-joint corrections do not prune on hardware.

7 Future work

The measured envelope points to the next steps. The recipe fixes the known structure in advance; its natural generalisation is to grow it: distil, during training, whatever is expressible as a known law into the exact node, then learn only the remainder. Where several simple symmetries coexist in the data, extract them separately and route between them:

  • (i) carrying the layer into a real pipeline where the increment is latent and the surrounding model is large;
  • (ii) state- and trajectory-conditioned channels on real data — the mechanism probes motivate velocity-conditioned edges and trajectory-instrumented collection (X19–X21);
  • (iii) broader manipulator coverage — payloads, wear states, closed-loop tracking;
  • (iv) growing the known structure: not learning a law we already know (vacuous by our own principle), but distilling the law-like part of a learned solution into known form and learning only the remainder;
  • (v) charts and group laws beyond the three;
  • (vi) composition laws beyond groups: monoid and semigroup products (strings, processes, typed chains): node, edge and deformation carry over without inverses; the group assumption buys the converse of the span criterion;
  • (vii) several laws at once — extracting several simple symmetries from the data and routing between them;
  • (viii) a direct head-to-head with configuration-dependent PoE (Lu et al., 2025) on a shared dataset — the closest learned competitor, not yet measured here.

A controlled synthetic sweep of deformation regimes (smooth, local, rough, mixed) against the three heads would turn the applied map into a predictive rule; we leave it as a follow-up.

8 Conclusion

LawKAN embeds the group law directly in the node and delegates the coordinate mapping to the chart edges; composition is representable exactly when the edge features span the chart’s logarithm, and better features then improve results. Where the hardware deviates from the law, a zero-initialized isolated correction removes a floor that no edge-side structure removes, and doubles as a test that localizes the deviation.

The value is architectural and conditional: on the composition tasks we study the exact composer wins with a small fraction of the parameters and saves data on a real arm at small training sets, while it matches classical fits under the same law and loses where the imposed law is not the task’s. This measured envelope — when embedding a known law pays off, when it gives parity, and when it loses — is the paper’s main object (Table 6).

Table 6: When the group-law node pays off: the task-type map, the paper’s main object (read a row by task type; the verdict, its structural reason and example tasks follow). The structural reason is the analytic optimum (parity), identifiability (win/match), or the absence of an analytic component. The last column names example tasks, measured here or in the literature.
  • Analytic estimator exists (gyro, strapdown; FK/arm calibration)
    Verdict
    parity, tiny model
    Reason
    the exact analytic optimum is already reachable; classical strapdown and PoE calibration are the constant-edge limits of the same recipe (Section 5.5.1, Section G.1, Section 5.1)
    Example tasks
    strapdown integration; PoE arm calibration \mathrm{SE}(3)
  • Latent but identifiable increment (robot calibration)
    Verdict
    win / match
    Reason
    identifiable increments; the gain is in the data-scarce regime, and a relaxed-node correction beats the classical fit at large N when the hardware deviates from the law (App. G; Section 5.1)
    Example tasks
    arm kinematic calibration \mathrm{SE}(3); monocular SLAM alignment \mathrm{sim}(3); inertial odometry \mathrm{SE}(3)
  • Latent increment with evolving state (rigid-body ODE)
    Verdict
    only with the state-conditioned edge
    Reason
    needs a recurrence / ODE edge (Section G.2)
    Example tasks
    rigid-body dynamics (Baxter, Section G.2); trajectory-conditioned odometry
  • The imposed law is not the task’s (null task)
    Verdict
    loses
    Reason
    we impose the wrong law (Section E.3)
    Example tasks
    generic regression targets (Section E.3)

On the deformed arm, the training spikes are a property of the optimisation path, not of the learned map: averaging the weights over training removes them and leaves the final error unchanged (Section 5.2). A branch-safe quaternion variant showed no measured cost at the tested budget, although equivalence at our margin was not established.

Verification.

This paper pre-specified 130 predictions in its internal experiment log before their runs (119 in the main log and 11 branch probes); 29 were refuted and are kept and reported in Table 31. Structure that is written down can be checked; structure that is learned must be audited — which is what the isolation protocol and the measured envelope of Section 5–Section 6 do.

Data and code availability.

The code is available at https://github.com/occamolab/lawkan under AGPL-3.0-or-later. Experiments use BROAD (Laidig et al., 2021b; Laidig et al., 2021a) (CC BY 4.0), MUKCa (Franzese et al., 2025; Franzese et al., 2024) (MIT), FR3/PhilNad (Nadeau, 2024) (MIT), IPA Series A (Landgraf et al., 2021; Landgraf, 2021) (MIT), pauljac UR5 (Yao et al., 2026; Jacobi, 2025) (MIT), the GTPN UR5 dataset (Northwestern Polytechnical University, 2026) (CC BY 4.0), and the Baxter dataset (Valencia-Vidal et al., 2025) (CC BY 4.0). The ABB RobotCali dataset (Li et al., 2021b) was used under the authors’ stated permission for calibration and verification; it has no explicit license, and we do not redistribute the raw file.

References

  1. Absil et al. (2008) P.-A. Absil, Robert Mahony, and Rodolphe Sepulchre. Optimization Algorithms on Matrix Manifolds. Princeton University Press, 2008. doi: 10.1515/9781400830244.
  2. Alesiani et al. (2025) Francesco Alesiani, Takashi Maruyama, Henrik Christiansen, and Viktor Zaverkin. Geometric Kolmogorov–Arnold Superposition Theorem. arXiv:2502.16664, 2025.
  3. Batzner et al. (2022) Simon Batzner, Albert Musaelian, Lixin Sun, Mario Geiger, Jonathan P. Mailoa, Mordechai Kornbluth, Nicola Molinari, Tess E. Smidt, and Boris Kozinsky. E(3)-equivariant graph neural networks for data-efficient and accurate interatomic potentials (NequIP). Nature Communications, 13:2453, 2022. doi: 10.1038/s41467-022-29939-5.
  4. Boumal (2023) Nicolas Boumal. An Introduction to Optimization on Smooth Manifolds. Cambridge University Press, 2023. doi: 10.1017/9781009166164.
  5. Bozorgasl & Chen (2024) Zavareh Bozorgasl and Hao Chen. Wav-KAN: Wavelet Kolmogorov–Arnold Networks, 2024.
  6. Brégier (2021) Romain Brégier. Deep Regression on Manifolds: A 3D Rotation Case Study. In International Conference on 3D Vision (3DV), pp. 166–174, 2021. doi: 10.1109/3DV53792.2021.00027.
  7. Chen et al. (2022) Jiayi Chen, Yingda Yin, Tolga Birdal, Baoquan Chen, Leonidas J. Guibas, and He Wang. Projective manifold gradient layer for deep rotation regression. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 6646–6655, 2022. arXiv:2110.11657.
  8. Cohen & Welling (2016) Taco Cohen and Max Welling. Group equivariant convolutional networks. In Proceedings of the 33rd International Conference on Machine Learning (ICML), volume 48 of PMLR, pp. 2990–2999, 2016. arXiv:1602.07576.
  9. Cui & Zhao (2024) Chao Cui and Jiankang Zhao. TinyGC-Net: An Extremely Tiny Network for Calibrating MEMS Gyroscopes. arXiv:2403.02618, 2024.
  10. Deng et al. (2021) Congyue Deng, Or Litany, Yueqi Duan, Adrien Poulenard, Andrea Tagliasacchi, and Leonidas J. Guibas. Vector neurons: A general framework for SO(3)-equivariant networks. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 12200–12209, 2021. URL https://openaccess.thecvf.com/content/ICCV2021/html/Deng_Vector_Neurons_A_General_Framework_for_SO3-Equivariant_Networks_ICCV_2021_paper.html.
  11. Elbaz et al. (2025) Ran Elbaz, Guy Bar-Shalom, Yam Eitan, Fabrizio Frasca, and Haggai Maron. FS-KAN: Permutation Equivariant Kolmogorov–Arnold Networks via Function Sharing. arXiv:2509.24472, 2025.
  12. Falorsi et al. (2019) Luca Falorsi, Pim de Haan, Tim R. Davidson, and Patrick Forré. Reparameterizing distributions on lie groups. In Proceedings of the 22nd International Conference on Artificial Intelligence and Statistics (AISTATS), 2019. arXiv:1903.02958.
  13. Franzese et al. (2024) Giovanni Franzese, Max Spahn, and Mariano Ramirez. MUKCa: Kinematics calibration dataset and code. GitHub repository, MIT license, 2024. URL https://github.com/platonics-delft/kinematics_calibration. Data: data/; KUKA, Panda, Kinova, FR3.
  14. Franzese et al. (2025) Giovanni Franzese, Max Spahn, Jens Kober, and Cosimo Della Santina. MUKCa: Accurate and affordable cobot calibration without external measurement devices, 2025. URL https://arxiv.org/abs/2503.12584.
  15. Fuchs et al. (2020) Fabian B. Fuchs, Daniel E. Worrall, Volker Fischer, and Max Welling. SE(3)-Transformers: 3D Roto-Translation Equivariant Attention Networks. arXiv:2006.10503, 2020. URL https://arxiv.org/abs/2006.10503.
  16. Hu et al. (2025) Lexiang Hu, Yisen Wang, and Zhouchen Lin. Incorporating arbitrary matrix group equivariance into KANs. In Proceedings of the 42nd International Conference on Machine Learning (ICML), volume 267 of PMLR, pp. 24744–24760, 2025. arXiv:2410.00435.
  17. Jacobi (2025) Paul Jacobi. Serial robot positioning error datasets: UR5 and Barrett WAM. GitHub repository, MIT license, 2025. URL https://github.com/pauljac7700/serial_robots_datasets. UR5: 1000 grid + 20 random poses; position-only.
  18. Laidig & Seel (2023) Daniel Laidig and Thomas Seel. VQF: Highly accurate IMU orientation estimation with bias estimation and magnetic disturbance rejection. Information Fusion, 91:187–204, 2023. doi: 10.1016/j.inffus.2022.10.014.
  19. Laidig et al. (2021a) Daniel Laidig, Marco Caruso, Andrea Cereatti, and Thomas Seel. BROAD: Berlin Robust Orientation Estimation Assessment Dataset. GitHub repository, CC BY 4.0, 2021a. URL https://github.com/dlaidig/broad. Data: data_hdf5; 39 trials.
  20. Laidig et al. (2021b) Daniel Laidig, Marco Caruso, Andrea Cereatti, and Thomas Seel. BROAD — A benchmark for robust inertial orientation estimation. Data, 6(7):72, 2021b. doi: 10.3390/data6070072.
  21. Landgraf (2021) Christian Landgraf. ipa-robot-accuracy: Robot accuracy dataset. GitHub repository, MIT license, 2021. URL https://github.com/christianlandgraf/ipa-robot-accuracy. Series A; laser tracker; 6D poses.
  22. Landgraf et al. (2021) Christian Landgraf, Kilian Ernst, Gesine Schleth, Marc Fabritius, and Marco F. Huber. A hybrid neural network approach for increasing the absolute accuracy of industrial robots. In 2021 IEEE 17th International Conference on Automation Science and Engineering (CASE), pp. 468–474, 2021. doi: 10.1109/CASE49439.2021.9551684.
  23. Levinson et al. (2020) Jake Levinson, Carlos Esteves, Kefan Chen, Noah Snavely, Angjoo Kanazawa, Afshin Rostamizadeh, and Ameesh Makadia. An analysis of SVD for deep rotation estimation. In Advances in Neural Information Processing Systems (NeurIPS), 2020. arXiv:2006.14616.
  24. Li et al. (2021a) Zhibin Li, Shuai Li, and Xin Luo. An overview of calibration technology of industrial robots. IEEE/CAA Journal of Automatica Sinica, 8(1):23–36, 2021a. doi: 10.1109/JAS.2020.1003381.
  25. Li et al. (2021b) Zhibin Li, Shuai Li, and Xin Luo. RobotCali: ABB IRB 120 robot calibration dataset. GitHub repository, 2021b. URL https://github.com/Lizhibing1490183152/RobotCali. 1042 poses; no explicit license; used under research access, not redistributed.
  26. Liu et al. (2022) Yaohua Liu, Wei Liang, and Jinqiang Cui. LGC-Net: A Lightweight Gyroscope Calibration Network for Efficient Attitude Estimation. arXiv:2209.08816, 2022.
  27. Liu et al. (2024a) Ziming Liu, Pingchuan Ma, Yixuan Wang, Wojciech Matusik, and Max Tegmark. KAN 2.0: Kolmogorov–Arnold Networks Meet Science. arXiv:2408.10205, 2024a.
  28. Liu et al. (2024b) Ziming Liu, Yixuan Wang, Sachin Vaidya, Fabian Ruehle, James Halverson, Marin Soljačić, Thomas Y. Hou, and Max Tegmark. KAN: Kolmogorov–Arnold Networks. arXiv:2404.19756 (ICLR 2025), 2024b. URL https://arxiv.org/abs/2404.19756.
  29. Lu et al. (2025) Chen-Lung Lu, Honglu He, Agung Julius, and John T. Wen. Configuration-dependent robot kinematics model and calibration. IEEE Robotics and Automation Letters, 10(12):13233–13240, 2025. doi: 10.1109/LRA.2025.3629988. arXiv:2510.19962.
  30. Maier et al. (2022) Andreas Maier, Harald Köstler, Marco Heisig, Patrick Krauss, and Seung Hee Yang. Known operator learning and hybrid machine learning in medical imaging—a review of the past, the present, and the future. Progress in Biomedical Engineering, 4(2):022002, 2022. doi: 10.1088/2516-1091/ac5b13.
  31. Mironenco & Forré (2024) Mircea Mironenco and Patrick D. Forré. Lie group decompositions for equivariant neural networks. In International Conference on Learning Representations (ICLR), 2024. arXiv:2310.11366.
  32. Nadeau (2024) Philippe Nadeau. robot-arm-kinematic-calibration: A Python library for kinematic calibration of robot arms (POE; reference implementation). GitHub repository, MIT license, 2024. URL https://github.com/PhilNad/robot-arm-kinematic-calibration. Contains the FR3 dataset used here: Examples/calib_data.pickle, 114 poses.
  33. Northwestern Polytechnical University (2026) Northwestern Polytechnical University. UR5 robot dataset containing joint angles, actual positions, and target positions. Zenodo, CC-BY-4.0, 2026. URL https://doi.org/10.5281/zenodo.18954650. 727 poses; used in S2.
  34. Parcollet et al. (2019) Titouan Parcollet, Mirco Ravanelli, Mohamed Morchid, Georges Linarès, Chiheb Trabelsi, Renato De Mori, and Yoshua Bengio. Quaternion recurrent neural networks. In International Conference on Learning Representations (ICLR), 2019. arXiv:1806.04418.
  35. Parcollet et al. (2020) Titouan Parcollet, Mohamed Morchid, and Georges Linarès. A survey of quaternion neural networks. Artificial Intelligence Review, 53(4):2957–2982, 2020. doi: 10.1007/s10462-019-09752-1.
  36. Pavllo et al. (2020) Dario Pavllo, Christoph Feichtenhofer, Michael Auli, and David Grangier. Modeling Human Motion with Quaternion-based Neural Networks. International Journal of Computer Vision, 128(4):855–872, 2020. doi: 10.1007/s11263-019-01245-6.
  37. Seo et al. (2025) Joohwan Seo, Soochul Yoo, Junwoo Chang, Hyunseok An, Hyunwoo Ryu, Soomi Lee, Arvind Kruthiventy, Jongeun Choi, and Roberto Horowitz. SE(3)-Equivariant Robot Learning and Control: A Tutorial Survey. arXiv:2503.09829, 2025.
  38. Sidharth et al. (2024) S. S. Sidharth, A. R. Keerthana, R. Gokul, and K. P. Anas. Chebyshev Polynomial-Based Kolmogorov–Arnold Networks: An Efficient Architecture for Nonlinear Function Approximation, 2024.
  39. Stolero & Klein (2024) Yair Stolero and Itzik Klein. Rapid Gyroscope Calibration: A Deep Learning Approach. arXiv:2409.00488, 2024.
  40. Sun et al. (2026) Yangting Sun, Zijun Cui, and Yufei Zhang. Revisiting Euler-Angle Regression with Kolmogorov–Arnold Networks. arXiv:2607.09650, 2026.
  41. Thomas et al. (2018) Nathaniel Thomas, Tess Smidt, Steven Kearnes, Lusann Yang, Li Li, Kai Kohlhoff, and Patrick Riley. Tensor field networks: Rotation- and translation-equivariant neural networks for 3D point clouds. arXiv:1802.08219, 2018. URL https://arxiv.org/abs/1802.08219.
  42. Titterton & Weston (2004) David H. Titterton and John L. Weston. Strapdown Inertial Navigation Technology. IET, 2 edition, 2004. ISBN 9780863413582. doi: 10.1049/PBRA017E.
  43. Valencia-Vidal et al. (2025) Brayan Valencia-Vidal, Gabriel Jimenez-Perera, Niceto Rafael Luque Sola, Eduardo Ros, and Francisco Barranco. Baxter robot dataset for learning dynamic models. Zenodo, CC-BY-4.0, 2025. URL https://doi.org/10.5281/zenodo.17035193.
  44. Yao et al. (2026) Ming Yao, Paul Jacobi, Zhufeng Shao, and Anna Kibireva. A graph-based hybrid position error compensation method for serial industrial robots. Applied Soft Computing, 203:116099, 2026. doi: 10.1016/j.asoc.2026.116099.
  45. Yu et al. (2024) Runpeng Yu, Weihao Yu, and Xinchao Wang. KAN or MLP: A Fairer Comparison, 2024.
  46. Zhang et al. (2025) Shanshan Zhang, Siyue Wang, Tianshui Wen, Liqin Wu, Qi Zhang, Ziheng Zhou, Ao Peng, Xuemin Hong, Lingxiang Zheng, and Yu Yang. CKANIO: Learnable Chebyshev Polynomials for Inertial Odometry. arXiv:2507.16865, 2025.
  47. Zhang et al. (2020) Xuan Zhang, Shaofei Qin, Yi Xu, and Hongteng Xu. Quaternion Product Units for Deep Learning on 3D Rotation Groups. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 7302–7311, 2020. doi: 10.1109/CVPR42600.2020.00733.
  48. Zhou et al. (2019) Yi Zhou, Connelly Barnes, Jingwan Lu, Jimei Yang, and Hao Li. On the continuity of rotation representations in neural networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 5738–5746, 2019. doi: 10.1109/CVPR.2019.00589. arXiv:1812.07035.

Appendix

Appendix guide

What each appendix contains (main-text anchors in parentheses):

  • Reproducibility, statistics protocol, experiment map (all).: Notation and conventions.: Exact representability: the span criterion and the floors (Section 3.3).: Extended per-seed tables and the cross-group characterization (Section 4).: Compact-instance details, opponent matrix, isolation and pruning (Section 4.2.1, Section 4.2).: Applied-probe details: p-values, CIs, three-platform tables (Section 5).: Isolated probes, learned-law controls, identifiability and diagnostics (Section 3.4, Section 5.1).: Compact-instance construction: K{=}1, pruning.: Mechanism details: variable angles, dead zones, order rule.: The exp parameterization as a retraction.: Registered predictions: verdict summary.: Use of AI tools and broader impact.

First read: A, C, G are required; D–F are the number checks.

Appendix A Reproducibility

Every claim was pre-specified in our internal experiment log, with its control, as a falsifiable prediction before its run, and refuted predictions are kept. Paired tests, 95\% CIs and the multiple-comparison bookkeeping with two one-sided tests (TOST) are in Section A.4; experiment indices, environment, seeding and accounting conventions are in this appendix and Appendix B. The registered suite includes two blind necessity tests — the feature-group ablation (a positive floor when a group is removed: 6.1\mathrm{e}{-4} vs 0.387) and the order-rule replication (linear floor scaling, ratio 4.10, with the K{=}2 numerical bound refuted and reported) — with per-seed numbers in Appendices D.4 and I.

A.1 Code

The code, the canonical JSON dumps and the reproduction instructions are available under AGPL-3.0 (research use is free): https://github.com/occamolab/lawkan. The repository is now lawkan; the supplementary JSON dump keys and code identifiers keep the pre-rename spelling. Every displayed number resolves through the repro/canonical.json manifest and can be re-derived with the repository’s check script; tools/span_check.py implements the span criterion as a linear probe. Table 7 maps the block groups to the paper locations.

Table 7: Map of experiment blocks: each block and the paper location of its numbers.
  • E1–E14
    Paper location / contents
    Section 4.2.1–Section 4.2.3: the synthetic core (opponent matrix, null, boundaries)
  • E15–E37
    Paper location / contents
    Section 4–Section 4.2: the group instances and edge/head variants
  • X5–X10
    Paper location / contents
    Section 5: the applied probes (IMU, gyro, arm, FK)
  • X37–X52
    Paper location / contents
    Section 5.3–Section 5.5: socket heads, ABB range-only, matched-optimizer and capacity/locality probes
  • X11–X36
    Paper location / contents
    Section 5.1–Section 5.5: the phase-2 probes and controls
  • X53–X61
    Paper location / contents
    Section 5.2: the pole-fix branch (chart singularity, EMA, group-metric kernel, T1/T2); scripts X53_socket_convergence.py–X61_confirm.py
  • S1–S8
    Paper location / contents
    Section 4.2.4, Section 5: the synthetic and relaxed controls

The embedded-component experiments of the first version are excluded from this version by the repositioning to a stand-alone micromodel.

Synthetic numbers are verbatim from the reference run; real-data numbers are taken from the dumps listed in Table 9. Error is geodesic, degrees, “\pm” std across seeds.

A.2 Task and data

Composition n{=}2 (make_compn_data): axes a_{1},a_{2} are normalized Gaussian vectors (uniform on S^{2}); rotation angles fixed: \theta_{1}=0.7, \theta_{2}=1.1 rad (for n{=}3: 0.7, 1.1, 0.9). Input X=(\alpha_{1},\beta_{1},\alpha_{2},\beta_{2})+\mathcal{N}(0,\sigma^{2}), \sigma=0.03 rad; target Y=(\alpha,\beta) of the rotated probe vector (q_{2}q_{1})\cdot\hat{e}_{z}+\mathcal{N}(0,\sigma^{2}). Train: 800 examples, test: 4000 (generated with a different seed).

Extrapolation (make_comp_banded): axes are sampled area-uniformly within a polar band: \cos\beta\sim U[\cos\beta_{\max},\cos\beta_{\min}], \alpha\sim U[-\pi,\pi]. Train: “tropics” \beta\in[0.5,2.6] for both axes, 1000 examples. Tests of 2000 examples each: inside / axis-1 pole (\beta\in[0,0.3]) / axis-2 pole / both poles. Area uniformity matters: uniform sampling in \beta would over-densely cover the poles and distort the metric.

\mathbb{Z}_{n} (make_zn): input phases are random group elements plus Gaussian noise \sigma=0.30 rad; target is (a{+}b)\bmod n. Train 400 examples, test 4000. The Bayes ceiling is computed by Monte-Carlo over 200,000 examples (seed 7).

Later blocks. The applied, full-rotation and phase-2 isolation blocks are specified in their sections; the generator above is the canonical one for the core synthetic battery (E1–E14).

A.3 Optimization

Core protocol (E1–E14; deviations below): full-batch Adam, 3000 epochs (2500 in E3.2–E3.4 and E4), lr = 1e-2 for LawKAN-SU(2) and 3e-3 for all opponents, gradient clipping 1.0, geodesic loss on S^{2}: \mathrm{mean}(1-\cos\Delta). Opponent learning rates were not tuned; they receive the standard 3e-3 for such networks; LawKAN-SU(2) is stable at 1e-2 (itself a consequence of the parameterization, see Appendix J). One exception: the \mathbb{Z}_{n} models of E5 (GroupSumKAN and the additive baseline, both with K{=}7 Fourier features) train at lr = 3e-2, a regime chosen for convergence speed on the classification-style readout, applied identically to both compared models.

Later blocks keep the same optimizer and registration discipline, with the budgets, learning rates and splits stated in their sections; Table 8 lists the seed counts.

A.4 Seed protocol

A reported p is the two-sided p-value of a paired t-test over the seeds shared by the two models; intuitively it is the significance of the result: the probability of seeing a gap at least this large if the two methods were equally good, so a small p means the gap is unlikely to be chance (it does not by itself say which method wins — that is the sign of the difference and the table entries).

For each repeat s: training data seed=s, test data seed=100+s, network init torch.manual_seed(100+s). Repeat counts (Table 8):

Table 8: Seed counts for the core and applied blocks (E1–X10; E-numbers of Table 7). Later blocks state seeds in their captions and in repro/registry.json.
  • E1: LawKAN-SU(2), MLP-Quat h{=}32, MLP-Quat h{=}32+RPMG, MLP-6D h{=}16, MLP h{=}4
    Seeds
    5
  • E1: remaining 13 rows
    Seeds
    3
  • E3.1 (n{=}3), E7 (scope), E8 (chains), E9 (LR sweep)
    Seeds
    3
  • E3.2 (noise), E3.3 (sample eff.), E4, E12 (paired t), E13 (K ablation)
    Seeds
    5
  • E3.4 (extrapolation), E5 (\mathbb{Z}_{n})
    Seeds
    2
  • E6 (dead zones), E11 (Lie baseline), E14 (n{=}6)
    Seeds
    10
  • E15/E17 and the FK probe (applied)
    Seeds
    3
  • E16v2, E20, E21, E22
    Seeds
    5
  • E23, E24 (blind, held-out 20–24)
    Seeds
    5
  • E25, E25b (held-out 30–34)
    Seeds
    5
  • E26b, E26c (squared/random 70/30, transfer circle)
    Seeds
    3
  • S1 (synthetic exact/deformed law, N{=}20/80/160)
    Seeds
    3
  • S2 (UR5-GTPN relaxed)
    Seeds
    5
  • X12/X12b/X13/X14/S3 (FR3 calibration, X7 splits)
    Seeds
    5
  • E29 (held-out 50–54)
    Seeds
    5
  • E30
    Seeds
    5
  • E19b (random equal-size masks; 5 masks per seed)
    Seeds
    5
  • E31, E31b, E31c (node/edge isolation family)
    Seeds
    5
  • E31d (pruning curve, E21 recipe)
    Seeds
    5
  • E32 (opponent tuning grid)
    Seeds
    3
  • E33 (floor recompute), E33b/E33c (metric-loss runs)
    Seeds
    5
  • X5–X9 (real data, trial-level splits)
    Seeds
    3 (X7: 5 splits)
  • X10 (real calibration, 3 platforms, held-out 50–54)
    Seeds
    5

Documented exceptions: E5 uses init torch.manual_seed(50+s) (the initialization seeds 50–51 overlap the held-out data-seed range 50–54, but the data draws are disjoint); E6 varies only the init (seed=s) with the data draw fixed (seed=0) across all 10 runs (a dead-zone ablation needs identical data so only the trajectory differs); E3.3/E4 share one fixed test draw (seed=100) across all repeats and N (strengthening the pairing); E3.4 varies only the init with the training draw fixed (seed=0). Otherwise seeds are fully fixed and shared across models within each cell (the phase-2 controls reuse the main range 0–4; E32 uses 0–2), pre-specified before their runs; the paired-statistics protocol (Section 4.2.1, Appendix D), reproducible up to cuDNN nondeterminism. The held-out blocks use disjoint seed ranges (20–24, 30–34, 40–44, 50–54) that were not used for tuning. The script logs mean\pmstd and raw per-seed values per cell and ends with a JSON dump; the tables are regenerated from it mechanically.

Multiple comparisons and equivalence tests.

Because the battery is large, individual p-values are per-comparison (each is the two-sided p-value of a paired t-test over the seeds shared by the two models, on identical splits — the significance of the result, i.e. the probability of a gap at least this large if the two methods were equally good, so a small p means the gap is unlikely to be chance, and it does not by itself say which method wins; the test’s sample size is the number of seeds); a Benjamini–Hochberg correction over the headline set (main matrix, sparse/dense, order rule, IMU, arm) leaves every reported significant gap significant (largest adjusted p\approx 2.6\times 10^{-3}), and extended to all 87 recorded per-comparison tests, 72 survive at q{=}0.05 with every gap we describe as significant remaining. Parity cells are tested for equivalence rather than inferred from non-significance: TOST at a 10\% margin where seed variance exists (the arm and IMU fits), and exact deterministic differences where it does not (the gyroscope fits). Wall-clock is the only noisy axis (Section A.5).

A.5 Wall-clock protocol (E2)

Batch 1024, 300 measured iterations after 30 warmup; train step = forward + backward + optimizer.step, inference = forward under no_grad. Measured on one machine in one process, without parallel load. The result follows CUDA kernel-launch overhead rather than FLOPs (see Section E.1): at this model scale (54–1542 parameters) this is expected. Reference numbers: LawKAN-SU(2) 4.57 ms/it train and 1.08 ms/batch inference vs 2.36–3.20 ms/it and 0.19–0.40 ms/batch for the opponents. Wall-clock is the only noisy axis: reruns on the same GPU vary by tens of percent (LawKAN-SU(2) 4.6–8.5 ms/it across runs), and near-identical timings for different opponents reflect measurement noise, not copied values. Accuracy, parameter counts and FLOPs are exact.

A.6 Figure provenance

All vector figures are generated directly from the reference run numbers (not from intermediate CPU versions) by the scripts in tools/figures/ of the code repository. File names are stable identifiers and do not track figure numbers (the mapping is in Table 9); the tikz figures (recipe, wiring, support) are drawn inline in the paper source and have no separate file. All plots share one style module, figstyle.py (single font, size and Okabe–Ito colour palette), so the figures are visually consistent (Table 9).

Table 9: Figure provenance: each vector figure, its script and data source (E-numbers of Table 7).
  • Figure A1
    File
    fig02_crossgroup.pdf
    Script
    fig02_crossgroup.py
    Data source
    E16 v2 (GL^{+}(2,\mathbb{R})), E22 (SE(3))
  • Figure A2
    File
    fig09_node_capacity.pdf
    Script
    fig09_node_capacity.py
    Data source
    E31/E31b/E31c, E13; controls E1/E11/E32; floor E33
  • Figure 2
    File
    fig04_matrix_pareto.pdf
    Script
    fig04_matrix_pareto.py
    Data source
    E1 (opponent matrix, error vs parameters; main text)
  • Figure A3
    File
    fig05_sample_efficiency.pdf
    Script
    fig05_sample_efficiency.py
    Data source
    E4
  • Figure A4
    File
    fig12_noise_extrap.pdf
    Script
    fig12_noise_extrap.py
    Data source
    E3.2 (noise), E3.4 (pole extrapolation)
  • Figure A5
    File
    fig08_imu.pdf
    Script
    fig08_imu.py
    Data source
    X5 (BROAD, error vs horizon)
  • Figure A6
    File
    fig10_x10_platforms.pdf
    Script
    fig10_x10_platforms.py
    Data source
    X10 (three real platforms; P48)
  • Figure 3
    File
    fig13_learned_law.pdf
    Script
    fig13_learned_law.py
    Data source
    (a) X16; (b) X14/X34; (c) X7bench/X35/X22
  • Figure A7
    File
    fig16_kinova_seeds.pdf
    Script
    fig16_kinova_seeds.py
    Data source
    X32 (Kinova seed stability)
  • Figure A9
    File
    fig14_law_diagnostics.pdf
    Script
    fig14_law_diagnostics.py
    Data source
    (a) S1; (b) X11/S2
  • Figure 4
    File
    fig17_convergence.pdf
    Script
    fig17_convergence.py
    Data source
    X46 A1 (checkpoint grid 10–4000, 5 seeds)
  • Figure A8
    File
    fig15_new_platforms.pdf
    Script
    fig15_new_platforms.py
    Data source
    RC1 (ABB draw-wire), MK1 (MUKCa socket, KUKA)
  • Figure 1
    File
    (TikZ,inline)
    Script
    quatkan_body_v2.tex
    Data source
    recipe diagram (no dump)
  • Figure A10
    File
    (TikZ,inline)
    Script
    quatkan_appendix_v2.tex
    Data source
    construction wiring (no dump)
  • Figure A11
    File
    (TikZ,inline)
    Script
    quatkan_appendix_v2.tex
    Data source
    analytic support (no dump)

Appendix B Notation and conventions

B.1 Groups and charts

A task composes elements of a group G (operation \circ; for \mathrm{SU}(2) it is the Hamilton product, written by juxtaposition, and for \mathrm{SE}(3) and GL^{+}(2,\mathbb{R}) the matrix product) in a fixed order. A chart \chi:U\to G maps coordinates to group elements (U: the chart’s domain; x_{i}\in U the per-factor inputs in composition order); R=\chi(x_{n})\circ\cdots\circ\chi(x_{1}) is the composed element and \pi the readout evaluated on it; \exp is the exponential of the group’s Lie algebra and \log its inverse chart (\log\chi the chart’s logarithm); F is the edge’s feature map with coefficient matrix W; K is the Fourier order and n the chain length.

Throughout, q_{2}q_{1} denotes the Hamilton product, \circ the generic group operation, and AB the matrix product; each group uses one convention throughout.

B.2 Phase encoding

A unit vector v=(x,y,z) is encoded by a phase pair (\alpha,\beta)\in S^{1}\times[0,\pi]: \alpha=\mathrm{atan2}(y,x): azimuth; \beta=\arccos(z), polar angle. The encoding is degenerate at the poles (\beta\in\{0,\pi\}: \alpha undefined), which is exactly why extrapolation to the poles is a stress test (Section E.3), not a routine regime.

B.3 Increments

The edge output before the node is the increment: a Lie-algebra element, written \xi, in the compact/exp case (a vector v\in\mathbb{R}^{3}); in the no-exp variants it is the group element itself. Throughout, \xi and v denote the same object in their respective sections.

B.4 Quaternions

q=(w,x,y,z)\in S^{3}\subset\mathbb{H}, scalar-first convention. Hamilton product (juxtaposition, as usual): q_{1}q_{2}=(w_{1}w_{2}-x_{1}x_{2}-y_{1}y_{2}-z_{1}z_{2},\;w_{1}x_{2}+x_{1}w_{2}+y_{1}z_{2}-z_{1}y_{2},\;w_{1}y_{2}-x_{1}z_{2}+y_{1}w_{2}+z_{1}x_{2},\;w_{1}z_{2}+x_{1}y_{2}-y_{1}x_{2}+z_{1}w_{2}). Vector rotation: v\mapsto q(0,v)q^{*}. Axis-angle: q=(\cos(\theta/2),\,a\sin(\theta/2)). Double cover: q and -q are the same rotation; the loss is defined on the rotated vector and is therefore sign-invariant.

B.5 Composition order

Data are generated as q_{2}q_{1} (and q_{3}q_{2}q_{1} for n{=}3); the network computes the product in the same order: the node multiplies groups from last to first.

B.6 Parameter accounting

Convention and the LawKAN-SU(2) count are in Section 3. Extras: a quaternion weight counts as 4 scalars and an exp-edge output as 3 degrees of freedom (conservative for LawKAN-SU(2)); opponent counts are standard per-layer (all linear layers including biases).

B.7 Model components

Table 10: Edge types studied here: the feature map into the node’s target.
  • Fourier
    Form
    order K; dense or pruned to top-k
  • MLP
    Form
    width h
  • per-joint
    Form
    one constant \mathrm{SE}(3) screw per joint, in screw coordinates
  • state
    Form
    sees the evolving state (the ODE/dynamics task; Section G)
  • analytic
    Form
    a fixed, non-learned support
Table 11: Node variants studied here. The relaxed node adds the learned correction \psi, whose head is a global readout, a local kernel, or their two-slot sum.
  • exact
    \psi head
    —
    Form / Use
    the known group law exactly (the default)
  • relaxed
    \psi head
    global
    Form / Use
    a linear readout on the pair features (Fourier on the arm; a small MLP on the socket/range protocols); smooth, data-rich deformations
  • relaxed
    \psi head
    local kernel
    Form / Use
    an RBF kernel over the pair features; localized deformations and the data-starved corner; the collapse-safe choice
  • relaxed
    \psi head
    two-slot
    Form / Use
    their sum; the default

Ledger (compact instance, n{=}2, K{=}1): 54=2\times 3\times 9 edge scalars; node and readout 0; the analytic edge keeps 18.

B.8 FLOP accounting

Convention in Section 3; extra detail: a linear layer i\to o counts as 2io (multiply + add). LawKAN-SU(2) (K{=}1, n{=}2) breakdown: 228 FLOPs/example = 26 (Fourier features) + 102 (einsum over groups) + 30 (exp-maps) + 28 (Hamilton product) + 30 (probe rotation, via the unit-quaternion identity v+2w(\mathbf{u}{\times}v)+2\mathbf{u}{\times}(\mathbf{u}{\times}v)) + 12 (output head). A MACs-only alternative is reported alongside (Section E.1): LawKAN-SU(2) 102 MACs vs 480–1472 for the standard heads’ linear layers.

B.9 Error metric

The core matrix uses the geodesic angle on S^{2} (Section 3): the output is the direction of the rotated probe, not a full element of \mathrm{SO}(3), so those numbers carry one fewer orientational degree of freedom and are not directly comparable to full-rotation benchmarks (e.g. the ModelNet/SO(3) tasks in Zhou et al. (2019)). The probe readout is the minimal task in which the group structure shows up; the variable-angle experiment (E29) and the full-rotation opponent matrix (E30) use the standard full-\mathrm{SO}(3) geodesic instead, with the ordering unchanged (Section 4.2.1).

Appendix C Exact representability of composition at K{=}1

The headline K{=}1 result is not a numerical coincidence: at this order the architecture contains the exact composer as a single point in weight space, and no lower order can. Throughout, the rotation angles \theta_{1},\dots,\theta_{n} are fixed constants (true of the headline fixed-angle battery E1–E14) and only the axes vary. Write w_{i}:=\theta_{i}/2,

a_{i}:=(\sin\beta_{i}\cos\alpha_{i},\ \sin\beta_{i}\sin\alpha_{i},\ \cos\beta_{i}),\qquad q_{i}:=\exp(w_{i}a_{i})=(\cos w_{i},\ a_{i}\sin w_{i}),\qquad Q:=q_{n}\cdots q_{1}
(2)

(Hamilton product in data order, Section B); the network’s answer is the direction \pi(\widehat{Q}), defined by the rotated probe vector \widehat{Q}\,\hat{e}_{z}.

Non-degeneracy: \exists j:\ \theta_{j}\notin 2\pi\mathbb{Z}; otherwise the composition map reduces to the identity operator on the probe vector, rendering the representability question vacuous.

Lemma 1 is stated in Section 3.2; here is its full proof.

  • At K{=}1 the nine features \{1,\cos\alpha,\sin\alpha\}\otimes\{1,\cos\beta,\sin\beta\} include the three axis components as single features: a_{i}=(\cos\alpha\sin\beta,\ \sin\alpha\sin\beta,\ \cos\beta). Setting the only nonzero edge weights to \theta_{i}/2 on those three (zero on the other 24 scalars per edge) gives v_{i}=(\theta_{i}/2)\,a_{i}=w_{i}a_{i}, whose exponential is exactly q_{i}; the node composes by the Hamilton product, \widehat{Q}=q_{n}\cdots q_{1}=Q. ∎
Corollary 1 (poles are not special).

At \beta_{i}\in\{0,\pi\} the features f_{6},f_{9} vanish and f_{2}=\cos\beta_{i}=\pm 1; the construction yields v_{i}=(\theta_{i}/2)(0,0,\pm 1)=w_{i}a_{i} exactly, although the azimuth \alpha_{i} is undefined there. The readout is global by construction even though the input encoding is singular at the poles; this is why the pole-extrapolation stress test (Section E.3) does not break the architecture.

Lemma 2 (K{=}1 is minimal).

Under non-degeneracy, no K{=}0 network can represent the composition exactly: at K{=}0 the edge output is a constant, while the true output is not. K{=}1 is the minimal Fourier order.

  • At K{=}0 the edge has the single feature f=1, so v_{i} (and therefore \pi(\widehat{Q})) is independent of the input. We show \pi(Q) is not. Choose j with \theta_{j}\notin 2\pi\mathbb{Z}, fix all axes except a_{j}, and let u be the probe vector after the first j{-}1 rotations; u\neq 0 does not depend on a_{j}. Two admissible axis choices: a_{j}=u: a rotation about its own axis leaves u fixed, so R(q_{j})u=u; a_{j}\perp u: the only fixed directions of a rotation by \theta_{j}\notin 2\pi\mathbb{Z} are \pm a_{j}, and u\neq\pm a_{j}, so R(q_{j})u\neq u. The remaining rotations q_{j+1},\dots,q_{n} are fixed and invertible, hence the two final vectors Q\hat{e}_{z} differ. The true output takes two distinct values; a K{=}0 output is one constant. ∎
Remark 1 (the exact weights are not unique).

The output is read through the rotated vector, so the antipodal symmetry of the quaternion representation is invisible to the readout: v_{i}=(\theta_{i}/2+\pi m_{i})a_{i}, m_{i}\in\mathbb{Z}, are all exact solutions (even m_{i}: 2\pi-periodicity of \exp along a fixed axis; odd m_{i}: \hat{q}_{i}=-q_{i}, the same rotation). Consequently, convergence of the metrics to the Bayes floor does not by itself imply convergence of the weights to the constructed point. Lemma 1 is a statement about the function class, not about optimization.

Remark 2 (relation to the Bayes floor and to noise).

With the constructed weights the approximation error is identically zero, so on noiseless data the output equals the truth for every input. With noise on the inputs, the network’s response is exactly the sensitivity of the true composition map: the architecture adds no error of its own, and the residual is the propagated input-noise floor, not a representational artifact; the remaining 0.05^{\circ} is the gap between the exact composer and the Bayes-optimal denoiser. This is the mechanism behind LawKAN-SU(2) lying 0.05^{\circ} above the floor while the strongest standard opponent is 0.63^{\circ} above it (Section 4.2.1).

Remark 3 (K\geq 2 and the E13 ablation).

The K{=}2 feature set is a superset of the K{=}1 set, so Lemma 1 applies verbatim and the representation error stays exactly zero; the measured K{=}2 regression (2.87\pm 0.03 vs 2.79\pm 0.01^{\circ} on 10 paired seeds, paired p{=}1.7\times 10^{-5}; Appendix D) is an optimization effect (extra harmonics fit noise), not a representational one. The function-class result (Lemma 1) and the optimization behavior (E13) are thus cleanly separated.

Remark 4 (phase pairing is necessary; formalizes P4).

The construction uses products of functions of \alpha and of \beta (f_{6}=\cos\alpha\sin\beta, etc.); it cannot be carried out by phase-split edges v_{i}=g(\alpha_{i})+h(\beta_{i}). Indeed, \sin\beta\cos\alpha would have to be such a sum, but its mixed derivative \partial_{\alpha}\partial_{\beta}(\sin\beta\cos\alpha)=-\cos\beta\sin\alpha is not identically zero, while every sum g(\alpha)+h(\beta) has identically zero mixed derivative. Paired phase edges are therefore a representational necessity for exact composition: the measured “phase pairing” ablation (P4, Section I.4) is not a tuning choice.

Remark 5 (angles that vary per example).

Lemma 1 assumes fixed \theta_{i}, true of the headline battery (E1–E14). If \theta_{i} varies per example and is supplied as an input, a linear \theta_{i}-feature is not enough (the coefficient of \theta_{i} in the target depends on (\alpha_{i},\beta_{i}), which a constant coefficient cannot match); exactness is restored by the tensor-product extension

\{1,\theta_{i}\}\otimes\{1,\cos\alpha,\sin\alpha\}\otimes\{1,\cos\beta,\sin\beta\}\quad\text{--- }18\text{ features per edge},
(3)

with weight \tfrac{1}{2} on the three \theta_{i}-multiplied axis features and zeros elsewhere. If varying \theta_{i} are not given as input, the target is not a function of (\alpha_{i},\beta_{i}) at all and the task is stochastic, exactly the P16b regime of Section E.3, in which every architecture degrades by an order of magnitude.

C.1 Proof of Proposition 1 and the floor

Hypotheses. (i) the chart \chi:U\to G is injective on the input domain; (ii) the edge is linear in the features F with weights W; (iii) the node exponentiates and applies the exact law of G; (iv) e\in U, and \chi(U) generates G (products of chart elements cover the tested compositions).

Constructive direction. If \log\chi lies in the row space of F, choose W as the coefficients of \log\chi in the features; the edge then emits \log\chi(x) on the domain, the node returns \chi(x), and every finite product of exact factors is exact. Lemma 1 makes this explicit for \mathrm{SU}(2), and Section C.2 for GL^{+}(2,\mathbb{R}) and \mathrm{SE}(3).

Converse. The chart-spanning principle (Appendix D.4) proves the converse: if the architecture is exact on U\times U, then h=\chi\,c^{-1} with c a central involution; substituting forces c^{2}=e, so up to the double cover h\equiv\chi, i.e. \log\chi lies in the row space of F.

Floor. If \log\chi does not lie in the row space of F, write \delta(x) for the residual of the projection of \log\chi(x) onto the span. The node receives \log\chi-\delta; since the exponential is a retraction at the identity (Appendix J), the induced error is first order in \|\delta(x)\| and strictly positive whenever \delta\neq 0, so the mean error has a floor independent of training. The registered blind tests exhibit it: removing feature groups (E23) and the K{=}1 harmonic floor (E24, Appendix I).

C.2 Analytic support for the three instances

The constructive direction written out for the instances.

\mathrm{SU}(2). With axis a(\alpha,\beta)=(\sin\beta\cos\alpha,\ \sin\beta\sin\alpha,\ \cos\beta) and fixed \theta, the increment is \log q=(\theta/2)\,a: three of the nine K{=}1 features (Lemma 1); constructed weights exact to 7.6\times 10^{-7} degrees.

GL^{+}(2,\mathbb{R}). For g=R(\theta)D(s_{1},s_{2})H(t) in Iwasawa coordinates, the entries are g_{11}=e^{s_{1}}c, g_{21}=e^{s_{1}}s, g_{12}=te^{s_{1}}c-e^{s_{2}}s, g_{22}=te^{s_{1}}s+e^{s_{2}}c (c,s\equiv\cos,\sin\theta); each entry is a linear combination of the six features \{e^{s_{1}}c,\ e^{s_{1}}s,\ e^{s_{2}}c,\ e^{s_{2}}s,\ te^{s_{1}}c,\ te^{s_{1}}s\}; constructed weights exact to 1.1\times 10^{-7} (relative Frobenius).

\mathrm{SE}(3). For g=(R(a,\theta),p) the logarithm is \xi=(\omega,v) with \omega=\theta a and v=V^{-1}(\omega)\,p, where V^{-1}=I-\tfrac{1}{2}\omega^{\wedge}+d(\theta)(\omega^{\wedge})^{2} and d(\theta)=\theta^{-2}-(1+\cos\theta)/(2\theta\sin\theta). Expanding,

v=(1-d\theta^{2})\,p-(\theta/2)\,(a\times p)+d\theta^{2}\,a(a\cdot p),
(4)

so the increment is linear in \{a,\ p,\ a\times p,\ a(a\cdot p)\}; constructed weights exact to 1.6\times 10^{-7}.

C.3 Truncated BCH is never exact

For non-commuting increments the logarithm of a product is the Baker–Campbell–Hausdorff series

\log(e^{v_{1}}e^{v_{2}})=v_{1}+v_{2}+\tfrac{1}{2}[v_{1},v_{2}]+\tfrac{1}{12}\bigl([v_{1},[v_{1},v_{2}]]+[v_{2},[v_{2},v_{1}]]\bigr)+\cdots,
(5)

which does not terminate in general; a finite truncation therefore leaves a positive floor for generic inputs (E18), while the exact group law is a finite operation (the Hamilton product costs 28 scalar operations). Matched-parameter truncations thus trade exactness for no savings, which is why the node uses the exact law.

Appendix D Extended per-seed tables and cross-group proof

The three-instance summary is in the main text (Table 1); the per-seed numbers follow.

Figure A1: Cross-group characterization (log scale) for the two non-compact instances: the analytic edge against the dense/linear, no-exp and MLP alternatives; the analytic edge is orders of magnitude below all of them. Each group is evaluated in its own metric (GL^{+}(2,\mathbb{R}): relative Frobenius; \mathrm{SE}(3): per-coordinate probe), so heights are comparable within a group, not across the two. (\mathrm{SU}(2) is exact at K{=}1 (Lemma 1) and is therefore not part of this log-scale comparison.)

D.1 The non-compact instance: GL^{+}(2,\mathbb{R})

GL^{+}(2,\mathbb{R}) (orientation-preserving plane deformations, in Iwasawa coordinates) is composed by matrix product. Here the exponential is not global, and the compact-instance recipe (edge \to\mathfrak{g}\to\exp) does not transfer: sending the product features through a further exponential hurts. The LawKAN-GL+ model, using the exact node law with the six analytic Iwasawa features \{e^{s_{1}}c,\ e^{s_{1}}s,\ e^{s_{2}}c,\ e^{s_{2}}s,\ te^{s_{1}}c,\ te^{s_{1}}s\} (c,s\equiv\cos,\sin\theta), achieves a relative Frobenius error of 0.0024 and beats an MLP with 100\times the parameters (0.53); a dense edge over raw coordinates does not beat the MLP. The limit is the chart and the feature span (Table 12, Section D.4).

D.2 The mixed instance: \mathrm{SE}(3)

\mathrm{SE}(3), the rigid motions of space (a rotation with a translation; robot poses), is non-compact but has a surjective exponential (screw theorem), so the full design (edge \to Lie algebra \to exp \to product) can be exact. On two composed rigid transforms the analytic edge edge is near-exact (constructed weights exact to 1.6\times 10^{-7}; trained edge at 4.8\times 10^{-4} relative Frobenius) and orders of magnitude below a dense linear edge and an MLP h{=}64 (paired p{=}3\mathrm{e}{-8}). A blind feature-group test (held-out seeds) confirms both non-linear groups are necessary and that the floor scales linearly in the translation noise (Table 1; per-seed numbers in Section D.4). One exact node, different charts: the limit is the chart and the feature span.

Full per-seed and extended tables are regenerated mechanically from the released JSON dumps (repro/, Appendix A); the compact summaries are in the text, and the JSON dumps are the mechanical source of every number. Below we keep the additional opponent/robustness checks and the cross-group proof with its per-seed results.

D.3 Additional opponent and robustness checks (E18, X2, X4)

BCH ladder (E18). On the E1 task (5 seeds), replacing the Hamilton node by a truncated Baker–Campbell–Hausdorff series leaves a floor: exact Hamilton 2.78\pm 0.02^{\circ}, zeroth-order sum 5.91\pm 0.06^{\circ}, +\frac{1}{2} commutator 4.00\pm 0.04^{\circ}, + triple commutators 3.88\pm 0.06^{\circ} (p\leq 4.5\mathrm{e}{-6} against Hamilton); at order 2 the truncation already costs no fewer scalar operations than the exact product. The flop-lean rotation identity agrees with the quaternion sandwich to 9.5\mathrm{e}{-7}.

Non-Gaussian noise (X2). With uniform and Laplace input/target noise at matched root-mean-square (RMS) noise, the ordering is unchanged at every \sigma\in\{0.05,0.10,0.20\}: e.g. Laplace \sigma{=}0.10: LawKAN-SU(2) 8.90\pm 0.05^{\circ} vs MLP-Quat h{=}32 10.20\pm 0.15^{\circ} (paired p{=}5.7\mathrm{e}{-5}); uniform \sigma{=}0.10: 9.36\pm 0.03 vs 10.59\pm 0.22^{\circ} (paired p{=}4.9\mathrm{e}{-4}). RPMG does not change the ordering.

Vector Neurons (X4). A minimal \mathrm{SO}(3)-equivariant VN-MLP (h{=}8) reaches 12.12\pm 1.28^{\circ} against LawKAN-SU(2) 2.78\pm 0.02^{\circ} (p{=}1.3\mathrm{e}{-4}) and MLP-Quat\,+RPMG 3.42\pm 0.15^{\circ}: equivariant transport of the input axes is not a substitute for a composition law.

D.4 Cross-group characterization: proof and per-seed results

Principle (chart spanning). Let \chi:U\to G be a chart, h(x)=\exp(WF(x)), and suppose the architecture is exact for two-fold composition on U\times U: h(x_{2})h(x_{1})=\chi(x_{2})\chi(x_{1}) for all x_{1},x_{2}\in U. With s(x_{1}):=h(x_{1})\chi(x_{1})^{-1} this gives h(x_{2})s(x_{1})=\chi(x_{2}); the left side depends on x_{1} only through s, the right only on x_{2}, so both equal a constant c, i.e. h(x)=\chi(x)c^{-1}. Substituting back gives c^{-1}\chi(x_{1})c^{-1}=\chi(x_{1}) for all x_{1}\in U; at the identity this forces c^{2}=e, so c is a central involution (c=e, or c=-I in the double-cover case). Hence h\equiv\chi up to a central involution, and since the readout and every reported metric are invariant under the \mathrm{SU}(2)\to\mathrm{SO}(3) cover (Remark 6), exactness on the product set forces \log\chi to lie in the row space of F up to this double cover, and conversely. For the no-exp variants, replace \log\chi by \chi.

Table 12: Transfer to the non-compact group GL^{+}(2,\mathbb{R}) (v2): relative Frobenius error, five seeds (per-seed values rounded to three decimals). Structured carries the six analytic Iwasawa features; the retracted v1 run is reported below.
  • LawKAN-GL+ (exp, all inputs)
    Params
    48
    Rel. Frobenius
    0.823 \pm 0.005
    Per-seed
    [0.818, 0.828, 0.819, 0.829, 0.820]
  • LawKAN-GL+ (no exp: edge emits the group element)
    Params
    48
    Rel. Frobenius
    0.719 \pm 0.004
    Per-seed
    [0.723, 0.718, 0.714, 0.723, 0.717]
  • LawKAN-GL+ (analytic edge)
    Params
    48
    Rel. Frobenius
    0.0024 \pm 0.0005
    Per-seed
    [0.003, 0.002, 0.002, 0.003, 0.003]
  • MLP h{=}3 (matched)
    Params
    55
    Rel. Frobenius
    0.806 \pm 0.094
    Per-seed
    [0.729, 0.686, 0.945, 0.873, 0.796]
  • MLP h{=}64
    Params
    4996
    Rel. Frobenius
    0.534 \pm 0.016
    Per-seed
    [0.543, 0.504, 0.553, 0.534, 0.535]

E22/E23 (SE(3), full design and feature ablation). Numbers are in Section 4; per-seed values and the blind-test details are in the prediction log (E22, E23; Appendix K).

E16 v1 (retracted). The early GL^{+}(2,\mathbb{R}) run used only 2 of the 4 Iwasawa inputs (relative Frobenius 0.900\pm 0.014, 72 params); it is superseded by the full-input runs of Table 12 and kept here only for provenance.

E21 (analytic edge is discoverable). Starting from a generic 24-feature dictionary and pruning to the top-m features with retraining selects exactly the six analytic Iwasawa features (top-6 = analytic on the recorded seed) and reaches the exact level at m{=}6, beating the unpruned dictionary (replication seeds 10–14):

  • error
    2
    0.81
    4
    0.48
    5
    0.29
    6
    0.0026
    12
    0.0045
    24 (dense)
    0.0069

Appendix E Compact-instance details: full SO(3) readout and plots

Table 13: Full SO(3) readout (E30): geodesic error (deg), mean \pm std; target-noise-only bound 5.48^{\circ}, Monte-Carlo floor with input noise 6.05^{\circ} (E36). Paired vs LawKAN-SU(2): Lie head and MLP-Quat p{=}4.8\mathrm{e}{-5}. The 6D and 9D-SVD rows use the corrected Shepperd conversion; they are tied within noise, and the LawKAN/Lie/MLP ordering is unchanged.
  • LawKAN-SU(2)
    Error (deg)
    6.12 \pm 0.05
  • Lie head (strongest opponent)
    Error (deg)
    6.86 \pm 0.10
  • MLP-Quat h{=}32 (+RPMG)
    Error (deg)
    7.05 \pm 0.08
  • MLP-6D h{=}32
    Error (deg)
    7.73 \pm 0.17
  • MLP-9D-SVD h{=}16
    Error (deg)
    7.73 \pm 0.08
Figure A2: Capacity curves under the fixed \exp{+}Hamilton node (E31/E31b/E31c, E13): geodesic error against parameters for MLP and Fourier edges sharing the node, with the no-node control band (grey; the full opponent matrix is Figure 2) and the Bayes floor (dashed). The 54-parameter Fourier edge matches a 278-parameter MLP edge (228 vs 588 forward FLOPs/example, Appendix B.8); points are mean \pm std over seeds.
Figure A3: Sample-efficiency curves (E4): LawKAN-SU(2)@N{=}50 \approx 6D@N{=}1600 (within noise); against the fixed-protocol opponent structure saves \approx 32\times data, against the strongest tuned opponent \approx 7\times (E39).
Table 14: Full opponent matrix: geodesic error (deg), mean \pm std, input/output noise \sigma{=}0.03, target-noise-only floor \approx 1.9^{\circ}; the 9D-SVD family is shown to h{=}16; the tuned rows are at each opponent’s best learning rate (E38).
  • LawKAN-SU(2), edge: Fourier (K{=}1), node: exact
    Params
    54
    Error (deg)
    2.78 \pm 0.02 (5 seeds)
  • Opponents
  • MLP + quaternion head h{=}32
    Params
    1476
    Error (deg)
    3.36 \pm 0.06 (5 seeds)
  • MLP + quaternion head h{=}32 + RPMG (Chen et al., 2022)
    Params
    1476
    Error (deg)
    3.42 \pm 0.15 (5 seeds)
  • MLP + quaternion head h{=}16
    Params
    484
    Error (deg)
    3.77 \pm 0.07
  • MLP + 6D h{=}32 (Zhou et al., 2019)
    Params
    1542
    Error (deg)
    3.91 \pm 0.11
  • MLP + 6D h{=}16 (Zhou et al., 2019)
    Params
    518
    Error (deg)
    4.49 \pm 0.65 (5 seeds)
  • MLP + 9D-SVD h{=}16 (Levinson et al., 2020)
    Params
    569
    Error (deg)
    4.32 \pm 0.46
  • RealKAN + 6D head h{=}16
    Params
    550
    Error (deg)
    4.90 \pm 0.26
  • MLP + quaternion head h{=}8
    Params
    180
    Error (deg)
    5.84 \pm 0.24
  • MLP + 9D-SVD h{=}8
    Params
    225
    Error (deg)
    7.11 \pm 0.34
  • MLP + 6D h{=}8 (Zhou et al., 2019)
    Params
    198
    Error (deg)
    7.56 \pm 0.27
  • RealKAN + 6D head h{=}8
    Params
    278
    Error (deg)
    7.83 \pm 0.36
  • MLP + quaternion head h{=}4
    Params
    76
    Error (deg)
    11.08 \pm 0.30
  • MLP + 9D-SVD h{=}4
    Params
    101
    Error (deg)
    12.06 \pm 0.53
  • MLP + 6D h{=}4 (Zhou et al., 2019)
    Params
    86
    Error (deg)
    13.81 \pm 0.93
  • MLP h{=}4 (atan2 head)
    Params
    76
    Error (deg)
    15.14 \pm 1.44 (5 seeds)
  • RealKAN 2-layer K=3
    Params
    168
    Error (deg)
    19.97 \pm 1.16
  • RealKAN K=3
    Params
    56
    Error (deg)
    32.50 \pm 0.22
  • Tuned learning rate (E38)
  • MLP + quaternion head h{=}64, tuned
    Params
    4996
    Error (deg)
    3.25 \pm 0.02 (5 seeds)
  • MLP + 6D h{=}16, tuned
    Params
    518
    Error (deg)
    4.00 \pm 0.54 (5 seeds)
  • MLP h{=}4 (atan2), tuned
    Params
    76
    Error (deg)
    14.41 \pm 1.05 (5 seeds)
Table 15: Synthetic IMU probe: geodesic error (∘), 20-step trajectories; lower rows: low-data run (50 trajectories).
  • LawKAN-SU(2)
    Params
    27
    Error, ∘
    0.082\pm 0.000
  • MLP h{=}8
    Params
    596
    Error, ∘
    18.1\pm 1.0
  • MLP h{=}32
    Params
    3{,}140
    Error, ∘
    9.15\pm 0.11
  • MLP-Quat h{=}32 + RPMG
    Params
    3{,}140
    Error, ∘
    9.21\pm 0.07
  • low-data: LawKAN-SU(2)
    Params
    27
    Error, ∘
    0.089\pm 0.006
  • low-data: MLP h{=}32
    Params
    3{,}140
    Error, ∘
    42.6\pm 12.3
Table 16: Bayes floor (the reported-metric minimizer gives the same floor) and the gap to it; unrounded n{=}2 floor 2.733^{\circ} (matched to the E1 test draws, E40) (Appendix D).
  • n{=}2 (fixed angles)
    Bayes floor
    2.73^{\circ}
    LawKAN-SU(2)
    2.78^{\circ} (+0.05^{\circ})
    Top opponent
    3.36^{\circ} (+0.63^{\circ})
  • n{=}3 (fixed angles)
    Bayes floor
    3.06^{\circ}
    LawKAN-SU(2)
    3.19^{\circ} (+0.13^{\circ})
    Top opponent
    6.60^{\circ} (+3.54^{\circ})
  • n{=}2 random
    Bayes floor
    37.7^{\circ}
    LawKAN-SU(2)
    38.21^{\circ} (+0.5^{\circ})
    Top opponent
    46.48^{\circ} (+8.8^{\circ})

E.1 Battery, sample efficiency and accounting

The margin holds across the battery (Appendix D): at n{=}2, at n{=}3 and at the poles LawKAN-SU(2) leads the strongest head by a factor that grows with depth and extrapolation, and RPMG (Chen et al., 2022) on the same head is statistically indistinguishable from it and still loses. Sample efficiency: LawKAN-SU(2) at N{=}50 matches the fixed-protocol 6D baseline at N{=}1600 within noise (about 32\times fewer samples at matched error; against the strongest tuned opponent the ratio is about 7\times, E39), with no crossover up to N{=}3200 and no advantage beyond the plateau. Accounting: under one convention (Appendix B.8) LawKAN-SU(2) needs 228 FLOPs/example against 2848 for the strongest head — 12\times fewer FLOPs and 27\times fewer parameters at matched accuracy (92\times against the strongest tuned head) — at a raw cost \sim 1.8\times the tiny MLP, the price of built-in algebra; the figure counts every transcendental as one FLOP, so it understates \exp/\mathrm{atan2} and on wall-clock LawKAN-SU(2) is the slower of the two. The Hamilton node is the flop-cheapest exact composer (Appendix D.3). Full tables and the sample-efficiency and noise curves are Figures A3 and A4; the full SO(3) readout is Table 13.

E.2 Justification notes for the benchmark

Table 17: Node/edge isolation on the composition task (5 seeds): one fixed \exp{+}Hamilton node, different edges (upper block); no-node controls (lower block). Mean \pm std, geodesic degrees; bold marks the best row. The 54-parameter Fourier edge is the default used in the main text and is within noise of the 18-parameter analytic edge.
  • Fourier edge (K{=}1)
    Params
    54
    Error (deg)
    2.78\pm 0.02
  • analytic edge
    Params
    18
    Error (deg)
    2.75\pm 0.02
  • MLP edge (h{=}8)
    Params
    278
    Error (deg)
    2.97\pm 0.04
  • MLP edge (h{=}32)
    Params
    2630
    Error (deg)
    2.90\pm 0.08
  • MLP edge (h{=}32, best lr)
    Params
    2630
    Error (deg)
    2.86\pm 0.03
  • MLP edge (h{=}4, 2 layers)
    Params
    110
    Error (deg)
    3.69\pm 0.39
  • MLP edge (h{=}4, 1 layer)
    Params
    70
    Error (deg)
    5.56\pm 0.74
  • MLP edge (h{=}2, 1 layer)
    Params
    38
    Error (deg)
    22.9\pm 0.4
  • linear edge
    Params
    30
    Error (deg)
    13.3\pm 0.1
  • no node: plain MLP-Quat h{=}32
    Params
    1476
    Error (deg)
    3.36\pm 0.06
  • no node: single-exp MLP-Lie h{=}32
    Params
    1443
    Error (deg)
    3.29\pm 0.10

Here “strongest” refers to the standard rotation-head matrix, whose strongest row is MLP-Quat h{=}32 (3.36); the no-node single-exp MLP-Lie control reaches 3.29 (Table 17) but is a different readout class and is reported as a control, not as a matrix opponent. The gap to the strongest fixed-protocol opponent grows with depth; the Lie-algebra baseline (MLP \to\mathfrak{so}(3)\to\exp) does not close it, so the parameterization alone does not explain the win. Tuning the opponent does not close it either (the best of nine h\times\mathrm{lr} cells stays above the model; at its own best rate the h{=}32 edge moves from 2.90 to 2.86^{\circ}, E38), and training directly on the reported metric does not move it; the parameter margin should therefore be read as bounding the whole structured design, not the node alone. Seeds are shared across rows, so the gap over MLP-Quat h{=}32 is significant (disjoint 95\% CIs, Appendix A.4); the ranking is robust to the opponent’s learning rate (a registered three-rate sweep), and enlarging the Fourier order does not help (a Fourier-order ablation; Table 27).

Node/edge isolation details.

With the same \exp{+}Hamilton node, Fourier and MLP edges h{\geq}8 beat both no-node controls (paired p<0.01; capacity curves in Figure A2), and the linear-edge failure is what the span criterion predicts: \log\chi is not in the span of four raw phase features. The 18-parameter analytic edge is the cheapest point; the Fourier edge matches a 278-parameter MLP edge at a fraction of its forward FLOPs (Appendix B.8). Full-\mathrm{SO}(3) readout: LawKAN-SU(2) stays the most accurate at 27\times fewer parameters, now against the Lie head (6.12 vs 6.86^{\circ}), and is +0.07^{\circ} above the Monte-Carlo floor with input noise (strongest opponent +0.81^{\circ}; Table 13). The margin holds across the battery and the stress tests (Section E.3); sample efficiency and the unified FLOP/parameter accounting are in Section E.1.

IMU details.

LawKAN-SU(2) computes the magnitude through a linear channel and the direction through the K{=}1 Fourier phase pair; the pruned edge reduces to the analytic edge; the network maps the whole sequence to the total rotation in one pass and does not iterate the ODE. For the real probe, the dataset is split into 800 training and 2000 testing examples with no overlap between the splits; we evaluate 3 seeds with the true \mathrm{SO}(3) geodesic (an earlier rotvec-chart metric, discontinuous at \pi, is retracted). Synthetically the shared 27-parameter edge is at the metric floor while MLPs two orders of magnitude larger stay far above it (Table 15).

Arm-calibration details.

The per-joint SE(3) correction is ahead of PoE at every size: paired p{=}0.019 at N{=}20, p{=}0.06–0.84 at larger sizes; it beats the residual MLP at N{=}20 (p{=}0.005) and N{=}40 (p{=}0.049), tied at N{=}60/80 (N{=}80: 1.42 vs 1.45\,mm, p{=}0.85). TOST (margin 10\% of the classical baseline, \alpha{=}0.05) certifies parity at N{\geq}40: paired differences -0.007/-0.031/-0.062\,mm, 90\% CIs inside the margin (TOST p{=}0.004/0.0003/0.025).

E.3 Boundaries: stress tests

All stress tests use the dense edge (54 parameters, K{=}1), the architecture-agnostic default: the pruned edge is a derived construction (valid only where the composition angles are fixed and known) and cannot relax these boundaries; where it applies it shifts them in our favor (Section H.3, Section F.1).

Noise, extrapolation and depth.

Across input/target noise LawKAN-SU(2) degrades linearly and dominates the whole curve (the gap at low noise is the opponent’s approximation residual, not noise); out of band the Fourier edge and the group law are global by construction, so the poles are not special (the standard head degrades 1.9\times\to 4.0\times against 1.24\times for LawKAN-SU(2); Figure A4). Depth helps within the learnable regime: at n{=}3 the gap over the strongest head is {\sim}2\times, and along chains up to eight factors the advantage widens as the opponent degrades superlinearly, until every architecture leaves the learnable regime (around n{=}6 the compact instance turns seed-bimodal, and by n{=}8 all models are at chance; Appendix D).

Figure A4: (a) Error vs noise \sigma: LawKAN-SU(2) dominates the whole curve; the 2.2\times gap at \sigma{=}0.01 is the opponent’s approximation residual. (b) Pole extrapolation: the standard head degrades 1.9\times\to 4.0\times against 1.24\times for LawKAN-SU(2).
Mismatch: the imposed law is not the task’s.

With inputs, noise and budget held fixed but a target with no group law (a mildly warped sum of phases), the Hamilton node is a mismatch: 23.87\pm 0.41^{\circ} against 12.64\pm 3.00 for an MLP h{=}4 and 3.45\pm 0.35 for MLP-Quat h{=}32. With random hidden angles the target is not a function of the input, every architecture faces irreducible uncertainty, and the margin narrows to the Bayes floor; when the angle is supplied (IMU and kinematic probes) varying angles are handled well. The advantage is therefore structure–task alignment, not a universal parameterization win, and Table 6 maps the task types. The registered \mathbb{Z}_{n}/BKT analogy did not appear and remains motivation only.

Two further isolated probes, the synthetic forward-kinematics calibration and the rigid-body ODE with a state-conditioned edge, are deferred to Appendix G: they close their synthetic targets (a 4\times margin over an MLP, and the numerical floor of the analytic integrator, respectively) without changing the envelope.

Appendix F Applied-probe details

F.1 IMU orientation (controlled and real BROAD)

The first applied block reconstructs orientation from angular velocity (20 integration steps), evaluated on the real BROAD dataset (Laidig et al., 2021b; Laidig et al., 2021a) (consumer gyroscopes at 286\,Hz, structured noise, optical ground truth) and on a controlled synthetic benchmark. The map \omega_{s}\mapsto\exp(\omega_{s}dt) is the same at every step, so one shared edge (27 parameters, pruned to 18) learns that single step while the exact node composes all 20 in one pass; baselines are the training-free strapdown integrator (Titterton & Weston, 2004), flat MLPs, a GRU and a residual MLP, and RPMG (Chen et al., 2022). The real probe uses 16 disturbed trials with a trial-level split (3 seeds, true \mathrm{SO}(3) geodesic); details, the synthetic block and the early retracted metric are below.

Table 18: Real BROAD IMU orientation at three horizons, geodesic error (∘): 27-p dense edge up to 0.07\,s, 36-p at longer horizons where a bias feature is added, 18-p sparse; the dense edge is seed-bimodal at long horizons; per-seed values are listed and the failing seed is environment-dependent. The synthetic block is Table 15. 3 seeds; the classical same-class comparator is the training-free strapdown. †Classical AHRS fusion filter (Laidig & Seel, 2023); it uses the accelerometer (different input class) and is shown as a scope reference, not as a gyro-only comparator.
  • VQF 6D† fusion (gyro+accel)
    0.07\,s
    0.201
    1.0\,s
    0.536
    5.0\,s
    0.680
  • Strapdown (training-free)
    0.07\,s
    0.394
    1.0\,s
    1.148
    5.0\,s
    1.191
  • LawKAN-SU(2) dense (27/36p)
    0.07\,s
    0.423
    1.0\,s
    1.147 / 1.089 / 1.186
    5.0\,s
    1.142 / 1.185 / 73.1
  • LawKAN-SU(2) sparse (18p)
    0.07\,s
    —
    1.0\,s
    1.057{\pm}0.000
    5.0\,s
    1.189{\pm}0.008
  • MLP h{=}8
    0.07\,s
    0.534
    1.0\,s
    47.2
    5.0\,s
    88.2
  • MLP h{=}32
    0.07\,s
    0.552
    1.0\,s
    58.8
    5.0\,s
    102.2
  • GRU h{=}32 (3{,}939p)
    0.07\,s
    —
    1.0\,s
    14.9 (28.3t)
    5.0\,s
    78.7 (83.0t)
  • residual MLP
    0.07\,s
    —
    1.0\,s
    1.55
    5.0\,s
    2.58
Figure A5: BROAD real-IMU (log scale): the training-free integrator and the pruned 18-p edge stay on the manifold; the dense edge is seed-bimodal (dots = seeds; one diverges at 5\,s, so its mean is far above the median); the flat MLP leaves the manifold.

On the real sensor the same structure stays on the rotation manifold at every horizon while the flat MLPs leave it, and the pruned 18-parameter edge is seed-stable and is the only learned model to achieve parity with the training-free integrator at 5\,s; synthetically the shared edge is at the metric floor while much larger MLPs stay far above it (Table 15). The win here is not competing with the group law but suppressing structured gyro noise without seed selection. For scope, the classical AHRS fusion filter VQF (Laidig & Seel, 2023) reaches 0.20/0.54/0.68^{\circ} on the same windows with the gyroscope and accelerometer — a different input class, listed as a reference; the like-for-like gyro-only classical bound remains the training-free integrator.

F.2 Gyroscope calibration (same sensor)

The second block calibrates the angular-velocity sensor itself: fit \omega_{\mathrm{true}}=M(\omega_{\mathrm{raw}}-b) (scale/misalignment M, bias b) on a 70/30 split of the (non-overlapping) windows pooled from the 23 undisturbed BROAD trials, and evaluate strapdown integration with the corrected measurements on the held-out 30\%. The learned 12-parameter (M,b) matches the classical Levenberg–Marquardt (LM) fit of the same model at every horizon (differences \leq 0.009^{\circ}; deterministic fits, so the parity is exact rather than statistical) and gains 0.044^{\circ} over per-trial bias subtraction, from physically sane parameters (Table 19). This is a parity cell, not a win: the group-law structure is not where the gain lies on this task, and here parity is deterministic rather than statistical — the learned (M,b) reaches the LM optimum on every window (Table 19).

F.3 Deployment profile

Deployment is cheap and reproducible: one forward pass per window, no recurrent state or sampling variance at inference, training without ensembles or reseeding; a fit takes minutes on one CPU, and the full arm protocol (Section 5.1) — all sizes, seeds and models — takes hours. Energy and embedded latency are not measured (Limitations).

Table 19: Gyroscope calibration (X6): geodesic error (∘) of strapdown integration with corrected measurements on the held-out split; \Delta= gain over bias-only subtraction. The TinyGC-style row is measured under this protocol: its subnet reduces to the same affine class (Cui & Zhao, 2024) and matches the LM fit within 0.002^{\circ} at every horizon; 3 seeds.
  • none (raw integration)
    0.07\,s
    0.594
    0.35\,s
    1.161
    1.0\,s
    1.453
    \Delta_{\max}
    —
  • bias-only, per-trial
    0.07\,s
    0.593
    0.35\,s
    1.144
    1.0\,s
    1.374
    \Delta_{\max}
    —
  • classical LM (M,b) (12p)
    0.07\,s
    0.588
    0.35\,s
    1.100
    1.0\,s
    1.362
    \Delta_{\max}
    0.044^{\circ}
  • LawKAN-SU(2), learned (M,b) (12p)
    0.07\,s
    0.588
    0.35\,s
    1.100
    1.0\,s
    1.371
    \Delta_{\max}
    0.044^{\circ}
  • TinyGC-style subnet (27p)
    0.07\,s
    0.589
    0.35\,s
    1.101
    1.0\,s
    1.363
    \Delta_{\max}
    0.043^{\circ}
Table 20: Multi-platform FK calibration (X10, P48): held-out position error (mm, mean \pm std); our screw-coordinate model (55/48 parameters) vs the constant base/tool fit (12 parameters). FR3 data: (Nadeau, 2024); UR10: IPA Series A (Landgraf et al., 2021; Landgraf, 2021); UR5: pauljac, 1020 poses, position-only (Yao et al., 2026; Jacobi, 2025). UR10 at N{=}20 is seed-unstable.
  • FR3 (55 p)
    const. fit, N{=}80
    3.34\pm 0.09
    N{=}20
    1.78\pm 0.18
    N{=}40
    1.43\pm 0.10
    N{=}80
    1.32\pm 0.13
    gain, N{=}80
    2.5\times
  • UR10 (48 p)
    const. fit, N{=}80
    0.76\pm 0.01
    N{=}20
    1.16\pm 1.26
    N{=}40
    0.47\pm 0.03
    N{=}80
    0.43\pm 0.01
    gain, N{=}80
    1.8\times
  • UR5 (48 p, pos.)
    const. fit, N{=}80
    0.51\pm 0.02
    N{=}20
    0.25\pm 0.04
    N{=}40
    0.16\pm 0.02
    N{=}80
    0.14\pm 0.00
    gain, N{=}80
    3.7\times
Figure A6: Three-platform FK calibration (X10): held-out error against training size per platform; constant fit (grey), dense screw model, rotation-only sparse; gains at N{=}80: 2.5\times/1.8\times/3.7\times; UR10 at N{=}20 is seed-unstable.

The isolated correction on the ABB range-only protocol is already ahead of the same-class exact screw fit at N{=}40 (1.70 vs 1.83\,mm, p{=}0.039; 10 seeds) and below it at N\geq 80; it is below the GN fit numerically at N\geq 80 and significantly from N\geq 160 (Table 5); a Gauss–Newton fit of the same class reaches 1.41/1.20/1.14\,mm at N{=}80/160/320, numerically between the exact and isolated results. On the socket protocol the dense screw (55p) control is in the table and the joint control in Figure A8; on the FR3 unit the dense per-joint screw wins (a base-form boundary), consistent with its large base mismatch. On the Kinova platform, the reduced edge underfits the large base mismatch, so \psi must absorb a large residual. The socket objective scores the scatter of each socket around its own predicted mean (socket_loss), so a map that sends a whole configuration class to one point has near-zero scatter — a degenerate minimum. On 2/10 seeds the optimizer reaches this collapse basin instead of the correct calibration (iso 3.06/2.81 vs edge 2.12/2.39; the paired test over all 10 seeds gives p{=}0.26; TOST fails; Figure A7); this is a property of the unregularized global head — local-kernel and two-slot heads remove it (Section 5.1, Appendix G) — whereas the shuffled-label control below shows the metric is robust against degenerate minima when the constraint is real. In the shuffled-label control (rng(2000) permutation of the concatenated sockets, all else identical) the isolated correction stays at 60.5/59.3\,mm on KUKA/Panda after 3000 steps versus 0.19/0.36\,mm under the real constraint, so workspace collapse does not artificially minimize the socket metric. The registered pooled criterion (Fisher over the ABB N{=}80 and KUKA front paired tests, 10 seeds) gives \chi^{2}{=}58.5, p{\approx}6{\cdot}10^{-12}. The extension rule admits Kinova to the pooled claim if its own gate passes; under the recommended local kernel it does (kernel vs reduced edge -0.55\,mm, p{<}10^{-4}; the kernel matches the dense screw, p{=}0.10, non-significant), so the extended claim is made: Fisher over {ABB N{=}80, KUKA front, Kinova front} gives \chi^{2}{=}78.1, p{\approx}9{\cdot}10^{-15} — across three platforms. Within-robot replication: on the two further KUKA tool sessions isolated \psi wins both (0.231/0.381 vs edge 0.611/0.747, p{=}2{\cdot}10^{-4}/10^{-4}). On both applied protocols the correction is fed the canonicalized quaternion pair — q (with w\geq 0) and t per factor, 14 numbers — so the axis–angle chart never enters it; the only residual is the antipodal seam at w{=}0, a bounded jump that costs a peak (13.2\to 9.6\,mm) but not the final error (X57).

Figure A7: Seed stability of the relaxation on Kinova (X32): per-seed socket RMS for the reduced edge, the global head and the local kernel. The global head collapses on the two outlying seeds (8, 9) of the ten-seed probe, above the reduced edge, while the local kernel stays below it on every seed — the instability is a small-data property of the global head, not of the correction.

Known-deformation probes and the shape of the deformation. Four registered probes ask where the deformation comes from (all isolated on the frozen exact edge). (i) Gravity torque (X19): a physics correction \delta q_{j}=\alpha_{j}\tau_{j}+h(\tau_{j}) using the nominal gravity torque computed from the encoders is at parity with the exact model and worse than the agnostic \psi at N\geq 60 (+0.23/+0.27\,mm; generic 1.17/1.14), though it cures the agnostic small-N overfit (1.54 vs 2.49 at N{=}20): the deformation is not gravity-shaped. (ii) Workspace shift (cluster split): the pose-\psi loses 1.6–1.9\times to the exact model when whole configuration clusters are held out (p\leq 0.009) — a local fit, not a global law. (iii) Backlash, synthetic (X20): with matched approaches the sign of the last joint motion predicts the residual direction (1.000 alignment, permutation p<10^{-3}), and the constrained correction removes 98\% of the hysteresis floor and is inert without friction. (iv) Backlash proxy on real data (X21, collected from an IPA Series A manipulator with real timestamps): inconclusive — the recording-order signature does not rise above the 0.44\,mm residuals (3/6 joints positive, p{=}0.92); arm datasets carry no approach trajectories. For the gyroscope, a coning probe (X18) finds the first-order floor at 286\,Hz to be quadrature-dominated (0.167^{\circ}; the BCH coning term 1.9^{\circ} partially cancels it), removed by midpoint sampling (0.005^{\circ}); an unconstrained correction destroys it and a constrained coning-statistic map removes only 3\%.

Figure A8: Two further platforms with different measurement modalities. (a) MUKCa socket consistency (KUKA iiwa14): held-out scatter for the nominal model, the reduced edge, the dense screw model, the isolated correction and the joint control (10 seeds); the isolated correction removes the floor below the edge. (b) RobotCali draw-wire range-only (ABB IRB 120): held-out mean |\Delta L| against training size; the isolated correction beats the exact screw and, for N\geq 160, the same-class Gauss–Newton fit (tying it at N{=}80), and the local kernel adds nothing here.
Table 21: Which correction head to apply, by setting. The two-slot (the default) is trained jointly (sequential-on-residual matches it, Section 3.4); the local kernel is the collapse-safe choice for a small, fixed, seed-unstable configuration set; a plain global head suffices where the deformation is smooth.
  • Deformed composition, data not scarce (KUKA, Panda)
    Head
    two-slot on KUKA; global on Panda
    Why
    KUKA: two-slot lowest; Panda: global lowest, two-slot within noise
  • Deformed arm deep-dive (FR3)
    Head
    two-slot
    Why
    ties the best pure head; kernel-safe
  • Small fixed set, seed-unstable (Kinova)
    Head
    local kernel
    Why
    the global slot re-collapses; the kernel stays below the edge
  • Range-only, smooth (ABB)
    Head
    global (MLP)
    Why
    the kernel adds nothing

Why the baselines differ. Each protocol is compared with its classical same-class estimator. For arm calibration the classical estimator is the product-of-exponentials least-squares (à la Nadeau (2024)), which on the range-only ABB protocol is the exact screw model and its Gauss–Newton fit — so the correction is compared with the Gauss–Newton (its strongest classical form). The MUKCa socket protocol has no Gauss–Newton: its classical method is the consistency-and-distortion optimization of Franzese et al. (2025); Franzese et al. (2024), whose full per-joint screw fit is our dense screw (the same-class reference); the LawKAN base is the uncorrected reduced edge (the correction’s base).

Appendix G Two isolated probes: FK calibration and ODE dynamics

G.1 Forward-kinematics calibration (5-DOF arm, synthetic)

On a synthetic 5-DOF arm with a fixed per-joint miscalibration, LawKAN-SU(2) (150 parameters; joint-wise edges v_{j}=\theta_{j}a_{j}+\mathrm{Fourier}_{j}(\theta_{j}), composed along the chain) reaches 0.159\pm 0.095^{\circ} against 0.661\pm 0.267 for an MLP, a 4\times margin that is stable over 3 seeds (Table 22); per-joint identifiability is limited by the calibration gauge. What matters here is the linear-in-\theta channel (a pure Fourier edge saturates near 18^{\circ}); the real-hardware counterpart is Section 5.1.

Table 22: Forward-kinematics calibration (synthetic 5-DOF arm, 3 seeds): endpoint-orientation error.
  • LawKAN-SU(2)
    Params
    150
    Error (∘)
    0.159\pm 0.095
  • MLP h{=}32
    Params
    1380
    Error (∘)
    0.661\pm 0.267
  • MLP h{=}32 + RPMG
    Params
    1380
    Error (∘)
    0.672\pm 0.293

G.2 Rigid-body dynamics: a state-conditioned quadratic edge solves the ODE case (E25/E25b)

Regressing the non-chaotic solution map of the Euler equations (20-step rollouts from \omega_{0} only), a state-conditioned quadratic edge (39 parameters) reproduces the analytic integrator to 0.0818\pm 0.0001^{\circ} (its numerical floor), while the linear edge stalls at 7.13 and the cubic diverges (4/5, the order rule). Feed-forward one-pass controls (E25b) do not unroll (best 0.84^{\circ}), and MLPs need 34–450\times more parameters for 3.4–6.1\times worse error (Table 23). The ODE case is thus solved, not merely bounded: the state, not capacity, closes the gap. With an estimated state the edge order is no longer necessary (reported in the prediction log).

Table 23: Rigid-body dynamics: state-conditioned (E25) vs feed-forward (E25b) edges, degrees. State edges see the evolving \omega (the model unrolls the ODE); feed-forward edges see only \omega_{0} in one pass; the analytic integrator is at the numerical floor.
  • Analytic integrator (metric floor)
    Params
    0
    Error (∘)
    0.0816
  • State-conditioned (LawKAN-SE(3), E25; state edge, sees the evolving \omega):
  • quadratic
    Params
    39
    Error (∘)
    0.0818\pm 0.0001
  • linear
    Params
    12
    Error (∘)
    7.13\pm 0.02
  • cubic
    Params
    120
    Error (∘)
    diverged (4/5)
  • Feed-forward (LawKAN-SE(3), E25b; edge sees only \omega_{0}, one pass):
  • quadratic
    Params
    39
    Error (∘)
    1.58\pm 0.02
  • cubic
    Params
    120
    Error (∘)
    0.84\pm 0.03
  • linear
    Params
    12
    Error (∘)
    5.21\pm 0.04
  • 20-step fixed input
    Params
    99
    Error (∘)
    7.02\pm 5.45
  • Fourier K{=}1 (E17)
    Params
    54
    Error (∘)
    11.31\pm 4.59
  • MLP h{=}32 (baseline)
    Params
    1316
    Error (∘)
    0.2765\pm 0.0085
  • MLP h{=}128 (baseline)
    Params
    17540
    Error (∘)
    0.4991\pm 0.5519

G.3 Real-data audit: Baxter arm dynamics (E26b)

The real-data counterpart of the ODE probe: on recorded Baxter arm trajectories (Valencia-Vidal et al., 2025) a state-conditioned edge learns \ddot{q}=f(q,\dot{q},\tau), and the exact integrator (semi-implicit Euler) composes the 14-dimensional state over H{=}50 steps; the node carries no parameters. Training uses the squared and random trajectories (70/30), the test is the held-out segment and the transfer target is the disjoint circle trajectory (3 seeds; metric: root-mean-square error (RMSE) of the state increment; the effective sample step from the data is 2.4\,ms against the journal’s 1\,ms assumption, so both rates are reported). On transfer the linear edge with exact integration is the only learned model below the constant-velocity baseline and below the flat MLP, while the higher-capacity edges win in-distribution and do not transfer; the two predictions were registered in the project plan before the run, and we report that one of them (the MLP-edge variant) is refuted. The exact-integrator component therefore provides a modest, budget-sensitive advantage on this real task, not an asymptotic win, as Table 24 shows.

Table 24: Real Baxter arm dynamics (E26b): RMSE of the integrated state increment (14-dim, mixed units) over H{=}50 steps, three seeds. “In-dist” is the held-out segment of squared/random; “circle” is the disjoint transfer trajectory. The constant-velocity baseline is training-free; the flat MLP maps to the increment in one pass with no integration (the 2.0\,ms row is rounded from the effective 2.4\,ms sample step). The edge rows are LawKAN-SE(3) variants (a state edge plus the exact integrator, or a flat edge).
  • dt =1.0\,ms
  • zero (constant velocity, no learning)
    Params
    0
    In-dist
    0.063
    Circle
    0.126
  • linear + exact integrator
    Params
    154
    In-dist
    0.053
    Circle
    0.114
  • physics features + exact integrator
    Params
    504
    In-dist
    0.051
    Circle
    0.161
  • MLP + exact integrator
    Params
    6023
    In-dist
    0.040
    Circle
    0.129
  • flat MLP (no integration)
    Params
    6478
    In-dist
    0.040
    Circle
    0.138
  • dt =2.0\,ms
  • zero (constant velocity, no learning)
    Params
    0
    In-dist
    0.063
    Circle
    0.125
  • linear + exact integrator
    Params
    154
    In-dist
    0.051
    Circle
    0.110
  • physics features + exact integrator
    Params
    504
    In-dist
    0.050
    Circle
    0.159
  • MLP + exact integrator
    Params
    6023
    In-dist
    0.037
    Circle
    0.139
  • flat MLP (no integration)
    Params
    6478
    In-dist
    0.040
    Circle
    0.138

G.4 Almost laws: details, controls and diagnostics (X13/X14/S1/S2/S3/X16)

The Corollary bounds the node from the other side: if the composition of a real system is not exactly the chosen group law (compliance, thermal deformation, backlash), the mismatch leaves a training-independent floor that no edge can remove. We relax the law with a small learned correction while keeping everything else fixed: R(A,B)=\mathrm{compose}(A,B)\exp(\psi(f(A),f(B))), where \psi has a zero last layer (at initialization the relaxed model is exactly the exact model) and is shared across the chain’s compositions. Early \psi variants were a linear Fourier head over the 30 pair features (per factor: four chart angles (\theta,a_{x},a_{y},a_{z}) in the basis \{1,\sin x,\cos x\}, 12, plus three translations, 15) read out to the six \mathfrak{se}(3) components (30\cdot 6+6=186 parameters; with the dense per-joint edge 240, \psi-only 198) and an MLP (14{\to}16{\to}6, 342; totals 396/354). These change only the functional class inside the same slot (Table 26); the final default is the two-slot head – a global linear readout (186) plus a local kernel (120), 306 in all (360 with the dense edge, Section 3.4) – which is what Table 3 reports.

On the real FR3 the relaxation removes the floor. Under the two-slot head this holds at every training size, significantly from N{\geq}40; at N{=}20 it is within noise (1.51 vs 1.53\,mm, p{=}0.84; isolated 1.12 at N{=}80\,mm, Table 3); the earlier dense-edge Fourier realization (1.20/1.18\,mm at N{=}60/80, Table 26) overfit at N{=}20 (2.49\,mm), which the local slot repairs. With the exact edge frozen the isolated variant keeps the win, while joint training is the compensation control. The Fourier variant matches the MLP within noise at N{\geq}40 while being smaller and interpretable (it also improves the \psi-only form, -0.074\,mm at N{=}80, p{=}0.023). Training the two slots together is as good as isolating them: the sequential-on-residual variant (kernel first, then the global slot on its residual) matches joint training (1.64 vs 1.51\,mm at N{=}20; 1.14 vs 1.12\,mm at N{=}80), and the global-slot weight grows with N (0.04\to 1.37); the slots are not orthogonal (a gauge, Section 3.4).

The ladder of exclusions on the correction head is summarized in Table 25 (Section 3.4); the per-platform detail follows.

Table 25: The correction slot: one support axis, measured scopes. Each entry was registered before its run (App. K); the winding and magnitude hypotheses were refuted and are reported. The two-slot sum is the default: it dominates both pure heads at every training size (App. G).
  • global linear
    Support
    global
    Verdict on our battery
    no collapse protection; overfits at small N
    Scope (when it wins)
    smooth distributed deformations, data abundant; statistical niche at large N
  • bounded chart (rotation)
    Support
    global
    Verdict on our battery
    collapse not cured (p{=}0.68)
    Scope (when it wins)
    refuted as our mechanism; retained for large-angle deformations (\mathrm{sat}_{\max}\!\to\!1 signals activation)
  • magnitude bound
    Support
    global
    Verdict on our battery
    never engaged (\mathrm{sat}_{\max}{<}1)
    Scope (when it wins)
    refuted as our mechanism; a safety cap where extrapolation is possible
  • + weight decay
    Support
    global, capped
    Verdict on our battery
    cures; dose \propto size, narrow window
    Scope (when it wins)
    second layer on the global slot; dose from the size table (X26c)
  • local kernel
    Support
    local
    Verdict on our battery
    cures; no dose; improves healthy fits
    Scope (when it wins)
    localized mechanisms (backlash, friction, compliance); data-starved corner
  • two-slot (default)
    Support
    sum
    Verdict on our battery
    dominates both pure heads at every N; |g_{\mathrm{slot}}| grows with N
    Scope (when it wins)
    no per-task choice required

Three controls separate the placement from capacity and from identifiability. (i) Placement (S3): a parameter-matched residual MLP (377 parameters, end-effector frame) does not improve over the exact model (1.85 vs 1.49\,mm at N{=}40; paired vs the relaxed node +0.50, p{=}0.008), so the gain is where the correction is placed, not its budget. (ii) No gain on exact-law data (S1a/S1b): on synthetic data generated by an exact serial-chain law the relaxation never wins and overfits at small N (paired +2.61\,mm worse at N{=}20, p{=}0.026; +0.18\,mm at N{=}80, p{=}0.022; +0.07\,mm at N{=}160, p{=}0.059), while on data deformed by a known pair-dependent function it recovers the noise floor (1.40 vs 11.5\,mm at N{=}160, p{=}0.014; exact stuck at its floor). (iii) A second real dataset (S2): on the independent UR5 set (Northwestern Polytechnical University, 2026) (position-only) the relaxation (old MLP head) gives no gain on held-out data (+0.02\,mm at N{=}80, p{=}0.23; worse at small N), but the joint optimum is compensated rather than flat: with the correction switched off at test the same model’s error rises from 0.40 to 2.1\,mm, i.e. the edge drifted and \psi absorbed the drift (identifiability, next paragraph).

Identifiability of the correction, and isolation. The per-joint edge (constant screws) and the composition correction (a pair-dependent term) are not orthogonal: a retuned edge reproduces part of any correction, so joint training is non-identifiable and may end in a compensated solution that fits but does not transfer. The third real platform (UR10; IPA Series A (Landgraf et al., 2021; Landgraf, 2021)) shows the failure mode cleanly: with no deformation to find, the jointly trained model (S8) is worse than its own exact model at every size (test 0.736\pm 0.169 vs 0.429\pm 0.006\,mm at N{=}80; 2.63 vs 1.16\,mm at N{=}20), its train error is not better (0.43 vs 0.39\,mm), and with the correction switched off at test its error rises to 11.7\,mm (seed 52, N{=}80) — the edge itself moved and \psi compensates it. On UR5 the same compensation occurs (mean per-composition correction norm 2\cdot 10^{-2}, correction-off error 2.1\,mm) but the compensated solution still generalizes (0.404 vs 0.410\,mm). Freezing the exact edge and training only the correction (isolation) removes the drift: on UR10 (five seeds) the isolated model is at parity at N{=}20/80 but loses +0.036\,mm at N{=}40 (p{=}0.044) (1.146/0.502/0.433 vs 1.164/0.465/0.429\,mm; paired -0.018/+0.036/+0.004) where joint training was +1.47/+0.27/+0.31\,mm worse, and the correction norm shrinks below 10^{-3}. On FR3 (five seeds) the Fourier-isolated variant keeps the large-N win (-0.209 at N{=}60, p{=}0.011; -0.260 at N{=}80, p{=}0.005) but retains the small-N overfit (+0.956 at N{=}20, p{=}0.039); the final two-slot head removes it (1.51 vs 1.53\,mm at N{=}20, p{=}0.84; -0.23/-0.28 at N{=}60/80). On UR5 the isolated correction is harmless from N{\geq}60 (+0.002, p{=}0.64) with a small residual cost at N{=}20/40 (+0.10/+0.07\,mm). Decomposing the trained correction’s effect field against the edge tangent space (finite differences over configurations, G3) confirms the mechanism: on FR3 the edge maps absorb 98\% of the jointly trained correction (correction-off error 10.2 vs 1.38\,mm on) while the isolated correction is 88\% orthogonal; on UR10 the split is 99\%/85\%; on UR5 the edge field can still absorb the isolated correction, yet the correction remains harmless (0.402 vs 0.410\,mm) — the discriminator is the correction-off error, not the share. Capacity and gauge are complementary levers: restricting the correction to the top-6 chart atoms softens the small-N overfit (1.81 vs 2.49\,mm at N{=}20) while keeping the win (1.28 vs 1.41\,mm at N{=}60, p{=}0.034), and projecting it to the edge-orthogonal complement lowers the absorbable share to 0.10–0.14 at N{\geq}60 without losing the win (G4). No capacity/gauge variant removes the Fourier small-N overfit; a validation gate remains the lever there.

What the learned correction sees (X16, isolated, Fourier head). Trained at N{=}80 with the exact edge frozen, the Fourier weights split as accumulated pose A vs step B: angle groups 0.30\pm 0.05 and 0.38\pm 0.04, translation groups 0.14\pm 0.01 and 0.65\pm 0.10 (mean\pmstd over five seeds). The input ablation (held-out error with a channel group zeroed) is 1.30\,mm full, 4.71 without A angles, 3.75 without A translations, 4.12 without B angles, 3.95 without B translations: both sides of the pair matter (2.9–3.6\times degradation), i.e. the isolated correction is pair-dependent and, being 88\% orthogonal to the edge (G3), the pair-dependence is a property of the deformation rather than of a joint-training artifact. The top univariate contributions are the y-axis component of A, the x-axis component of B and \theta_{B} (Figure 3a). Raw \psi weights are stored in the diagnostic dumps. With the final two-slot head the same split holds: full 1.248\,mm, without A_{\rm ang} 4.376, without B_{\rm ang} 3.683, without A_{\rm tr} 3.372, without B_{\rm tr} 3.345 (X16b); the isolated two-slot correction is 88\% orthogonal to the edge (G3b, orthogonal share 0.880).

The same structure on the edge does not transfer. Shared error modes (X12) lose to free per-joint corrections (1.96 vs 1.49\,mm at N{=}40; the full-coupling variant is still 2.47 at N{=}20); adding a chain coupling on top of per-joint corrections is exactly neutral (\beta\to 0; X12b), and a shared position-dependent source helps only by 0.07\,mm at N{=}40/60; and a deterministic error-accumulation law on the edge improves in-distribution fit but not transfer (E26c, real Baxter dynamics). The gain comes specifically from relaxing the node.

Table 26: Almost laws on the real FR3: held-out position error (mm), 5 seeds, same splits as Table 3. Extends Table 3 with the remaining variants (\psi-only, MLP-\psi, matched residual MLP); the exact, GN and two-slot rows are in that table (the two-slot rows are repeated here for comparison). Relaxed variants add a zero-initialized shared correction \psi to the law; \psi-only counterparts have no per-joint corrections. The single-head variants show that the win does not depend on one head.
  • LawKAN-SE(3), node: relaxed (two-slot), isolated (306p)
    N{=}20
    1.51\pm 0.24
    N{=}40
    1.24\pm 0.08
    N{=}60
    1.14\pm 0.07
    N{=}80
    1.12\pm 0.11
  • LawKAN-SE(3), node: relaxed (two-slot), joint control (306p)
    N{=}20
    1.52\pm 0.31
    N{=}40
    1.19\pm 0.04
    N{=}60
    1.08\pm 0.06
    N{=}80
    1.09\pm 0.17
  • LawKAN-SE(3), node: relaxed (Fourier \psi), \psi only (198p)
    N{=}20
    2.55\pm 0.70
    N{=}40
    1.53\pm 0.16
    N{=}60
    1.20\pm 0.09
    N{=}80
    1.18\pm 0.14
  • LawKAN-SE(3), node: relaxed (MLP \psi) (396p)
    N{=}20
    2.56\pm 0.93
    N{=}40
    1.35\pm 0.08
    N{=}60
    1.15\pm 0.09
    N{=}80
    1.15\pm 0.15
  • LawKAN-SE(3), node: relaxed (MLP \psi), \psi only (354p)
    N{=}20
    2.40\pm 0.45
    N{=}40
    1.46\pm 0.11
    N{=}60
    1.25\pm 0.07
    N{=}80
    1.26\pm 0.15
  • Matched residual MLP (377, opponent)
    N{=}20
    2.57\pm 0.56
    N{=}40
    1.85\pm 0.23
    N{=}60
    1.48\pm 0.31
    N{=}80
    1.33\pm 0.23
Figure A9: (a) S1 synthetic controls: on the exact law the relaxed and exact models coincide at large N (at N{=}20 the relaxed model overfits), on the deformed law the relaxed model reaches the noise floor while the exact model stalls. (b) S2: on the independent UR5 dataset the relaxation gives no gain — the correction yields no gain where the data obey the law.

Appendix H Compact-instance construction and mechanism

H.1 The LawKAN-SU(2) construction

Setup. Inputs are rotations given by axes a_{i}\in S^{2}, encoded as phase pairs (azimuth \alpha_{i}, polar angle \beta_{i}) \in S^{1}\times[0,\pi], the longitude/latitude of the axis; the target is the composition q_{n}\cdots q_{1} applied to a probe vector, read out as two angles. Each edge answers “how should this axis be rotated?” and the node answers “in which order do the rotations multiply?”; the exp-map keeps every intermediate a valid rotation, so no normalization step can divide by a near-zero norm.

Edge: Fourier function of a phase pair \to\mathfrak{so}(3). Each group i has an edge that sees both phases,

\varphi_{i}(\alpha,\beta)=\sum_{m,n\in\{-K..K\}}w_{mn}\,e_{m}(\alpha)\,e_{n}(\beta)\in\mathbb{R}^{3},
(6)

with \{e_{k}\} the real Fourier basis (2K{+}1 per phase), so (2K{+}1)^{2}\times 3 scalars per edge (9\times 3 at K{=}1); the output v\in\mathbb{R}^{3} is read as a Lie-algebra element.

Node: group law in fixed order. q_{i}=\exp(v_{i})=\cos|v_{i}|+(v_{i}/|v_{i}|)\sin|v_{i}| (always unit; no singularity at v{=}0 up to a removable 0/0 handled by the series). The node computes the Hamilton product in the data’s composition order, Q=q_{n}\cdots q_{1}, with the operand order fixed at the architecture level rather than learned. Quaternions make composition a single constraint-free multiplication and are the cheapest exact encoding of the group (Section E.1).

Output. Q rotates the probe; direction is read as (azimuth, polar). Loss: geodesic on S^{2} (the angle between directions), 1-\cos\Delta (avoids acos boundary NaNs); the reported metric is that angle in degrees.

Wiring. The parameter-annotated wiring, with the learned tensors marked, is Figure A10 below.

Figure A10: LawKAN-SU(2) wiring for the n{=}2, K{=}1 instance (the general case has one such edge per factor). Inputs are the axis phase pairs (\alpha_{i},\beta_{i}) — azimuth and polar angle of factor i’s rotation axis (Appendix B) — mapped to the nine fixed Fourier features F_{i} (the edge’s design inputs); the learned tensor is the edge matrix W_{i} (its coefficients): n\times 3\times 9 scalars in total (54 here), and its output v_{i} is exponentiated to the unit quaternion q_{i}. The node multiplies in the fixed order (Q=q_{n}\cdots q_{1}, no parameters); the optional zero-initialized correction deforms the composition, Q\leftarrow Q\exp(\psi(f(A),f(B))), and is the only other learned tensor (two-slot, 306); the readout carries no parameters.

H.2 Minimal-order design (K{=}1)

For LawKAN-SU(2), the minimal-order construction is Lemma 1: at K{=}1 the nine edge features \{1,\cos\alpha,\sin\alpha\}\otimes\{1,\cos\beta,\sin\beta\} already contain the three axis components, so weight \theta_{i}/2 on them makes the edge output \theta_{i}a_{i}/2 whose exponential is the exact per-factor rotation, and no lower order suffices (Lemma 2). The edge only has to learn the constant “half the rotation amount”, and the Hamilton node returns the exact composition for every input. This explains the data efficiency and extrapolation, motivates the pruning below, and identifies the parameterization that avoids the singular q/\|q\| regimes.

H.3 Pruning the edge to the analytic edge (E19; predictions P23–P27)

In exponential coordinates the target is (\theta/2)\,\mathbf{a}, whose three axis components are themselves three of the nine K{=}1 Fourier features. We can therefore freeze the other eighteen weights to zero (Figure A11) and prune the edge to this analytic edge.

The constructed weights are exact. More interestingly, the trained sparse edge (18 parameters) is statistically more accurate than the dense edge (54 parameters) and is closer to the Bayes floor (Table 27; paired test, 5/5 seeds). A random equal-size control (18 p drawn from the same dictionary, 5 masks \times 5 seeds) gives 32.9\pm 9.0^{\circ} (E19b/P63): the identity of the support, not the parameter count, is the operative factor. Optimization recovers the constructed point itself: after training, the analytic \theta/2 weights are matched to \max_{i}|w_{i}-\theta_{i}/2|=6–8\times 10^{-3} (relative Frobenius 0.7–0.9\% on seeds 0–1; E19.7), up to the sign ambiguity of Remark 1 — so the optimizer finds the construction, not merely a function close to it. The advantage persists on the noise curve, at n{=}3 and along chains to n{=}4.

Figure A11: Analytic-support pruning. The nine K{=}1 features (rows: \beta-terms; columns: \alpha-terms); the exact solution uses only the three axis components (shaded), so 18 of the 54 parameters at n{=}2 suffice.

The pruned edge is meaningful only where the analytic support is right (fixed known angles, or the IMU increment, Section F.1); elsewhere the dense edge is the architecture-agnostic default and is required (random angles, rigid-body, the null task), because pruning would discard needed degrees of freedom. What matters is where the exact solution lives, not capacity.

Appendix I Mechanism details: variable angles, dead zones and the order rule

I.1 Variable angles: the tensor extension (E29)

Lemma 1 assumes fixed angles, which holds for the fixed-angle composition tasks but not for sensors or encoders, whose rotation amount changes at every step. If we supply \theta as an input and extend the edge to the tensor product \{1,\theta\}\otimes\{1,\cos\alpha,\sin\alpha\}\otimes\{1,\cos\beta,\sin\beta\} (18 features), the three \theta-scaled axis components become single features; putting weight 1/2 on them gives v=(\theta/2)a, so the architecture is exact for arbitrary, variable angles (the variable-angle remark of Section 3.3). The IMU probe uses the factorized magnitude+phase edge (27 parameters, pruned to 18); the tensor construction above is the variable-angle edge.

Table 28 confirms it on a composition of n elements with variable angles and a full-\mathrm{SO}(3) readout: the constructed tensor weights are exact, and the trained tensor edge stays near the floor. By contrast, the fixed-angle edge lacks the \theta channel and leaves a large positive floor that grows with the chain length, exactly as the feature-span prediction says; dropping \alpha or \beta is worse still. Exactness, then, is not special to fixed rotations: it is a property of the feature span.

Table 28: Variable-angle exactness (E29; \theta\sim U[0.2,2.5], full SO(3) readout): constructed tensor weights are exact to 9.7\times 10^{-7}; edges missing the \theta channel (or another feature group) leave positive floors.
  • LawKAN-SU(2), tensor edge (18 features, trained)
    n{=}2
    0.28
    n{=}3
    0.14
    n{=}4
    0.35
  • fixed, 9 features (no \theta)
    n{=}2
    24.4
    n{=}3
    30.2
    n{=}4
    35.0
  • no \beta
    n{=}2
    —
    n{=}3
    38.8
    n{=}4
    —
  • no \alpha
    n{=}2
    —
    n{=}3
    53.2
    n{=}4
    —

I.2 Dead zones and the exp-map (quantified ablation)

Here we compare two forward parameterizations of the node output under identical training, normalizing the raw quaternion (q/\|q\|) versus the exp-map (a retraction), on n{=}2, \sigma{=}0.03, 10 runs. The issue is training stability: a well-behaved parameterization should not let the optimizer fall into a dead configuration and stay there.

Normalization fails on 3 of 10 runs (up to 32.3^{\circ}; the raw norm \|\tilde{q}\| passes through a mid-training minimum of 0.30–0.50 (final 0.65–1.18), while the exp-map fails none (2.78–2.80^{\circ}). All ten normalization runs pass through a mid-training norm minimum, and three never recover. The dead-zone mechanism (Appendix J.2) is the normalization Jacobian 1/\|\tilde{q}\|, so survival is decided by noise near the norm minimum. Because RPMG (Chen et al., 2022) fixes the backward pass while our exp-map fixes the forward parameterization itself, the two are orthogonal; the forward choice alone already removes the failure mode.

I.3 Order rule: demonstration (E20)

On the compact instance we set \theta_{i}=\theta_{0}+\varepsilon\sin\beta_{i}, so the rotation amount grows with the axis tilt \beta_{i} (as in an axis-dependent gimbal or wiper) and the edge target carries a second \beta-harmonic whenever \varepsilon>0. Table 29 shows both regimes of the same task family, switched by this single parameter: at \varepsilon{=}0 the K{=}1 edge suffices, whereas at \varepsilon{=}0.3 the K{=}2 edge is needed (significantly so, and at the floor when noiseless). Higher harmonics are therefore capacity only when the target needs them: this is the order rule; the held-out-seed replication E24 is below.

Table 29: The order rule (E20). Same task family, rotated by \varepsilon; error in degrees, seeds 10–14 (replication run), noiseless for the last row. \varepsilon{=}0: K{=}1 suffices, extra harmonics hurt; \varepsilon{=}0.3: K{=}2 is needed.
  • first harmonic only (\varepsilon{=}0)
    K{=}1
    2.78
    K{=}2
    2.86
  • with a second harmonic (\varepsilon{=}0.3)
    K{=}1
    3.69
    K{=}2
    3.31 (p{=}4.8\mathrm{e}{-06})
  • same, noiseless (\varepsilon{=}0.3)
    K{=}1
    1.68 (floor)
    K{=}2
    0.17

E24 (order rule, held-out replication). Noiseless floors (degrees, 5 seeds, seeds 20–24; the E20 lead-in is Table 29); \theta_{i}=\theta_{i}^{0}+\varepsilon\sin\beta_{i}:

  • K{=}1
    0.15
    0.856
    0.30
    1.707
    0.45
    2.593
    0.60
    3.510
  • K{=}2
    0.15
    0.497
    0.30
    0.260
    0.45
    0.235
    0.60
    0.430

The K{=}1 floor is linear in \varepsilon (predicted 1.779\,\varepsilon/0.3; deviations -4\% to -1\%); the ratio \mathrm{floor}(0.60)/\mathrm{floor}(0.15)=4.10 (predicted 4.0\pm 0.5). The registered prediction that K{=}2 stays below 0.3^{\circ} at every \varepsilon did not hold strictly (max 0.497^{\circ}, one seed 1.21): K{=}2 removes the floor in the mean (e.g. 0.43 vs 3.51^{\circ} at \varepsilon{=}0.60) but not uniformly. Reported as a partial refutation.

I.4 Ablation summary (LawKAN-SU(2))

Table 30 collects the ablations of this section: each design element removed, and the effect it produces.

Table 30: Ablation summary for LawKAN-SU(2) (compact instance): each design element removed, and its measured effect.
  • Phase pairing (single-phase edges)
    Measured effect
    edges cannot build \sin\beta\cos\alpha \to composition unreachable (5.7–12.6^{\circ} vs 0.09^{\circ}, development battery; P4, Remark 4)
  • Group-product nodes (additive instead)
    Measured effect
    non-commutativity unexpressible; \mathbb{Z}_{7} stalls below Bayes ceiling
  • Exp-map (\to q/\|q\|)
    Measured effect
    3/10 runs fail (32.1–32.3^{\circ}); all 10 runs enter the dead zone (min-norm 0.30–0.50), 7 recover (Section I.2)
  • Quaternion node (\to RealKAN+6D head)
    Measured effect
    4.90^{\circ} at 550 params: 1.8\times worse at 10\times params
  • Group law (\to strongest standard head, full battery Section E.1)
    Measured effect
    2\times error on n{=}3; 4.0\times extrapolation collapse; plateau above LawKAN-SU(2) at 4\times data

Appendix J The exp parameterization as a retraction

J.1 Setup

Definition 1 (retraction).

Let \mathcal{M} be a smooth manifold. A smooth map R:T\mathcal{M}\to\mathcal{M} is a retraction if for every q\in\mathcal{M}: (i) R_{q}(0)=q; (ii) dR_{q}|_{0}=\mathrm{id} on T_{q}\mathcal{M} (local first-order condition). Retractions are a standard tool of Riemannian optimization (Absil et al., 2008; Boumal, 2023): they allow a step in the tangent space followed by a return to the manifold with controlled (second-order) error. In deep rotation regression, RPMG (Chen et al., 2022) brings the same manifold-awareness to the gradient; our exp-map is the corresponding forward-pass object.

Our construction. \mathcal{M}=S^{3} (unit quaternions, the double cover of SO(3)); the edge parameter v\in\mathbb{R}^{3}\cong\mathfrak{so}(3)\cong T_{e}S^{3}; the map

q(v)=\cos\|v\|+\frac{v}{\|v\|}\sin\|v\|,\qquad q(0):=e=(1,0,0,0)
(7)

is exactly \exp:\mathfrak{so}(3)\to\mathrm{SU}(2) (the Rodrigues map), i.e. a retraction at the group identity.

Lemma 3 (exp is a retraction at e).

q(v) satisfies (i)–(ii) at e, and is smooth everywhere, including v=0.

  • (i) q(0)=\cos 0+(\cdot)\sin 0=e by definition. (ii) Series expansion: \cos\|v\|=1-\|v\|^{2}/2+O(\|v\|^{4}); (v/\|v\|)\sin\|v\|=v\cdot(1-\|v\|^{2}/6+O(\|v\|^{4})). Hence q(v)=(1,0)+(0,v)+O(\|v\|^{2}), (8) so dq|_{0}[v]=v, the identity on T_{e}S^{3}. ∎

Smoothness at zero. The scalar part is an even analytic series in \|v\| and the vector part is v\,\mathrm{sinc}(\|v\|), with \mathrm{sinc} analytic and even (\mathrm{sinc}(0)=1), so q(v) is analytic on all of \mathbb{R}^{3}; the naive v/\|v\| singularity is cancelled by \sin\|v\|=O(\|v\|). In code a guarded branch near zero (or the sinc series) implements this; the \varepsilon-regularized form v/(\|v\|{+}\varepsilon) avoids 0/0 but changes the gradient scale at zero.

Corollary 2 (unit norm by construction).

\|q(v)\|^{2}=\cos^{2}\|v\|+\sin^{2}\|v\|=1 for all v\in\mathbb{R}^{3}. The layer outputs an exact point of S^{3} for any parameter values: there is no projection/normalization in the compute graph at all.

Remark 6 (double cover and the retraction radius).

The map q is exactly \exp:\mathfrak{so}(3)\to\mathrm{SU}(2)\cong S^{3}, which double-covers \mathrm{SO}(3): the covering \mathrm{SU}(2)\to\mathrm{SO}(3) is 2-to-1 with q\equiv-q. Two consequences. (i) As a map to \mathrm{SU}(2), q is a genuine retraction at e and a local diffeomorphism on the open ball \|v\|<\pi (the injectivity radius), and it is surjective since \mathrm{SU}(2) is compact and connected. The cut locus is \|v\|=\pi (q=-1), where the differential degenerates; at \|v\|=2\pi the map returns to e. On every task here \|v\|=\theta/2<\pi. (ii) The readout v\mapsto\pi(\widehat{Q}) is a function of the composed element in \mathrm{SO}(3), hence invariant under the cover; the residual q\equiv-q ambiguity appears only when the target is a raw quaternion, where an explicit sign-invariant loss is used (Section 6, Remark 1). Calling q a retraction therefore refers to \mathrm{SU}(2); composing through the cover is what lets the node apply the exact group law to rotations.

J.2 Why normalization is not a retraction (and where dead zones come from)

The alternative: the network outputs a raw \tilde{q}\in\mathbb{R}^{4}, answer =\tilde{q}/\|\tilde{q}\|. This is the map \pi:\mathbb{R}^{4}\setminus\{0\}\to S^{3}:

  • undefined at zero: \pi has a singularity on \{\tilde{q}=0\}, a set reachable by gradient dynamics (a zeroing loss “pulls” \tilde{q} toward 0 if the network finds a solution with \tilde{q}\approx 0 in the numerator);
  • Jacobian blow-up at small norms: d\pi[\tilde{q}]=(I-qq^{T})/\|\tilde{q}\|, operator norm \|d\pi\|=1/\|\tilde{q}\|. As \|\tilde{q}\|\to 0 the loss gradient w.r.t. parameters is amplified as 1/\|\tilde{q}\|: gradient noise grows inversely proportional to the norm. This is precisely the measured mechanism of Section I.2: the trajectory trace shows all 10 normalization runs passing through a mid-training norm minimum of 0.30–0.50; the 3/10 that fail to recover are the runs where noise near the minimum dominates.

Formally: \pi is not a retraction on the full tangent bundle: it is not defined on all of T and its Jacobian is unbounded. The exp-map has neither defect.

J.3 Smoothness of the composition node

Lemma 4 (the node is a smooth map).

The node n:(v_{1},\dots,v_{g})\mapsto\mathrm{Rotate}(q_{g}(v_{g})\cdots q_{1}(v_{1}),\,p) with a fixed probe vector p is a smooth map \mathbb{R}^{3g}\to S^{2}.

  • A composition of smooth maps: q_{i}(v_{i}) are smooth (above); the Hamilton product is a bilinear form (a degree-2 polynomial), hence smooth; rotation v\mapsto qvq^{*} is a degree-2 polynomial in q with no divisions (unit norm of q is already guaranteed, and the rotated vector needs no normalization: \|qvq^{*}\|=\|v\|); the final vec\toangles map is smooth away from the poles of the probe projection (atan2 is undefined on the axis z=\pm 1, a measure-zero set; the losses use 1{-}\cos, smooth everywhere). ∎
Remark 7 (double cover).

q and -q give the same rotation: Rotate is sign-invariant. Since the loss is defined through the rotated vector (not through q), the antipodal ambiguity never enters the compute graph; an antipodal-invariant loss for raw quaternion outputs (|q\cdot q^{*}|) would be needed only when regressing quaternions themselves (see Limitations).

Remark 8 (exactness gauge via the identity input).

Let \chi(x_{0})=e with e\in U (hypothesis (iv)) and suppose the network is exact on all pairs (x,x^{\prime})\in U\times U. Then for every x\in U,

h(x)=\chi(x)\,c,\qquad c:=h(x_{0})^{-1},\qquad c^{2}=e,\qquad c\,\chi(x)=\chi(x)\,c\ \ (\forall x\in U).

Proof. Exactness on (x,x_{0}) gives h(x)h(x_{0})=\chi(x); on (x_{0},x_{0}), h(x_{0})^{2}=e; on (x_{0},x), h(x_{0})h(x)=\chi(x)=h(x)h(x_{0}). Substituting h(x)=\chi(x)c into the last identity gives centrality. For \mathrm{SU}(2) the gauge is \{\pm I\} of the double cover (Remark 6). \square

Appendix K Registered predictions: verdict summary

Table 31: Registered predictions: compact verdicts across the 130 entries (119 prediction-log entries through X36, plus 11 plan-registered branch probes, X37–X61).
  • Met the registered threshold (or its registered boundary branch)
    Count
    83
  • Predicted direction held, threshold not met
    Count
    14
  • Refuted (kept and reported)
    Count
    29
  • Registered non-signal branch / withdrawn / not triggered
    Count
    4

Discipline: every experiment in the battery pre-specified a prediction in the internal experiment log before running, and refuted predictions are kept. The full log, prediction \to outcome \to verdict, is in the supplementary material and the code repository; each entry was written in the internal experiment journal before its run (Section A). The dated internal experiment journal is available to editors and reviewers on request. Verdicts: \checkmark the registered threshold was met (or the registered boundary branch occurred); \circ\mkern-6.2mu| the threshold was not met but the predicted direction holds (reported as such, never silently upgraded); \times refuted; inconclusive denotes a registered proxy test whose outcome was the registered non-signal branch. Two mechanism hypotheses were refuted and reported (the exponential winding and unbounded magnitude); the remedy is capacity and locality. All p-values are per-comparison (Appendix A.4).

Table 32: Registered-prediction verdicts across the paper: the battery, the late registered probes, the capacity/locality revision and the pole-fix branch.
  • \checkmark met
    Count
    40
    Representative
    P42: the state \omega is necessary (feed-forward controls fail)
  • \circ\mkern-6.2mu| direction holds, threshold not met
    Count
    10
    Representative
    P49: node isolated; matched linear edge refuted
  • \times refuted
    Count
    8
    Representative
    P11: no BKT signature at n{=}5 (demoted to motivation)
  • \times withdrawn (premise failed)
    Count
    1
    Representative
    P40: tuning-free classical filters already win
  • Late probes (30):
  • \checkmark met / boundary branch
    Count
    16
    Representative
    P-FR1: backlash sign signature (fraction 1.000)
  • \circ\mkern-6.2mu| direction holds
    Count
    2
    Representative
    P-D: 10-seed replication confirms three of four platforms
  • \times refuted
    Count
    10
    Representative
    P-MK7: the Kinova win did not replicate at 10 seeds
  • inconclusive (registered non-signal branch)
    Count
    1
    Representative
    P-FRIC-proxy: recording-order backlash proxy
  • not triggered (conditional boundary)
    Count
    1
    Representative
    P-MK5: isolated wins on every unit
  • Revision round (X22–X36, capacity and locality, 30):
  • \checkmark met / boundary branch
    Count
    22
    Representative
    P-B1: the unregularized head collapses on 2/10 seeds
  • \times refuted
    Count
    7
    Representative
    P-B2: the rotation-bounded chart does not cure the collapse
  • not triggered (conditional boundary)
    Count
    1
    Representative
    X32-4: bandwidth scaling (queued)
  • Branch round (X37–X61, pole/episode, 11):
  • \checkmark met
    Count
    5
    Representative
    X53-print-2: operand chart crossing \pi; X59: EMA removes spikes; X61: T2
  • \circ\mkern-6.2mu| direction holds
    Count
    2
    Representative
    X60: group metric lowers spikes (13\to 5.6–8.6); X61: T1 favors q14
  • \times refuted
    Count
    4
    Representative
    X53-fix: quaternion halves but does not remove; X60: geodesy does not cure the floor

Appendix L Use of AI tools

Text-to-text generative AI tools (the large language models Kimi and DeepSeek) were used to assist with drafting and formatting this manuscript, with restructuring and copy-editing the text, with checking the consistency of numbers across the text, tables and the JSON dumps, with preparing and tidying the vector figures, and with developing and debugging the accompanying code. No AI system generated experimental results, ran the experiments, or selected the conclusions; all experiments were designed, run, and verified by the authors, who take full responsibility for the content.

Appendix M Broader impact

This work studies composition subcomputations with exact group-law nodes, on controlled benchmarks and on real sensor and robot data; rotation composition (\mathrm{SU}(2)) is the leading instance of the recipe, whose payoff this paper maps. We see no significant risk of harm; the methods and findings are methodological and do not target any sensitive application or population.