Manuscript Offprint
arXiv:2610.27139Ontic state recovery through prediction
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
We encounter a system through its responses, yet its state concerns how the system is. Predicting further responses promises knowledge beyond what is immediately observed. What that knowledge tells us about the system's state depends on what we mean by a state in the first place. We give this notion a model-relative meaning: a state is the complete response profile over a specified query universe, and configurations agreeing on every query are regarded as the same state. From this perspective, a learned state is understood through the distinctions between these profiles that it retains. Prediction concerns selected observations; recovery concerns the profile as a whole. We examine their relationship through query ambiguity, state-space geometry, and the choice of prediction targets. Synthetic systems with known response laws and neural recordings provide complementary settings for this investigation. The aim is to clarify how prediction can become a way of knowing a system, and what it would mean for a learned state to preserve the state being studied.
1 INTRODUCTION
Learning a system’s state requires deciding which differences between its possible conditions matter. Knowing that state would let us reason beyond the aspects we happen to observe. For an animal, a neural recording offers one such view: a pattern of activity from which we seek to understand the condition that gives rise to

Figure 1: From observation to prediction. The encoder maps input observations to a learned state; the predictor estimates observations at the target queries.
it (Cunningham and Yu, 2014; Churchland et al., 2012). Giving this underlying condition a precise meaning is part of the problem of knowing it.
Predicting further observations offers a way to study this problem. Neural population models learn to predict held-out activity (Pei et al., 2021), and models trained across recordings use related objectives to support downstream decoding (Ye et al., 2023). A learned state is useful here because it carries information about observations beyond its input.
“When does learning to predict a system amount to learning its state?”
We make this question precise relative to a query universe. A query specifies what is measured, and an observation is the resulting value. Within that universe, the ontic state is the complete response profile: configurations agreeing on every query count as the same state. In a neural recording, a query specifies a unit and a trailing-window duration. An encoder maps input observations to a learned state, from which a predictor estimates observations at target queries (figure 1). Theoretical work relates auxiliary prediction and context learning to downstream performance (Lee et al., 2021; Zhai et al., 2025). We ask how much of the ontic state can be recovered from the learned state that supports these predictions.
Consider targets that all depend on one coordinate of a state. Exact prediction constrains that coordinate while leaving the others free. Query ambiguity measures the unresolved state differences. It connects the distinctions tested by prediction to the profile we seek to recover.
This connection motivates three contributions:
-
Ontic-state formulation. We formulate ontic states as complete response profiles over a query universe.
-
Recovery guarantees. We establish prediction–recovery guarantees in both general settings and the low-dimensional settings commonly studied in neuroscience.
-
Fixed-family sharpness. We prove matching budget bounds on a fixed state family, distinguishing targets shared across encoders from targets tailored to each encoder.
2.1 STATE, QUERY, AND OBSERVATION

Figure 2: State, query, and observation. The state and query set determine the observation vector . Its entries are and ; unlabeled points denote queries outside .
What does it mean for a system to be in a particular state, independently of how we describe it? We need a criterion of identity. Leibniz's account of individual substance locates identity in a complete concept determining the predicates of its subject (Leibniz, 1686). For a scientific account of state, which properties should determine this identity?
We give these properties empirical meaning through the observations the system could produce (Peirce, 1878; James, 1907).
Each query specifies one such observation. Two configurations may agree in position and differ in velocity: whether we distinguish them depends on the queries admitted. We therefore fix a query universe before defining its states.
If no question in this universe can distinguish two putative states, we regard them as one ontic state: a difference in description alone does not constitute a difference in state. Their common response profile fixes this identity independently of the coordinates used to represent it (Poincaré, 1905). An experiment reveals part of the profile, while the state specifies responses throughout the universe. We thus model a state as a function from queries to observations.
Definition 2.1 (Ontic State). An ontic state is an admissible bounded function
where U is a fixed nonempty set. The collection F of all admissible ontic states is called the ontic state space.
Definition 2.2 (Query Universe). The common domain of the ontic states is called the query universe, and its elements are called queries. For and , the value is the observation returned by query in state .
An experiment records responses to a finite set of queries. We collect these readings into an observation vector.
Definition 2.3 (Observation). A query set is a nonempty finite subset . The observation vector of a state on is
Here denotes real-valued vectors indexed by Q.
To compare two profiles, we ask how far their responses can differ over the queries being considered. Taking the largest difference gives a common distance for full states and finite observation vectors.
Definition 2.4 (Ontic Distance). For a nonempty index set I and bounded real-valued functions u, v whose domains contain I, define their distance on I by
This is the supremum metric between their restrictions to I. Vectors are functions on their index set; for finite I, the supremum is a maximum.
The ontic distance is ; the observation distance on Q is . The latter is a metric on observation vectors and a pseudometric on states, since distinct states can yield identical observations on Q.
Figure 2 shows how a state and query set determine an observation vector. The noisy extension treats the profile as a conditional mean response and measured activity as a noisy observation (section E).
2.2 QUERY AMBIGUITY
A complete response profile defines a state, but how much of it do our observations determine? Hume's question about inference beyond present observation brings this gap into focus (Hume, 1902, sec. IV). Within a specified model class, optimal recovery makes the uncertainty quantitative (Micchelli and Rivlin, 1977; Binev et al., 2024). We ask how different two full states can be when their recorded observations agree within a given tolerance.
Definition 2.5 (Query Ambiguity). Fix a query set . For a tolerance , define the query ambiguity on by
At r = 0, ambiguity measures the state differences compatible with identical observations on Q. Positive tolerances allow for prediction error. An observation decoder recovers a state from the observation vector.
Definition 2.6 (Observation Decoder). Fix a query set . Define the observation decoder class by
For an observation decoder , its recovery error is
The optimal recovery error from observations on Q is
Additional queries can resolve distinctions left open by the current observations. We describe this accumulation of information by a nested query sequence.
Definition 2.7 (Query Sequence). A query sequence is a family of query sets with for all . The stage-p observation vector is .
Definition 2.8 (State Separation). A query sequence is said to separate states in if
Separating queries progressively resolve observation ambiguity (figure 8). Compactness makes this resolution stable under vanishing tolerances.
Lemma 2.9 (Vanishing Ambiguity). Let be nonempty and compact, and let be a query sequence separating states. For nonnegative tolerances ,
2.3 PREDICTION AND RECOVERY
What must a learned representation preserve for us to recover the state it describes? Hertz’s account of representation centers on the correspondence between consequences (Hertz, 1899, Introduction). Here we test that correspondence by predicting further responses from encoded observations. The preceding lemma explains why the targets matter: agreement on sufficiently rich readings constrains the difference between full states. Prediction can thereby test whether a representation retains the distinctions defining the state.
Definition 2.10 (Prediction and Recovery). The learning pipeline uses two disjoint query sets: Q indexes the input observations , and P indexes the target observations . An encoder maps to the learned state in a nonempty space . From this learned state, a predictor estimates , while a state decoder reconstructs the ontic state . Their errors are
(10)
Let and be the classes of all maps of these respective types. For a fixed encoder, define
Both optimizations hold the encoder fixed; measures the recovery accuracy available from its learned state.
Corollary 2.11 (Input Ambiguity). For a nonempty state family, query set Q, and encoder e,
Input queries supply distinctions to the encoder; targets test their preservation in its learned state.
2.4 LOW-DIMENSIONAL GEOMETRY
A neural recording contains many coordinates, yet activity within a task can vary through a few latent variables (Gallego et al., 2017; Jazayeri and Ostojic, 2021). This organization can constrain which patterns are learned (Sadtler et al., 2014) and take forms such as the toroidal geometry of grid-cell activity (Gardner et al., 2022). The resulting state family may curve through a much larger linear space (De and Chaudhuri, 2023).
Recovering a state within such a family requires responses that distinguish its mem-

System
Ontic State Space
Figure 3: From population activity to state geometry. The neural inset motivates a low-dimensional model for the ontic state space F.
bers. Classical population decoding illustrates how neural responses carry this information: movement direction can be read from motor-cortical ensembles (Georgopoulos et al., 1986), and position reconstructed from hippocampal place-cell activity (Zhang et al., 1998). Models of population codes explain how neuronal tuning and background activity affect readout accuracy (Seung and Sompolinsky, 1993).
These observations lead to two quantitative requirements (figure 3). The state family should admit a controlled number of representatives at each resolution, and queries outside the inputs should distinguish its members. Covering numbers express the first requirement; observability expresses the second.
Assumption 2.12 (Low-Dimensional Observability). For a query set with , there are constants , , and such that
(13) where is the covering number: the fewest closed -balls of radius , centered in , that cover . The queries outside distinguish states quantitatively:
3 MAIN RESULTS
Prediction tests the distinctions retained by a learned state. If an encoder maps two states to the same learned state, every predictor must return the same target observations for both. Their target difference therefore imposes an unavoidable prediction error.
Lemma 3.1 (Prediction within Fibers). Assume is nonempty and bounded. Fix a query set , a nonempty finite target query set , and an encoder . The optimal prediction error is attained and equals
In the one-coordinate example, two states can have identical target readings while differing elsewhere. A predictor can be exact on those targets even if its encoder merges the states. Recovery depends on how much full-state difference those same readings permit.
3.1 GENERAL CASE
Target ambiguity controls how prediction accuracy translates into state recovery.
Theorem 3.2 (General Prediction-Recovery Bound). Let be nonempty and bounded. For disjoint query sets , and any encoder ,
The upper bound also holds with for any predictor b with finite error.
When the state space is compact, a growing set of separating targets resolves the remaining ambiguity. Prediction and recovery then converge together.
Theorem 3.3 (General Prediction-Recovery Equivalence). Let be nonempty and compact, and let be a nested query sequence separating states. For each , choose a query set and an encoder . Then
For fixed input queries and a fixed encoder, vanishing prediction error along such a separating sequence leaves no distinct ontic states with the same learned state: an exact state decoder exists (corollary C.1). If the map to a Euclidean learned state is also continuous, compactness makes it a homeomorphism onto its image (corollary C.2). Under these conditions, preserving the distinctions that define states also preserves the topology of the state space.
3.2 LOW-DIMENSIONAL CASE
Assumption 2.12 combines a bound on the number of representative states with the ability to distinguish them through queries outside Q. Together, these conditions give a finite target budget.
Theorem 3.4 (Low-Dimensional Prediction-Recovery Bound). Let be nonempty and let satisfy assumption 2.12 with constants . For every integer , there is a target set , , such that every encoder satisfies
The upper bound also holds with for any predictor b with finite error.
The recovery allowance vanishes as the target budget grows, yielding convergence and rate equivalences.
Theorem 3.5 (Low-Dimensional Prediction-Recovery Equivalence). Let be nonempty. Assume satisfies assumption 2.12 with common , , for every integer , and choose by theorem 3.4. Then every encoder sequence satisfies
Moreover,
3.3 SHARPNESS ON A FIXED STATE FAMILY
We next examine whether the budget rate can be improved when one target set serves every encoder. For , we measure the additive recovery cost beyond on a fixed state family. Here is the covering exponent; the family has topological dimension one.
Definition 3.6 (Uniform Transfer Residual). Let be the globally Lipschitz maps . For an integer , the uniform transfer residual is
The target set is selected before the encoder. The family below has identifying inputs and even a single query outside Q whose exact response identifies the state (equation (92)). An encoder can nevertheless merge distinct states. The residual measures the additive cost of controlling their recovery by twice the prediction error, uniformly across encoders.
Theorem 3.7 (Sharp Uniform Transfer). For every , there exist a fixed countable query universe , a singleton input set , and a compact state family homeomorphic to , of diameter 1. The pair satisfies assumption 2.12 with and , and its input observation map is injective. For every integer ,
The supremum in equation (21) has the same value when restricted to 1-Lipschitz encoders.
The order of selection matters as well. On this same family, a target selected for one fixed 1-Lipschitz encoder can achieve with a single query (corollary C.10). This selection uses the complete state family. Requiring one target set to serve every encoder gives the sharp budget in theorem 3.7. Classical optimal recovery studies the radius left by fixed information (Traub et al., 1983; Krieg and Ullrich, 2026); our budget measures how many prediction targets suffice to control that radius uniformly across learned representations.
3.4 FROM RECORDED ERROR TO RECOVERY
The bounds above use prediction error over the entire state family. Training supplies finitely many observation pairs. To pass from recorded error to a recovery guarantee, we need to know both how these records cover possible observations and how predictions vary between them.
Definition 3.8 (Recorded Error and Coverage). Fix disjoint query sets , a pair , and states with indexing the recorded pairs . The empirical prediction error and observation coverage radius are
The radius measures coverage jointly in inputs and targets: every possible observation pair lies within of a record. Prediction stability controls how the learned map responds over this distance.
Assumption 3.9 (Prediction Stability). For the pair , there is a nondecreasing function with and as such that, for all ,
For a nearby record, the prediction changes by at most and the target reading by at most . Adding these changes to the recorded error controls prediction at the unrecorded state. A Lipschitz prediction map has .
Proposition 3.10 (Recovery from Records). Let be nonempty and compact. For a pair satisfying assumption 3.9, the prediction error obeys
and the recovery error satisfies
Under assumption 2.12, for targets selected by theorem 3.4,
The terms answer different questions. The empirical error measures fit on recorded pairs. Their coverage and the prediction modulus control what this fit implies between records. The target budget controls distinctions left unresolved even by a uniformly accurate predictor. More training records and more target queries address these two sources of uncertainty separately. The fine-tuning results in theorems D.4 and D.5 include model-class error and optimization tolerance; section E also treats measurement perturbations.
4 EXPERIMENT
The experiments examine prediction and recovery with two kinds of access to the state. On Sphere, Torus, and General families, the known response law makes the complete profile available for evaluation. Random target sampling tests separation and budget dependence; theorem 3.7 supplies the sharpness result analytically. Neural recordings then let us examine covering geometry, held-out prediction, and recovery of a fixed model's hidden state as an ontic-state surrogate.
4.1 SYNTHETIC EXPERIMENT
Sphere
Torus
General



