Manuscript Offprint
arXiv:2609.11132How Wrong Can a Good Predictor Be? Diverging Updates with Vanishing Predictive KL
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Accurate posterior prediction need not require accurate approximation of Bayesian updates. We prove that an unbounded gap between the update maps can coexist with vanishing predictive KL for every fixed finite in a stationary symmetric Gaussian HMM. Exact Bayesian mixing and an explicit deterministic radial filter act on the same belief coordinates. As , their separation in centered logits in the worst case grows at least linearly in the natural confidence scale , while their categorical vanishes at the same explicit witness. Along stationary HMM trajectories, the expected terminal KL between filtered posteriors also converges to zero at . Typical blocks without switches drive both filters into a common confidence cone, where softmax curvature suppresses their disagreement; a single Gaussian maximal event controls adaptive noise. A sweep with equally spaced Gaussians over illustrates the opposing trends, and binary controls at long horizons compare saturating and nonsaturating recurrences. The result isolates two missing links between internal update gaps and predictive cost: the contribution of separating states to expected loss and decoder sensitivity. Thus even an unbounded internal update gap does not by itself certify predictive failure. The construction is fixed in and does not provide a universal criterion for when compression is harmless or characterize when internal gaps must incur task loss.
1 Introduction
Transformers retain a growing context, whereas state space and recurrent alternatives compress history into a deterministic state of fixed size. Recurrence expressivity and state tracking are therefore active design constraints [36, 34], with formal comparisons also separating simplified selective SSMs from linear attention [10]. But these architectural results do not answer the question at the task level: when does a strict computational mismatch force worse prediction? In a finite HMM, exact Bayes itself occupies only belief coordinates; the issue is whether a different update geometry with a fixed state must pay predictive loss.
Pointwise representability, learnability, and task cost weighted by the distribution are distinct. The predictive cost of a pointwise separation depends on the loss the decoder can see under the evaluation path law, including the loss magnitude on rare paths. Impossibility theorems at the architecture level establish representability gaps in specified models [56, 54], whereas learnability can fail even for representable functions [27]. Neither distinction alone determines this task cost. We study this boundary in a sequential model with finitely many states where both can be calculated.
Our result has two levels. At the level of the update maps, for every fixed finite an explicit moving witness makes the quotient distance in centered logits between exact Bayesian mixing and a radial filter grow as , while their
A PREPRINT
Every fixed finite ;
A Same input, different update maps

Radial
Relative-logit gap grows

softmax
softmax
Predictive KL
Growing margins, common winning state
Same winner alone does not establish KL.
B Shared observations, separate recurrent filters

Stationary symmetric Gaussian HMM
Distinct scalar means; common
softmax
softmax
Fix and emissions before ; simplexes show three states.
Figure 1: Two distinct fixed- separations. (A) At a common moving input, exact and radial mixing have diverging separation in centered logits but vanishing categorical KL. (B) On shared stationary observations from the Gaussian HMM, their separate recurrences have vanishing expected terminal posterior KL at . Both statements fix and emission parameters before ; the schematic does not assert that (A) implies (B).
categorical at that same witness tends to zero. At the level of the path law, with pairwise distinct scalar Gaussian means and slow symmetric switching, the filters consume the same stationary HMM observations and their expected terminal KL between filtered posteriors at also tends to zero. Thus even an unbounded internal separation need not induce a nonvanishing performance gap.
The result at the level of the maps is decoder geometry: both updates become increasingly confident in the same state, so softmax erases a growing logit discrepancy. The theorem under the path law adds a distributional argument. On a block with no latent switch, which occurs with high probability, one maximal event controls all adaptive Gaussian noise weights, radial saturation keeps the approximation in a confidence cone with exact Bayes, and a uniform KL envelope absorbs the remaining paths.
A sweep with equally spaced Gaussians over illustrates the two opposing trends at finite scale: centered states separate while predictive KL shrinks. The binary case is a microscope rather than the theorem's scope: it visualizes the geometry and separates saturation from tanh specifically. The training experiments do not establish transfer to learned models.
We prove that, for fixed , internal separation can diverge while predictive KL vanishes at the same input. We also prove convergence of expected predictive KL under the stationary law as the horizon grows in the limit of rare switching. The proof explains how decoder sensitivity and the contribution of separating states to expected loss control predictive error. Controlled numerical experiments illustrate the two results; simpler recurrences also achieve small KL at the tested short horizons (Table 7). We do not claim uniformity in growing , an impossibility result for a class of architectures, or learnability of the radial rule.
Figure 1 distinguishes the statements at the common input and under the path law.
A PREPRINT
identify computations that specified architectures cannot represent [43, 54], while complementary results show that expressible functions can still be hard to learn [27]. These results determine representation or optimization, not the predictive cost weighted by the distribution of a mismatch. Predictive cost additionally depends on decoder sensitivity and the contribution of the separating states weighted by loss under the evaluation path law. With unbounded KL, vanishing event probability alone does not control this contribution. An expressivity analysis for a specific task for GNNs makes a related diagnosis [35]; our contribution is an explicit sequential counterexample with a proved loss under the path law.
Harmless information loss and internal divergence. Compression that is aware of the task already shows that discarded information can be harmless relative to a downstream predictor family or distortion [16, 15, 26]. We do not optimize a representation or bit rate: the state dimension and prescribed update family are fixed, while their numerical maps depend on q and their distance in centered logits diverges. The generic mathematical shape is not new in isolation. On separable data, gradient descent can send linear predictor norms to infinity while logistic loss tends to zero and the normalized direction converges [62]. Our conjunction is different: two explicit filtering maps diverge at the same centered input, their categorical KL vanishes there, and a second theorem proves predictive convergence under a stationary sequential law.
Approximate Bayesian filtering and finite memory. RNNs can approximate Bayesian filtering statistics on fixed finite horizons and, under additional conditions, uniformly in time [5]. Neural Bayesian Filtering instead learns belief embeddings of fixed length and proves particle consistency over a finite horizon under its stated assumptions [61]. Prediction with short memory gives a different benchmark: an order- Markov predictor attains average KL at most and average error at most [57]. For an n-state HMM, , independently of mixing time. This benchmark concerns distributions of the next observation, whereas our theorem measures categorical filtered posteriors. Our predictor maintains belief coordinates. Streaming projection instead retains a truncated mixture over latent paths with a fixed budget through a deterministic recurrence [17]. The distinction is the maintained object and approximation operation, not recurrence itself; our result couples diverging centered map distance with vanishing categorical KL.
Filter stability and robustness. Classical filter stability asks whether filters with different initial conditions merge while running the correct model [46, 9, 41]. Robustness theory instead perturbs model kernels and controls policy costs [31, 33] or error in the filter kernel and policy performance [14] under the respective assumptions. Control policies with a finite window can also become nearly optimal as the window grows [32]. Our recurrence is neither a differently initialized exact filter nor a sequence of kernels converging to the true one; its pointwise update mismatch grows on the stated witness.
Detection delay and the binary controls. The affine control at the long endpoint is adjacent to quickest change detection. Page introduced the cumulative sum scheme [48]; Lorden introduced a criterion on conditional delay in the worst case and proved asymptotic optimality, Moustakides established exact CUSUM optimality under it, and Pollak studied nearly minimax detection under a different criterion on conditional delay [40, 44, 52]. Pollak's irreversible model with a single change is adjacent to but not identical to our HMM that switches repeatedly. These works calibrate the binary diagnostic but do not imply the fixed-K radial theorem.
Why state space models are the motivating case. The design pattern of a deterministic state spans structured SSMs, linear RNNs, gated linear attention, and recurrent competitors [24, 25, 60, 47, 67, 68, 49, 3, 12]. Selective SSM theory and studies of state tracking show how transition structure, composition, precision, or normalization alter representational capability [45, 59, 7, 64, 58, 38]. They motivate the logical question studied here. We do not prove that any named architecture implements, or fails to implement, either filter in our theorem.
3 Problem Setup: Gaussian HMM with a Fixed Finite State and Radial Filter
Definition 1 (Stationary K-state Gaussian HMM and coupled filters). Fix an integer , pairwise distinct means , and , with so that and . Let be stationary and uniform on , with
Conditional on , let . Write for centering and
A PREPRINT
for the Gaussian score, understood modulo common shifts. For centered logits , define exact transition mixing
where the logarithm is componentwise. Let
and define the radial map
with continuous value and scale at the origin. Starting from , the coupled filters use the same observations:
Their terminal categorical outputs are and . For , is the filtered posterior of given ; approximates that posterior. These outputs precede any additional transition or emission channel.
Define
Fix and set . Constants below may depend on the fixed , the full mean vector, , and . Appendix B and Table 4 translate these centered coordinates into a geometric example with three states.
4 Main Result and Proof Mechanism
Definition 2 (Centered separation between the update maps). For centered , define the quotient distance
It ignores common logit shifts, which do not change a categorical prediction.
Theorem 3 (Diverging updates with vanishing predictive KL). Fix any finite , let , and set
Then
Consequently, for all sufficiently small , with the threshold allowed to depend on fixed ,
Nevertheless, at the same witness,
Theorem 4 (Predictive convergence with a fixed finite state). Setting. For every fixed finite , consider Definition 1 with pairwise distinct means, , and . The two filters share the stationary HMM observation path and are evaluated at .
Conclusion.
The expectation is under the stationary HMM path law.
Logical separation. Theorem 3 is a statement about the maps in the worst case, with a matched decoder statement: the internal distance diverges at an explicit moving witness, yet the two decoded predictions agree there. Theorem 4 is a distributional statement: predictive agreement also holds in expectation along trajectories generated by the stationary HMM. The first rules out the explanation that the update maps merely become uniformly close; the second shows that the phenomenon is not confined to one logit vector chosen by hand.
A PREPRINT
Table 1: Summary of results. The first three rows are mathematical results. The fourth is an illustration at finite scale, and the last row records exclusions rather than negative results.
| Object | Quantifier | Status |
|---|---|---|
| Centered map distance | every fixed finite | proved |
| Categorical KL at the same input | every fixed finite | proved |
| Stationary terminal KL | every fixed finite | proved |
| Equally spaced Gaussian illustration | measured; not used in the proof | |
| Growing or architecture class | ; named models | not claimed |
Mechanism. At the explicit witness, both maps place the same coordinate ahead by a margin proportional to , so categorical softmax curvature suppresses their growing internal discrepancy. Along HMM paths, with probability tending to one the logarithmic window contains no latent switch. Conditional on a fixed state, the centered score decomposes into a deterministic direction and one scalar Gaussian noise direction. Because every radial mixing coefficient lies in , Abel summation controls the full adaptive noise process by one maximum of a Gaussian partial sum. For , a radial barrier keeps the state at order and a matching lower bound drives every margin of the true state over a wrong state to the same order after an initial transient. Exact Bayes has an even larger margin. The separate binary argument supplies a common logarithmic margin. The curvature bound in the common confidence cone makes the KL vanish on this event, while a envelope absorbs switch paths and failures of the maximal event. Appendix D explains these proof steps and the dependence of the constants on .
Scope. Both results fix before taking . The quantitative witness moves outward with ; it does not imply a gap bounded away from zero on every fixed bounded input. Neither theorem is uniform in growing or nearly colliding means, and neither is an impossibility theorem for an entire SSM architecture class or a claim about what training by gradient descent will learn. Table 1 separates proved statements, evidence at finite scale, and exclusions.
5 Evidence at Finite Scale for Fixed K
Theorem 4 is asymptotic and does not specify a universal finite- onset. We therefore use a deliberately simple numerical illustration that matches its Gaussian assumptions. For , the state means are equally spaced, centered, and rescaled to minimum pairwise distance one. We evaluate with 4,096 paired stationary paths per cell. Exact Bayes and the radial filter consume the same observations. The two displayed quantities are the centered distance between terminal states and the categorical after the observation.
Figure 2 shows increasing sampled state distance and decreasing categorical KL across all three displayed values of : internal distance grows with the scale of rare switching while predictive KL falls. The curves are not used to establish the theorem or to claim a uniform onset in . Appendix F gives the estimands, coupling, uncertainty calculation, and exact summary statistics.
6 Binary Specialization and Geometry in the Finite Regime
For , translating the two means by their midpoint reduces the model to without changing likelihood ratios. Centered logits then collapse to one scalar . Exact mixing becomes and the radial witness becomes the tanh clamp below. Theorem 3 already supplies an explicit, diverging separation at the level of the maps for every fixed . This binary slice instead serves as a visualization in the finite regime and isolates why an affine map cannot represent exact mixing; the stationary fixed- theorem does not depend on the affine obstruction proved here.
Proposition 5 (Geometry of exact mixing). For every the exact mixing map of Definition 1 satisfies:
(i) Saturation: for every finite .
(ii) Contraction: contracts logit perturbations with global factor at most , attained at the midpoint.
(iii) Not affine: with and
every affine map satisfies .
A PREPRINT

