Abstract
This paper addresses the computational difficulty of learning Deterministic Finite Automata (DFA) by shifting the focus from arbitrary data distributions to "simple" ones. By leveraging Kolmogorov complexity and the Solomonoff-Levin universal distribution, the authors demonstrate that DFAs—which are generally hard to learn in the PAC sense—become efficiently learnable when examples are biased toward simplicity. This work provides a theoretical bridge between formal learning theory and the practical observation that learning is easier when examples are representative.
The Challenge of DFA Learning
In computational learning theory, identifying the smallest DFA consistent with a set of examples is a classic "hard" problem. It is known to be NP-hard to find the minimum DFA, and even approximating it is computationally daunting.
The standard framework for analyzing these problems is PAC (Probably Approximately Correct) learning, which requires an algorithm to work under any possible distribution of examples. This requirement is often too stringent. In the real world, we rarely learn from adversarial or completely random noise; we usually learn from "simple" or "representative" examples. The authors address a challenge posed by Leonard Pitt in 1989: Are DFAs learnable if examples are drawn from the uniform distribution or some other known "simple" distribution?
Theoretical Foundations
The authors bridge the gap between theory and practice using two key mathematical tools:
- Kolmogorov Complexity ($K$): This measures the "simplicity" of an object by the length of the shortest computer program required to generate it. A string like
010101...has low complexity, while a truly random string has high complexity. - Solomonoff-Levin Universal Distribution ($m$): This is a theoretical distribution that assigns higher probabilities to objects with lower Kolmogorov complexity. Essentially, it formalizes Occam’s Razor.
The RPNI Algorithm and Simple Examples
The core algorithm used is RPNI (Regular Positive and Negative Inference). RPNI works by building a "Prefix Tree Automaton" (PTA) from positive examples and then systematically merging states, provided the resulting machine doesn't contradict any negative examples.
The authors analyze two specific learning models:
- Simple PAC Model: Learning under the universal distribution $m$.
- PACS Model (PAC with Simple examples): A model where examples are sampled according to a distribution conditional on the target concept itself.
Key Insights and Results
- Simplicity is Learnable: The authors prove that the class of DFAs with logarithmic Kolmogorov complexity—meaning machines that are "simple" relative to their number of states—is efficiently learnable under the universal distribution.
- The Power of the PACS Model: They demonstrate that the entire class of DFAs is learnable under the PACS model. If the environment (or a teacher) provides examples that are "simple" relative to the target machine, the learning problem becomes tractable.
- Unifying Learning Models: The PACS model is shown to be a "super-model" that subsumes several other frameworks, including Gold’s model of characteristic samples and Goldman & Mathias’ polynomial teachability model.
- Theorem 1: DFAs with $O(\log N)$ Kolmogorov complexity are "probably exactly learnable" in polynomial time under the universal distribution $m$.
- Theorem 2: The entire class of DFAs is efficiently learnable under the PACS model.
Conclusion and Future Directions
While theoretically robust, a major hurdle is that the universal distribution $m$ is not actually computable. The authors suggest that future work should explore "polynomially computable approximations" of $m$. Additionally, while the paper presents a non-collusive RPNI-based approach, defining "collusion-free" learning more precisely remains an open challenge. If nature has a "propensity for simplicity," these algorithms might perform well on natural data, though empirical evaluation on real-world domains is left for future research.
Summary updated