English

Automata Learning from Preference and Equivalence Queries

Machine Learning 2025-07-31 v3

Abstract

Active automata learning from membership and equivalence queries is a foundational problem with numerous applications. We propose a novel variant of the active automata learning problem: actively learn finite automata using preference queries -- i.e., queries about the relative position of two sequences in a total order -- instead of membership queries. Our solution is REMAP, a novel algorithm which leverages a symbolic observation table along with unification and constraint solving to navigate a space of symbolic hypotheses (each representing a set of automata), and uses satisfiability-solving to construct a concrete automaton from a symbolic hypothesis. REMAP is guaranteed to correctly infer the minimal automaton with polynomial query complexity under exact equivalence queries, and achieves PAC-identification (ε\varepsilon-approximate, with high probability) of the minimal automaton using sampling-based equivalence queries. Our empirical evaluations of REMAP on the task of learning reward machines for two reinforcement learning domains indicate REMAP scales to large automata and is effective at learning correct automata from consistent teachers, under both exact and sampling-based equivalence queries.

Keywords

Cite

@article{arxiv.2308.09301,
  title  = {Automata Learning from Preference and Equivalence Queries},
  author = {Eric Hsiung and Joydeep Biswas and Swarat Chaudhuri},
  journal= {arXiv preprint arXiv:2308.09301},
  year   = {2025}
}

Comments

To appear in the 37th International Conference on Computer-Aided Verification (CAV 2025). 19 pages, Appendix 33 pages, 16 figures

R2 v1 2026-06-28T11:58:25.422Z