Figure 4: Synthetic state families. Representative low-dimensional views of the sphere, product of circles and independent box.
We use three synthetic state families (figure 4): Sphere is uniform on a unit sphere; Torus consists of independent circle factors; General has independent uniform coordinates in a high-dimensional box. A common observation law embeds them into the same query universe. We jointly train an encoder and predictor on input-target observations, then recover the state through a deterministic ground-truth (GT) map, following theorem 3.2. Here the coordinate structure determines the random-sampling budget; the experiment tests how
target separation transfers prediction accuracy to recovery.
For a latent vector in one of the three families, define
where selects a coordinate, , and , are fixed channel coefficients. Each family uses the same coefficient law. Repeating low-dimensional coordinates across the query universe changes the geometry of the state family while retaining this observation mechanism.
Given predicted target observations , the ideal deterministic GT map returns
The known observation law converts target-error tolerances into coordinate intervals. A deterministic feasibility calculation approximates this map (section F) and supplies the complete recovered profile, including responses outside the target set.
Observability check. To apply theorem 3.2, we need to control target ambiguity. Complete coordinate coverage gives an explicit constant before training.
Proposition 4.1 (Coordinate Observability). For the family in equation (30), suppose observes every latent coordinate. Let be the largest sech among target channels observing coordinate , and let be the largest among all channels observing it. Then, for all ,
This inequality gives , so theorem 3.2 yields . The observation law and target set determine this global constant; predictive training determines the target error. Together they control differences in the complete profile. The budget calculation and covering constants appear in table 7 and section F.
Error transfer. With target separation established, figure 5 follows the prediction-to-recovery relation. The left panel compares finite-test errors with the exact-map benchmark. The middle panel gives the sufficient separation budget under the coordinate-sampling law. The right panel extends the recovery comparison to the full known family through the conditional numerical audit below.
Whole-domain audit. A test set samples prediction error; the theoretical quantity is a supremum over the state family. Where proposition 3.10 controls this supremum through observation coverage, the known coordinatewise law permits a scalar-domain audit. For each target, its error is a scalar function of the observed latent coordinate. A fixed grid and a sensitivity bound computed from the saved weights enclose its error between grid points. Under the arithmetic-error assumptions in section F.5, the grid audit gives a conditional upper bound throughout the known family. Applying the ideal GT map yields table 1.
Table 1: Conditional whole-domain bounds for the ideal GT map: mean sample standard deviation across paired runs. Arithmetic conditions: section F.5.
| Quantity | Sphere | Torus | General |
|---|---|---|---|
Every paired run at the audited separating budgets yields an ideal-map bound below the full-profile diameter (table 1). The bound is evaluated for each trained predictor using the protocol in section F.5.
For joint queries, section G derives a global prediction-to-recovery certificate from calibration records at known latent coordinates.
4.2 REAL EXPERIMENT
In neural recordings, we examine covering complexity, held-out target prediction, and recovery of a fixed reference model's hidden coordinates. These coordinates define the surrogate state whose preservation we evaluate.
— Sphere
Transfer

— Torus
Budget
— General
Full Domain
Figure 5: Prediction-to-recovery transfer. Left: test errors and exact-map benchmark. Middle: budgets for separation. Right: conditional whole-domain bounds. Dashed lines: independent-family budget and profile diameter. Bars: repetition standard deviations. See tables 1 and 7.
— Actual
— Time Shift
Cover Cost

Cover Gain
Covering
Figure 6: HC-3 covering geometry. Left: fixed-radius cover sizes; bars span shift controls. Middle: session reductions relative to median shift controls, grouped by animal; bars mark animal medians. Right: median covering curves with session interquartile bands. See section H.2.
Table 2: Diagnostic-block greedy covers at the fixed radius in table 12. Variance-retention ranks use reference-derived directions.
| Measure | Median | Range |
|---|---|---|
| Greedy-cover size | 243 | 75–554 |
| Fraction of observations | 31.7% | 7.3%–71.2% |
| Reduction vs. shift | 15.2% | 3.0%–34.3% |
| Rank for 90% variance | 33 | 14–63 |
| Rank for 95% variance | 37 | 15–73 |
Observation geometry. The HC-3 hippocampal–entorhinal recordings (Mizuseki et al., 2014) span animals and behavioral contexts. Chronological blocks separate preprocessing, reference geometry, diagnostic geometry, and prediction evaluation (section H.2).
We cover the diagnostic block with observed representatives in the maximum-coordinate metric (figure 6). At a fixed resolution, every session needs a smaller greedy cover than its median time-shift
control, with a median reduction of 15.2%. These controls preserve each unit's marginal distribution and circular autocorrelation while changing alignment between units. The comparison holds within every selected animal and across shorter and longer counting windows (tables 2, 3 and 13). Covering curves measure the finite-record analog of the approximation complexity in equation (13). Variance-retention ranks measure concentration along reference-derived covariance directions.
Data and controls use matched radii and sample sizes (section H.2). Table 3 compares counting windows within each animal.
Target prediction. We next ask whether a learned representation predicts a disjoint target set. An encoder–predictor learns from the same sessions' training blocks and is evaluated on later held-out observations. At the larger target budgets, prediction improves on a constant predictor derived from the training block (figure 7, left).
Table 3: Cover-size reduction within each selected animal. Values are session medians relative to the matched time-shift median at the fixed radius. Every selected session contributes.
| Animal | Sessions | .5 s | 1 s | 2 s |
|---|---|---|---|---|
| ec012 | 1 | 12.3% | 12.6% | 15.0% |
| ec013 | 7 | 4.7% | 4.1% | 4.9% |
| ec014 | 10 | 14.0% | 18.9% | 19.1% |
| ec016 | 7 | 15.3% | 15.2% | 13.2% |
Reference state recovery. The trained encoder above supplies the reference model: its full hidden-coordinate vector defines each observation's surrogate state. A smaller model learns the same prediction task independently, using the same observations and chronological split. We then recover the reference state by local interpolation in the smaller model's learned space: reference states at nearby training inputs are averaged with distance-based weights. The reference states enter the recovery map after predictive training.

