paper

Learning Finite-Memory Binary Sources

arXiv:2610.40845

Abstract

Estimating biased finite-memory sources from a single trajectory is a fundamental problem with practical impact, for example in estimating entropy for cryptography. We study order- binary sources whose conditional probabilities have bias at most , and establish *sharp* sample complexity bounds: relative accuracy with confidence needs samples up to constants depending on , with matching upper and lower bounds and no dependence on mixing time or spectral gap. The proof rests on a sharp bound on expected hitting times of the sliding-window (de Bruijn) chain, which stay of order uniformly in exactly when , and on majorization of the window masses by those of independent biased coins. Applied to published entropy-source validations, the bounds show that their trace lengths may be underpowered: bits cannot resolve all transitions of an -bit model to better than about relative error.