Space-Entropy Lower Bounds for Random Sampling
arXiv:2607.14503
The paper establishes fundamental lower bounds on the memory required by exact random sampling algorithms that aim to use near-optimal amounts of random bits, showing that achieving entropy efficiency forces a logarithmic amount of space in the error parameter.
Abstract
We prove fundamental space lower bounds for exact random sampling using an entropy source of i.i.d. uniform bits. A classic result from information theory shows that generating discrete random variables requires at least input random bits on average, where is the Shannon entropy function. How much space must a random sampling algorithm use in order to approach this information-theoretically optimal entropy bound? We prove that any random sampling algorithm that is exact for arbitrary discrete target distributions and consumes at most input bits in expectation for every output process must use bits of space. In fact, i.i.d. sampling from the single distribution already forces at least bits of space. If the sampler handles a family of infinitely many Bernoulli distributions, we show a sharper bound of at least bits of space. We also prove lower bounds for general i.i.d. sampling: for almost every distribution on outcomes, the space is at least bits. The proof technique is based on a graph-theoretic analysis of the amount of information that any algorithm can store in its state. Finite state spaces force short cycles around the state-transition graph, and the loss around such cycles reduces to Diophantine lower bounds on fractional parts of integer combinations of log-probabilities. To the best of our knowledge, these results comprise the first known space lower bounds for entropy-efficient random sampling.