Figure 7: Prediction and reference-state recovery. Left: prediction gain. Middle: recovery gain with session (S) or animal (A) weighting. Right: animal gains. Repetition means and standard deviations; see tables 19 and 21.
The recovery score measures reconstruction of the surrogate’s full coordinates on held-out observations. Predictive training improves reconstruction of these reference coordinates relative to the same small encoder at initialization, with a session-weighted gain of in (figure 7 and table 21). The mean gain remains positive within each animal and each paired seed group, and after leaving out any animal. The protocol and cohort summaries appear in section J.
5 RELATED WORK
Prediction and state learning. Predictive state models describe dynamics through action-conditioned future observations (Littman et al., 2001). Auxiliary prediction and context learning link predictive objectives to downstream performance (Lee et al., 2021; Zhai et al., 2025). Zhang et al. (2025) recover generating latent variables up to coordinate negations and permutations as tasks increase, under a low-degree task distribution and preference for low-degree realizations. Our target is the complete query-response profile; the fixed-family bound quantifies the cost of one target set serving all encoders.
Identifiability. Identifiability depends on the learning setup (Locatello et al., 2019). Auxiliary variables (Khemakhem et al., 2020), contrastive objectives with generative assumptions (Zimmermann et al., 2021), and multiple modalities (Daunhawer et al., 2023) can identify factors up to transformations. Our recovery target is specified by query responses before choosing latent coordinates.
Optimal recovery and sampling. Optimal recovery studies uncertainty under partial observations (Micchelli and Rivlin, 1977). Here, states sharing an encoder output form a set whose diameter limits recovery; prediction constrains that set through its targets. Structured model classes also yield recovery and sampling guarantees (Binev et al., 2024; Krieg and Ullrich, 2026).
Geometry and stable approximation. Embeddings (Sauer et al., 1991) and random manifold projections (Baraniuk and Wakin, 2009) relate geometry to measurement requirements. Stable manifold widths link approximation to metric entropy (Cohen et al., 2022). Here, low-dimensional covering controls the distinctions to resolve; observability supplies the queries.
Neural geometry and computation. Population geometry relates to computation (Chung and Abbott, 2021; Jazayeri and Ostojic, 2021), cross-task generalization (Wakhloo et al., 2026), and cross-animal decoding (Safaie et al., 2023). Intrinsic-dimension estimation characterizes the degrees of freedom in neural activity (Fadanni et al., 2026). These studies motivate our geometric assumptions, which connect covering complexity to query budgets.
Neural state learning. LFADS infers population dynamics (Pandarinath et al., 2018); the Neural Latents Benchmark evaluates held-out activity and behavioral readouts (Pei et al., 2021). Multi-context, multi-task, and foundation models learn across recordings (Ye et al., 2023; Azabou et al., 2025; Wang et al., 2025). CEBRA uses behavioral or temporal context (Schneider et al., 2023), DPAD prioritizes behaviorally relevant dynamics (Sani et al., 2024), and MARBLE represents local manifold dynamics (Gosztolai et al., 2025). These objectives reward different distinctions; we ask when preserving them suffices to recover the complete response profile.
6 CONCLUSION
We studied when learning to predict a system enables recovery of its ontic state. Defining that state as a complete response profile lets us relate prediction to the distinctions a learned representation preserves. Query ambiguity makes this connection quantitative, yielding recovery guarantees in general and low-dimensional settings. In the latter, we establish query-budget bounds whose order is sharp on a fixed state family when one target set serves every encoder. These results give a precise sense in which predicting observations can become a way of knowing the state that produces them. We hope that our work offers theoretical support for using deep learning models as computational surrogates for complex systems, including those studied in neuroscience.
REFERENCES
Mehdi Azabou, Krystal Pan, Vinam Arora, Ian Knight, Eva Dyer, and Blake A Richards. Multi-session, multi-task neural decoding from distinct cell-types and brain regions. In Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu, editors, International Conference on Learning Representations, volume 2025, pages 59654–59677, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/file/953390c834451505703c9da45de634d8-Paper-Conference.pdf.
Richard G. Baraniuk and Michael B. Wakin. Random Projections of Smooth Manifolds. Foundations of Computational Mathematics, 9(1):51–77, Feb 2009. ISSN 1615-3383. doi: 10.1007/s10208-007-9011-z. URL https://doi.org/10.1007/s10208-007-9011-z.
Peter Binev, Andrea Bonito, Ronald DeVore, and Guergana Petrova. Optimal learning. Calcolo, 61(1):15, Feb 2024. ISSN 1126-5434. doi: 10.1007/s10092-023-00564-y. URL https://doi.org/10.1007/s10092-023-00564-y.
SueYeon Chung and L.F. Abbott. Neural population geometry: An approach for understanding biological and artificial neural networks. Current Opinion in Neurobiology, 70:137–144, Oct 2021. ISSN 0959-4388. doi: 10.1016/j.conb.2021.10.010. URL http://dx.doi.org/10.1016/j.conb.2021.10.010.
Mark M. Churchland, John P. Cunningham, Matthew T. Kaufman, Justin D. Foster, Paul Nuyujukian, Stephen I. Ryu, and Krishna V. Shenoy. Neural population dynamics during reaching. Nature, 487(7405):51–56, Jul 2012. ISSN 1476-4687. doi: 10.1038/nature11129. URL https://doi.org/10.1038/nature11129.
Albert Cohen, Ronald DeVore, Guergana Petrova, and Przemysław Wojtaszczyk. Optimal Stable Nonlinear Approximation. Foundations of Computational Mathematics, 22(3):607–648, Jun 2022. ISSN 1615-3383. doi: 10.1007/s10208-021-09494-z. URL https://doi.org/10.1007/s10208-021-09494-z.
John P Cunningham and Byron M Yu. Dimensionality reduction for large-scale neural recordings. Nature Neuroscience, 17(11):1500–1509, Nov 2014. ISSN 1546-1726. doi: 10.1038/nn.3776. URL https://doi.org/10.1038/nn.3776.
Imant Daunhawer, Alice Bizeul, Emanuele Palumbo, Alexander Marx, and Julia E. Vogt. Identifiability Results for Multimodal Contrastive Learning. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=U_2kuqoTcB.
Anandita De and Rishidev Chaudhuri. Common population codes produce extremely nonlinear neural manifolds. Proceedings of the National Academy of Sciences, 120(39):e2305853120, Sept 2023. ISSN 1091-6490. doi: 10.1073/pnas.2305853120. URL http://dx.doi.org/10.1073/pnas.2305853120.
Jacopo Fadanni, Rosalba Pacelli, Alberto Zucchetta, Pietro Rotondo, and Michele Allegra. Exploring neural manifolds across a wide range of intrinsic dimensions. PLOS Computational Biology, 22(4): e1014162, 04 2026. doi: 10.1371/journal.pcbi.1014162. URL https://doi.org/10.1371/journal.pcbi.1014162.
Juan A. Gallego, Matthew G. Perich, Lee E. Miller, and Sara A. Solla. Neural Manifolds for the Control of Movement. Neuron, 94(5):978–984, June 2017. ISSN 0896-6273. doi: 10.1016/j.neuron.2017.05.025. URL http://dx.doi.org/10.1016/j.neuron.2017.05.025.
Richard J. Gardner, Erik Hermansen, Marius Pachitariu, Yoram Burak, Nils A. Baas, Benjamin A. Dunn, May-Britt Moser, and Edvard I. Moser. Toroidal topology of population activity in grid cells. Nature, 602(7895):123–128, Feb 2022. ISSN 1476-4687. doi: 10.1038/s41586-021-04268-7. URL https://doi.org/10.1038/s41586-021-04268-7.
Apostolos P. Georgopoulos, Andrew B. Schwartz, and Ronald E. Kettner. Neuronal Population Coding of Movement Direction. Science, 233(4771):1416–1419, Sept 1986. ISSN 1095-9203. doi:10.1126/science.3749885. URL https://doi.org/10.1126/science.3749885.
Adam Gosztolai, Robert L. Peach, Alexis Arnaudon, Mauricio Barahona, and Pierre Vandergheynst. MARBLE: interpretable representations of neural population dynamics using geometric deep learning. Nature Methods, 22(3):612–620, Mar 2025. ISSN 1548-7105. doi: 10.1038/s41592-024-02582-2. URL https://doi.org/10.1038/s41592-024-02582-2.
Andrew Gracyk. Observability conditions for neural state-space models with eigenvalues and their roots of unity, 2026. URL https://arxiv.org/abs/2504.15758.
Emadeldeen Hamdan, Hongyi Pan, and Ahmet Enis Cetin. Sparse Mamba: Introducing Controlability, Observability, And Stability To Structural State Space Models, 2024. URL https://arxiv.org/abs/2409.00563.
Heinrich Hertz. The Principles of Mechanics Presented in a New Form. Macmillan and Co., London, 1899. Translated by D. E. Jones and J. T. Walley; German original published in 1894. URL https://en.wikisource.org/wiki/The_Principles_of_Mechanics_Presented_in_a_New_Form.
David Hume. Enquiries Concerning the Human Understanding and Concerning the Principles of Morals. Clarendon Press, Oxford, second edition, 1902. Edited by L. A. Selby-Bigge; reprinted from the 1777 edition. URL https://www.gutenberg.org/ebooks/9662.
William James. Pragmatism: A new name for some old ways of thinking. Longmans, Green and Co, 1907. doi: 10.1037/10851-000. URL http://dx.doi.org/10.1037/10851-000.
Mehrdad Jazayeri and Srdjan Ostojic. Interpreting neural computations by examining intrinsic and embedding dimensionality of neural activity. Current Opinion in Neurobiology, 70:113–120, Oct 2021. ISSN 0959-4388. doi: 10.1016/j.conb.2021.08.002. URL http://dx.doi.org/10.1016/j.conb.2021.08.002.
Ilyes Khemakhem, Diederik Kingma, Ricardo Monti, and Aapo Hyvarinen. Variational Autoencoders and Nonlinear ICA: A Unifying Framework. In Silvia Chiappa and Roberto Calandra, editors, Proceedings of the Twenty Third International Conference on Artificial Intelligence and Statistics, volume 108 of Proceedings of Machine Learning Research, pages 2207–2217. PMLR, 26–28 Aug 2020. URL https://proceedings.mlr.press/v108/khemakhem20a.html.
Egor Kosov and Vladimir Temlyakov. Sampling discretization of the uniform norm and applications. Journal of Mathematical Analysis and Applications, 538(2):128431, Oct 2024. ISSN 0022-247X. doi: 10.1016/j.jmaa.2024.128431. URL http://dx.doi.org/10.1016/j.jmaa.2024.128431.
David Krieg and Mario Ullrich. Approximation of functions: Optimal sampling and complexity. Acta Numerica, 35:273–457, June 2026. ISSN 1474-0508. doi: 10.1017/s0962492925100287. URL http://dx.doi.org/10.1017/S0962492925100287.
Jason D Lee, Qi Lei, Nikunj Saunshi, and JIACHENG ZHUO. Predicting What You Already Know Helps: Provable Self-Supervised Learning. In M. Ranzato, A. Beygelzimer, Y. Dauphin, P.S. Liang, and J. Wortman Vaughan, editors, Advances in Neural Information Processing Systems, volume 34, pages 309–323. Curran Associates, Inc., 2021. URL https://proceedings.neurips.cc/paper_files/paper/2021/file/02e656adee09f8394b402d9958389b7d-Paper.pdf.
Gottfried Wilhelm Leibniz. Discourse on Metaphysics, 1686. URL https://www.earlymoderntexts.com/assets/pdfs/leibniz1686d.pdf. Section 9. Written in 1686; modernized English translation by Jonathan Bennett.
Michael L. Littman, Richard S. Sutton, and Satinder Singh. Predictive Representations of State. In T. Dietterich, S. Becker, and Z. Ghahramani, editors, Advances in Neural Information Processing Systems, volume 14. MIT Press, 2001. URL https://proceedings.neurips.cc/paper_files/paper/2001/file/1e4d36177d71bbb3558e43af9577d70e-Paper.pdf.
Francesco Locatello, Stefan Bauer, Mario Lucic, Gunnar Raetsch, Sylvain Gelly, Bernhard Schölkopf, and Olivier Bachem. Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representations. In Kamalika Chaudhuri and Ruslan Salakhutdinov, editors, Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 4114–4124. PMLR, 09–15 Jun 2019. URL https://proceedings.mlr.press/v97/locatello19a.html.
C. A. Micchelli and T. J. Rivlin. A Survey of Optimal Recovery. In Charles A. Micchelli and Theodore J. Rivlin, editors, Optimal Estimation in Approximation Theory, pages 1–54. Springer US, Boston, MA, 1977. ISBN 978-1-4684-2388-4. doi: 10.1007/978-1-4684-2388-4_1. URL https://doi.org/10.1007/978-1-4684-2388-4_1.
K. Mizuseki, A. Sirota, E. Pastalkova, K. Diba, and G. Buzsáki. Multiple single unit recordings from different rat hippocampal and entorhinal regions while the animals were performing multiple behavioral tasks, 2013. URL https://doi.org/10.6080/K09G5JRZ. Data set.
Kenji Mizuseki, Kamran Diba, Eva Pastalkova, Jeff Teeters, Anton Sirota, and György Buzsáki. Neurosharing: large-scale data sets (spike, LFP) recorded from the hippocampal-entorhinal system in behaving rats. F1000Research, 3:98, 2014. doi: 10.12688/f1000research.3895.1.
Arthur N. Montanari, Chao Duan, Luis A. Aguirre, and Adilson E. Motter. Functional observability and target state estimation in large-scale networks. Proceedings of the National Academy of Sciences, 119(1):e2113750119, Jan 2022. ISSN 1091-6490. doi: 10.1073/pnas.2113750119. URL http://dx.doi.org/10.1073/pnas.2113750119.
Arthur N. Montanari, Chao Duan, and Adilson E. Motter. Target Controllability and Target Observability of Structured Network Systems. IEEE Control Systems Letters, 7:3060–3065, 2023. ISSN 2475-1456. doi: 10.1109/lcsys.2023.3289827. URL http://dx.doi.org/10.1109/LCSYS.2023.3289827.
Chethan Pandarinath, Daniel J. O'Shea, Jasmine Collins, Rafal Jozefowicz, Sergey D. Stavisky, Jonathan C. Kao, Eric M. Trautmann, Matthew T. Kaufman, Stephen I. Ryu, Leigh R. Hochberg, Jaimie M. Henderson, Krishna V. Shenoy, L. F. Abbott, and David Sussillo. Inferring single-trial neural population dynamics using sequential auto-encoders. Nature Methods, 15(10):805–815, Oct 2018. ISSN 1548-7105. doi: 10.1038/s41592-018-0109-9. URL https://doi.org/10.1038/s41592-018-0109-9.
Felix Pei, Joel Ye, David Zoltowski, Anqi Wu, Raeed H. Chowdhury, Hansem Sohn, Joseph E. O'Doherty, Krishna V. Shenoy, Matthew T. Kaufman, Mark Churchland, Mehrdad Jazayeri, Lee E. Miller, Jonathan Pillow, Il Memming Park, Eva L. Dyer, and Chethan Pandarinath. Neural Latents Benchmark '21: Evaluating latent variable models of neural population activity. In J. Vanschoren and S. Yeung, editors, Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, volume 1, 2021. URL https://datasets-benchmarks-proceedings.neurips.cc/paper_files/paper/2021/file/979d472a84804b9f647bc185a877a8b5-Paper-round2.pdf.
Charles S. Peirce. How to Make Our Ideas Clear. Popular Science Monthly, 12:286–302, jan 1878. URL https://www.peirce.org/writings/p119.html. Section II.
Henri Poincaré. Science and Hypothesis. The Walter Scott Publishing Co., London, 1905. URL https://www.gutenberg.org/ebooks/37157. Translated by W. J. Greenstreet.
Patrick T. Sadtler, Kristin M. Quick, Matthew D. Golub, Steven M. Chase, Stephen I. Ryu, Elizabeth C. Tyler-Kabara, Byron M. Yu, and Aaron P. Batista. Neural constraints on learning. Nature, 512(7515):423–426, Aug 2014. ISSN 1476-4687. doi: 10.1038/nature13665. URL https://doi.org/10.1038/nature13665.
Mostafa Safaie, Joanna C. Chang, Junchol Park, Lee E. Miller, Joshua T. Dudman, Matthew G. Perich, and Juan A. Gallego. Preserved neural dynamics across animals performing similar behaviour. Nature, 623(7988):765–771, Nov 2023. ISSN 1476-4687. doi: 10.1038/s41586-023-06714-0. URL https://doi.org/10.1038/s41586-023-06714-0.
Omid G. Sani, Bijan Pesaran, and Maryam M. Shanechi. Dissociative and prioritized modeling of behaviorally relevant neural dynamics using recurrent neural networks. Nature Neuroscience, 27(10):2033–2045, Oct 2024. ISSN 1546-1726. doi: 10.1038/s41593-024-01731-2. URL https://doi.org/10.1038/s41593-024-01731-2.
Tim Sauer, James A. Yorke, and Martin Casdagli. Embedology. Journal of Statistical Physics, 65(3–4):579–616, Nov 1991. ISSN 1572-9613. doi: 10.1007/BF01053745. URL https://doi.org/10.1007/BF01053745.
Steffen Schneider, Jin Hwa Lee, and Mackenzie Weygandt Mathis. Learnable latent embeddings for joint behavioural and neural analysis. Nature, 617(7960):360–368, May 2023. ISSN 1476-4687. doi: 10.1038/s41586-023-06031-6. URL https://doi.org/10.1038/s41586-023-06031-6.
H S Seung and H Sompolinsky. Simple models for reading neuronal population codes. Proceedings of the National Academy of Sciences, 90(22):10749–10753, Nov 1993. ISSN 1091-6490. doi:10.1073/pnas.90.22.10749. URL https://doi.org/10.1073/pnas.90.22.10749.
Joseph F. Traub, Grzegorz W. Wasilkowski, and Henryk Woźniakowski. Information, Uncertainty, Complexity. Addison-Wesley, 1983.
Albert J. Wakhloo, Will Slatton, and SueYeon Chung. Neural population geometry and optimal coding of tasks with shared latent structure. Nature Neuroscience, 29(3):682–692, Mar 2026. ISSN 1546-1726. doi: 10.1038/s41593-025-02183-y. URL https://doi.org/10.1038/s41593-025-02183-y.
Eric Y. Wang, Paul G. Fahey, Zhuokun Ding, Stelios Papadopoulos, Kayla Ponder, Marissa A. Weis, Andersen Chang, Taliah Muhammad, Saumil Patel, Zhiwei Ding, Dat Tran, Jiakun Fu, Casey M. Schneider-Mizell, MICrONS Consortium, R. Clay Reid, Forrest Collman, Nuno Maçarico da Costa, Katrin Franke, Alexander S. Ecker, Jacob Reimer, Xaq Pitkow, Fabian H. Sinz, and Andreas S. Tolias. Foundation model of neural activity predicts response to new stimulus types. Nature, 640(8058):470–477, Apr 2025. ISSN 1476-4687. doi: 10.1038/s41586-025-08829-y. URL https://doi.org/10.1038/s41586-025-08829-y.
Joel Ye, Jennifer Collinger, Leila Wehbe, and Robert Gaunt. Neural Data Transformer 2: Multi-context Pretraining for Neural Spiking Activity. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems, volume 36, pages 80352–80374. Curran Associates, Inc., 2023. doi: 10.52202/075280-3523. URL https://proceedings.neurips.cc/paper_files/paper/2023/file/fe51de4e7baf52e743b679e3bdba7905-Paper-Conference.pdf.
Changmin Yu, Dong Li, Jianye Hao, Jun Wang, and Neil Burgess. Learning State Representations via Retracing in Reinforcement Learning. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=CLpxpXqqBV.
Runtian Zhai, Kai Yang, Burak Varici, Che-Ping Tsai, J Zico Kolter, and Pradeep Kumar Ravikumar. Contextures: Representations from Contexts. In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu, editors, Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 74318–74347. PMLR, 13–19 Jul 2025. URL https://proceedings.mlr.press/v267/zhai25c.html.
Kechen Zhang, Iris Ginzburg, Bruce L. McNaughton, and Terrence J. Sejnowski. Interpreting Neuronal Population Activity by Reconstruction: Unified Framework With Application to Hippocampal Place Cells. Journal of Neurophysiology, 79(2):1017–1044, Feb 1998. ISSN 1522-1598. doi:10.1152/jn.1998.79.2.1017. URL https://doi.org/10.1152/jn.1998.79.2.1017.
Tianren Zhang, Guanyu Chen, and Feng Chen. When do neural networks learn world models? In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu, editors, Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 74639–74670. PMLR, 13–19 Jul 2025. URL https://proceedings.mlr.press/v267/zhang25j.html.
Roland S. Zimmermann, Yash Sharma, Steffen Schneider, Matthias Bethge, and Wieland Brendel. Contrastive Learning Inverts the Data Generating Process. In Marina Meila and Tong Zhang, editors, Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 12979–12990. PMLR, 18–24 Jul 2021. URL https://proceedings.mlr.press/v139/zimmermann21a.html.
ONTIC STATE RECOVERY THROUGH PREDICTION (APPENDIX)
Contents of the Appendix
A State, Query, and Observation 17
A.1 Distance and Restriction 17
A.2 A Common Readout 17
A.3 Ambiguity and Recovery 18
B Prediction Setup 19
C Prediction and Recovery 19
C.1 General Case 19
C.2 Low-Dimensional Case 21
C.3 Budget Sharpness 23
D Fine-Tuning and Recovery 29
D.1 Fine-Tuning Setup 29
D.2 General Case 30
D.3 Low-Dimensional Case 30
E Recovery from Noisy Observations 31
F Synthetic Experiment Details 32
F.1 State Family and Query 33
F.2 Prediction and Deterministic Recovery 33
F.3 Assumption Checks 34
F.4 Error Transfer 36
F.5 Uniform Prediction and Recovery 36
G Joint-Query Calibration 37
G.1 From Training Residuals to a Global Bound 38
H Observation Geometry 40
H.1 Session and Observation 40
H.2 Covering Geometry 41
H.3 Covariance Geometry 42
I HC-3 Prediction Details 43
J Local State Recovery 44
A STATE, QUERY, AND OBSERVATION
We begin with observation ambiguity, then derive the prediction–recovery bounds and their sharpness. The training and noisy-observation results extend this chain to finite records and perturbed measurements. Experimental details follow the main-text order: synthetic recovery, joint-query calibration, and neural observation geometry and surrogate-state recovery.
A.1 DISTANCE AND RESTRICTION
Distances contract when we restrict the query set. For query sets and states ,
Each inequality follows by taking the supremum over a subset of the same observation coordinates. In particular, every observation map is 1-Lipschitz and hence continuous.
Lemma A.1 (Ontic Metric). The function is a metric on . Hence is a metric space.
Proof. Boundedness of gives
Nonnegativity and symmetry follow from absolute value. Moreover, holds exactly when at every query, which means as functions. Finally, for every ,
Taking the supremum over q proves the triangle inequality.
A.2 A COMMON READOUT
States sharing the same input must receive the same output. Their target spread limits the accuracy of a common readout.
Lemma A.2 (Fiberwise Error Bound). Let be nonempty and a metric space. The map specifies the input available to a readout, and specifies its target. Define the largest target diameter among states with the same input by
Then
If with nonempty and finite and bounded, the coordinatewise midpoint attains the lower bound .
Proof. Choose a common output. For each attainable input , let be its fiber. Choose and define . Assign a fixed element of at unattainable inputs. For any ,
Taking the supremum over gives the general upper bound.
The state-valued case is shown below for three fibers.

