English

Memory Complexity of Estimating Entropy and Mutual Information

Information Theory 2025-04-24 v3 math.IT

Abstract

We observe an infinite sequence of independent identically distributed random variables X1,X2,X_1,X_2,\ldots drawn from an unknown distribution pp over [n][n], and our goal is to estimate the entropy H(p)=E[logp(X)]H(p)=-\mathbb{E}[\log p(X)] within an ε\varepsilon-additive error. To that end, at each time point we are allowed to update a finite-state machine with SS states, using a possibly randomized but time-invariant rule, where each state of the machine is assigned an entropy estimate. Our goal is to characterize the minimax memory complexity SS^* of this problem, which is the minimal number of states for which the estimation task is feasible with probability at least 1δ1-\delta asymptotically, uniformly in pp. Specifically, we show that there exist universal constants C1C_1 and C2C_2 such that SC1n(logn)4ε2δ S^* \leq C_1\cdot\frac{n (\log n)^4}{\varepsilon^2\delta} for ε\varepsilon not too small, and SC2max{n,lognε}S^* \geq C_2 \cdot \max \{n, \frac{\log n}{\varepsilon}\} for ε\varepsilon not too large. The upper bound is proved using approximate counting to estimate the logarithm of pp, and a finite memory bias estimation machine to estimate the expectation operation. The lower bound is proved via a reduction of entropy estimation to uniformity testing. We also apply these results to derive bounds on the memory complexity of mutual information estimation.

Keywords

Cite

@article{arxiv.2406.06312,
  title  = {Memory Complexity of Estimating Entropy and Mutual Information},
  author = {Tomer Berg and Or Ordentlich and Ofer Shayevitz},
  journal= {arXiv preprint arXiv:2406.06312},
  year   = {2025}
}
R2 v1 2026-06-28T16:59:41.049Z