Learning Reward Machines from Partially Observed Policies
On the map: Offline RL and imitation learning from data → Inverse reinforcement learning
Abstract (arXiv)
Inverse reinforcement learning is the problem of inferring a reward function from an optimal policy or demonstrations by an expert. In this work, it is assumed that the reward is expressed as a reward machine whose transitions depend on atomic propositions associated with the state of a Markov Decision Process (MDP). Our goal is to identify the true reward machine using finite information. To this end, we first introduce the notion of a prefix tree policy which associates a distribution of actions to each state of the MDP and each attainable finite sequence of atomic propositions. Then, we characterize an equivalence class of reward machines that can be identified given the prefix tree policy. Finally, we propose a SAT-based algorithm that uses information extracted from the prefix tree policy to solve for a reward machine. It is proved that if the prefix tree policy is known up to a sufficient (but finite) depth, our algorithm recovers the exact reward machine up to the equivalence class. This sufficient depth is derived as a function of the number of MDP states and (an upper bound on) the number of states of the reward machine. These results are further extended to the case where we only have access to demonstrations from an optimal policy. Several examples, including discrete grid and block worlds, a continuous state-space robotic arm, and real data from experiments with mice, are used to demonstrate the effectiveness and generality of the approach.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Inverse reinforcement learning, one of 13 directions in Offline RL and imitation learning from data. Builds on 17 of its 48 references that are in the map. First posted on arXiv 6 Feb 2025.
Builds on
17 of 48 references.
Closest ancestors · 3
Same direction, newest first
- 2023Multi-intention Inverse Q-learning for Interpretable Behavior Representation23 Nov
- 2021Identifiability in inverse reinforcement learning7 Jun
- 2020Active Task-Inference-Guided Deep Inverse Reinforcement Learning24 Jan
Other references · 14
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2021LTL2Action: Generalizing LTL Instructions for Multi-Task RLcited by 74
- 2019Joint Inference of Reward Machines and Policies for Reinforcement Learningcited by 56
- 2018Learning Linear Temporal Propertiescited by 41
- 2021The Logical Options Frameworkcited by 25
- 2020Active Finite Reward Automaton Inference and Reinforcement Learning Using Queries and Counterexamplescited by 23
- 2019Induction of Subgoal Automata for Reinforcement Learningcited by 17
- 2021Learning Reward Machines: A Study in Partially Observable Reinforcement Learningcited by 16
- 2020Explaining Multi-stage Tasks by Learning Temporal Logic Formulas from Suboptimal Demonstrationscited by 13
- 2021Learning to Search in Task and Motion Planning with Streamscited by 10
- 2022Learning Task Automata for Reinforcement Learning using Hidden Markov Modelscited by 7
- 2024Learning Robust Reward Machines from Noisy Labelscited by 7
2 more
- 2016Learning Moore Machines from Input-Output Tracescited by 5
- 2024Reward Machine Inference for Robotic Manipulationcited by 4
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2024Bayesian Inverse Reinforcement Learning for Non-Markovian Rewards
- 2022A Hierarchical Bayesian Approach to Inverse Reinforcement Learning with Symbolic Reward Machines
- 2018Machine Teaching for Inverse Reinforcement Learning: Algorithms and Applications
- 2021Task-Guided Inverse Reinforcement Learning Under Partial Information
- 2023Towards Theoretical Understanding of Inverse Reinforcement Learning
- 2021Versatile Inverse Reinforcement Learning via Cumulative Rewards
- 2025Inverse Reinforcement Learning with Just Classification and a Few Regressions
- 2024Towards Generalized Inverse Reinforcement Learning