Compare any common output. If , every readout c gives the same output to both states. The triangle inequality gives
Taking the supremum over pairs and then the infimum over readouts gives the lower bound .
Use coordinate midpoints. When and is bounded, define the coordinatewise midpoint
The endpoints are finite by boundedness. Set at unattainable inputs. For any and ,
Taking the maximum over and the supremum over shows that attains the lower bound.
Lemma A.3 (Exact Decoding). For nonempty , the following are equivalent: ; the map is injective; and some state decoder satisfies for every .
Proof. If , lemma A.2 gives whenever , so the map is injective. Its inverse on attainable learned states, extended by a fixed member of elsewhere, is an exact decoder. Conversely, an exact decoder has zero error, so .
A.3 AMBIGUITY AND RECOVERY
The common-readout construction now applies to all states compatible with an observation vector. Compactness will ensure that their ambiguity vanishes as separating queries accumulate.
Assumption A.4 (Compactness). The ontic state space is nonempty and compact.
Lemma A.5 (Ambiguity and Recovery). Assume F is nonempty. For every query set ,
Proof. By lemma A.1, is a metric space. Apply lemma A.2 with , and . Its fiber diameter is , so equation (37) gives both bounds.
Proof of lemma 2.9. Suppose the conclusion fails. There are , increasing indices , and states such that
Compactness gives a common subsequence with and . Continuity of the metric gives .
Fix any stage . Eventually , so nestedness and equation (33) give
Taking the limit yields . This holds at every stage, so state separation forces , contradicting .
Before introducing a learned representation, we characterize when the observations themselves suffice for recovery.
Theorem A.6 (Separation and Recovery). Assume is nonempty and compact (assumption A.4) and let be a query sequence. Then
State separation
Proof. If the queries separate states, apply lemma 2.9 with zero tolerance and then lemma A.5:
Conversely, if two distinct states agree on every , then lemma A.5 gives
at every stage. Thus vanishing recovery error requires state separation.
The diagram shows candidate sets under state separation.
Lemma 2.9

Theorem A.6

Figure 8: Schematic candidate sets for a fixed : exact observations (solid) and tolerance (dashed). Both have vanishing diameter under compactness and state separation, with for the tolerance sets.
B PREDICTION SETUP
We now compare prediction and recovery from the learned state , using the error criteria in definition 2.10. In the figures, .
Proof of corollary 2.11. Any state decoder a can also recover from the original observations: first apply e, then a. This gives an observation decoder with the same error, so
Taking the infimum over gives . The remaining bound follows from lemma A.5.
The recovery criterion is : for every desired accuracy, each encoder at a sufficiently late stage admits a decoder achieving that accuracy uniformly over states and ontic queries. The decoder may depend on the stage.
Proof of lemma 3.1. Apply lemma A.2 with , and . Since is bounded and restriction contracts distances, is bounded. The coordinatewise midpoint therefore attains the common lower bound, giving equation (15).
C PREDICTION AND RECOVERY
We prove theorems 3.2 and 3.3 first, followed by theorems 3.4 and 3.5. In each case, fixing the encoder gives an exact-recovery corollary.
C.1 GENERAL CASE
The predictor assigns a common target vector to states merged by the encoder. Their target spread controls their full-state spread through query ambiguity.
Proof of theorem 3.2. We apply lemma A.2 to ontic states mapped to the same learned state, taking and .
Lower bound. Restricting a decoded state to the target queries gives a predictor, as illustrated below.

Target observations differ by at most the full state distance. Combining this with lemma 3.1 and the lower bound in lemma A.2 gives
Upper bound. By lemma 3.1, any pair with has target distance at most . The definition of query ambiguity and lemma A.2 give
For a predictor with finite error, the same bound follows from and the monotonicity of .
Proof of theorem 3.3. If , apply lemma 2.9 with tolerance . By theorem 3.2,
Conversely, gives vanishing prediction error whenever recovery error vanishes.
For a fixed encoder, vanishing prediction error gives exact state recovery.
Corollary C.1 (General Exact Recovery). Under assumption A.4, fix a query set Q and an encoder into a nonempty learned state space. Let be a query sequence separating states, with . If
then there exists a state decoder such that
Proof. By theorem 3.3, the recovery error tends to zero. Since Q and e are fixed, is independent of the stage and therefore equals zero. Apply lemma A.3 to obtain an exact decoder.
Embedding theory relates state distinguishability to the geometry preserved by observations (Sauer et al., 1991). Here, exact state recovery has a topological counterpart when the state space is compact and the map to learned states is continuous.
Corollary C.2 (Topology Preservation). Under assumption A.4, fix a query set Q and an encoder with a continuous map to learned states . If there exists a state decoder such that
then this map is a homeomorphism onto its image. In particular, if F is a topological manifold, possibly with boundary, its image under this map is a manifold of the same dimension.
Proof. Injectivity. By lemma A.3, the map is injective. It is therefore a continuous bijection onto its image.
Continuity of the inverse. Every closed subset of the compact space is compact. Its image is compact by continuity, and therefore closed in . The bijection is thus a closed map, so its inverse is continuous. This proves that it is a homeomorphism onto its image.
Manifold structure. Composing each local chart of with this inverse gives a local chart on the image, with the same dimension and boundary structure.

C.2 LOW-DIMENSIONAL CASE
The general case controls recovery through target ambiguity. In the low-dimensional case, covering and observability let us bound that ambiguity using finitely many queries, yielding the recovery and convergence results in theorems 3.4 and 3.5.
Lemma C.3 (Covering Queries). Let be nonempty and let satisfy assumption 2.12 with constants . Fix a covering radius and a query allowance .
There is a finite representative set , with , such that every state in is within -distance of a representative.
There also exists a target set , with , that distinguishes these representatives: for every ,
Equivalently,
The representatives and targets are selected independently of the encoder.
Proof. Choose the representatives. By equation (13), take an -cover with centers and .
Distinguish each pair. For each unordered pair of distinct representatives, observability equation (14) and let us select such that
The positive allowance permits this choice even if no query attains the supremum.
Collect the queries. If , let . Then
For distinct , their selected query belongs to , so
For , both distances are zero. This proves equation (55); rearranging gives equation (56).
If , take any singleton , which exists by assumption 2.12; the distance bounds are immediate.
We next extend the representative bound to arbitrary states.
Lemma C.4 (Decoding a Cover). Let be a finite -cover, and let a nonempty finite target set satisfy equation (56) with constants and . For , choose a representative . Then, for every ,
Proof. Take with . By equation (56), the minimizing property of , and restriction of the full metric,
(61)
To prove theorem 3.4, we fit this construction to the prescribed query budget and decode to a representative whose target observations are closest to the prediction.
Proof of theorem 3.4. Decode to a representative. For radius and allowance , specified below, lemma C.3 supplies a finite representative set and a target query set . We now use these sets to define a decoder. Fix any encoder and finite-error predictor . Given a learned state , compare the predicted target vector with each representative's target vector , and return a closest representative:
resolving ties by a fixed ordering.
The diagram shows the returned representative , whose target readings are closest to .

