WorksComputer Science
Polynomial-Time Learning of Random Automata from One Label per Word
Abstract
We study a binary deterministic finite automaton whose transitions are chosen independently and uniformly from its states. The learner observes independent uniform words of length , each labeled with a single bit indicating acceptance. For every fixed we give a polynomial-time algorithm that works outside a set of transition tables of probability . On each remaining table, for any start state and accepting set, the predictor has error at most on fresh uniform words of length with probability at least over the training sample and the learner's random choices. Its sample size and running time are polynomial in , , and , with degree depending only on . Although each word reveals only one output, comparing label moments at two consecutive history lengths lets us estimate the expected product of the signed outputs of two continuations from the same hidden state. We also refute Conjecture 4 of Fish and Reyzin on meeting times. For two distinct states fixed before the table is drawn and every fixed , the fraction of words of length that send them to different states converges in probability to . On a typical table, driving this fraction down to takes asymptotically letters. Selected proof steps are formalized in Lean.