Automata Learning from Preference and Equivalence Queries
Eric Hsiung, Joydeep Biswas, Swarat Chaudhuri
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 preorder-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 (specifically a Moore machine) 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 (ε-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.
1 Shah et al. [38] investigates choosing between membership and preference queries.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on4
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- On the Expressivity of Markov RewardDavid Abel, Will Dabney, Anna Harutyunyan, Mark K. Ho et al.NeurIPS 2021 · 107 citations
- Reinforcement Learning with Non-Markovian RewardsMaor Gaon, Ronen I. BrafmanAAAI 2020 · 96 citations
- Reinforcement Learning with Stochastic Reward MachinesJan Corazza, Ivan Gavran, Daniel NeiderAAAI 2022 · 37 citations
Related papers
- Active Learning of Symbolic Automata for Reactive Programs via Dynamic Symbolic MapperYoel Kim, Yunja ChoiFSE 2026
- SMT-Based Active Learning of Weighted AutomataTiago Ferreira, Kevin Batz, Alexandra SilvaCAV 2026
- Learning Deterministic One-Counter Automata in Polynomial TimePrince Mathew, Vincent Penelle, A. V. SreejithLICS 2025 · 1 citation
- Towards Persistent Noise-Tolerant Active Learning of Regular Languages with Class QueryLekai Chen, Ashutosh Trivedi, Alvaro VelasquezICLR 2026
- Active Learning of Deterministic Timed Automata with Myhill-Nerode Style CharacterizationMasaki WagaCAV 2023 · 15 citations