Bound the recovery error. Apply lemma C.4 with and :
Set the query budget. The radius controls the number of representatives; the allowance absorbs the approximation of separating queries. Let . Choose sufficiently close to that
hence . Set . By lemma C.3,
These choices are independent of e. Taking the supremum of the recovery-error bound gives
(66)
Taking the infimum over proves the upper bound. The lower bound follows from theorem 3.2, since the covering assumption makes bounded.
The bound in theorem 3.4 now gives the convergence and rate equivalences. These target sets need not be nested: each budget has its own uniform recovery bound.
Proof of theorem 3.5. By theorem 3.4, for every admissible budget,
Convergence.
Left-to-right. If , both terms in the upper bound tend to zero, so .
Right-to-left. If , the lower bound gives .
Rate.
Left-to-right. Assume . By definition, there is a constant , independent of , such that for all sufficiently large . Substituting this into equation (67) gives
(68)
The bracket is independent of m, so .
Right-to-left. Assume . There is a constant , independent of , such that, for all sufficiently large ,
Thus , completing equation (20).
For a fixed encoder, the selected targets give the same recovery conclusion.
Corollary C.5 (Low-Dimensional Exact Recovery). Under the assumptions of theorem 3.4, fix an encoder into a nonempty learned state space. For each integer , choose as in that theorem for the same input set . If
then there exists a state decoder such that
Proof. By theorem 3.5, the recovery error tends to zero. Since Q and e are fixed, is independent of the stage and therefore equals zero. Apply lemma A.3 to obtain an exact decoder.
C.3 BUDGET SHARPNESS
We first prove the fixed-family result supporting theorem 3.7, then give a finite-query construction for comparison.
A fixed family at every budget. A multiscale arc places the obstruction inside a fixed family: finer blocks contain more distinctions, while their response amplitudes decrease. The encoder merges a pair whose distinguishing query was omitted, and the radius of that pair gives the recovery cost.
We construct the fixed family in lemma C.6, find a pair missed by the target set in lemma C.7, and merge that pair in lemma C.8. Combining their bounds proves lemma C.9.
Lemma C.6 (Multiscale Arc). For every , there exist a countable query universe , a singleton input set , and a compact state family homeomorphic to , of diameter 1. The input observation map is injective, and satisfies assumption 2.12 with and . The covering constant is
Proof. Construct the family. Fix . For , put
Let denote the standard basis in . On , the vector follows the polygonal path , spending equal time on each edge; the vectors in other blocks are zero. On , join this block directly to the next: set and , where decreases linearly from 1 to 0. At , all block vectors are zero. These intervals cover because .
Take . The remaining queries are a duplicate parameter query , a height query for each block, and a private query for each . Define the state , for , by
Let .
Geometry and observability. All responses are bounded. The parameter query makes injective, and its duplicate gives target observability with . Each finite part of the path is continuous in the full response metric. From block onward, the distance to is at most : active private coordinates have magnitude at most , height differences are at most , and the parameter difference is at most . Thus the path is also continuous at 1. Compactness and injectivity make it a homeomorphism onto . Every coordinate has range at most 1, and two vertices in the first block differ by , so the diameter is exactly 1.
The shrinking blocks accumulate at the endpoint.

Block 1
Block 2
Block 3
Covering bound. Each edge within block is a straight response-space segment of length , as is its outgoing connector. Indeed, a private coordinate attains this length on a block edge, and the height query attains it on the connector; the parameter increment is smaller. The block edges and one outgoing connector give closed segments per block, including their endpoints. For , let be the last index with . The tail beginning at block lies in the closed -ball about . A segment of length is covered by closed balls centered on the segment. Consequently,
(78)
This gives the stated bound. At , one ball suffices. Moreover, the vertices of block are mutually apart. At radius , each covering ball contains at most one of them. Since , the covering exponent is exactly .
The next two lemmas use the family and block notation constructed in the proof of lemma C.6.
Lemma C.7 (Omitted Pair). For every integer and nonempty with , some block contains two nonadjacent vertices with parameters such that
Proof. Fix and . Choose the smallest with . This is the number of nonadjacent vertex pairs in block , so some pair , with , has . Write for their parameter values. Their private query has response gap . Every other private query has gap at most , every height query has gap zero, and the parameter gap is at most . Hence
When , . Otherwise minimality of gives . Hence and . It follows that
Lemma C.8 (Two-State Fiber). Fix two nonadjacent vertices with in block and a nonempty finite target set . There is a globally Lipschitz encoder whose only non-singleton state fiber is this pair, with
Proof. A two-state fiber. Put and . Define
The circular part has positive second coordinate in its interior, while the two tails lie on opposite halves of the horizontal axis. Thus the only merged input pair is . The pieces agree at their endpoints, and the encoder is globally Lipschitz with constant at most . By lemma 3.1,
The admissible recovery center. Every singleton fiber can be decoded exactly. It remains to bound the radius of the pair about any .
For in block , the vector has mass one on at most two adjacent vertices. Exchange if necessary so that , and take a largest coordinate . Then , and the private query indexed by gives response difference
On an adjacent connector, the block vector is times an endpoint, giving private-coordinate error at least and height error . Elsewhere, the block mass is zero and the height error is . Thus
The connector bound follows by minimizing over , with equality at . Taking the infimum over common decoded states gives the recovery bound.
The three lemmas now give the fixed-family lower bound.
Lemma C.9 (Fixed-Family Sharpness). For every , there exist a fixed countable query universe , a singleton input set , and a compact state family homeomorphic to , of diameter 1. The input observation map is injective, and satisfies assumption 2.12 with and .
For every integer and every nonempty with , there is a globally Lipschitz encoder such that
Proof. Lemma C.6 supplies the fixed family and its geometric properties. For any admissible m, P, take the pair from lemma C.7 and the encoder from lemma C.8. Then
The uniform transfer residual. For the fixed family above, the uniform transfer residual in definition 3.6 measures the recovery cost of choosing targets before the encoder. The lower bound is supplied by lemma C.9; the upper bound follows from theorem 3.4.
Proof of theorem 3.7. Use the fixed family in lemma C.9, and fix an integer .
Lower bound. For every admissible target set P, lemma C.9 supplies a globally Lipschitz encoder witnessing
Taking the infimum over P gives the lower bound for .
Upper bound. Apply theorem 3.4 with and . It supplies one admissible target set for which every encoder satisfies
Taking the supremum over for this , then the infimum over all admissible target sets, gives the upper bound.
1-Lipschitz encoders. If has a Lipschitz bound , then is 1-Lipschitz. Composing a readout with transfers it from to ; reverses this correspondence. Predictions and recovered states are preserved, so both optimal errors are unchanged. Every residual value is thus attained in the smaller class; inclusion gives the reverse inequality between suprema.
Recovery and sampling. Classical optimal recovery describes the best readout from fixed information by the radius of its consistency sets (Traub et al., 1983, Chapters 1 and 3). Here the information is , and the same consistency set determines two errors: its radius in the admissible state family and its radius in the target observation space. The fixed arc makes their difference persist at every finite target budget.
Optimal sampling instead chooses queries together with a reconstruction map (Krieg and Ullrich, 2026, Sections 2 and 9.1). Write the arc as , with parameter query satisfying . This query determines the state exactly. With for , extended by elsewhere,
The residual in equation (21) measures the budget needed to transfer prediction accuracy to recovery uniformly across encoders. On the constructed family, a residual tolerance requires a budget of order , while direct reconstruction from the parameter query is exact.
Uniform-norm discretization gives a related view of how finitely many queries preserve distinctions in a linear function space (Kosov and Temlyakov, 2024, Theorems 1.1 and 1.2). Its criterion is multiplicative norm preservation over that space. The criterion here couples prediction and state-valued recovery on a fixed nonlinear compact family. The covering bound controls the number of states needed at a given resolution; the pairwise witnesses in the construction determine the target budget.
Encoder regularity and target order. Theorem 3.7 gives a common encoder regularity bound. Keeping this bound fixed, we compare targets selected before and after the encoder.
Corollary C.10 (Target Selection Order). On the fixed state family of lemma C.9, let consist of the 1-Lipschitz maps . For every , there is a query such that \mathcal{R}_Q^\star(e) \leq 2\mathcal{L}_Q^\star_{\{p\}}(e). Consequently, for every integer ,
Proof. For a fixed , put
The maximum exists: the map is continuous, so its equality set is a nonempty closed subset of . By lemma A.2, a state-valued representative decoder gives .
Each state on the arc has nonzero block mass in at most two blocks. For any pair, differences in private and height responses are confined to the finite union of their active blocks. The remaining differing coordinates are , whose differences coincide. A query outside therefore attains the full distance of the pair. Apply this to a pair attaining , and call its query . The largest -response gap among pairs sharing encoder output equals : this pair attains it, and every such gap is bounded by the full-state gap. By lemma 3.1,
When , the same conclusion holds with any available query. Each encoder thus has a singleton target giving a nonpositive residual. Conversely, belongs to , and the input observation identifies every state. For this encoder both optimal errors are zero for every target set. Taking the indicated infimum and supremum proves equation (93).
A finite-query comparison. Allowing the family to depend on the budget yields a complementary construction: the encoder is linear, the query universe is finite, and the exponent range includes . The same order is attained at prediction-error coefficient 2 and .
Proposition C.11 (Budget Sharpness). For every , there is a constant such that, for each integer , there exist a finite query universe , a query set , and a compact connected one-dimensional state manifold of diameter 1, such that satisfies assumption 2.12 with and . The input observation map is injective. For every nonempty with , there is a linear encoder into a Euclidean learned state space such that
Proof. State space. Fix and , and set
Let be the standard basis of , with . On the polygonal cycle , let . This continuous function is zero off the edge and reaches 1 at its midpoint. Take and . For each on the cycle, define, for and ,
Also set , lifting one edge while leaving all vertices unchanged. Let consist of these states, and write . The map is continuous, with continuous inverse . Thus is homeomorphic to the cycle, a compact connected one-dimensional manifold, and the input observation map is injective. Since , we have
The target queries capture both terms, so target observability holds with . Since and ranges from 0 to 1, the diameter is exactly 1.
Covering bound. Each unlifted edge has length in . For , the unlifted part can be covered by at most balls centered along these edges. Since ,
For , the vertices cover the unlifted part and . For , one ball centered at a vertex covers that part, and . The lifted edge consists of two segments of length 1 each, so it admits a 1-Lipschitz parametrization on an interval of length 2. It can therefore be covered by additional balls centered along it. Consequently,
Encoder construction. Fix any allowed . The cycle has unordered nonadjacent vertex pairs, so some such pair has . Define a linear encoder by
It combines the two corresponding input coordinates and retains all others. In particular, and have the same learned state. The diagram illustrates the nonadjacent pair and its common learned state.

