[Paper Review] Constructing Deterministic Parity Automata from Positive and Negative Examples
This paper presents the first polynomial-time passive learning algorithm for deterministic parity automata (DPA) that learns every regular ω-language in the limit from positive and negative ultimately periodic examples. The method constructs a 'precise DPA' from the syntactic family of right congruences, achieving polynomial data complexity for subclasses with bounded priorities and language-equivalent state counts.
We present a polynomial time algorithm that constructs a deterministic parity automaton (DPA) from a given set of positive and negative ultimately periodic example words. We show that this algorithm is complete for the class of $ω$-regular languages, that is, it can learn a DPA for each regular $ω$-language. For use in the algorithm, we give a definition of a DPA, that we call the precise DPA of a language, and show that it can be constructed from the syntactic family of right congruences for that language (introduced by Maler and Staiger in 1997). Depending on the structure of the language, the precise DPA can be of exponential size compared to a minimal DPA, but it can also be a minimal DPA. The upper bound that we obtain on the number of examples required for our algorithm to find a DPA for $L$ is therefore exponential in the size of a minimal DPA, in general. However we identify two parameters of regular $ω$-languages such that fixing these parameters makes the bound polynomial.
Motivation & Objective
- To develop a passive learning algorithm that constructs a deterministic parity automaton (DPA) from positive and negative ultimately periodic examples.
- To ensure the algorithm learns every regular ω-language in the limit, achieving completeness for the class of ω-regular languages.
- To minimize data requirements by identifying structural parameters under which the sample size becomes polynomial in the minimal DPA size.
- To introduce and formalize the concept of the 'precise DPA' as a canonical DPA construction based on syntactic families of right congruences.
- To establish theoretical bounds on sample size and algorithmic complexity, showing polynomial runtime and data dependence on structural language parameters.
Proposed method
- Define the 'precise DPA' of a language as a DPA whose priority assignment is derived from analyzing the periodic parts of words in the language.
- Construct the precise DPA from the syntactic family of right congruences (FORC) introduced by Maler and Staiger (1997), using idempotent classes to determine priority assignments.
- Use a modified version of the MMAL active learning algorithm (with simulated teacher responses) to generate a characteristic sample for the language.
- Integrate the output and equivalence queries of MMAL into the passive learning pipeline by dynamically extending the sample with counterexamples and prefix queries.
- Ensure correctness by simulating MMAL execution with a teacher that consistently answers queries based on the target language, guaranteeing termination with the correct DPA.
- Prove that the algorithm runs in polynomial time and produces a DPA consistent with the input sample, with sample size bounded by the maximum of the FORC size and the precise DPA size.
Experimental results
Research questions
- RQ1Can a passive learning algorithm construct a deterministic parity automaton (DPA) for every regular ω-language from positive and negative ultimately periodic examples in polynomial time?
- RQ2What structural properties of ω-languages allow for polynomial sample complexity in passive DPA learning?
- RQ3How can the syntactic family of right congruences (FORC) be used to define a canonical DPA construction—called the precise DPA—whose priority assignment reflects the natural structure of the language?
- RQ4Under what conditions does the data requirement of the algorithm become polynomial rather than exponential?
- RQ5Is there a connection between the precise DPA and other canonical representations such as good-for-games automata or normalized Mealy machines?
Key findings
- The proposed algorithm, DPAInf, runs in polynomial time and learns a DPA for every regular ω-language in the limit from positive and negative ultimately periodic examples.
- The algorithm constructs the precise DPA from the syntactic FORC, which is a canonical DPA whose priority assignment is derived from the periodic structure of the language.
- The upper bound on the number of examples required is exponential in the size of the minimal DPA in general, but becomes polynomial when the number of priorities and the maximum number of pairwise language-equivalent states are fixed.
- For the class IRC(DPA), where each ∼L-class corresponds to exactly one DPA state, the algorithm requires only polynomial-sized samples.
- For the class d-IRC(k-DPA), where each ∼L-class has at most d states with priorities in {0,…,k−1}, the algorithm achieves polynomial data complexity for fixed d and k.
- The precise DPA subsumes the class of normalized DPAs in the sense that a DPA is normalized and minimal as a Mealy machine if and only if it is the precise DPA for its own language and equivalence relation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.