Equal-Gaussian K=2,4,8; 4096 paths per cell; 95% bootstrap intervals. . Finite illustration, not a trajectory-divergence proof.
10 seeds - SE ≤ 3.1%
Figure 2: Separation at finite scale and decoder saturation. Left pair: centered distance between terminal states grows while categorical falls for Gaussian HMMs with (4,096 paired paths per cell; 95% bootstrap intervals). Right pair: KL of the binary controls over ten seeds at and (relative SE ), followed by an analytic illustration with a logistic decoder, not sampled trajectories. Nearly equal endpoints are displaced for legibility. Table 7 and Appendix F give values, clipping conventions, and estimation details. Measurements illustrate, rather than prove, the asymptotic theorem.
Proof. See Appendix E.
Remark 6 (The obstruction does not give a lower bound). Part (iii) of Proposition 5 is adverse evidence for a naive pointwise argument. Direct expansion gives as . Thus the obstruction is strict for every but its quantitative margin is not bounded away from zero along the family with rare switching, so it cannot yield a nonvanishing asymptotic predictive lower bound.
Moreover, predictive loss is evaluated after the logistic decoder under the HMM path law, not in the logit norm in the worst case. The approximate map preserves the exact saturation scale and midpoint slope, and the shared envelope gives global control without requiring uniform closeness.
The exact, radial, and affine transition geometry is shown in Figure 3 in the appendix.
7 Binary Controls and Learned Transfer
The experiment with learned models asks whether recurrences faithful to the architecture recover the proved mechanism across six switch probabilities. When trained end to end, the selective SSM arm closes at least half the reference gap at four of six q values, below the prespecified criterion of five out of six; these results do not establish transfer to learned models. Under distillation, every nonreference comparison arm meets the threshold of half closure at all six values.
Closure is defined as , so the constrained scalar S6 arm sits at 0, the analytic tanh recurrence sits at 1, and values above 1 mean the learned arm beats the proved mechanism. Here every architecture loss is , evaluated after converting logits to float32 probabilities and clipping both arguments to , where . . This differs from the metric for the scalar controls in Table 7, which uses clipping. Table 2 gives the breakdown at the horizon matched to the theorem .
The learned arm passes at the four smaller tested values, but this empirical split does not identify the theorem's asymptotic onset. At the reference gap is only , so closure is scale sensitive and seed dispersion is widest at the two largest . Even so, the two points below half closure lie 5.4 and 2.8 standard errors below the threshold, whereas the four passing points lie at least 26 standard errors above it using the unrounded results across seeds. The outcome of four out of six is therefore not explained by marginal uncertainty. Under distillation, the closure computed from the ratio of mean losses ranges from 1.16 to 3.97 and every nonreference comparison arm passes at all six values. Table 2 instead reports the mean of closure ratios for each seed.
Generalization at long horizons separates the learned architectures. The secondary endpoint on long paths evaluates the same trained models on sequences of length , up to 2048 steps, against a training horizon matched to the theorem that is at most eight. Here the ranking inverts. The analytic tanh recurrence is horizon stable, its predictive KL staying between and at the two tested switch probabilities, while the scalar S6 arm degrades to . The GRU inherits that stability, passing four of six q when trained end to end and all six under distillation. The official Mamba blocks do not: when trained end to end, two stacked blocks pass only two of six, and a single block fails at every q, with a worst per-q mean closure at long horizons of at when trained end to end.
A PREPRINT
Table 2: Closure per when trained end to end, mean standard error over ten evaluation seeds. Closure places the constrained scalar S6 arm at 0 and the analytic tanh recurrence at 1, so the arm faithful to the architecture meets the criterion of half closure only at , the four empirically passing points. The asymptotic theorem supplies no finite- cutoff.
| Mamba | GRU | Finite window | |
|---|---|---|---|
| Below empirical half closure | |||
| Above empirical half closure | |||
Under distillation, both Mamba depths pass zero of six at this long endpoint. We therefore do not claim that a canonical selective SSM acquires the mechanism. Matching the exact filter at the theorem's horizon does not ensure stability at longer horizons.
Scalar controls test a simpler explanation. A naive recurrence could also achieve low loss at the horizon matched to the theorem, making the exhibited tanh geometry unnecessary. We therefore measured three controls against exact Bayes with the same generator (, 200,000 paths per point at , 20,000 at , split across ten fixed seeds). They are a plain affine recurrence with no saturation, the class considered by the pointwise lower bound; a hard clip of that map at ; and the identity accumulator. The third panel of Figure 2 shows the endpoint pattern; Appendix F, Table 7, reports the exact cells.
The controls support three conclusions. First, both saturating recurrences are horizon stable at the two tested switch probabilities, while the affine and identity controls degrade at the long endpoint. Their relative ordering is not uniform: the hard clip has lower predictive KL at , whereas the tanh clamp has lower predictive KL at . These two points do not identify a crossover threshold. The theorem should therefore be read as proving one saturating instance, not the optimal one. Second, the endpoint matched to the theorem does not establish a separation among scalar recurrence classes; the binary empirical separation among these scalar controls occurs at the long endpoint and is measured, not proved. At that endpoint the affine map reaches 5.53 nats at , while both saturating controls remain stable. Third, the closure scale of Table 2 anchors 1 to one saturating witness among several; the readings from the learned arm remain meaningful as calibrated distances to an analytic reference with a guarantee at the stated logarithmic horizon. Its stability at longer horizons is measured here, not established by that theorem.
Hyperparameters were selected by mean validation loss over three tuning seeds before confirmation, with ties broken deterministically and incomplete settings excluded. Tuning and confirmation seeds are disjoint, all final evaluation seeds are included, and the supplement gives the procedure for model selection and implementation details.
8 Limitations
Both theorems fix finite before taking . Their constants can deteriorate with and with nearly colliding means; no rate uniform in is proved. The quantitative witness moves with , so it gives neither a gap on every bounded input nor a lower bound on the state dimension. The stationary theorem further assumes pairwise distinct scalar Gaussian means, symmetric switching, stationary initialization, and the stated logarithmic horizon.
The sweep with equally spaced Gaussians is an illustration at finite scale, not evidence for a uniform onset rate. The comparison concerns two explicit maps, not every SSM, and does not show that training learns the radial rule. Binary controls are diagnostics in the finite regime: hard clipping can beat tanh, and the training experiments do not establish transfer to learned models. The result is a counterexample, not a universal criterion for pruning, quantization, distillation, low rank adaptation, or other compression. The converse question, when an internal mismatch must incur nonvanishing task loss, remains open.
A PREPRINT
9 Conclusion
For every fixed finite latent state space, exact Bayesian mixing and our radial filter can diverge linearly in centered logits at an explicit witness while their decoded categorical KL vanishes. Predictive agreement also holds in stationary expectation in the symmetric scalar Gaussian HMM, so it is neither explained by uniform internal approximation nor confined to one input chosen by hand. A controlled sweep with equally spaced Gaussians over illustrates both trends at finite scale, while binary controls compare behavior at short and long horizons. At the common input witness, softmax suppresses a growing map discrepancy; on typical HMM paths, a shared confidence cone suppresses predictive error. The result therefore identifies two missing links from internal separation to predictive loss: its contribution weighted by loss under the evaluation path law, and the decoder's sensitivity there. It does not show that this failure of gap transfer is prevalent in learned models or provide a converse criterion; uniform growing-K rates and extensions to learned sequence models remain open.
Reproducibility statement
The assumptions and complete paper proofs for the stated results are given in the appendices. Appendix F specifies the empirical estimands, aggregation, model configurations, hyperparameters, seeds, and clipping conventions. The anonymous supplementary package contains the simulation code and numerical results used for the reported experiments.
References
[1] Eric Alsmann, Lowejatan Noori, and Martin Lange. On the expressiveness of state space models via temporal logics. In International Conference on Learning Representations, 2026.
[2] Simran Arora, Sabri Eyuboglu, Michael Zhang, Aman Timalsina, Silas Alberti, Dylan Zinsley, James Zou, Atri Rudra, and Christopher Ré. Simple linear attention language models balance the recall-throughput tradeoff. arXiv preprint arXiv:2402.18668, 2024.
[3] Maximilian Beck, Korbinian Pöppel, Markus Spanring, Andreas Auer, Oleksandra Prudnikova, Michael Kopp, Günter Klambauer, Johannes Brandstetter, and Sepp Hochreiter. xLSTM: Extended long short-term memory. In Advances in Neural Information Processing Systems, 2024. arXiv:2405.04517.
[4] Philipp Becker, Niklas Freymuth, and Gerhard Neumann. KalMamba: Towards efficient probabilistic state space models for RL under uncertainty. arXiv preprint arXiv:2406.15131, 2024.
[5] Adrian N. Bishop and Edwin V. Bonilla. Recurrent neural networks and universal approximation of bayesian filters. In Proceedings of the 26th International Conference on Artificial Intelligence and Statistics, volume 206 of Proceedings of Machine Learning Research, pp. 6956–6967. PMLR, 2023. URL https://proceedings.mlr.press/v206/bishop23a.html.
[6] David Blackwell. The entropy of functions of finite-state markov chains. In Transactions of the First Prague Conference on Information Theory, Statistical Decision Functions, Random Processes, pp. 13–20. Publishing House of the Czechoslovak Academy of Sciences, 1957.
[7] Marco Bondaschi, Nived Rajaraman, Xiuying Wei, Kannan Ramchandran, Razvan Pascanu, Caglar Gulcehre, Michael Gastpar, and Ashok Vardhan Makkuva. From markov to laplace: How mamba in-context learns markov chains, 2025. arXiv:2502.10178.
[8] Loïc Cabannes, Pierre-Emmanuel Mazaré, Gergely Szilvasy, Matthijs Douze, Maria Lomeli, Ilze Amanda Auzina, Justin Carpentier, Gabriel Synnaeve, and Hervé Jégou. Sparse delta memory: Scaling the state of linear RNNs through sparsity. arXiv preprint arXiv:2607.07386, 2026.
[9] Pavel Chigansky, Robert Liptser, and Ramon van Handel. Intrinsic methods in filter stability. In The Oxford Handbook of Nonlinear Filtering, pp. 319–351. Oxford University Press, 2011.
[10] Edo Cohen-Karlik, Itamar Zimerman, Liane Galanti, Ido Andrew Atad, Amir Globerson, and Lior Wolf. On the expressivity of selective state-space layers: A multivariate polynomial approach. In Proceedings of the 29th International Conference on Artificial Intelligence and Statistics, volume 300 of Proceedings of Machine Learning Research, pp. 136–144. PMLR, 2026. URL https://proceedings.mlr.press/v300/cohen-karlik26a.html.
[11] Adrien Corenflos, James Thornton, George Deligiannidis, and Arnaud Doucet. Differentiable particle filtering via entropy-regularized optimal transport. In International Conference on Machine Learning, 2021. arXiv:2102.07850.
[12] Tri Dao and Albert Gu. Transformers are SSMs: Generalized models and efficient algorithms through structured state space duality. In International Conference on Machine Learning, 2024. arXiv:2405.21060.
A PREPRINT
[13] Grégoire Delétang, Anian Ruoss, Jordi Grau-Moya, Tim Genewein, Li Kevin Wenliang, Elliot Catt, Chris Cundy, Marcus Hutter, Shane Legg, Joel Veness, and Pedro A. Ortega. Neural networks and the chomsky hierarchy. In International Conference on Learning Representations, 2023. arXiv:2207.02098.
[14] Yunus Emre Demirci, Ali Devran Kara, and Serdar Yüksel. Sensitivity of filter kernels and robustness bounds to transition and measurement kernel perturbations in partially observable stochastic control. arXiv preprint arXiv:2508.10658, 2025.
[15] Yann Dubois, Douwe Kiela, David J. Schwab, and Ramakrishna Vedantam. Learning optimal representations with the decodable information bottleneck. In Advances in Neural Information Processing Systems, 2020. arXiv:2009.12789.
[16] Yann Dubois, Benjamin Bloem-Reddy, Karen Ullrich, and Chris J. Maddison. Lossy compression for lossless prediction. In Advances in Neural Information Processing Systems, 2021. arXiv:2106.10800.
[17] Gerardo Duran-Martin. A predictive view on streaming hidden markov models, 2026. arXiv:2604.09208.
[18] Meir Feder and Yury Polyanskiy. Sequential prediction under log-loss and misspecification. arXiv preprint arXiv:2102.00050, 2021.
[19] Daniel Y. Fu, Tri Dao, Khaled K. Saab, Armin W. Thomas, Atri Rudra, and Christopher Ré. Hungry hungry hippos: Towards language modeling with state space models. In International Conference on Learning Representations, 2023. arXiv:2212.14052.
[20] Aydin Ghojogh, M. Hadi Sepanj, and Benyamin Ghojogh. On the relation of state space models and hidden markov models. arXiv preprint arXiv:2601.13357, 2026.
[21] Tingnan Gong, Junghwan Lee, Xiuyuan Cheng, and Yao Xie. Neural network-based CUSUM for online change-point detection. arXiv preprint arXiv:2210.17312, 2022.
[22] Riccardo Grazzi, Julien Siems, Arber Zela, Jörg K. H. Franke, Frank Hutter, and Massimiliano Pontil. Unlocking state-tracking in linear RNNs through negative eigenvalues. arXiv preprint arXiv:2411.12537, 2024.
[23] Albert Gu and Tri Dao. Mamba: Linear-time sequence modeling with selective state spaces. In First Conference on Language Modeling, 2024. arXiv:2312.00752.
[24] Albert Gu, Tri Dao, Stefano Ermon, Atri Rudra, and Christopher Ré. HiPPO: Recurrent memory with optimal polynomial projections. In Advances in Neural Information Processing Systems, 2020. arXiv:2008.07669.
[25] Albert Gu, Karan Goel, and Christopher Ré. Efficiently modeling long sequences with structured state spaces. In International Conference on Learning Representations, 2022. arXiv:2111.00396.
[26] Hassan Hafez-Kolahi, Behrad Moniri, Shohreh Kasaei, and Mahdieh Soleymani Baghshah. Rate-distortion analysis of minimum excess risk in bayesian learning. In International Conference on Machine Learning, 2021. arXiv:2105.04180.
[27] Michael Hahn and Mark Rofin. Why are sensitive functions hard for transformers? In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics, 2024. arXiv:2402.09963.
[28] Ramin Hasani, Mathias Lechner, Tsun-Hsuan Wang, Makram Chahine, Alexander Amini, and Daniela Rus. Liquid structural state-space models. In International Conference on Learning Representations, 2023. arXiv:2209.12951.
[29] Vishesh Jain, Frederic Koehler, Jingbo Liu, and Elchanan Mossel. Accuracy-memory tradeoffs and phase transitions in belief propagation. arXiv preprint arXiv:1905.10031, 2019.
[30] Sham M. Kakade, Akshay Krishnamurthy, Gaurav Mahajan, and Cyril Zhang. Learning hidden markov models using conditional samples. arXiv preprint arXiv:2302.14753, 2023.
[31] Ali Devran Kara and Serdar Yüksel. Robustness to incorrect system models in stochastic control. SIAM Journal on Control and Optimization, 2020. arXiv:1803.06046.
[32] Ali Devran Kara and Serdar Yüksel. Near optimality of finite memory feedback policies in partially observed markov decision processes. Journal of Machine Learning Research, 23(11):1–46, 2022.
[33] Ali Devran Kara, Maxim Raginsky, and Serdar Yüksel. Robustness to incorrect models and data-driven learning in average-cost optimal stochastic control. Automatica, 2022. arXiv:2003.05769.
[34] Arjun Karuvally, Franz Nowak, T. Anderson Keller, Carmen Amo Alonso, Terrence J. Sejnowski, and Hava T. Siegelmann. Bridging expressivity and scalability with adaptive unitary SSMs. arXiv preprint arXiv:2507.05238, 2025.
[35] Niklas Kemper, Tom Wollschläger, and Stephan Günnemann. What expressivity theory misses: Message passing complexity for GNNs. In Advances in Neural Information Processing Systems, 2025. arXiv:2509.01254.
A PREPRINT
[36] Aakash Lahoti, Kevin Y. Li, Berlin Chen, Caitlin Wang, Aviv Bick, J. Zico Kolter, Tri Dao, and Albert Gu. Mamba-3: Improved sequence modeling using state space principles. In International Conference on Learning Representations, 2026. arXiv:2603.15569.
[37] François Le Gland and Nadia Oudjane. Stability and uniform approximation of nonlinear filters using the hilbert metric and application to particle filters. The Annals of Applied Probability, 14(1), 2004. doi: 10.1214/aoap/1075828050.
[38] Jiaoda Li and Ryan Cotterell. Characterizing the expressivity of fixed-precision transformer language models. arXiv preprint arXiv:2505.23623, 2025.
[39] Marten Lienen, Abdullah Saydemir, and Stephan Günnemann. UnHiPPO: Uncertainty-aware initialization for state space models. arXiv preprint arXiv:2506.05065, 2025.
[40] G. Lorden. Procedures for reacting to a change in distribution. The Annals of Mathematical Statistics, 42(6), 1971. doi: 10.1214/aoms/1177693055.
[41] Curtis McDonald and Serdar Yüksel. Exponential filter stability via dobrushin's coefficient. Electronic Communications in Probability, 2020. arXiv:1910.08463.
[42] Arian Mehrfard, Bharanidhar Duraisamy, Stefan Haag, Florian Geiss, and Mirko Mählisch. Adaptive learned state estimation based on KalmanNet. arXiv preprint arXiv:2604.02441, 2026.
[43] William Merrill, Jackson Petty, and Ashish Sabharwal. The illusion of state in state-space models. In International Conference on Machine Learning, 2024.
[44] George V. Moustakides. Optimal stopping times for detecting changes in distributions. The Annals of Statistics, 14(4), 1986. doi: 10.1214/aos/1176350164.
[45] Nicola Muca Cirone, Antonio Orvieto, Benjamin Walker, Cristopher Salvi, and Terry Lyons. Theoretical foundations of deep selective state-space models. In Advances in Neural Information Processing Systems, 2024.
[46] Daniel Ocone and Etienne Pardoux. Asymptotic stability of the optimal filter with respect to its initial condition. SIAM Journal on Control and Optimization, 34(1):226–243, 1996. doi: 10.1137/S0363012993256617.
[47] Antonio Orvieto, Samuel L. Smith, Albert Gu, Anushan Fernando, Caglar Gulcehre, Razvan Pascanu, and Soham De. Resurrecting recurrent neural networks for long sequences. In International Conference on Machine Learning, 2023. arXiv:2303.06349.
[48] E. S. Page. Continuous inspection schemes. Biometrika, 41(1-2):100–115, 1954. doi: 10.1093/biomet/41.1-2.100.
[49] Bo Peng, Eric Alcaide, Quentin Anthony, Alon Albalak, Samuel Arcadinho, Stella Biderman, Huanqi Cao, Xin Cheng, Michael Chung, Xingjian Du, Matteo Grella, Kranthi Kiran GV, Xuzheng He, Haowen Hou, Jiaju Lin, Przemysław Kazienko, Jan Kocoń, Jiaming Kong, Bartłomiej Koptyra, Hayden Lau, Krishna Sri Ipsit Mantri, Ferdinand Mom, Atsushi Saito, Guangyu Song, Xiangru Tang, Bolun Wang, Johan S. Wind, Stanisław Woźniak, Ruichong Zhang, Zhenyuan Zhang, Qihang Zhao, Peng Zhou, Qinghua Zhou, Jian Zhu, and Rui-Jie Zhu. RWKV: Reinventing RNNs for the transformer era. arXiv preprint arXiv:2305.13048, 2023.
[50] Liangzu Peng, Aditya Chattopadhyay, Luca Zancato, Elvis Nunez, Wei Xia, and Stefano Soatto. Gated KalmaNet: A fading memory layer through test-time ridge regression. arXiv preprint arXiv:2511.21016, 2025.
[51] Michael Poli, Stefano Massaroli, Eric Nguyen, Daniel Y. Fu, Tri Dao, Stephen Baccus, Yoshua Bengio, Stefano Ermon, and Christopher Ré. Hyena hierarchy: Towards larger convolutional language models. In International Conference on Machine Learning, 2023. arXiv:2302.10866.
[52] Moshe Pollak. Optimal detection of a change in distribution. The Annals of Statistics, 13(1), 1985. doi:10.1214/aos/1176346587.
[53] Lawrence R. Rabiner. A tutorial on hidden markov models and selected applications in speech recognition. Proceedings of the IEEE, 77(2):257–286, 1989.
[54] Yash Sarrof, Yana Veitsman, and Michael Hahn. The expressive capacity of state space models: A formal language perspective. In Advances in Neural Information Processing Systems, 2024.
[55] Vaisakh Shaj, Cameron Barker, Aidan Scannell, Andras Szecsenyi, Elliot J. Crowley, and Amos Storkey. Kalman linear attention: Parallel bayesian filtering for efficient language modelling and state tracking. In International Conference on Machine Learning, 2026.
[56] Mehran Shakerinava, Behnoush Khavari, Siamak Ravanbakhsh, and Sarath Chandar. The expressive limits of diagonal ssms for state-tracking. In International Conference on Learning Representations, 2026.
[57] Vatsal Sharan, Sham Kakade, Percy Liang, and Gregory Valiant. Prediction with a short memory, 2018. arXiv:1612.02526.
A PREPRINT
[58] Julien Siems, Timur Carstensen, Arber Zela, Frank Hutter, Massimiliano Pontil, and Riccardo Grazzi. DeltaProduct: Improving state-tracking in linear RNNs via householder products. arXiv preprint arXiv:2502.10297, 2025.
[59] Julien Siems, Riccardo Grazzi, Korbinian Pöppel, Kirill Kalinin, Hitesh Ballani, and Babak Rahmani. Learning state-tracking from code using linear rnns. In International Conference on Learning Representations, 2026.
[60] Jimmy T.H. Smith, Andrew Warrington, and Scott W. Linderman. Simplified state space layers for sequence modeling. In International Conference on Learning Representations, 2023. arXiv:2208.04933.
[61] Christopher Solinas, Radovan Haluška, David Sychrovský, Finbarr Timbers, Nolan Bard, Michael Buro, Martin Schmid, Nathan R. Sturtevant, and Michael Bowling. Neural bayesian filtering, 2025. arXiv:2510.03614.
[62] Daniel Soudry, Elad Hoffer, Mor Shpigel Nacson, and Nathan Srebro. The implicit bias of gradient descent on separable data. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id=r1q7n9gAb.
[63] Alex Tang, M. Emrullah Ildiz, Batin Kurt, Samet Oymak, and Necmiye Ozay. On the generalization properties of selective state-space models for filtering tasks for unknown systems. arXiv preprint arXiv:2604.23818, 2026.
[64] Aleksandar Terzić, Nicolas Menet, Michael Hersche, Thomas Hofmann, and Abbas Rahimi. Structured sparse transition matrices to enable state tracking in state-space models. In Advances in Neural Information Processing Systems, 2025. arXiv:2509.22284.
[65] Benjamin Walker and Terry Lyons. Chess-world-model: A 10M-game benchmark for exact state tracking from chess move sequences. arXiv preprint arXiv:2605.30100, 2026.
[66] Geoffrey Wolfer and Aryeh Kontorovich. Estimating the mixing time of ergodic markov chains. arXiv preprint arXiv:1902.01224, 2019.
[67] Songlin Yang, Bailin Wang, Yikang Shen, Rameswar Panda, and Yoon Kim. Gated linear attention transformers with hardware-efficient training. In International Conference on Machine Learning, 2024. arXiv:2312.06635.
[68] Songlin Yang, Bailin Wang, Yu Zhang, Yikang Shen, and Yoon Kim. Parallelizing linear transformers with the delta rule over sequence length. In Advances in Neural Information Processing Systems, 2024. arXiv:2406.06484.
[69] Di Zhang and Jiaqi Xing. Bayesian optimality of in-context learning with selective state spaces, 2026. arXiv:2602.17744.
A PREPRINT
A Open Affine Control Lower Bound
This appendix concerns a different question from Theorem 4: whether the nonsaturating binary affine control has a nonvanishing lower bound at the much longer endpoint . The section on learned models establishes that separation only by measurement; the final analytic step for the joint event below remains open. The mechanism is sluggishness: after a latent switch, the nonsaturating affine recurrence carries an unclamped state near its fixed point , with , and needs steps to change sign, while exact Bayes recovers on a shorter timescale for building confidence. Simulation localizes the cost accordingly: the fraction on the wrong side relative to the truth is between 0.18 and 0.20 across every tested. The subset on which Exact Bayes is confident is reported separately below. Disagreement with the exact filter was not measured. Table 3 separates the proved ingredients from the remaining step for the terminal joint event. For the concentration calculation, the centered oriented evidence has variance proxy , and at horizon we choose the deterministic prefix budget .
Table 3: The lower bound per step, step by step. Every deterministic and probabilistic ingredient is proved; the banded final row is the one step still open, and the separation at long horizons is not claimed without it.
| Step | Statement | Status |
|---|---|---|
| Deterministic core | ||
| Cost of a step on the wrong side | a confident exact predictive against a model on the wrong side costs nats | proved |
| Affine state | $h_{t} = a^{t}h_{0} + \sum_{i | proved |
| Summation by parts | gives weighted sum | proved |
| Combining the bounds | no crossing by step , and that step costs | conditional on the margin |
| Probabilistic tail | ||
| Gaussian sub-GaussianityPrefix tail on a block | a centered real Gaussian is sub-Gaussian with constant its variance on a block with fixed latent signs, some prefix exceeds with measure at most | proved hereproved, discharges the tail |
| Terminal joint event | uniform probability that the terminal step is on the wrong side while exact Bayes is confident | open |
With and , the charge from the prefix tail is . Instantiating the affine recurrence at and reduces the condition for no crossing to
Writing and taking gives the boundary equation , whose unique positive root is . Hence , and stationarity gives limiting mass of the run age . Both constants are analytic, independent of , and carry no sampling error. The latter is close to the measured fraction on the wrong side relative to the truth, 0.18 to 0.20 across to under the convention after mixing of Table 2; the bound from summation by parts loses a factor of two, so the analytic constant need not match the observed fraction.
What the open step actually requires. The estimand at the long endpoint is the predictive KL at the final step, so no integration along a trajectory is needed: it suffices to lower bound, uniformly in , the probability that the terminal step is a step on the wrong side, since the cost per step above then gives . Stationarity supplies that bridge exactly. Writing for the age of the current latent run, memorylessness gives , hence , which is the 0.161 already reported. What remains open is therefore a uniform bound on the joint event that the run is young enough for the affine state not to have crossed and old enough for the exact filter to be confident, not an integration.
Why a stepwise union bound is insufficient. Charging the worst case at every step forces the tolerance per step to grow like , shrinking the guaranteed horizon before crossing to and making the resulting probability of the switch window tend to zero. This decay conflicts with the measured nearly constant fraction on the wrong side. Controlling the partial sum instead preserves a constant probability of the switch window.
A PREPRINT
B Geometry of Centered Logits and an Example with Three States
This section gives a geometric reading of Definition 1. It is not an additional assumption and is not used as a substitute for the proof. Its purpose is to make clear what the state dimension, centering operation, and radial nonlinearity mean when .
B.1 What counts
The integer counts latent modes, not observations, layers, or time steps. A machine with normal, overheated, and failed modes has even if it is monitored for a million steps. At time , a filter assigns a probability vector
The vector has entries but only degrees of freedom because its entries sum to one. Logits make the same redundancy explicit: for every scalar ,
Thus and represent the same belief. Centering chooses one representative from each equivalence class,
The meaningful filter state therefore lies in the -dimensional hyperplane orthogonal to . Pairwise log odds are coordinates on this quotient space. This is why every mismatch in Definition 2 is stated through pairwise differences rather than raw logits.
It is useful to keep two scale parameters separate. The state count fixes the dimension of the belief geometry. The quantity
is a confidence scale determined by the switch probability. For fixed , rare switching means and hence . The theorem takes this limit after fixing ; it does not let the number of modes grow with rarity.
B.2 Direction records preference; radius records confidence
Within the centered hyperplane, regard as an arrow. Its direction records the pattern of relative preferences among states. Its length records how strongly the filter prefers that pattern. Our convention makes this length agree with the absolute log odds in the binary specialization.
For a concrete belief, take
State 0 leads state 1, which leads state 2. If a radial operation halves the arrow, it produces and probabilities approximately . The ranking and all ratios between pairwise gaps are unchanged, but the confidence is lower. This example illustrates the geometry only; the actual radial factor is chosen by and by the current radius.
More precisely, the radial transition can be written
It preserves the direction of every nonzero centered state during the transition mixing step and changes only its radius. It is not an orthogonal projection: there is no fixed subspace onto which the state is dropped, and the multiplier depends nonlinearly on the current radius. Near the origin, ; far from the origin, its radius saturates below . The next observation then adds the centered score , which can change both direction and length. A trajectory can therefore turn many times even though each isolated radial mixing step preserves direction.
A PREPRINT
Table 4: Geometric dictionary for the fixed- result. Observation scores are added after the transition map and may rotate the state.
| Object | Operational meaning |
|---|---|
| Number of possible hidden modes; the centered belief state has dimension . | |
| and | Switch rarity and its associated confidence scale; grows as switches become rarer. |
| Logit state after removing the common offset that does not affect prediction. | |
| Overall confidence magnitude, not a state count and not a time horizon. | |
| Nonlinear confidence cap that preserves centered direction during transition mixing; it is not a linear projection. |
B.3 What Exact Bayes does differently
Exact transition mixing acts on probabilities before returning to centered logits. It adjusts the coordinates according to the full categorical mixture , not through one shared radial multiplier. Except in special directions, it need not preserve the centered arrow's direction. The radial filter deliberately discards this geometry specific to each coordinate and retains only a common confidence contraction followed by the same observation score.
The two main theorems test different consequences of that difference. Theorem 3 selects an explicit moving logit and proves that the exact and radial maps separate by order in centered coordinates. This rules out the explanation that the two update maps merely converge to one another. Theorem 4 then couples both filters to the same stationary observation path and proves that their decoded predictive distributions nevertheless converge in expected KL at the logarithmic horizon.
The apparent paradox is resolved by the softmax decoder. A centered displacement is expensive near a decision boundary, where probabilities are sensitive to logits. It can be cheap deep inside a shared confidence cone, where both filters put almost all mass on the same state. In the example with three states, moving from to is a large internal change, yet both decoded vectors are overwhelmingly concentrated on state 0. The proof formalizes precisely this regime inside the common cone rather than asserting that every large logit difference is harmless.
B.4 A dictionary for one step
The following dictionary separates objects that are easy to conflate.
C Proof Roadmap for Fixed K
This section is a reading guide to Appendix E. The quantitative theorem at the level of the maps and the stationary theorem under the path law share an endpoint set by softmax curvature but answer different questions. The first follows from an explicit centered witness and direct asymptotics. The second has a probabilistic spine and two recovery arguments specific to the dimension.
Dependency order. Theorem 3 first compares the exact and radial gaps for the chosen pair at , then invokes the curvature lemma for the common cone. For Theorem 4 and , Lemma 8 and the Gaussian maximal event feed the radial barriers and Lemma 13; separately, the calculation over path mixtures yields Lemma 16. These two margins meet only in Lemma 19, with the deterministic envelope controlling the complement. The binary branch replaces the radial barrier step with common scalar recovery and then rejoins the same curvature and envelope argument.
C.1 Proof outline
Both filters start in the same centered belief coordinates and consume the same observations. The proof under the path law first conditions on a constant latent block. It then shows that exact Bayes and the radial recurrence identify the true state with diverging margins. A deterministic lemma on the categorical KL converts that common confidence cone into an exponentially small loss on the good event, while a envelope controls every remaining path.
A PREPRINT
A Signed residual
at

B True-scale maps
Exact Fq
Tanh Gq
C Affine certificate
Bayes map
Chord
Fixed ; full 1601-point grid evaluated.
Chord midpoint error: . Any affine map: max error .
Figure 3: Binary transition geometry at . A: signed residual of exact minus tanh. B: the maps at true scale share saturation levels and midpoint slope. C: values at , , certify that the map is not affine; their second difference forces every affine approximation to incur maximum error at least . This is a fixed-, diagnostic.
C.2 The branch
On a block with no switch in state , the centered Gaussian score is . Because radial mixing uses one adaptive scalar coefficient, the approximate state has the exact representation . Abel summation bounds every by twice one maximum of a Gaussian partial sum, so a single maximal inequality controls the whole horizon without a temporal union bound. Projection onto supplies a deterministic signal direction; upper and lower radial barriers then give margins for the true state of order . Recovery of the exact filter is established separately by comparing the constant path in the true state with constant wrong paths and the aggregate Bayes factor of all alternatives that contain a switch.
C.3 The binary branch
For K = 2, the signal and noise directions are collinear, so the projection step is unavailable. Midpoint translation reduces arbitrary distinct means to the symmetric model. An event on the prefix evidence forces both scalar recurrences to hit a common margin, and a geometric sum over possible hit locations controls suffix persistence. Figure 3 visualizes the transition maps used by this branch. The argument unions suffix lengths, not transition errors at one step, and its failure probability remains negligible after multiplication by the KL envelope.
C.4 Conditioning argument
There are three changes of probability law. First, the event that no switch occurs costs at most . Second, conditional on that event, Gaussian concentration applies to independent emissions from the fixed latent state. Third, the exact posterior still sums over every latent path; candidate paths that contain a switch are included and controlled through their aggregate Bayes factor. The final expectation is recovered by averaging the finitely many conditional bounds over the stationary uniform starting state.
D Proof Anatomy, Constants, and Quantifiers
This section explains the main steps in the proof of Theorem 4 and the dependence of its constants on the model parameters. Full proofs are given in Appendix E.
D.1 Quantifier order
Fix , the distinct means , the variance , and a horizon constant , where
A PREPRINT
Only then send . Constants denoted , or a small- threshold may depend on these fixed parameters. This permits a finite union over states and competitors, but it does not provide a bound uniform in or in a family whose means approach one another. The theorem has the logical form
not a joint limit over K and q.
D.2 The probabilistic argument for
Condition on a block with no switch whose true state is s. The centered Gaussian score has the exact form with two vectors
so the radial recurrence stays in the random plane spanned by and w:
This does not reduce the filter to two states. It reduces the analysis of one conditioned block to one accumulated signal coefficient and one accumulated noise coefficient .
The multiplier depends on the past, so the noise is not a deterministic weighted Gaussian sum. The key observation is order, not independence: for fixed terminal t, the products of positive multipliers attached to later observations are nondecreasing. Abel summation therefore gives the pathwise inequality
simultaneously for all t. One maximal bound from an exponential martingale controls this maximum. The proof does not apply a separate tail bound at every time and then union bound over the horizon.
On the resulting event, . The tanh expansion supplies an upper barrier and a matching lower bound after an initial transient of order . The exponent 2/3 is the balance at which the unit signal increment competes with the cubic correction in . It is sufficient for recovery because
and dominates .
Exact Bayes is handled separately. The constant-s latent path is the likelihood reference. Constant wrong paths lose exponentially in L, while the aggregate Bayes factor of all switched paths has expectation of order Hq. This is a calculation over path mixtures; it does not assume independence between posterior coordinates. Because and for fixed K, mass of the switched paths vanishes.
D.3 Bounding predictive KL
The radial and exact arguments meet only after both filters have entered a common confidence cone. On the good event, every margin of the true state over a wrong state is at least c_*}L^{2/3}. Along the line segment between the two terminal logits, softmax curvature is then exponentially small. Combining this curvature with the deterministic terminal range bound yields
The bound on this event alone is not enough because KL is unbounded in arbitrary logits. Lemma 18 supplies a pathwise 2L envelope, which is multiplied by the vanishing probability of the complement. Combining the bound on this event with the uniform bound on its complement turns recovery with high probability into convergence of expected KL.
D.4 Why the binary branch is separate
For , distinct scalar means imply that cannot be collinear with the common noise direction : otherwise a nonzero quadratic would agree with an affine function at at least three distinct points. This makes the radial radius control available. With two points, that polynomial contradiction disappears. The binary proof instead translates arbitrary means to the symmetric pair and controls both scalar recurrences through a common recovery event. It then rejoins the same KL curvature and envelope lemmas. The separate branch is an issue of proof geometry, not a restriction to symmetric models with two states.
A PREPRINT
D.5 Rates proved and rates not claimed
The witness at the level of the maps and stationary path result have different rates and should not be merged. At the explicit witness, centered map separation is asymptotically , and decoder KL is bounded by a polynomial in times . Along typical blocks with no switch in the stationary proof, the radial margin for the true state is only required to grow as , which still makes the decoder cost on the good event vanish. Neither statement identifies an optimal exponent, a sharp finite- onset, or constants uniform over state geometries. The curves with equally spaced Gaussians in Appendix F are therefore illustrations rather than rate estimates.
E Proofs of the Main Results
This appendix proves Theorems 3 and 4 for every fixed finite . The quantitative theorem at the level of the maps uses an explicit centered witness and a direct asymptotic calculation. The stationary theorem uses a representation in two scalars of the radial filter, one Gaussian maximal event, and an analysis over path mixtures of exact Bayes for ; the binary case uses the same KL bounds after midpoint translation and a recovery argument in one dimension.
E.1 Preliminaries
Write , , and . For fixed ,
Consequently, for all sufficiently small , , , and . We will also use
Fix a state and let
Conditional on , for , where the are independent standard Gaussians. With
the centered score is .
Lemma 7 (Radial dynamics in two scalars). On , adapted scalar processes satisfy
(12)
where
with continuous value at the origin. Moreover, and .
Proof. The radial transition multiplies every centered coordinate by the same scalar . Substitution of (11) proves (12) by induction. Positivity is immediate, while gives .
E.2 One maximal event controls the adaptive noise
Let .
Lemma 8 (Adaptive Abel bound). For every realized path and every ,
Proof. Expanding (12) gives
A PREPRINT
Although the weights are adaptive, they obey pathwise. Abel summation therefore gives
The coefficients in the second term are nonnegative and sum to at most one, proving (13). This pathwise bound also applies to adaptive weights.
Lemma 9 (Gaussian maximal event). Set
Then . On ,
Proof. For every , is a nonnegative martingale. Doob's maximal inequality, optimized at , yields
Apply the same argument to and union only the two signs. Substituting and applying Lemma 8 proves the claim simultaneously over the full horizon.
E.3 Radial recovery when
Assume , and let be Euclidean projection onto .
Lemma 10 (Noncollinear signal). For every state s, .
Proof. Distinct means imply . If , centeredness would give . Hence a constant would satisfy
for every . After clearing denominators, a quadratic with nonzero quadratic coefficient would vanish at the distinct values , a contradiction.
Set , , and . From Lemma 7,
Lemma 11 (Upper radial barrier). For each s, constants exist such that, on and for ,
for all .
Proof. The function , continuously extended at zero, decreases on . Using the lower bound in (15),
Let . Choose so that , and put . For large , . Since on ,
The map is increasing, , and , so induction on the first crossing yields . The upper bound in (15), together with (14) and , gives the radius bound.
Lemma 12 (Lower memory after the initial transient). There are constants such that, on and for ,
whenever .
A PREPRINT
Proof. The global inequality and Lemma 11 imply
For small , and for positive constants . Iterating (12) gives
For , the numerator is at least 1/2, which proves (17). This transient is and is smaller than .
Lemma 13 (Simultaneous radial recovery). For every s, constants exist such that, on and for ,
for every and .
Proof. Direct calculation gives
Thus . The first term is bounded below by a positive multiple of , uniformly over the finitely many competitors, whereas the second is by (14).
E.4 Recovery of the exact filter by path mixtures
Continue to condition on . The exact posterior after observations is the normalized sum of prior times likelihood over latent paths. Use the constant path as reference; its prior mass is
Lemma 14 (Constant wrong paths). There are such that, for , with conditional probability at least , every constant path has likelihood ratio relative to the reference at most .
Proof. For , let
Under , these variables are independent Gaussians with mean and variance . Since with , while , a bound on the Gaussian lower tail gives
for small q. A finite union over proves the claim.
Lemma 15 (Bayes factor of a switched path). Let be the latent paths containing at least one switch, let denote their prior masses, and let be likelihood relative to the constant-s path. For
Proof. Under the reference observation law, every likelihood ratio has expectation one. The numerator in the first expectation is therefore the prior mass of paths that contain a switch, at most . Division by (20) gives the first bound. Markov's inequality at threshold , followed by (10), gives the second.
Lemma 16 (Exact posterior margin). Conditional on , outside an event of probability at most
the exact terminal logits satisfy
for every .
Proof. On the intersection of the events in Lemmas 14 and 15, total nonreference weight divided by reference weight is at most . Hence for every , and taking logarithms gives (23).
A PREPRINT
E.5 Categorical KL bounds
For vectors , put and range( ) = .
Lemma 17 (Range envelope). For every ,
Proof. Let . The increment lies between and . Thus every log probability ratio is at most range( ), and averaging under softmax( ) proves (24).
Lemma 18 (Terminal envelope). For every observation path,
Proof. Let and be the logits before the observation at the terminal step. The final shared score cancels, so . Exact mixing places every probability coordinate in , hence every exact pairwise score before the observation difference has magnitude at most . The radial image has pairwise diameter strictly below because its radial norm is below . Therefore range( ) , and (24) applies.
Lemma 19 (Curvature on a common cone). Suppose a state s and satisfy
for every , and range . Then
Proof. Every point has the same margin lower bound. If , then . The Hessian of log-sum-exp is , so its operator norm is at most . The Hessian annihilates common shifts, and implies . The integral Taylor formula for the corresponding Bregman divergence now gives (26).
E.6 Binary specialization
When K = 2, let
After relabeling if needed and translating observations by , the emission means are . This preserves the likelihood ratio, the latent law, and both recurrences for the pairwise logits. Their evidence drift and variance are
In pairwise log odds the two transition maps are
Lemma 20 (Binary common recovery). Let , , , and . There are events such that
and on the exact and radial posterior log odds at time H, oriented toward the block's initial state, are both at least a.
Proof. For , define the common budget for one step for the confidence loss
The two entries bound the losses of and , respectively, on a positive interval. Conditional on a block with no switch and its initial sign, the signed evidence variables are independent . Put and
A PREPRINT
If , both recurrences must hit : otherwise the lower bounds for one step and sum from the uniform reset to a terminal value strictly above , a contradiction.
After a hit, monotonicity and saturation give, for either map ,
Thus the hit persists to margin whenever every nonempty suffix obeys
For a suffix of length , the bound on the Gaussian lower tail is at most
Summing over possible hit locations, and using , we have eventually . With ,
The entire suffix sum is therefore at most .
For the prefix, choose . Eventually , and
Removing the conditioning on no switch separately from the prefix and suffix bounds costs at most , and . Combining these three terms proves (29) and the deterministic hit and persist argument proves the common margin.
E.7 Completion of the main theorem
First let . Conditional on , intersect the actual event of no switch , the maximal event , and the two events for exact recovery from Lemmas 14 and 15. On this good event, Lemmas 13 and 16 give a common terminal margin for the true state at least c_*}L^{2/3} for some . Lemmas 18 and 19 then yield
The complement has conditional probability at most
This unions event types only; temporal control is already contained in the single maximal event. Applying the deterministic 2L envelope (25) on the complement shows that the conditional expected KL tends to zero. The stationary starting state is uniform, so averaging the finitely many conditional bounds over proves Theorem 4 for .
For , Lemma 20 and (26), with , give on
On , (25) and (29) give . This proves the binary case for arbitrary distinct means and completes the proof of Theorem 4.
E.8 Proof of diverging updates with vanishing predictive KL
Proof of Theorem 3. Fix finite and abbreviate
Adding a common constant to the input leaves , and therefore , unchanged; the radial output is also unchanged because its definition centers the input. Pairwise output differences are therefore gauge invariant, and the displayed witness is centered.
A PREPRINT
Put
The definition of gives . For , let
Since ,
For fixed K, both vanish as . Common output centering cancels in the difference for the chosen pair, so
(37)
where the absolute remainder is at most .
Because , the radial gap for the chosen pair is exactly
Subtracting (38) from (37), dividing by L, and using yields
The positivity follows from for . The eventual lower bound and divergence of the centered supremum follow directly from (39).
It remains to compare the decoded distributions at the same witness. Coordinate 0 is the unique maximizer of both outputs. For , every zero coordinate has
Hence the exact margin of the top over zero is , while (37) gives the exact margin of the top over coordinate 1 as . When K = 2 there are no zero coordinates, and (37) is the only margin over a wrong state. Every exact margin of the top over a wrong state is therefore eventually at least L/5.
Under the radial map, every margin of the top over a wrong state is at least eventually. The exact transition probabilities lie strictly between and , so its pairwise logit diameter is below ; the radial pairwise diameter is also below . Thus the range of is below . Applying Lemma 19 with and gives
This proves all claims.
E.9 Proof of the binary transition geometry
Proof of Proposition 5. Writing and gives
The first formula, equivalently for and , is at most , with equality only at ; the range proves saturation. The second formula is strictly negative for , so strict concavity on and give . For residuals , the affine second difference vanishes and hence
which proves the quantitative obstruction.
A PREPRINT
Table 5: Equally spaced Gaussian illustration at fixed scale. Internal slopes regress centered separation from exact to radial on ; slopes of the log KL regress on . These values illustrate the theorem's two directions for three fixed state counts; they are not used in its proof.
| Internal slope [95% CI] | Final gap/ [95% CI] | Slope of log KL [95% CI] | |
|---|---|---|---|
F Empirical Estimands and Aggregation
This appendix defines the illustration with equally spaced Gaussians at fixed , experiments with learned models, and estimands for the scalar controls. These experiments illustrate the results and are not used in the proof of Theorem 4. The displayed subset with equally spaced Gaussians was selected after the broader prespecified grid had been evaluated, to illustrate the two directions rather than test a uniform onset at finite scale. On the original Gaussian grid, four of five configurations pass the joint directional criterion; the skewed configuration has an unresolved slope of the log KL over the prespecified tail. The supplement includes results for the full original grid and identifies the additional experiments conducted afterward; the displayed subset does not replace the original outcome.
F.1 Illustration with equally spaced Gaussians at fixed
F.1.1 Design, coupling, and estimands
For , the scalar Gaussian means begin as the arithmetic progression , are centered, and are rescaled so that the minimum pairwise distance is one. The observation variance is one, hence
At each we set
This implemented horizon differs from the theorem's by steps, since ; it shares the logarithmic scale rather than the exact schedule. Four seed blocks contribute 1,024 stationary trajectories per cell, for 4,096 paired paths. Exact Bayes and the tanh radial filter consume the same observations. Every displayed path and filter state is finite.
The internal quantity is and the task quantity is . The normalized gap distinguishes growth proportional to the confidence scale from a merely positive absolute gap. Internal slopes regress mean on ; predictive slopes regress the logarithm of mean predictive KL on . Both use the predeclared tail window .
Uncertainty is computed by resampling complete paths. Each of 2,000 bootstrap replicates independently resamples path indices within each scale cell, then fits the statistic across those resampled cell means. Filters remain paired on each path, but independently simulated scales are not paired. Table 5 reports the three displayed configurations.
F.1.2 Controls and implementation details
Hard clipping and the affine update are comparisons rather than assumptions of the theorem. Hard clipping may outperform tanh at finite scales because the theorem claims existence and asymptotic convergence, not optimality of the smooth map. The affine control has lower mean KL than tanh in every displayed tail cell . All 4,096 sampled paths in each such cell contain no switch even by , so these curves do not test rare costs in the switch tail or identify saturation as necessary. The binary controls address a separate recovery question at the longer endpoint.
The supplementary code includes the data generator, simulation parameters, seed construction, measurements per trajectory, and the 2,000-replicate bootstrap procedure used to produce the curves and table. Numerical checks verify the KL direction and that all simulated trajectories are complete and finite. Table values are rounded to four decimal places; the accompanying data provide full precision.
A PREPRINT
F.2 Experiments with learned models
The experiment covers six switch probabilities , two training stages (G1 distilled and G2 trained end to end), five learned arms and an additional analytic tanh reference, three tuning seeds, and ten disjoint confirmation seeds. For each stage and model, the selected hyperparameter setting minimizes mean validation loss over all three tuning seeds, with ties broken deterministically; a setting missing any tuning seed is ineligible. This selection rule was fixed before confirmation. All 180 tuning runs and 600 final evaluation runs completed successfully. Every confirmation seed is included in the reported aggregates. The experimental protocol also specified test excess NLL on the next observation and calibration error, but neither was measured. Table 6 specifies the model architectures and selected optimizer settings; the official Mamba implementation is mamba-ssm==2.3.2.post1.
The closure statistic in Table 2 is computed within a common stage, , seed, and endpoint:
Thus S6 is 0 and the analytic tanh arm is 1 before averaging. The table reports the mean and standard error of these ten closure values, one for each seed, not a standard error obtained by treating paths within a seed as independent replicates.
F.3 Predictive KL: orientation and clipping
The experiments with learned models and the scalar controls also use different probability clipping settings. Table 2 uses after float32 sigmoid conversion and clipping at . The scalar controls below use float64 probabilities clipped at . These settings compute KL after different clipping operations, so the reported values are not directly interchangeable.
The fixed- theorems, Table 7, and Figure 2 all use the direction , although the experiments use their separately disclosed probability clipping settings. An additional diagnostic reverses the direction and reports . Because KL is asymmetric, those values in the reverse orientation are not compared numerically with the theorem or the comparison from exact to control.
That auxiliary diagnostic evaluates the tanh recurrence at without probability clipping. It computes Bernoulli KL directly in logit space, uses the same ten seeds and 20,000 paths per seed, and is reported separately from the comparison from exact to control.
The largest relative standard error is . The loss in the reverse orientation increases across this finite grid. It is a diagnostic in the finite regime, not an estimate of either proved limit from exact to radial or its asymptotic rate.
If is the exact predictive logit, is a model predictive logit, , and , the corresponding untruncated empirical estimand is
The last expression is a stable evaluation in logit space of the ordinary Bernoulli KL; implementations may evaluate sp by logaddexp without clipping either probability.
The experiment with scalar controls evaluates a distinct, clipped quantity. For with , it records
Accordingly, every scalar value currently printed in Table 7 and plotted in the third panel of Figure 2 is clipped predictive KL with orientation exact Bayes control. Clipping is nearly inactive for the two saturating controls but can substantially cap a nonsaturating control in an extreme tail. The clipped and untruncated estimands must therefore be named separately. The reported control results use clipped KL, not the untruncated quantity.
F.4 Scalar controls and endpoints
All four scalar recurrences consume the same simulated observation paths as the exact filter. After observations, let be the exact posterior logit and the state of control . The final logits compared by the scalar evaluator are
A PREPRINT
Table 6: Model architectures and training settings. All arms use AdamW, batch size 256, at most 10,000 updates, validation every 250 updates, and patience 2,000; and denote learning rate and weight decay. G1 distills the exact predictive distribution, whereas G2 minimizes negative log likelihood of the next observation. Parameter counts are matched within 5%. The arm with a finite window uses ; the Sharan existence bound ranges from 0.173 to 0.099 over this grid and is not a guarantee for the trained MLP.
| Arm | Architecture | Parameters | G1 / G2 (, ) |
|---|---|---|---|
| Mamba 2 | two blocks; , , convolution 4, expansion 2 | 20,001 | |
| Mamba 1 | one block; , otherwise as above | 19,873 | |
| GRU | one layer, hidden width 80 | 20,001 | |
| Scalar S6 | one scalar state; two layers of width 139 in the SiLU coefficient network | 20,018 | |
| Finite window | last observations plus validity mask; widths 136, 136, 135, 134, 134, 133 for | 19,951–19,993 |
Table 7: Controls separate saturation from geometry. Expected KL at the final step, KL(exact Bayes||control), at the endpoint matched to the theorem and the long endpoint . At the long endpoint, the saturating losses remain below , while the tested affine and identity losses reach 5.53 and 14.54 nats, respectively (bold).
| Endpoint | Saturating | Nonsaturating | ||
|---|---|---|---|---|
| tanh | clip | affine | identity | |
The two endpoints are the horizon matched to the theorem and the long endpoint . The experiment in Table 7 and Figure 2 uses and , ten public seeds 1080, ..., 1089, 20,000 paths per seed at , and 2,000 paths per seed at the long endpoint. Thus each short cell contains 200,000 paths and each long cell contains 20,000 paths.
For a seed with paths, the stored replicate is
With , the manuscript mean and uncertainty are
The random stream for one /endpoint/seed cell is derived from the displayed seed, the exponent of , and the horizon; all four controls reuse that cell. The manuscript aggregates seed means rather than treating paths within a seed as independent replicates. The largest relative standard error among the sixteen plotted quantities is at most 3.1%.
The right pair in Figure 2 separates measurement from illustration. The third panel reports the mean losses of the scalar controls. The fourth panel is not a sampled trajectory: it evaluates the logistic decoder on a fixed grid, with schematic guide logits and .
F.5 Errors relative to the latent state
Let be the latent state after the terminal transition, , the exact predictive logit, and the affine predictive logit. The event that the affine prediction disagrees with the latent state is
A PREPRINT
The associated confidence event used by the formal diagnostic for the lower bound is
Both indicators are defined relative to the true latent state. Disagreement with the exact filter is a different quantity and was not measured in this experiment.
The experiment uses , the same ten public seeds, and 1,000 paths per seed. Means across seeds standard errors for are respectively , , , and . The corresponding values, qualified by confidence, are , , , and . The reported range describes errors relative to the latent state, rather than disagreement with the exact filter.
F.6 Scope of the empirical conclusions
The experiments support two deliberately limited conclusions. First, at the long endpoint the saturating controls remain stable while the two nonsaturating controls degrade under the disclosed clipped metric. Second, matching the short theorem horizon does not by itself establish stability at long horizons for a learned architecture. Neither observation proves the open lower bound for the terminal joint event qualified by confidence, identifies tanh as the unique stable recurrence, or establishes a positive result on transfer between architectures.
G Extended Background
This appendix places the result in the literature on recurrent models, approximate filtering, and sequential prediction.
G.1 The family with a deterministic state
The recurrence studied here is deliberately the smallest object that exhibits the property in question: a state of fixed size updated deterministically from the previous state and the current observation. For recurrent implementations, this property permits inference in linear time and memory independent of sequence length. Configurations with long convolutions or attention hybrids need not share that memory bound.
The lineage begins with the question of how a state of fixed size should summarize a growing history at all. Optimal polynomial projection gives one answer with an explicit approximation guarantee [24], and structured state spaces turn that answer into a trainable layer [25], later simplified [60] and given variants in continuous time [28]. Initialization of these models remains an active question in its own right [39]. A parallel line showed that carefully parameterized linear recurrences recover much of the benefit without the state space machinery [47], and designs with long convolutions and hybrid designs traded recurrence for structured mixing [51, 19]. Gated linear attention and its delta rule successors reached the same destination from the attention side [67, 68], with sparsity now used to enlarge the state without paying for it densely [8], while recurrent architectures competitive at language scale arrived independently [49, 3]. The selective mechanism that makes the transition depend on the input [23] and the duality that exposes such models as a restricted form of attention [12] complete the picture.
These models motivate asking what predictive cost follows from a prescribed update geometry. Shared motivation does not extend our existence theorem to every member of this family: the theorem concerns the explicit radial filter, not its implementation by a named neural architecture.
G.2 What is already known about the gap, and what is not
The representational side of the question is comparatively well mapped. Formal placements bound what specified architectures can express [54], while empirical studies on formal languages probe generalization outside the training distribution [13]. Arguments from circuit complexity place models of fixed depth inside classes that cannot perform certain sequential computations [43], and analyses with limited precision show how much of the apparent capacity survives finite arithmetic [38]. On the constructive side, changing the spectrum or the sparsity pattern of the transition recovers ability to track the state that diagonal models lack [22, 64, 58], and the frontier between recall and throughput has been characterized directly [2]. Benchmarks now target exact state tracking as a primary object [65].
What this literature does not settle is the step our paper takes. A proved inability to represent an update is not by itself a proved cost under the data distribution, because the distribution need not visit the region where the representation fails. The closest existing work asks about generalization of selective state space models on filtering tasks [63], which shares our setting but not our question: we fix the recurrence and ask what its representational shortfall costs in expected predictive divergence.
A PREPRINT
G.3 Filtering, stability, and their relation to this result
Hidden Markov filtering [53] and entropy questions for functions of chains with finitely many states [6] have a long history. Exact filtering of a -state HMM admits a deterministic continuous belief state with coordinates. Finite dimension is not finite cardinality or bounded precision; our restriction concerns update geometry, not the existence of a sufficient state of finite dimension. The stability literature asks a superficially similar question to ours and a materially different one: whether a filter initialized incorrectly but running the correct kernels forgets its error [46], surveyed by Chigansky et al. [9], with quantitative forms via contraction coefficients [41]. Robustness results perturb the kernels instead, controlling policy costs [31, 33] or error in the filter kernel and policy performance [14]. Policies with a finite window can become nearly optimal as window length grows [32]. Our state dimension is fixed, but changes numerically with , and its map discrepancy in the worst case grows rather than vanishing as a perturbation parameter. How fast a correct filter forgets is itself quantified [37], and estimating the mixing time is a developed subject [66].
Learned and structured filters form a third strand. Probabilistic state space models have been fused with the selective architecture [4], particle filters made differentiable [11], belief embeddings learned with consistency guarantees [61], and Updates in the style of the Kalman filter recast as attention or as regression at test time [55, 50], including adaptive variants [42]. Learning from ordinary HMM observation sequences can be cryptographically hard, whereas query access to conditional probabilities permits efficient learning; guarantees from conditional samples also depend on a fidelity parameter [30]. Reconstruction from finite messages on trees exhibits phase transitions between memory and accuracy [29], and a recent synthesis compares state space models and HMMs [20].
G.4 Prediction under a wrong model
Our theorem measures the categorical KL between filtered posteriors after the observation, not the KL between densities of the next observation, and binary empirical endpoints additionally apply transition mixing. These losses score decoded distributions rather than internal parameters. Prediction with short memory supplies a conceptual benchmark on the next observation [57]; sequential prediction under log loss with a misspecified model class is studied directly [18]; and streaming projection onto a mixture over paths with a fixed budget is another deterministic recurrence with a different maintained object and truncation [17]. Read as detection delay, our controls at long horizons belong to quickest change detection, from the original cumulative sum scheme [48] through its optimality theory [40, 44, 52] to learned detectors [21]. Behavior in context on Markov sources is a further contact point [7, 69].
G.5 Comparison by mathematical object
Nearby literatures can sound interchangeable when summarized as “approximating a sequence model,” but they differ in what may change with the accuracy target and in where error is measured. Table 8 records the distinction needed here.
Table 8: Nearby questions separated by object and limit. The comparison is conceptual; it does not claim that the cited settings are special cases of ours.
| Line of work | Object being compared | Accuracy resource or limit | Relation to this paper |
|---|---|---|---|
| Architecture expressivity [43, 54, 10] | Function or language represented by an architecture class | Depth, state structure, or input length varies with the theorem | Establishes representational separations, but generally does not integrate their task cost under a data law. |
| Prediction with memory [57] | short Predictor with full history versus a finite observation window | Window length grows as the target error shrinks | Supplies a positive approximation baseline; our state dimension and prescribed family remain fixed, but the numerical map depends on q. |
| Filter stability and robustness [46, 41, 37] | Two filters with different initial beliefs or nearby kernels | Influence of the initial condition is forgotten or kernel perturbation is taken small | Controls belief error when the source of mismatch disappears; our two transition geometries do not converge internally. |
| Compression is aware of the [16, 15, 26] | that Original representation ver- task sus a compressed representa- tion | Compression is optimized relative to a downstream task | Shares the lesson that discarded information can be irrelevant to the task, but not the recurrent Bayesian construction under the path law. |
| This paper | Exact categorical Bayes mixing versus one radial update with a fixed state | Fixed finite K; switch rarity tends to zero at H(q) = Θ(log(1/q)) | Proves diverging centered map separation and vanishing decoded KL, then proves stationary expected predictive closure. |
The comparison also limits the architectural interpretation: a selective SSM, a gated recurrent network, and the radial filter all keep a fixed state, but the theorem concerns the explicit radial map, not a class containing every such recurrence. Exact Bayes and the radial witness are mathematical filters, so their separation predates training or parameterization.
A PREPRINT
The result sits between architecture expressivity and statistical decision theory: an internal separation can fail to induce predictive loss under a specified sequential law, leaving the converse criterion and learned realization open.