Recovery lower bound. Any state decoder must give one output to the common learned state of , . A point on the cycle has at most two nonzero coordinates, at adjacent vertices. Since are nonadjacent, at least one of , is zero. Also . By equation (99),
Thus every decoder has recovery error at least , so .
Prediction upper bound. If , then for some , and . The query differs by ; every other pair query differs by at most , and has identical observations. Since , lemma 3.1 gives
Combining the two error bounds and using , we obtain
Taking completes the proof.
D FINE-TUNING AND RECOVERY
The preceding results start from prediction error over the entire state family. Fine-tuning instead gives an error on training observations. Coverage and prediction stability connect these quantities: a nearby training record controls the prediction at an unobserved state. The general and low-dimensional bounds then transfer that control to recovery.
D.1 FINE-TUNING SETUP
We work under assumption A.4. Fix disjoint query sets and maps , where is nonempty. We first control this pair's prediction error from its errors on the training records.
Use the recorded error and observation coverage radius from definition 3.8, together with assumption 3.9. By equation (33), is no larger than the coverage radius in the full ontic metric. The asymptotic results use a common stability modulus across the returned outputs.
Lemma D.1 (Record Extension). Let be nonempty and compact, and let with index the training records. For disjoint query sets , every pair satisfying assumption 3.9 obeys
where is the observation coverage radius in equation (24).
Proof. The empirical error is a maximum over states in , so it cannot exceed the full-family error. For the upper bound, fix and choose a nearest training observation pair. Its generating state satisfies . Prediction stability and the triangle inequality give
(107)
Taking the supremum over proves the upper bound. Both the empirical maximum and the coverage radius are finite, so the full-family error is finite as well.
Proof of proposition 3.10. Lemma D.1 gives the prediction bound. Since the optimal prediction error is no larger, theorems 3.2 and 3.4 and monotonicity of give the two recovery bounds.
We now choose the pair by fine-tuning. Let H be the nonempty class of encoder–predictor pairs accessible from the initialization by changing the permitted parameters. The empirical error is defined in equation (23).
Definition D.2 (Fine-Tuning). The optimal prediction error in the fine-tuning class is
Given an optimization tolerance , an -optimal fine-tuning output is a pair satisfying
For every , an -optimal output exists by the definition of the infimum. At , the rule selects an empirical minimizer whenever the infimum is attained. The quantity optimizes jointly over the permitted encoder–predictor pairs, while holds the encoder fixed.
For a fine-tuning output, the same lemma combines with empirical near-optimality to relate its prediction error to the best error in the model class.
Corollary D.3 (Fine-Tuning Consistency). Every -optimal fine-tuning output satisfying assumption 3.9 obeys
For stages , allow the training data, query sets, model classes, and learned state spaces to vary, with a common modulus for the returned outputs. Let be -optimal outputs and let be the corresponding observation coverage radius. If
then
Proof. For every pair in H, the empirical error is no larger than its full-family error. Hence the fine-tuning rule gives
Apply lemma D.1 to the returned pair to obtain the upper bounds. The lower bound follows because .
Under equation (111), all three nonnegative terms tend to zero. In particular, , so . The same bound gives , and the optimal prediction error is no larger.
D.2 GENERAL CASE
Theorem D.4 (General Fine-Tuning Bound). Every -optimal fine-tuning output satisfying assumption 3.9 obeys
For stages , allow the training states, query sets, model classes and learned state spaces to vary, with a common modulus for the returned outputs. Let denote the -optimal outputs. If is a query sequence separating states in and
then . Here is the coverage radius of the training observations on at stage , defined as in equation (24).
Proof. Substitute equation (110) into theorem 3.2, using and the monotonicity of .
For the asymptotic claim, corollary D.3 gives vanishing optimal prediction error. State separation and theorem 3.3 then give vanishing recovery error.
D.3 LOW-DIMENSIONAL CASE
Using the targets constructed in theorem 3.4 makes the query budget explicit under the same training rule and stability condition.
Theorem D.5 (Low-Dimensional Fine-Tuning Bound). Suppose satisfies assumption 2.12 with constants . For every integer , choose as in theorem 3.4, with . Every -optimal fine-tuning output satisfying assumption 3.9 obeys
For budgets , allow the training states, input sets, model classes, and learned state spaces to vary, selecting each by the same construction. Let denote the -optimal outputs. If and are common across budgets and
then . Here is the coverage radius of the training observations on at budget , defined as in equation (24).
Proof. Select by theorem 3.4, before the training class and output are specified. Substitute equation (110) into that theorem, using .
Under the stated convergence condition, corollary D.3 gives vanishing optimal prediction error. Applying theorem 3.5 to the selected target sets gives vanishing recovery error.
The bounds identify the contributions of the model class, optimization tolerance, training coverage, and prediction stability. The low-dimensional result also makes the target-query budget explicit: n counts training records, while m counts target queries.
E RECOVERY FROM NOISY OBSERVATIONS
The construction in theorem 3.4 also applies when a query’s response is a conditional mean and its observation is noisy. The state specifies the mean response profile; the measurement law describes how a recording is drawn from it. Prediction error and measurement perturbation then enter the same distance to a covering center. Restricting the construction to a frequently encountered state family gives a probability guarantee and an integrated recovery bound.
Let be compact with diameter , and let be nonempty and compact. Suppose satisfies assumption 2.12 with constants . For an integer , select and covering centers by theorem 3.4 on .
Let be Borel measurable and K-Lipschitz on the full input space, with prediction error at most on . Decode to the covering center closest to on , resolving ties by index. This defines a state decoder ; the composition is measurable because it is a finite selection determined by .
Lemma E.1 (Recovery under Perturbation). Under this setup, if and , then
Proof. The triangle inequality and input sensitivity give
Apply lemma C.4 on with and the radius and allowance fixed in theorem 3.4. Substitution gives equation (118).
The pointwise bound becomes a probability guarantee when both the state and the measurement lie in their specified ranges.
Corollary E.2 (Recovery under Noise). Under the preceding setup, let have a Borel law with , where . Suppose the measured input satisfies, for every ,
(120) where and . With
the recovery error obeys
Proof. The event and has probability at least
On this event, lemma E.1 and the diameter bound give error at most B. Off it, the error is at most D because both states lie in F. This proves the probability bound; splitting the squared-error expectation over the two events gives the second bound.
Count observations. For a conditional Poisson measurement law, take , where has mean and on . Here is the exposure. A valid input-noise radius is
Indeed, the centered Poisson moment-generating function obeys . The bound for , and the corresponding lower-tail bound, give
\Pr\left(|N_{q}-T f(q)|>\sqrt{2T\Lambda v}+\frac{2v}{3}\right|F=f\right)\leq2e^{-v}. \tag{126}Choose and take a union bound. This uses each channel's conditional Poisson law and permits dependence between channels. Exposure controls the measurement contribution to recovery, through .
Prediction sensitivity. For a continuously differentiable predictor composition, a sufficient full-input constant is
The derivative bound may instead be taken on a convex domain containing every input and intervening segment used in the guarantee.
Functional observability. Functional observers recover selected state coordinates in structured dynamical networks; algebraic and graph conditions characterize which targets are accessible (Montanari et al., 2022; 2023). Observability also guides the eigenstructure and sparsity of neural state-space architectures (Gracyk, 2026; Hamdan et al., 2024). Here, the state is specified by its complete query-response profile, and quantitative target observability compares its full metric with the remaining responses. The query-budget construction uses this comparison to turn target prediction into a state-valued recovery map. Retracing adds cycle consistency to predictive state learning in reinforcement learning (Yu et al., 2022); our bounds concern the distinctions preserved by a fixed encoder and the error of recovering its response profile.
F SYNTHETIC EXPERIMENT DETAILS
The generator specifies the full state family and every query response. This makes recovery error, target separation, and the constants in the error bound directly computable. We describe the generator and inverse map first, then examine the budget dependence and the assumptions responsible for it.
The coordinatewise construction is followed by a second, joint-query construction in section G, which supplies the calibration records for a global recovery certificate.
F.1 STATE FAMILY AND QUERY
The GT observation law is a deterministic function of a sampled latent vector . For Sphere, is uniform on the unit sphere in ; for Torus, its coordinates are cosine–sine pairs of independent uniform angles. For General, ranges over the box with independent uniform coordinates. A fixed signed coordinate-repetition map expands the latent vector to the common ambient dimension. The observation law is given in equation (30). The coefficients are sampled once and shared across families and repetitions. The map cycles through the latent coordinates; signs are fixed random signs for the low-dimensional families and positive for the general family. Each coordinate has input and target channels. Inputs contain every input channel, while target sets are nested prefixes of a fixed random permutation of the target pool. The query coefficients are public metadata supplied to the encoder and predictor. These are structured, separable observation laws; their geometry and full observation profiles can be evaluated exactly.
Table 4: Synthetic design. The circle is included once, as the sphere of intrinsic dimension one. The general family has independent ambient coordinates.
| Design | Value |
|---|---|
| Ambient coordinates D | 16,384 |
| Channels per coordinate | 4 (2 input, 2 target) |
| Sphere dimension d | 1, 2, 4, 8, 16, 32 |
| Torus dimension d | 2, 4, 8, 16, 32 |
| Coefficient | Unif [.5, 1.5) |
| Offset | Unif[-.5, .5) |
| Train / validation / test states | 4,096/256/256 |
| Paired repetitions | 3 |
| Budgets m | |
| Configurations | 180 |
Table 5: Random-repetition design. Reported dispersions are sample standard deviations across repetitions of the same condition, with the biological aggregation held fixed. A repetition changes the sources of randomness specified by its protocol.
| Experiment | Random seeds | Runs per case | Pairing / audit |
|---|---|---|---|
| Synthetic sweep / domain audit | 19, 29, 39 | 3 | General first repetition: grid; others |
| HC-3 prediction / matched recovery | 19, 29, 39 | 3 | Paired partitions, initializations and held-out blocks |
Throughout the paper, decimals are rounded to at most four places and omit the leading zero. Exact zeros in decimal summaries appear as .0000; nonzero values rounding to zero appear as .0001 in magnitude, retaining their sign. All calculations use unrounded values.
F.2 PREDICTION AND DETERMINISTIC RECOVERY
A shared coordinatewise MLP encodes input observations and their query coefficients. A second shared MLP combines this learned state with each target channel's coefficients to predict its observation. We minimize the mean, over training states, of the maximum absolute target error. Every configuration is evaluated at the final training epoch specified in advance. Matching pilot configurations enter the paired-repetition design once.
The ideal GT map in equation (31) minimizes target discrepancy; the implementation approximates it by bisection. Monotonicity of each observation channel converts an allowed discrepancy into a latent-coordinate interval. We intersect these intervals and bisect the discrepancy until the resulting box intersects the known latent domain. For a sphere, intersection is decided by the minimum and maximum attainable squared norms; for a torus, the same criterion is applied to each circle factor. A deterministic feasible point then defines the recovered state. The inverse uses the predicted responses and the known latent domain; the test state's latent vector enters the evaluation of recovery error.
Table 6: Synthetic training and deterministic recovery settings. Gradient updates train the encoder and predictor.
| Training | Value |
|---|---|
| Encoder widths | |
| Predictor widths | |
| Hidden activation | GELU |
| Optimizer / batch | AdamW / 8 |
| Epochs / updates | 200 / 102,400 |
| Learning rate, epochs 1–100 | |
| Learning rate, epochs 101–200 | |
| Oracle bisection rounds | 44 |
For each test state , we record prediction error and recovery error . Recovery is evaluated over every channel of the full query universe. Summaries report mean sample standard deviation over paired repetitions. Random seed sets are listed in table 5. Bound checks instead use the maximum over the test states within each run. Seed pairing fixes initialization, state samples, and target order across budgets; seeds jointly change these sources of randomness.
Training choices and computation. Dimensions and target counts form geometric grids spanning the three state families. The shared MLP widths, batch size, and sample counts are fixed design parameters; every reported configuration uses the same optimizer and two-stage schedule. Preliminary convergence checks informed the 200-epoch endpoint, which is held fixed across the full suite. AdamW uses weight decay .01, moments (.9, .999), and numerical stabilizer . Training uses Float32; numerical inversion and the domain audit use Float64. The seed table and supplied case manifest specify initialization, state generation, target order, and minibatch permutations.
With the network widths fixed, a batch of states costs time and activation memory: the shared encoder processes coordinates and the predictor evaluates targets. Parameters are shared across coordinates and queries. Each numerical inverse uses 44 feasibility rounds, each linear in the target count and latent-coordinate count; full-profile scoring is linear in . The uniform audit evaluates each target on the grid in table 9; target and grid batching bound working memory without changing the evaluated domain.
Reproduction materials and infrastructure. The accompanying archive ontic-reproducibility.zip supplies source code, case manifests, dependency versions, original numerical endpoints, and commands for preprocessing, training, evaluation, and aggregation. Figure and table sources are included with the manuscript source. Synthetic data are generated by the supplied response laws and seeds. HC-3 recordings are obtained from their provider under the terms in section H. The archive retains all endpoints of the included suites and separates within-condition seed variation from biological aggregation.
Experiments ran in a Linux batch-computing environment. The supplied training configuration uses one NVIDIA A100 (80 GB); observation-geometry calculations use CPU numerical linear algebra. The reproduction environment is Python 3.10.19, PyTorch 2.10.0, NumPy 1.26.4, SciPy 1.14.1, Matplotlib 3.8.4, and mpmath 1.3.0. The archive includes version-pinned dependencies. Checkpoints retain optimizer, sampler, and random-generator state, with separate latest and previous copies. Resumption uses the same device type and PyTorch version.
The main-text observability inequality and constant are given in equation (32). We check coordinate coverage and its budget requirement before applying the transfer bound.
F.3 ASSUMPTION CHECKS
Observability. Write for the number of ambient latent coordinates: for the sphere, for the torus, and for the box. Let . For the observation law in equation (30),
Full coordinate coverage gives separation by proposition 4.1. Conversely, each latent domain is invariant under changing the sign of one coordinate and contains a state with that coordinate nonzero.
Reflecting an unobserved coordinate therefore gives two distinct states with identical target responses. Their full profiles differ because the query universe observes every coordinate.
Proof of proposition 4.1. Bound each channel. Fix and in . For every channel and ,
The mean value theorem, followed by maximization over the selected target channels and over all channels, respectively, gives
A single increasing channel turns coordinate separation into response separation:
Response

