Lune

CAV2025Top-tier venue

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 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

  • Reinforcement Learning with Stochastic Reward Machines cites Reinforcement Learning with Non-Markovian Rewards
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on4

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  2. On the Expressivity of Markov RewardDavid Abel, Will Dabney, Anna Harutyunyan, Mark K. Ho et al.NeurIPS 2021 · 107 citations
  3. Reinforcement Learning with Non-Markovian RewardsMaor Gaon, Ronen I. BrafmanAAAI 2020 · 96 citations
  4. Reinforcement Learning with Stochastic Reward MachinesJan Corazza, Ivan Gavran, Daniel NeiderAAAI 2022 · 37 citations

Related papers

  1. Active Learning of Symbolic Automata for Reactive Programs via Dynamic Symbolic MapperYoel Kim, Yunja ChoiFSE 2026
  2. SMT-Based Active Learning of Weighted AutomataTiago Ferreira, Kevin Batz, Alexandra SilvaCAV 2026
  3. Learning Deterministic One-Counter Automata in Polynomial TimePrince Mathew, Vincent Penelle, A. V. SreejithLICS 2025 · 1 citation
  4. Towards Persistent Noise-Tolerant Active Learning of Regular Languages with Class QueryLekai Chen, Ashutosh Trivedi, Alvaro VelasquezICLR 2026
  5. Active Learning of Deterministic Timed Automata with Myhill-Nerode Style CharacterizationMasaki WagaCAV 2023 · 15 citations
Dusk over the sea between two cliffs drawn in fine vertical lines