The Cost of Working Memory in Streaming Mean Estimation
Abstract
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 , we establish the minimax rate under squared error with persistent states, a known horizon, and a public time index: . Unrestricted computation followed by -level encoding has rate . At a fixed sufficiently small error, statistically optimal sample size therefore requires order working bits, while order 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 . 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 requires and permits order working states for sufficiently small fixed . 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.
Streaming Algorithms
Streaming algorithms process data incrementally in one or few passes, using limited memory to estimate, learn from, or query changing datasets.
See all 61 papers