Compare the distances. Every coordinate has a target channel with positive slope magnitude, so and . There are finitely many coordinates, hence . Since for every ,
This proves equation (32).
For each certified target set, we recompute this constant and the test-error transfer. The input and candidate-target pools cover all latent coordinates.
Query budget. The actual target sampler permits a finite-budget calculation. Let be the target-pool size, and let count its channels observing latent coordinate . A uniform subset of size misses coordinate with probability . Hence
where a binomial coefficient is zero when its lower argument exceeds its upper argument. On the complementary event, the global error transfer holds simultaneously for every predictor and every state, using the corresponding . In particular, this event is determined before predictive training. Each term in the sum is at most . Thus suffices for failure probability at most whenever this budget is available; querying the full pool always separates. For the repeated-coordinate low-dimensional families, is of the order of , giving a budget of order .
We evaluate the without-replacement bound using the actual channel counts (table 7). The low-dimensional families repeat each latent coordinate across many channels, so their sufficient budgets are much smaller. These are family-specific sampling guarantees; the general covering theorem accommodates arbitrary admissible response laws.
Covering number. The same generator supplies explicit covering constants. Put . Angular coordinates for the sphere and torus give, respectively,
Table 7: Smallest budget for which equation (132) gives at least probability of separation. The pool contains 32,768 queries; counts latent coordinates, while is intrinsic dimension. For the largest sphere and torus at budget 512, failure-probability upper bounds are and .0189.
| Family | d | r | Sufficient m |
|---|---|---|---|
| Sphere | 1 | 2 | 6 |
| Sphere | 2 | 3 | 11 |
| Sphere | 4 | 5 | 21 |
| Sphere | 8 | 9 | 45 |
| Sphere | 16 | 17 | 97 |
| Sphere | 32 | 33 | 211 |
| Torus | 2 | 4 | 16 |
| Torus | 4 | 8 | 38 |
| Torus | 8 | 16 | 90 |
| Torus | 16 | 32 | 203 |
| Torus | 32 | 64 | 452 |
| General | 16,384 | 16,384 | 32,711 |
Indeed, changing a sphere angle changes its unit vector by at most the angular displacement in Euclidean norm; summing over angles gives the first grid radius. Each sine–cosine factor of a torus is Lipschitz in its own angle, giving the second radius in the maximum-coordinate metric. The observation map is A-Lipschitz in that metric. Choosing a nearest grid point in the parameter domain therefore covers every state. For , these bounds have the required form on the low-dimensional families. The constants describe a conservative existence construction for these state families. A regular grid on the box gives .
F.4 ERROR TRANSFER
When every latent coordinate has a target channel, equation (32) supplies the global observability constant . For the ideal GT map, the true state is a feasible candidate, so the fitted target residual is at most the prediction error. For a numerical output whose target residual is within of the minimum, observability and the triangle inequality give
The exact map has . With exact feasibility tests and feasible-point construction, 44 bisections of , followed by a feasibility expansion, give . For a feasible Float64 output, also includes arithmetic effects on the target residual. Finite-test plots compare the numerical recovery errors with the exact-map benchmark , where is the maximum test prediction error. Coordinate coverage gives the separation test in equation (128).
Table 8: Numerical recovery compared with the exact-map benchmark on separating target sets. All observed errors lie below the benchmark, computed from maximum test prediction errors and global derivative bounds.
| Quantity | Value |
|---|---|
| Certified target sets | 162 |
| Finite-test recovery bound, range | .023-.274 |
| Observed / bound ratio, median | .075 |
| Observed / bound ratio, range | .020-.247 |
F.5 UNIFORM PREDICTION AND RECOVERY
The preceding transfer checks use test states. The coordinatewise architecture also permits a bound over the entire known family. For a target , put and write for the predicted observation minus . Writing and for the shared MLPs in table 6, the implemented coordinatewise composition is
Thus each target prediction depends only on v and its query coefficients. Each latent coordinate ranges over in every family, so
The supremum commutes with the finite maximum: each target's extremum can be attained at a state of its own. Agreement between the network forward pass and its scalar form checks this reduction before the domain audit.
We bound prediction sensitivity in the full input-observation norm using the trained weights. Let be the successive encoder and predictor matrices, the varying observation columns of , and the hidden-state columns of the first predictor matrix. Using the GELU derivative bound 1.13, a valid constant is
Every varying input observation enters this calculation. The encoder-predictor composition therefore satisfies assumption 3.9 with . The scalar error has Lipschitz constant , since is Lipschitz with constant one.
On a regular grid , let . Every point of the interval lies within of the grid. Thus
For the reported numerical values, let be the Float64 grid maximum and use the arithmetic allowance . We use
The numerical enclosure assumes that covers grid-evaluation and enclosure-arithmetic error, and that the evaluated remain valid Lipschitz upper bounds. Recovery additionally assumes that the evaluated remains a valid observability lower bound. Tables report Float64 evaluations of the resulting conditional analytic bounds at the stated display precision; rounding the final quotient and its displayed value is separate from the analytic inequality. The implementation uses high-precision spot checks and ordinary Float64 arithmetic. Table 9 records the allowance and checks.
The grid is an offline domain audit of the fixed predictor. Its resolution is determined by the weight bound and a preset interpolation tolerance. Under the arithmetic conditions above, the ideal GT map in equation (31) obeys
where denotes the numerical upper enclosure. For feasible numerical outputs in , a uniform residual slack adds by equation (134).
The audit includes all repetitions for the largest sphere and torus at budgets above their sufficient sampling thresholds, and for the independent family at its full budget. Each bound uses the final training checkpoint and its training target set. All reported ideal-map bounds improve on the full-profile diameter (table 1).
G JOINT-QUERY CALIBRATION
This joint-query family makes the mechanism in theorem 3.2 explicit: target separation converts prediction error into recovery of the full state. Its linear inverse link lets records at known latent coordinates control global prediction error directly.
For the calibration certificate below, each query depends on the whole latent configuration. For , define . The input matrix and base target matrix have independently drawn unit rows. Target sets vary through with ,
Table 9: Whole-domain audit settings. Bounds use the final training checkpoints and their training target sets. Seed sets and grid sizes appear in table 5.
| Setting | Value |
|---|---|
| Sphere and Torus: (d, m) | (32, 512) |
| General: (D, m) | (16,384, 32,768) |
| Interpolation tolerance | .002 |
| GELU derivative bound | 1.13 |
| Arithmetic allowance | |
| Full-input sensitivity K | 374.7–705.7 |
| Full-profile diameter | 1.8101 |
| High-precision check | 70 digits |
| Float64 discrepancy |
so every row has Euclidean norm at most one; the query universe contains the input rows and every target variant. This keeps the ontic state family fixed while changing the distinctions available to prediction.
Consider an encoder applying the inverse response link and a matrix, followed by a joint predictor:
Inputs are clipped to the valid observation range before applying the inverse link. The resulting full-input prediction map is Lipschitz with constant at most .
We obtain prediction, observability and recovery bounds from the same calibration records below. Throughout this section, , so positivity means full column rank.
G.1 FROM TRAINING RESIDUALS TO A GLOBAL BOUND
Calibration records connect prediction error to recovery in three steps: they bound the global prediction error, certify that the targets distinguish states, and determine a recovery map.
For the joint-query family, set and . Let the calibration matrix have full column rank, with . The inverse-link records and approximate and with entrywise errors at most and , respectively. The weights may be fitted to these records.
Lemma G.1 (Calibration Error). Under the calibration setup, let and satisfy . Then
Proof. Since ,
Each column of has norm at most , and its Frobenius norm is at most . Multiplication by , whose operator norm is , gives both bounds.
Lemma G.2 (Calibrated Prediction). Define the residual and its global error bound by
Then
For exact records, , the second inequality is an equality.
Proof. The residual satisfies
Its entries have magnitude at most . Apply lemma G.1 with and ; the column bound and triangle inequality give the bound on every row. The 1-Lipschitz link tanh gives the prediction bound. With exact records, , so and the second inequality is an equality.
The same records estimate the target matrix. Its smallest singular value measures whether the targets retain every latent direction.
Lemma G.3 (Calibrated Observability). Define
Then and
Thus certifies separation. For exact target records, .
Proof. Apply lemma G.1 with , and . The operator-norm bound gives , hence
All query rows have norm at most one, so for unit . The derivative of on is at least ; hence
(152)
This proves equation (150). For exact target records, gives .
When this certificate is positive, the calibrated inverse estimates the latent vector. Normalization returns that estimate to the sphere.
Proposition G.4 (Calibrated Recovery). Use , and from lemmas G.2 and G.3, and assume . Let normalize nonzero vectors to the sphere and send zero to the first coordinate vector. Define
This readout satisfies
Proof. Fix a unit and write . Since and , clipping and lemmas G.2 and G.3 give
For a unit x, normalization is a nearest-point projection onto the sphere, including at zero. Thus, for every vector v,
Table 10: HC-3 study cohort relative to the complete local catalog, with session counts by animal. The ec015 recording prefix belongs to ec014.
| Coverage | Catalog | Study |
|---|---|---|
| Sessions | 442 | 25 |
| Animals | 11 | 4 |
| Recording groups | 119 | 23 |
| Behavioral contexts | 14 | 5 |
| Animal | Sessions |
|---|---|
| ec012 | 1 |
| ec013 | 7 |
| ec014 | 10 |
| ec016 | 7 |

