# The Cost of Working Memory in Streaming Mean Estimation

arXiv: https://arxiv.org/abs/2610.39540 · HTML: https://mlsanity.com/paper/2610.39540/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 7 of its 21 references that are in the map.
- Submitted 29 Oct 2026.

## Builds on (most cited first, 7 of 7)

- [Efficient Streaming Language Models with Attention Sinks](https://mlsanity.com/paper/2309.17453/) (2023)
- [Fundamental Limits of Online and Distributed Algorithms for Statistical Learning and Estimation](https://mlsanity.com/paper/1311.3494/) (2013)
- [Unified lower bounds for interactive high-dimensional estimation under information constraints](https://mlsanity.com/paper/2010.06562/) (2020)
- [Streaming Algorithms for High-Dimensional Robust Statistics](https://mlsanity.com/paper/2204.12399/) (2022)
- [Quantized Estimation of Gaussian Sequence Models in Euclidean Balls](https://mlsanity.com/paper/1409.6833/) (2014)
- [Confidently Comparing Estimators with the c-value](https://mlsanity.com/paper/2102.09705/) (2021)
- [Statistical Inference with Limited Memory: A Survey](https://mlsanity.com/paper/2312.15225/) (2023)

## Abstract (arXiv)

A streaming estimator must compute from the evidence that fits in memory. We determine when storing an accurate mean is easier than computing it. For Gaussian mean estimation over the Euclidean unit ball in ℝd, we establish the minimax rate under squared error with K persistent states, a known horizon, and a public time index: min1, K-2/d+fracdn (1+fraclog(ed)1+(log K)/d). Unrestricted computation followed by K-level encoding has rate min1,d/n+K-2/d. At a fixed sufficiently small error, statistically optimal sample size therefore requires order dlog d working bits, while order d bits suffice to store the answer. The lower bound tracks repeated state compression through an entropy potential obtained by Gaussian smoothing. A matching construction combines a multiscale modular counter with workspace reused across coordinate groups. In one dimension, it attains the terminal rate n-1+K-2. Any fixed confidence requirement that the realized loss not exceed the zero baseline preserves these rates. Increasing confidence creates a further memory requirement: at fixed nontrivial risk in every fixed dimension, failure probability e-γ n requires and permits order log n working states for sufficiently small fixed γ>0. In the scalar problem, a fixed terminal alphabet suffices under the same protection. These bounds separate the memory needed to represent an answer from the memory needed to accumulate evidence and validate a decision.
