Second-Order State-Dependent Representation Geometry: Learning the Geometry Family from Causal History
Learners deployed on non-stationary data streams must repeatedly work out how the current regime relates to what they already know. When regimes differ by a reinterpretation of the output space, such as a relabelling, re-indexing or change of coordinates, a learner can keep one shared model and infer the active transformation from recent history. That inference is cheap only if the learner searches a small family of transformations, and the right family is usually unknown. A fixed, hand-chosen family fails as soon as the world steps outside it. The universal family is always correct but expensive to search. This paper introduces second-order state-dependent representation geometry, part of the HyperMorphic framework, in which the family of representations is itself regenerated from causal history. A shared learner starts with only the universal family of label permutations, searched exactly by linear assignment. Each time history confirms a transformation, it becomes a generator, and the family is regenerated as the group generated by all confirmed transformations. Geometry selection is maximum a posteriori under a two-level prior. Adopting a geometry outside the family costs ln m! nats of evidence; any geometry inside it costs only ln|F|. Theoretical results (full proofs included):• A two-level identification and novelty-latency bound that separates in-family cost from novelty cost.• A Lagrange discovery bound: if every confirmed transformation lies in the hidden group H, the family never leaves H, at least doubles with each discovery, and reaches H after at most log₂|H| discoveries. From then on, every element of H, including transformations never observed, is available at in-family cost.• Path independence of the learned family, and a pollution-amplification result showing that one false confirmation at least doubles the family, which makes false confirmation the dominant failure mode. Empirical results (blind, task-free concept-shift benchmark on sklearn Digits; 20 evaluation seeds; three environments; hyperparameters tuned on separate seeds; paired statistics):• In all 29 runs free of false confirmations, the hidden group was recovered exactly with two discoveries, within the Lagrange bound.• Few-shot coverage of never-seen regimes inside the recovered group: with two labelled examples, 0.817 and 0.666 accuracy, against 0.095 and 0.085 for an identical learner without closure (19/20 paired wins in each environment).• Specificity: no effect on regimes outside the recovered group, and no effect in an unstructured environment, as the theory predicts.• Hidden-symmetry recovery: under an unknown relabelling, 0.834 online accuracy where a fixed-family learner collapses to 0.344.• Surprise-gated plasticity, which updates the learner only when the current geometry explains recent history, is necessary for the method. It substantially reduces a learner–geometry "gauge capture" instability but does not eliminate it. Reported limitations and negative findings:• Closure does not raise overall online accuracy over a corridor-memory ablation.• When a correct family is known in advance, the fixed-family learner remains better (0.897 vs 0.842).• False confirmations occur in 4/20 and 7/20 structured runs.• The plasticity gate costs accuracy at low step sizes.• Experiments are small-scale: Digits, linear learners, m = 10 labels.• Novelty against prior work was assessed by a targeted search, not a systematic review, and should be regarded as unverified. The paper also corrects earlier HyperMorphic SDRG work. An earlier continual-memory witness used the same generator for the environment and the learner, so it is reclassified as a synchronization-correctness test. An earlier "out-of-group" benchmark environment is shown to have hidden cyclic structure (|H| = 10 in 20/20 seeds). Every claim is labelled as Proved, Empirical, or Conjecture. The accompanying package contains all code (NumPy, SciPy, scikit-learn; deterministic seeds), per-seed JSON results, tuning logs, figures and LaTeX sources. Every table is generated directly from the results files. 1,008,000 inverse round-trip audits recorded zero failures.
Authors
- Shaun Paul Gerrard
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-29
- DOI
- https://doi.org/10.5281/zenodo.24641864
- Primary Topic
- Data Stream Mining Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00