Since has full column rank and all query rows have norm at most one,
Taking the supremum over proves equation (155).
H OBSERVATION GEOMETRY
We examine how many representative observations cover a later diagnostic block, using the same geometry protocol and time-shift controls. Covariance statistics provide a complementary description. Prediction and model-state recovery use this cohort in sections I and J.
Data access and reuse. The recordings were contributed by Mizuseki, Sirota, Pastalkova, Diba, and Buzsáki and distributed as HC-3 through CRCNS.org (Mizuseki et al., 2013; 2014). The provider makes the data available for scientific use under the CRCNS data-use terms, which require attribution and citation and restrict redistribution. The HC-3 dataset page identifies the source files and access procedure. Our analysis reuses these existing animal recordings under that published provision for scientific use. The reproduction archive supplies the session manifest and preprocessing code; readers obtain recordings directly from the provider. Original code and aggregate outputs are supplied for confidential peer-review reproduction, and dependencies retain their upstream licenses, listed in the archive.
H.1 SESSION AND OBSERVATION
The HC-3 cohort (Mizuseki et al., 2014) spans open-field, linear-track, and wheel recordings (table 10). We select sessions using metadata to balance data availability with breadth across recording groups. Eligible sessions have aligned position, recording metadata, and spike files. We allocate sessions across recording prefixes, cycling through the groups within each prefix. Within a group, priority follows processing availability, matched shanks, estimated unit counts, and recording length. This procedure supplies varied recording contexts for comparing observation geometry.
Every included session meets the unit-quality criteria in table 11. Electrode metadata identifies recording prefixes belonging to the same animal. All analyses use this fixed cohort; detailed session statistics appear in table 16.
Each query specifies a unit's spike count over a trailing window. At each sampled observation time, the window ends at that time; evaluating the fixed collection of queries gives the corresponding observation vector. Each query returns the count, logarithmically transformed and scaled using the earlier training block (table 11). This normalization stays fixed throughout the recording. Each window lies fully inside its assigned block, with gaps at the boundaries. We derive geometric coordinates from a reference block, test their transfer to a later diagnostic block, and reserve the final block for subsequent experiments. Shorter and longer counting windows test sensitivity to temporal resolution. The calculations operate directly on recorded observations.
Table 11: Observation construction and time blocks. Block percentages refer to recording duration.
| Preprocessing | Setting |
|---|---|
| File eligibility | XML, LFP, position; matched shanks, estimated units, position samples |
| Unit quality | Training rate Hz; units per session |
| Retained units | Median 51; range 20–104 |
| Count window | 1 s; sensitivity .5 and 2 s |
| Window stride | .25 s |
| Transform | |
| Scale | Per-unit training 95th percentile, floored at 1 |
| Training block | Initial 35% |
| Reference block | 45–65% |
| Diagnostic block | 65–75% |
| Reserved block | 75–100% |
| Boundary gap | 2 s |
| Shank quality | Invalid shank 13 in ec014.723 omitted |
H.2 COVERING GEOMETRY
For each recording block, let be the set of sampled observation vectors, equipped with the maximum-coordinate metric. A farthest-first traversal constructs a greedy cover with size . The same traversal provides a packing lower bound , giving with centers in . The lower bound counts selected observations separated by more than . We evaluate the full radius grid, nested sample sizes, and time-shift replicates specified in table 12.
The reference block fixes the distance scale. Real and shifted diagnostic observations use identical sample indices, sample sizes, and radii. The main comparison uses the grid radius nearest a prespecified fraction of the reference diameter. Curve bands show session interquartile ranges; control bars span the time-shift controls.
Table 12: Covering protocol, using the observations and chronological blocks in table 11.
| Setting | Value |
|---|---|
| Distance | Maximum absolute coordinate difference |
| Samples per block | Nested 128, 256, 512, 1024, limited by block length |
| Radius grid | 25 logarithmic scales, .03–1 reference diameter |
| Fixed-radius rule | Nearest grid radius to .25 reference diameter |
| Actual fixed radius | .2685 reference diameter |
| Time-shift controls | 19 replicates per block and window |
Table 13: Fixed-radius cover-size comparison over the full cohort. Each session has a smaller cover than its median time-shift control at every window.
| Window | Cover | Reduction |
|---|---|---|
| .5 s | 475 | 11.2% |
| 1 s | 243 | 15.2% |
| 2 s | 170 | 14.4% |
The fixed-resolution comparison shows that recorded population observations admit smaller constructed covers than time-shift controls. The animal and session summaries use the same radius and retain the entire cohort. These are covering statistics for the recorded observations in the specified maximum-coordinate metric.
Computational cost. For sampled observations of units, forming the maximum-coordinate distance matrix costs time and memory. Farthest-first traversal updates the nearest-center distance in time; the same traversal supplies all reported radii. Covariance formation
Table 14: Complete primary-window covering results at the fixed radius. The ratio divides the real greedy-cover size by its median time-shift cover size.
| Session | Units | Samples | Cover | Fixed-Radius Ratio |
|---|---|---|---|---|
| ec012ec.187 | 20 | 419 | 159 | .874 |
| ec013.156 | 56 | 389 | 202 | .957 |
| ec013.198 | 61 | 605 | 357 | .944 |
| ec013.250 | 37 | 721 | 158 | .963 |
| ec013.375 | 38 | 683 | 486 | .970 |
| ec013.406 | 47 | 652 | 413 | .967 |
| ec013.553 | 52 | 981 | 239 | .895 |
| ec013.646 | 37 | 510 | 284 | .959 |
| ec014.123 | 57 | 1024 | 94 | .832 |
| ec014.183 | 104 | 1024 | 380 | .735 |
| ec014.195 | 91 | 1024 | 458 | .798 |
| ec014.215 | 87 | 1024 | 554 | .843 |
| ec014.260 | 59 | 1024 | 339 | .835 |
| ec014.277 | 69 | 1024 | 392 | .800 |
| ec014.723 | 35 | 1024 | 125 | .796 |
| ec015.043 | 48 | 1024 | 127 | .804 |
| ec015.045 | 47 | 1024 | 325 | .819 |
| ec015.047 | 46 | 1024 | 243 | .877 |
| ec016.233 | 52 | 751 | 155 | .657 |
| ec016.269 | 57 | 1024 | 75 | .765 |
| ec016.397 | 51 | 1024 | 195 | .848 |
| ec016.430 | 44 | 1024 | 191 | .923 |
| ec016.448 | 43 | 1024 | 302 | .915 |
| ec016.483 | 40 | 1024 | 119 | .804 |
| ec016.582 | 61 | 1024 | 470 | .902 |
Table 15: Covariance geometry settings. All use the same diagnostic block.
| Analysis | Parameter | Setting |
|---|---|---|
| Covariance geometry | Shift controlBlock bootstrap | 19 replicates; circular offsets 10 s from either endpoint200 replicates; 10 s blocks; 95% intervals |
and eigendecomposition cost time and matrix storage. Time-shift replicates repeat these operations, with shifts preserving each unit's empirical marginal. The sample cap and number of controls are fixed in tables 12 and 15.
H.3 COVARIANCE GEOMETRY
We compute the covariance spectrum and participation-ratio effective dimension in each block. Reference covariance eigenvectors define the projection applied to the later diagnostic block. The number of directions needed to retain a given fraction of variance measures covariance concentration; the covering exponent in equation (13) controls how many representatives are needed to approximate every state at a given accuracy.
The controls independently circularly shift each unit's observation sequence, preserving its marginal distribution and circular autocorrelation while changing alignment between units. The comparison reflects shared temporal modulation and nonstationarity as well as coordination between units. We compare all controls within each session and assess uncertainty by resampling contiguous time blocks. Complete session results and window sensitivity appear in tables 16 and 17.
The reference subspace captures substantial variance in the later block; the covariance summaries retain the complete cohort and window comparisons.
Table 16: Complete primary-window results. Effective dimension and shift reduction refer to the diagnostic block. The 90% rank uses directions from the reference basis.
| Session | Units | Effective Dim. | Shift Reduction (%) | 90% Rank |
|---|---|---|---|---|
| ec012ec.187 | 20 | 9.2 | 23.0 | 14 |
| ec013.156 | 56 | 17.8 | 25.1 | 39 |
| ec013.198 | 61 | 19.8 | 27.9 | 47 |
| ec013.250 | 37 | 19.8 | 10.7 | 27 |
| ec013.375 | 38 | 17.1 | 29.7 | 27 |
| ec013.406 | 47 | 20.8 | 13.1 | 33 |
| ec013.553 | 52 | 26.2 | 13.1 | 36 |
| ec013.646 | 37 | 19.9 | 11.8 | 27 |
| ec014.123 | 57 | 19.0 | 24.3 | 31 |
| ec014.183 | 104 | 26.4 | 42.4 | 63 |
| ec014.195 | 91 | 32.7 | 29.1 | 53 |
| ec014.215 | 87 | 28.6 | 37.0 | 52 |
| ec014.260 | 59 | 28.8 | 21.3 | 42 |
| ec014.277 | 69 | 34.4 | 19.1 | 50 |
| ec014.723 | 35 | 16.4 | 18.6 | 24 |
| ec015.043 | 48 | 18.2 | 26.3 | 31 |
| ec015.045 | 47 | 20.5 | 28.5 | 35 |
| ec015.047 | 46 | 23.9 | 18.9 | 33 |
| ec016.233 | 52 | 17.4 | 25.6 | 32 |
| ec016.269 | 57 | 15.6 | 25.0 | 37 |
| ec016.397 | 51 | 23.7 | 12.9 | 36 |
| ec016.430 | 44 | 23.9 | 8.2 | 30 |
| ec016.448 | 43 | 22.6 | 5.0 | 29 |
| ec016.483 | 40 | 19.2 | 16.7 | 29 |
| ec016.582 | 61 | 30.8 | 17.0 | 43 |
Table 17: Window sensitivity. Entries are session medians in the diagnostic block; reduction is relative to the median shift control. Every eligible session lies below every shift control at each window length.
| Window | Eff. Dim. | Unit Fraction | Reduction |
|---|---|---|---|
| .5 s | 23.76 | 50.33% | 19.27% |
| 1.0 s | 20.50 | 45.77% | 21.33% |
| 2.0 s | 17.58 | 36.47% | 25.04% |
I HC-3 PREDICTION DETAILS
Matched prediction task.
We use the same metadata-selected session panel and preprocessing as section H. Units are partitioned into input queries Q, candidate target queries, and an independent evaluation set V. Nested target budgets share the input set and evaluation units within each seed. Training uses neural observations and unit identities. A cross-attention encoder compresses the input observations into learned tokens, and a query-conditioned predictor estimates target observations. All parameters are trained jointly from scratch. The full design and fixed endpoint are listed in table 18.
Training choices. The reference architecture and 200-epoch endpoint were fixed after preliminary training checks and then shared by every session, target budget, and repetition. The small model reduces depth, width, and learned-token count while retaining the same observation task. These architecture settings are design choices, not quantities selected separately on the final test block. AdamW uses weight decay , moments (.9, .999), and stabilizer ; gradients are clipped to norm 1. Training uses Float32, with TF32 disabled and deterministic PyTorch operations. The loss is the batch mean of the maximum absolute target error. The cosine schedule, chronological split, and fixed final epoch are given in table 18; all remaining initialization and library settings are specified in the archived implementation.
Table 18: HC-3 prediction protocol. Percentages denote within-session chronological blocks or unit partitions. Normalization uses the earlier training portion specified in the geometry protocol. All configurations use the fixed final epoch.
| Design | Value |
|---|---|
| Sessions / paired seeds | 25 / 3 |
| Q / target pool / V | 40%/40%/20% |
| Target pool fractions | 1/8, 1/4, 1/2, 1 |
| Configurations | 300 |
| Training block | 0–45% |
| Past reference block | 45–65% |
| Validation block | 65–75% |
| Test block | 75–100% |
| Window / stride / guard | 1/.25/2 s |
| Hidden width / tokens | 136/48 |
| Encoder / predictor depth | 4/4 |
| Attention heads / FF width | 8/544 |
| Dropout / batch | .05/64 |
| Epochs | 200 |
| Cosine learning rate |
Attention cost. Let , , be the learned-token count, and the hidden width. Per observation and layer, the dense attention and projection operations cost time. Materialized attention matrices require storage for a fixed number of heads, alongside the token activations. Batch size and layer count multiply these costs; the unit-embedding table adds storage linear in the number of recorded units and . The tables specify each architecture and the supplied manifests give the session-dependent query counts.
Prediction score. The prediction score averages the maximum absolute target-observation error across test windows. The constant baseline is the coordinatewise training median on the same target set. Relative gain is one minus the ratio of model error to baseline error. We average seed-level gains within each session, then weight sessions equally. Session-to-session spread is descriptive because recordings within an animal share biological variation. Different budgets evaluate different target sets, each with its own matched baseline.
Table 19: Prediction gain, mean sample standard deviation over repetitions after averaging the same sessions. Each target set uses its own training-median baseline.
| Targets | Prediction Gain |
|---|---|
| 1/2 | 7.0 ± 1.0% |
| Full | 21.0 ± 1.1% |
J LOCAL STATE RECOVERY
Reference state. The ontic-state surrogate is the large encoder's complete post-normalization token state, flattened into a reference vector. For each session and seed, the full-target large model is held fixed. The smaller encoder–predictor learns the same input-to-target task from scratch, with identical input and target queries, preprocessing, training observations, and chronological validation and test blocks. Its training objective uses target observations. After predictive training, the reference states determine the recovery maps and their evaluation. We compare the final small encoder with its exact saved initialization on the same held-out inputs.
Local recovery. For a held-out input, we locate the nearest neighbors of its learned state in the small encoder's training-state library and average their reference states. Distances use Euclidean coordinates, centered by the training mean and divided by a common training root-mean-square scale. This scalar normalization preserves neighbor order. A neighbor's weight is proportional to the exponential of its negative squared distance divided by the squared distance of the furthest selected neighbor, with a numerical floor. At test time, these training neighbors and their distance-based weights directly determine the recovered reference state.
Table 20: Matched prediction models. The common optimization schedule and chronological split are given in table 18. Recovery uses the full target pool, with 25 sessions and 3 paired seeds. Parameter counts include the encoder and predictor.
| Configuration | Small | Reference |
|---|---|---|
| Encoder / predictor depth | 2/2 | 4/4 |
| Hidden width / tokens | 64/16 | 136/48 |
| Attention heads / FF width | 4/256 | 8/544 |
| State coordinates | 1,024 | 6,528 |
| Neighbor candidates | 1, 4, 16, 64 | — |
| Fixed training epoch | 200 | 200 |
| Parameters (M) | ~ .3 | ~ 2.4 |
Selection and cost. The neighborhood grid spans individual neighbors through broader local averages. The count minimizing validation mean squared error is selected separately for the trained and initial representations; ties retain the first count in ascending order. Evaluation uses the fixed final test block. For a library of training states with learned coordinates, a batch of queries requires distance computation. Neighbor selection adds the cost of selecting the smallest distances per query; averaging reference vectors of dimension costs . Batches of 128 bound the distance workspace to entries, in addition to stored learned and reference states. No gradient updates are used to fit this local recovery map.
Recovery score. We score all reference coordinates together using squared reconstruction error divided by the squared error of the training-mean reference state; the reported is one minus this ratio. Both conditions use this same baseline. We first average paired seeds within each session and then weight sessions equally. Seeds change the query partition and the independently trained model pair. Animal groups follow recording metadata; recording-name prefixes can differ from animal identities.
Table 21: Local-recovery gains, mean sample standard deviation over repetitions with the session or animal weights held fixed.
| Aggregation | |
|---|---|
| All sessions | .0239 ± .0118 |
| ec012 | .0622 ± .0700 |
| ec013 | .0479 ± .0169 |
| ec014 | .0038 ± .0145 |
| ec016 | .0233 ± .0276 |
| Animal-equal | .0343 ± .0218 |