English

The Imaginary Sliding Window As a New Data Structure for Adaptive Algorithms

Information Theory 2008-09-30 v1 Data Structures and Algorithms math.IT

Abstract

The scheme of the sliding window is known in Information Theory, Computer Science, the problem of predicting and in stastistics. Let a source with unknown statistics generate some word ...x1x0x1x2...... x_{-1}x_{0}x_{1}x_{2}... in some alphabet AA. For every moment t,t=...t, t=... 1,0,1,...-1, 0, 1, ..., one stores the word ("window") xtwxtw+1...xt1 x_{t-w} x_{t-w+1}... x_{t-1} where ww,w1w \geq 1, is called "window length". In the theory of universal coding, the code of the xtx_{t} depends on source ststistics estimated by the window, in the problem of predicting, each letter xtx_{t} is predicted using information of the window, etc. After that the letter xtx_{t} is included in the window on the right, while xtwx_{t-w} is removed from the window. It is the sliding window scheme. This scheme has two merits: it allows one i) to estimate the source statistics quite precisely and ii) to adapt the code in case of a change in the source' statistics. However this scheme has a defect, namely, the necessity to store the window (i.e. the word xtw...xt1)x_{t-w}... x_{t-1}) which needs a large memory size for large ww. A new scheme named "the Imaginary Sliding Window (ISW)" is constructed. The gist of this scheme is that not the last element xtwx_{t-w} but rather a random one is removed from the window. This allows one to retain both merits of the sliding window as well as the possibility of not storing the window and thus significantly decreasing the memory size.

Keywords

Cite

@article{arxiv.0809.4743,
  title  = {The Imaginary Sliding Window As a New Data Structure for Adaptive Algorithms},
  author = {Boris Ryabko},
  journal= {arXiv preprint arXiv:0809.4743},
  year   = {2008}
}

Comments

Published in: Problems of information transmission,1996,v.32,#2

R2 v1 2026-06-21T11:24:46.802Z