Scalable Learning of One-Counter Automata via State-Merging Algorithms

📅 2025-09-06
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This paper addresses the scalability challenge in learning deterministic real-time one-counter automata (DROCA). We propose OPNI, a novel hybrid passive–active learning algorithm built upon the RPNI framework, incorporating a state-merging mechanism that efficiently infers structurally consistent DROCA models from positive and negative examples. OPNI is the first algorithm to enable effective learning of visibly one-counter automata (VROCA). Experiments demonstrate that OPNI outperforms state-of-the-art approaches in both model capacity—supporting automata with hundreds of states—and learning efficiency—achieving significantly lower time complexity—while remaining practically deployable. Its core contributions are: (1) embedding counter semantics into the state-merging criterion to preserve quantitative behavior, and (2) designing DROCA-specific membership and equivalence queries that ensure learning completeness and guaranteed convergence.

Technology Category

Application Category

📝 Abstract
We propose One-counter Positive Negative Inference (OPNI), a passive learning algorithm for deterministic real-time one-counter automata (DROCA). Inspired by the RPNI algorithm for regular languages, OPNI constructs a DROCA consistent with any given valid sample set. We further present a method for combining OPNI with active learning of DROCA, and provide an implementation of the approach. Our experimental results demonstrate that this approach scales more effectively than existing state-of-the-art algorithms. We also evaluate the performance of the proposed approach for learning visibly one-counter automata.
Problem

Research questions and friction points this paper is trying to address.

Learning deterministic real-time one-counter automata efficiently
Scaling state-merging algorithms for counter automata inference
Combining passive and active learning for automata construction
Innovation

Methods, ideas, or system contributions that make the work stand out.

Passive learning algorithm for one-counter automata
Combines passive and active learning methods
Scalable state-merging approach implementation
🔎 Similar Papers
No similar papers found.
Shibashis Guha
Shibashis Guha
Reader, Tata Institute of Fundamental Research Mumbai
Formal methods and learningcontroller synthesisMarkov decision processesautomata theory
Anirban Majumdar
Anirban Majumdar
Postdoctoral fellow, Université Libre de Bruxelles
Formal MethodsAutomataGamesVerification
P
Prince Mathew
School of Mathematics and Computer Science, Indian Institute of Technology Goa, India
A
A. V. Sreejith
School of Mathematics and Computer Science, Indian Institute of Technology Goa, India