Time Reversal and the Memory Cost of Prediction

A mix of human-written and AI-generated textHuman understanding: some partsmath.IT — Information Theorymath.PR — Probability

Contributed by Zhongpai Gao ↗

Version 1 / Nov 24, 2026 / CC BY 4.0

Abstract

A predictor must summarize the past by one of LL 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 L−5L^{-5} forward and L−9L^{-9} backward. Two symbols reset the hidden-state distribution. In a family where a reset retains a dependence η\eta on the past, the reverse L−9L^{-9} law persists up to budgets of order η−1/2\eta^{-1/2}. Beyond that threshold we determine the reverse exponent for L=⌊η−A⌋L=\lfloor\eta^{-A}\rfloor, 1/2<A≤21/2<A\le2. 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.

Author comments: 34 pages. Includes a numerical verification script for the fixed two-state example.

Provenance statement

The manuscript combines human-written and AI-generated text. Some parts of the contribution have been checked and understood by a human; complete human verification is not claimed. OpenAI Codex and Anthropic Claude assisted with developing and checking proofs in Sections 3–6 and Appendices A–B, with the numerical code and calculations in Appendix A.3, and with drafting and revision throughout the manuscript. The numerical script computes squared error for a finite posterior approximation, not exact whole-future relative entropy and not a formal proof. The author is responsible for the statements, proofs, citations and computations.

References

  1. J. W. Carlyle and A. Paz, Realizations by stochastic finite automata, J. Comput. Syst. Sci. 5 (1971), 26--40.
  2. 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
  3. M. Hochman and B. Solomyak, On the dimension of Furstenberg measure for SL2(R)\mathrm{SL}_2(\mathbb R) random matrix products, Invent. Math. 210 (2017), 815--875.
  4. 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
  5. M. Hochman and B. Solomyak, Clarification to the dimension theorem for SL2(R)\mathrm{SL}_2(\mathbb R) random matrix products, authors' note (https://u.math.biu.ac.il/~solomyb/RESEARCH/Furst_clarif.pdf) (2018).link
  6. 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
  7. J. Berstel and C. Reutenauer, Zeta functions of formal languages, Trans. Amer. Math. Soc. 321 (1990), 533--546.
  8. 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.
  9. 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.
  10. 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
  1. C. J. Ellison, J. R. Mahoney, R. G. James, J. P. Crutchfield and J. Reichardt, Information symmetries in irreversible processes, Chaos 21 (2011), 037107.
  2. P. Feng and C. Meng, Recursive memory for prediction and generation, arXiv:2611.13760 (https://arxiv.org/abs/2611.13760) (2026).arXiv
  3. 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.
  4. S. Graf and H. Luschgy, Foundations of Quantization for Probability Distributions , Lecture Notes in Math. 1730 , Springer, 2000.
  5. S. Graf and H. Luschgy, The quantization dimension of self-similar probabilities, Math. Nachr. 241 (2002), 103--109.
  6. 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
  7. F. P. Kelly, Reversibility and Stochastic Networks , Wiley, 1979.
  8. L. J. Lindsay and R. D. Mauldin, Quantization dimension for conformal iterated function systems, Nonlinearity 15 (2002), 189--199.
  9. R. Loewy, Principal minors and diagonal similarity of matrices, Linear Algebra Appl. 78 (1986), 23--64.
  10. S. E. Marzen and J. P. Crutchfield, Predictive rate-distortion for infinite-order Markov processes, J. Stat. Phys. 163 (2016), 1312--1338.
  11. S. E. Marzen and J. P. Crutchfield, Nearly maximally predictive features and their dimensions, Phys. Rev. E 95 (2017), 051301(R).
  12. P. Mattila, Geometry of Sets and Measures in Euclidean Spaces , Cambridge Studies in Advanced Mathematics 44 , Cambridge University Press, 1995.
  13. V. Papadopoulos, J. Wenger and C. Hongler, Arrows of time for large language models, arXiv:2401.17505 (https://arxiv.org/abs/2401.17505).arXiv
  14. A. Rapaport, Dimension of self-conformal measures associated to an exponentially separated analytic IFS on R\mathbb R, preprint, arXiv:2412.16753v2 (https://arxiv.org/abs/2412.16753v2).arXiv
  15. 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
  16. K. S. Sibirskii, Algebraic invariants of a system of matrices, Siberian Math. J. 9 (1968), 115--124.
  17. B. Solomyak, On nonlinear iterated function systems with overlaps, J. Fractal Geom. 11 (2024), 373--387.
  18. B. Solomyak and Y. Takahashi, Diophantine property of matrices and attractors of projective iterated function systems in RP1\mathbb{RP}^1, Int. Math. Res. Not. IMRN (2021), 12639--12669.
  19. 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

  1. v1 · 34 pagesSubmitted by Zhongpai Gao34 pages. Includes a numerical verification script for the fixed two-state example.CurrentNov 24, 2026