Towards Persistent Noise-Tolerant Active Learning of Regular Languages with Class Query
Abstract
Large Language Models (LLMs) are increasingly deployed in human-AI collaborative decision-making systems, where they are expected to align precise formal representations (e.g. temporal-logic monitors or reward machines for reinforcement learning) with ambiguous natural language. However, their ad hoc strategies for resolving ambiguity often lead to hallucinations and inconsistencies. We formalize this setting via probabilistic Minimally Adequate Teachers (pMATs) that (i) answer membership queries with fixed but possibly flipped labels, and (ii) return valid counterexamples to hypothesis equivalence. We present CAPAL (Class-query Active, Persistent-noise-Aware Learning), an active learning algorithm for learning deterministic finite automata (DFAs) without demonstrations and that remains correct under persistent noise in membership queries. CAPAL augments the classic L ⋆ loop with two components grounded in our implementation: (1) a class query realized as a statistical same-state test that compares disagreements between two prefixes against a noise-floor estimate η with Hoeffding tolerances; (2) a discrimination tree (DT) that selects a near-minimal discriminator, keeping the core suffix set small. An efficient micro-bootstrap and cache-reuse scheme estimates η with few new queries. We prove convergence given a perfect language-equivalence oracle and show substantial membership-query savings in practice. Our evaluation across multiple benchmarks, including RegexLib and KB13, demonstrates that this approach enhances both the efficiency and robustness of DFA learning under noisy oracles, supporting the view of LLMs as fallible yet useful collaborators for synthesizing verifiable formal artifacts.
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.
Lineage
Builds on2
Related papers
- Active Learning of Deterministic Timed Automata with Myhill-Nerode Style CharacterizationMasaki WagaCAV 2023 · 15 citations
- Automata Learning from Preference and Equivalence QueriesEric Hsiung, Joydeep Biswas, Swarat ChaudhuriCAV 2025 · 1 citation
- Learning Deterministic One-Counter Automata in Polynomial TimePrince Mathew, Vincent Penelle, A. V. SreejithLICS 2025 · 1 citation
- SMT-Based Active Learning of Weighted AutomataTiago Ferreira, Kevin Batz, Alexandra SilvaCAV 2026
- Automata Learning and Identification of the Support of Language ModelsSatwik Bhattamishra, Michael Hahn, Varun KanadeICLR 2026
