Scalable Learning of One-Counter Automata via State-Merging Algorithms
Published: Sep 6, 2025
Last Updated: Sep 6, 2025
Authors:Shibashis Guha, Anirban Majumdar, Prince Mathew, A. V. Sreejith
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.