NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Sequence prediction for non-stationary processes

Daniil Ryabko, Marcus Hutter

TL;DR

This paper investigates the fundamental question of whether one probability measure can predict another for non-stationary sequences. The authors introduce the concept of "dominance" between measures and establish conditions under which this dominance guarantees prediction, particularly in average senses, while also showing limitations for stronger prediction guarantees.

What Problem Does This Paper Address?

Predicting the next element in a sequence is a core problem in machine learning, with applications ranging from weather forecasting to data compression. While prediction is well-understood for stationary processes (where statistical properties don't change over time), many real-world sequences are non-stationary. This paper tackles the challenge of sequence prediction for these more complex, non-stationary processes. Specifically, it asks: given a "true" underlying probability measure generating a sequence, can we find another measure that can reliably predict the true measure's behavior? This is crucial for developing robust prediction algorithms that can handle evolving data distributions.

Methods

The paper introduces and formalizes the notion of dominance between two probability measures, $p$ and $\mu$, on sequences. Measure $p$ dominates measure $\mu$ with coefficients $c_n > 0$ if the probability of any sequence prefix under $p$ is at least $c_n$ times the probability of that same prefix under $\mu$, i.e., $p(x_{1:n}) \ge c_n \mu(x_{1:n})$. This condition is a generalization of absolute continuity and provides a quantitative way to relate two measures.

The authors then explore various criteria for "prediction," including convergence of conditional probabilities in KL divergence and absolute distance, both in an almost sure sense and in an expected average sense. They establish theorems showing that certain types of decreasing coefficients $c_n$ (e.g., subexponentially decreasing) are sufficient for prediction in average senses. Conversely, they also provide negative results, demonstrating that even with decreasing coefficients, prediction in the strong sense of almost sure convergence of conditional probabilities is not always possible.

Datasets

Not discussed in the paper. The paper focuses on theoretical properties of probability measures and sequences, rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Dominance as a Bridge: The concept of dominance provides a powerful, quantifiable link between two probability measures, serving as a foundation for understanding prediction capabilities.
  • Average vs. Step-by-Step Prediction: The paper highlights a crucial distinction: prediction in an average sense (e.g., average KL divergence over time) is achievable under weaker dominance conditions than prediction at every single step (almost sure convergence of conditional probabilities). This mirrors findings in stationary process prediction.
  • Subexponential Dominance is Sufficient for Average Prediction: A key positive result is that if the dominance coefficients $c_n$ decrease subexponentially (e.g., $c_n = \exp(-\sqrt{n/\log n})$), then the dominating measure $p$ can predict the dominated measure $\mu$ in expected average KL divergence and absolute distance.
  • Decreasing Coefficients Aren't Enough for Strong Prediction: A significant negative result is that no form of dominance with merely decreasing coefficients is sufficient for prediction in the strong sense of almost sure convergence of conditional probabilities. This implies that for robust, step-by-step prediction, more than just a decaying ratio between probabilities is needed.
  • Laplace's Measure as a Benchmark: The paper uses Laplace's measure (a simple predictor for binary sequences) as an example, showing it dominates i.i.d. measures with linearly decreasing coefficients, but only achieves constant coefficients in a specific formulation, underscoring the nuances of dominance.

Key Results

  • Theorem 5: If $p$ dominates $\mu$ with coefficients $c_n$ such that $\log c_n \to 0$, then $p$ predicts $\mu$ in expected average KL divergence and expected average absolute distance.
  • Theorem 6: If $p$ dominates $\mu$ with coefficients $c_n$ such that $\sum (\log c_n)^2 / n^2 < \infty$, then $p$ predicts $\mu$ in average KL divergence and average absolute distance (almost surely). This condition is satisfied by polynomially decreasing coefficients.
  • Proposition 7: For any sequence of positive numbers $c_n$ that goes to 0, there exist measures $\mu$ and $p$ such that $p$ dominates $\mu$ with coefficients $c_n$, yet $p$ does not predict $\mu$ in absolute distance or KL divergence infinitely often. This demonstrates the limitations of decreasing coefficients for strong prediction.

Limitations and Future Work

  • Open Problems on Coefficient Conditions: The paper leaves open the question of whether $\log c_n = o(n)$ is sufficient for prediction in average KL divergence (Conjecture 8.i), and whether it is sufficient for average absolute distance (Conjecture 8.ii).
  • Necessity of Dominance: It is an open problem to determine if dominance with decreasing coefficients is necessary for prediction, at least in the sense of average convergence.
  • Beyond Dominance: For prediction in the strong sense (almost sure convergence), the paper suggests that more subtle behaviors of the probability ratio $p(x_{1:n})/\mu(x_{1:n})$ beyond simple dominance might need to be analyzed.
  • Extension to Active Learning: The authors explicitly state that a future step is to extend this framework to the task of active learning, where predictions can influence future outcomes.
  • Generalizing Predictors: The paper hints at the possibility of constructing predictors as Bayesian integrals, which could be a fruitful avenue for future research.

Summary updated

BibTeX
@inproceedings{ryabko2006sequence,
  author = {Daniil Ryabko and Marcus Hutter},
  title = {{Sequence prediction for non-stationary processes}},
  booktitle = {Combinatorial and Algorithmic Foundations of Pattern and Association Discovery},
  year = {2006},
  url = {https://openreview.net/forum?id=dMNoP6nfevF},
}
Figure