,
Anirban Majumdar
,
Prince Mathew
,
A.V. Sreejith
Creative Commons Attribution 4.0 International license
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 semi-algorithm for active learning of DROCA using OPNI, 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.
@InProceedings{guha_et_al:LIPIcs.FSTTCS.2025.35,
author = {Guha, Shibashis and Majumdar, Anirban and Mathew, Prince and Sreejith, A.V.},
title = {{Scalable Learning of One-Counter Automata via State-Merging Algorithms}},
booktitle = {45th IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS 2025)},
pages = {35:1--35:19},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-406-2},
ISSN = {1868-8969},
year = {2025},
volume = {360},
editor = {Aiswarya, C. and Mehta, Ruta and Roy, Subhajit},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.FSTTCS.2025.35},
URN = {urn:nbn:de:0030-drops-251168},
doi = {10.4230/LIPIcs.FSTTCS.2025.35},
annote = {Keywords: active learning, passive learning, one-counter automata, RPNI}
}