Lune

ICLR2026Top-tier venue

Towards Persistent Noise-Tolerant Active Learning of Regular Languages with Class Query

Lekai Chen, Ashutosh Trivedi, Alvaro Velasquez

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. Policy Optimization with Linear Temporal Logic ConstraintsCameron Voloshin, Hoang Minh Le, Swarat Chaudhuri, Yisong YueNeurIPS 2022 · 28 citations
  2. Transformers Learn Shortcuts to AutomataBingbin Liu, Jordan T. Ash, Surbhi Goel, Akshay Krishnamurthy et al.ICLR 2023 · 11 citations

Related papers

  1. Active Learning of Deterministic Timed Automata with Myhill-Nerode Style CharacterizationMasaki WagaCAV 2023 · 15 citations
  2. Automata Learning from Preference and Equivalence QueriesEric Hsiung, Joydeep Biswas, Swarat ChaudhuriCAV 2025 · 1 citation
  3. Learning Deterministic One-Counter Automata in Polynomial TimePrince Mathew, Vincent Penelle, A. V. SreejithLICS 2025 · 1 citation
  4. SMT-Based Active Learning of Weighted AutomataTiago Ferreira, Kevin Batz, Alexandra SilvaCAV 2026
  5. Automata Learning and Identification of the Support of Language ModelsSatwik Bhattamishra, Michael Hahn, Varun KanadeICLR 2026
Dusk over the sea between two cliffs drawn in fine vertical lines