Automata Learning from Preference and Equivalence Queries
Open Access
- 23 July 2025
- book chapter
- Published by Springer Nature
- p. 104-126
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 ( $$\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
All Related Versions
This publication has 31 references indexed in Scilit:
- Active Finite Reward Automaton Inference and Reinforcement Learning Using Queries and Counterexamples2021
- $L^*$-Based Learning of Markov Decision Processes2019
- The Learnability of Symbolic Automata2018
- Refactoring of Legacy Software Using Model Learning and Equivalence Checking: An Industrial Experience Report2016
- Learning Weighted Automata2015
- Learning CP-net Preferences Online from User Queries2013
- Symbolic Learning of Component Interfaces2012
- Z3: An Efficient SMT Solver2008
- Regular grammatical inference from positive and negative samples by genetic search: the GIG method1994
- A method for synthesizing sequential circuitsBell System Technical Journal, 1955