Abstract
This paper resolves a long-standing open problem in information theory regarding the efficiency of deterministic finite-memory algorithms for bias estimation. For over three decades, it was conjectured that deterministic machines with $S$ states were fundamentally limited to an asymptotic risk of $\Theta(\log S / S)$, trailing behind the $\Theta(1/S)$ performance achievable by randomized machines. The authors disprove this conjecture by constructing a deterministic $S$-state machine that achieves the optimal $\Theta(1/S)$ risk. This result demonstrates that external randomness is unnecessary for optimal bias estimation, as the required entropy can be extracted directly from the stochastic input stream.
Introduction
The problem of estimating the bias $\theta$ of a Bernoulli process using limited memory is a cornerstone of statistical learning. Given a stream of independent and identically distributed (i.i.d.) bits $X_1, X_2, \dots$ where $P(X_t = 1) = \theta$, a finite-memory estimator is modeled as a state machine with $S$ states. Upon receiving each bit, the machine transitions to a new state based on its current state and the input bit.
Historically, a gap existed between randomized and deterministic machines. In 1973, Hellman and Cover showed that randomized machines—those capable of flipping internal coins to decide transitions—can achieve a risk of $1/S$. However, in 1986, researchers Leighton and Rivest conjectured that deterministic machines are strictly less efficient, facing a "penalty" of $\log S$. This paper finally closes this gap, proving that deterministic machines are just as powerful as their randomized counterparts in this context.
Methodology: The Nested Markov Structure
The core contribution of the paper is a novel deterministic construction that achieves the $O(1/S)$ bound. The authors partition the $S$ states into $K$ disjoint "mini-chains," where $K \approx \sqrt{S}$. This hierarchical design allows the machine to perform two functions simultaneously: local hypothesis testing and global state transitions.
Mini-Chains as Hypothesis Testers
Each mini-chain acts as a local tester to determine if the true bias $\theta$ is higher or lower than the current estimate associated with that chain. By spending time within a mini-chain, the machine "integrates" evidence from the input stream before deciding whether to move to a higher or lower estimation level.
Extracting Randomness from Runs
The most significant challenge in de-randomizing the optimal algorithm is simulating the probabilistic transitions required to move between estimation levels. The authors solve this by looking for specific "runs" of consecutive 1s or 0s. In a Bernoulli stream, the probability of seeing a run of length $L$ is exactly $\theta^L$. By requiring a specific sequence of inputs to trigger a transition between mini-chains, the machine effectively uses the entropy of the source itself to simulate internal coin flips. This "free" randomness allows the deterministic machine to mimic the behavior of a randomized one without any state overhead.
Key Results and Insights
The primary result is formalized in Theorem 1, which states that the minimax asymptotic risk $R(S)$ for a deterministic $S$-state machine is $O(1/S)$. Combined with existing lower bounds, this establishes the fundamental rate as $\Theta(1/S)$.
This finding has several profound implications:
- Disproving the Leighton-Rivest Conjecture: The conjectured $\log S$ penalty does not exist.
- Minimax Optimality: Deterministic time-invariant machines are now known to be as efficient as any other class of finite-state estimators for this problem.
- De-randomization Strategy: The work suggests that for many stochastic estimation problems, the source data itself can serve as a source of randomness, potentially simplifying hardware implementations that would otherwise require complex pseudo-random number generators.
Conclusion and Future Directions
While the paper establishes the optimal asymptotic rate, the constant factors in the current construction are relatively large (approximately 600). Future research may focus on optimizing these constants to find the most state-efficient deterministic machines for practical use. Additionally, extending these results to non-Bernoulli distributions or multi-parameter estimation remains an open and promising field of study. This work serves as a definitive answer to a 35-year-old question, unifying our understanding of deterministic and randomized finite-memory systems.
Summary updated