Learning Deterministic One-Counter Automata in Polynomial Time
Prince Mathew, Vincent Penelle, A. V. Sreejith
Abstract
We give an active learning algorithm for deterministic one-counter automata (docas) where the learner can ask the teacher membership and minimal equivalence queries. The algorithm called OL * learns a doca in time polynomial in the size of the smallest doca, recognising the target language.
All existing algorithms for learning docas, even for the subclasses of deterministic real-time one-counter automata (drocas) and visibly one-counter automata (vocas), in the worst case, run in exponential time with respect to the size of the doca under learning. Furthermore, previous learning algorithms are "grey-box" algorithms relying on an additional query type -counter value query -where the teacher returns the counter value reached on reading a given word. In contrast, our algorithm is a "black-box" algorithm.
It is known that the minimisation of vocas is NP-hard. However, OL * can be used for approximate minimisation of docas. In this case, the output size is at most polynomial in the size of a minimal doca.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Related papers
- Active Learning of Deterministic Timed Automata with Myhill-Nerode Style CharacterizationMasaki WagaCAV 2023 · 15 citations
- Active learning for sound negotiations✱Anca Muscholl, Igor WalukiewiczLICS 2022 · 3 citations
- SMT-Based Active Learning of Weighted AutomataTiago Ferreira, Kevin Batz, Alexandra SilvaCAV 2026
- Learning DFAs from Positive Examples Only via Word CountingBenjamin Bordais, Daniel NeiderAAAI 2026
- Automata Learning from Preference and Equivalence QueriesEric Hsiung, Joydeep Biswas, Swarat ChaudhuriCAV 2025 · 1 citation
