Prediction with a Short Memory
Not on the map. Why?
Abstract (arXiv)
We consider the problem of predicting the next observation given a sequence of past observations, and consider the extent to which accurate prediction requires complex algorithms that explicitly leverage long-range dependencies. Perhaps surprisingly, our positive results show that for a broad class of sequences, there is an algorithm that predicts well on average, and bases its predictions only on the most recent few observation together with a set of simple summary statistics of the past observations. Specifically, we show that for any distribution over observations, if the mutual information between past observations and future observations is upper bounded by I, then a simple Markov model over the most recent I/ε observations obtains expected KL error ε---and hence ℓ1 error √ε---with respect to the optimal predictor that has access to the entire past and knows the data generating distribution. For a Hidden Markov Model with n hidden states, I is bounded by log n, a quantity that does not depend on the mixing time, and we show that the trivial prediction algorithm based on the empirical frequencies of length O(log n/ε) windows of observations achieves this error, provided the length of the sequence is dOmega(log n/ε), where d is the size of the observation alphabet. We also establish that this result cannot be improved upon, even for the class of HMMs, in the following two senses: First, for HMMs with n hidden states, a window length of log n/ε is information-theoretically necessary to achieve expected ℓ1 error √ε. Second, the dTheta(log n/ε) samples required to estimate the Markov model for an observation alphabet of size d is necessary for any computationally tractable learning algorithm, assuming the hardness of strongly refuting a certain class of CSPs.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Dec 2016.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 3; 2023: 2; 2024: 2; 2025: 2; 2026: 2.
13 papers.
Sort:
By area:
- 2024Make Your LLM Fully Utilize the Contextcited by 118
- 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
- 2022RankGen: Improving Text Generation with Large Ranking Modelscited by 72
- 2022Planning in Observable POMDPs in Quasipolynomial Timecited by 25
- 2023BatchPrompt: Accomplish more with lesscited by 16
- 2024Model Stealing for Any Low-Rank Language Modelcited by 9
- 2023Morphosyntactic probing of multilingual BERT modelscited by 8
- 2025Masks Can Be Distracting: On Context Comprehension in Diffusion Language Modelscited by 7
- 2021On the Privacy Risks of Deploying Recurrent Neural Networks in Machine Learning Modelscited by 1
- 2022Learning what to remembercited by 0
- 2025Provable Long-Range Benefits of Next-Token Predictioncited by 0
- 2026A Hierarchical Language Model with Predictable Scaling Laws and Provable Benefits of Reasoningcited by 0
- 2026How Wrong Can a Good Predictor Be? Diverging Updates with Vanishing Predictive KL10 Sep 2026
- 2026A Hierarchical Language Model with Predictable Scaling Laws and Provable Benefits of Reasoning13 May 2026
- 2025Provable Long-Range Benefits of Next-Token Prediction8 Dec 2025
- 2025Masks Can Be Distracting: On Context Comprehension in Diffusion Language Models26 Nov 2025
- 2024Model Stealing for Any Low-Rank Language Model12 Nov 2024
- 2024Make Your LLM Fully Utilize the Context25 Apr 2024
- 2023BatchPrompt: Accomplish more with less1 Sep 2023
- 2023Morphosyntactic probing of multilingual BERT models9 Jun 2023
- 2022RankGen: Improving Text Generation with Large Ranking Models19 May 2022
- 2022Planning in Observable POMDPs in Quasipolynomial Time12 Jan 2022
- 2022Learning what to remember11 Jan 2022
- 2021On the Privacy Risks of Deploying Recurrent Neural Networks in Machine Learning Models6 Oct 2021
1 more
- 2024Make Your LLM Fully Utilize the Contextcited by 118
- 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
- 2022RankGen: Improving Text Generation with Large Ranking Modelscited by 72
- 2022Planning in Observable POMDPs in Quasipolynomial Timecited by 25
- 2023BatchPrompt: Accomplish more with lesscited by 16
- 2024Model Stealing for Any Low-Rank Language Modelcited by 9
- 2023Morphosyntactic probing of multilingual BERT modelscited by 8
- 2021On the Privacy Risks of Deploying Recurrent Neural Networks in Machine Learning Modelscited by 1
- 2022Learning what to remembercited by 0
- 2025Provable Long-Range Benefits of Next-Token Predictioncited by 0
- 2026A Hierarchical Language Model with Predictable Scaling Laws and Provable Benefits of Reasoningcited by 0
- 2026How Wrong Can a Good Predictor Be? Diverging Updates with Vanishing Predictive KLcited by 0
- 2026How Wrong Can a Good Predictor Be? Diverging Updates with Vanishing Predictive KL10 Sep 2026
- 2026A Hierarchical Language Model with Predictable Scaling Laws and Provable Benefits of Reasoning13 May 2026
- 2025Provable Long-Range Benefits of Next-Token Prediction8 Dec 2025
- 2024Model Stealing for Any Low-Rank Language Model12 Nov 2024
- 2024Make Your LLM Fully Utilize the Context25 Apr 2024
- 2023BatchPrompt: Accomplish more with less1 Sep 2023
- 2023Morphosyntactic probing of multilingual BERT models9 Jun 2023
- 2022RankGen: Improving Text Generation with Large Ranking Models19 May 2022
- 2022Planning in Observable POMDPs in Quasipolynomial Time12 Jan 2022
- 2022Learning what to remember11 Jan 2022
- 2021On the Privacy Risks of Deploying Recurrent Neural Networks in Machine Learning Models6 Oct 2021
- 2021Do Long-Range Language Models Actually Use Long-Range Context?19 Sep 2021