English

On context-tree prediction of individual sequences

Information Theory 2007-07-13 v1 math.IT

Abstract

Motivated by the evident success of context-tree based methods in lossless data compression, we explore, in this paper, methods of the same spirit in universal prediction of individual sequences. By context-tree prediction, we refer to a family of prediction schemes, where at each time instant tt, after having observed all outcomes of the data sequence x1,...,xt1x_1,...,x_{t-1}, but not yet xtx_t, the prediction is based on a ``context'' (or a state) that consists of the kk most recent past outcomes xtk,...,xt1x_{t-k},...,x_{t-1}, where the choice of kk may depend on the contents of a possibly longer, though limited, portion of the observed past, xtkmax,...xt1x_{t-k_{\max}},...x_{t-1}. This is different from the study reported in [1], where general finite-state predictors as well as ``Markov'' (finite-memory) predictors of fixed order, were studied in the regime of individual sequences. Another important difference between this study and [1] is the asymptotic regime. While in [1], the resources of the predictor (i.e., the number of states or the memory size) were kept fixed regardless of the length NN of the data sequence, here we investigate situations where the number of contexts or states is allowed to grow concurrently with NN. We are primarily interested in the following fundamental question: What is the critical growth rate of the number of contexts, below which the performance of the best context-tree predictor is still universally achievable, but above which it is not? We show that this critical growth rate is linear in NN. In particular, we propose a universal context-tree algorithm that essentially achieves optimum performance as long as the growth rate is sublinear, and show that, on the other hand, this is impossible in the linear case.

Keywords

Cite

@article{arxiv.cs/0508127,
  title  = {On context-tree prediction of individual sequences},
  author = {Jacob Ziv and Neri Merhav},
  journal= {arXiv preprint arXiv:cs/0508127},
  year   = {2007}
}

Comments

15 pages, submitted to the IEEE Transactions on Information Theory

R2 v1 2026-07-22T12:24:10.103Z