Lune

LICS2025Top-tier venue

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Active Learning of Deterministic Timed Automata with Myhill-Nerode Style CharacterizationMasaki WagaCAV 2023 · 15 citations
  2. Active learning for sound negotiations✱Anca Muscholl, Igor WalukiewiczLICS 2022 · 3 citations
  3. SMT-Based Active Learning of Weighted AutomataTiago Ferreira, Kevin Batz, Alexandra SilvaCAV 2026
  4. Learning DFAs from Positive Examples Only via Word CountingBenjamin Bordais, Daniel NeiderAAAI 2026
  5. Automata Learning from Preference and Equivalence QueriesEric Hsiung, Joydeep Biswas, Swarat ChaudhuriCAV 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines