Scalable Learning of One-Counter Automata via State-Merging Algorithms
Formal Languages and Automata Theory
2025-09-09 v1 Data Structures and Algorithms
Logic in Computer Science
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.
Cite
@article{arxiv.2509.05762,
title = {Scalable Learning of One-Counter Automata via State-Merging Algorithms},
author = {Shibashis Guha and Anirban Majumdar and Prince Mathew and A. V. Sreejith},
journal= {arXiv preprint arXiv:2509.05762},
year = {2025}
}
Comments
18 pages, 24 figures, 3 procedures