Time Reversal and the Memory Cost of Prediction
Version 1 / Nov 24, 2026 / CC BY 4.0
Abstract
A predictor must summarize the past by one of states to forecast the entire future. For a source with two hidden states and four symbols, we show that the optimal excess log loss has order forward and backward. Two symbols reset the hidden-state distribution. In a family where a reset retains a dependence on the past, the reverse law persists up to budgets of order . Beyond that threshold we determine the reverse exponent for , . A memory that updates after each symbol attains these rates. For a positive two-hidden-state source with invertible symbol matrices and dependent observations, word probabilities and determinants give a common upper bound in both directions. It has the correct power order in each direction where different final symbols give disjoint sets of posterior probabilities. Separation in either direction gives equality of the logarithmic exponents. We give conditions under which three-symbol words recover both loss curves and examples where even short words and cycles together fail to determine their exponents.
Provenance statement
References
- J. W. Carlyle and A. Paz, Realizations by stochastic finite automata, J. Comput. Syst. Sci. 5 (1971), 26--40.
- M. Hochman, On self-similar sets with overlaps and inverse theorems for entropy, Ann. of Math. (2) 180 (2014), 773--822. doi:10.4007/annals.2014.180.2.7 (https://doi.org/10.4007/annals.2014.180.2.7).DOI
- M. Hochman and B. Solomyak, On the dimension of Furstenberg measure for random matrix products, Invent. Math. 210 (2017), 815--875.
- D.-J. Feng and H. Hu, Dimension theory of iterated function systems, Comm. Pure Appl. Math. 62 (2009), 1435--1500. doi:10.1002/cpa.20276 (https://doi.org/10.1002/cpa.20276).DOI
- M. Hochman and B. Solomyak, Clarification to the dimension theorem for random matrix products, authors' note (https://u.math.biu.ac.il/~solomyb/RESEARCH/Furst_clarif.pdf) (2018).link
- D. Hsu, S. M. Kakade and T. Zhang, A spectral algorithm for learning hidden Markov models, J. Comput. Syst. Sci. 78 (2012), 1460--1480. arXiv:0811.4413 (https://arxiv.org/abs/0811.4413).arXiv
- J. Berstel and C. Reutenauer, Zeta functions of formal languages, Trans. Amer. Math. Soc. 321 (1990), 533--546.
- R. Bowen and O. E. Lanford III, Zeta functions of restrictions of the shift transformation, in Global Analysis , Proc. Sympos. Pure Math. 14 , Amer. Math. Soc., 1970, 43--49.
- T. Y. Chien and S. Waldron, A characterization of projective unitary equivalence of finite frames and applications, SIAM J. Discrete Math. 30 (2016), 976--994.
- J. P. Crutchfield, C. J. Ellison and J. R. Mahoney, Time's barbed arrow: irreversibility, crypticity, and stored information, Phys. Rev. Lett. 103 (2009), 094101.
Show all 29 referencesShow fewer references
- C. J. Ellison, J. R. Mahoney, R. G. James, J. P. Crutchfield and J. Reichardt, Information symmetries in irreversible processes, Chaos 21 (2011), 037107.
- P. Feng and C. Meng, Recursive memory for prediction and generation, arXiv:2611.13760 (https://arxiv.org/abs/2611.13760) (2026).arXiv
- E. Gassiat, A. Cleynen and S. Robin, Inference in finite state space non parametric hidden Markov models and applications, Stat. Comput. 26 (2016), 61--71.
- S. Graf and H. Luschgy, Foundations of Quantization for Probability Distributions , Lecture Notes in Math. 1730 , Springer, 2000.
- S. Graf and H. Luschgy, The quantization dimension of self-similar probabilities, Math. Nachr. 241 (2002), 103--109.
- M. Kesseböhmer, A. Niemann and S. Zhu, Quantization dimensions of compactly supported probability measures via Rényi dimensions, Trans. Amer. Math. Soc. 376 (2023), 4661--4678. doi:10.1090/tran/8863 (https://doi.org/10.1090/tran/8863).DOI
- F. P. Kelly, Reversibility and Stochastic Networks , Wiley, 1979.
- L. J. Lindsay and R. D. Mauldin, Quantization dimension for conformal iterated function systems, Nonlinearity 15 (2002), 189--199.
- R. Loewy, Principal minors and diagonal similarity of matrices, Linear Algebra Appl. 78 (1986), 23--64.
- S. E. Marzen and J. P. Crutchfield, Predictive rate-distortion for infinite-order Markov processes, J. Stat. Phys. 163 (2016), 1312--1338.
- S. E. Marzen and J. P. Crutchfield, Nearly maximally predictive features and their dimensions, Phys. Rev. E 95 (2017), 051301(R).
- P. Mattila, Geometry of Sets and Measures in Euclidean Spaces , Cambridge Studies in Advanced Mathematics 44 , Cambridge University Press, 1995.
- V. Papadopoulos, J. Wenger and C. Hongler, Arrows of time for large language models, arXiv:2401.17505 (https://arxiv.org/abs/2401.17505).arXiv
- A. Rapaport, Dimension of self-conformal measures associated to an exponentially separated analytic IFS on , preprint, arXiv:2412.16753v2 (https://arxiv.org/abs/2412.16753v2).arXiv
- M. K. Roychowdhury, Quantization dimension function and ergodic measure with bounded distortion, Bull. Polish Acad. Sci. Math. 57 (2009), 251--262. Publisher's PDF (https://www.impan.pl/shop/en/publication/transaction/download/product/85665).link
- K. S. Sibirskii, Algebraic invariants of a system of matrices, Siberian Math. J. 9 (1968), 115--124.
- B. Solomyak, On nonlinear iterated function systems with overlaps, J. Fractal Geom. 11 (2024), 373--387.
- B. Solomyak and Y. Takahashi, Diophantine property of matrices and attractors of projective iterated function systems in , Int. Math. Res. Not. IMRN (2021), 12639--12669.
- C. Yang, A. J. P. Garner, F. Liu, N. Tischler, J. Thompson, M.-H. Yung, M. Gu and O. Dahlsten, Provably superior accuracy in quantum stochastic modeling, Phys. Rev. A 108 (2023), 022411.
Version history
- v1 · 34 pagesSubmitted by Zhongpai Gao34 pages. Includes a numerical verification script for the fixed two-state example.CurrentNov 24, 2026