How to Store a Random Walk
Abstract
Motivated by storage applications, we study the following data structure problem: An encoder wishes to store a collection of jointly-distributed files which are \emph{correlated} (), using as little (expected) memory as possible, such that each individual file can be recovered quickly with few (ideally constant) memory accesses. In the case of independent random files, a dramatic result by \Pat (FOCS'08) and subsequently by Dodis, \Pat and Thorup (STOC'10) shows that it is possible to store using just a \emph{constant} number of extra bits beyond the information-theoretic minimum space, while at the same time decoding each in constant time. However, in the (realistic) case where the files are correlated, much weaker results are known, requiring at least extra bits for constant decoding time, even for "simple" joint distributions . We focus on the natural case of compressing\emph{Markov chains}, i.e., storing a length- random walk on any (possibly directed) graph . Denoting by the number of length- walks on , we show that there is a succinct data structure storing a random walk using bits of space, such that any vertex along the walk can be decoded in time on a word-RAM. For the harder task of matching the \emph{point-wise} optimal space of the walk, i.e., the empirical entropy , we present a data structure with extra bits at the price of decoding time, and show that any improvement on this would lead to an improved solution on the long-standing Dictionary problem. All of our data structures support the \emph{online} version of the problem with constant update and query time.
Cite
@article{arxiv.1907.10874,
title = {How to Store a Random Walk},
author = {Emanuele Viola and Omri Weinstein and Huacheng Yu},
journal= {arXiv preprint arXiv:1907.10874},
year = {2019}
}