Joint Inference of Reward Machines and Policies for Reinforcement Learning
Not on the map. Why?
Abstract (arXiv)
Incorporating high-level knowledge is an effective way to expedite reinforcement learning (RL), especially for complex tasks with sparse rewards. We investigate an RL problem where the high-level knowledge is in the form of reward machines, i.e., a type of Mealy machine that encodes the reward functions. We focus on a setting in which this knowledge is a priori not available to the learning agent. We develop an iterative algorithm that performs joint inference of reward machines and policies for RL (more specifically, q-learning). In each iteration, the algorithm maintains a hypothesis reward machine and a sample of RL episodes. It derives q-functions from the current hypothesis reward machine, and performs RL to update the q-functions. While performing RL, the algorithm updates the sample by adding RL episodes along which the obtained rewards are inconsistent with the rewards based on the current hypothesis reward machine. In the next iteration, the algorithm infers a new hypothesis reward machine from the updated sample. Based on an equivalence relationship we defined between states of reward machines, we transfer the q-functions between the hypothesis reward machines in consecutive iterations. We prove that the proposed algorithm converges almost surely to an optimal policy in the limit if a minimal reward machine can be inferred and the maximal length of each RL episode is sufficiently long. The experiments show that learning high-level knowledge in the form of reward machines can lead to fast convergence to optimal policies in RL, while standard RL methods such as q-learning and hierarchical RL methods fail to converge to optimal policies after a substantial number of training steps in many tasks.
Key facts. Cited by 56 papers in the map (data through 14 Oct 2026). First posted on arXiv 12 Sep 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2020: 1; 2021: 9; 2022: 13; 2023: 10; 2024: 10; 2025: 8; 2026: 5.
56 papers.
Sort:
By area:
- 2021A Survey on Interpretable Reinforcement Learningcited by 73
- 2021Knowledge Enhanced Machine Learning Pipeline against Diverse Adversarial Attackscited by 24
- 2020Active Task-Inference-Guided Deep Inverse Reinforcement Learningcited by 17
- 2021In a Nutshell, the Human Asked for This: Latent Goals for Following Temporal Specificationscited by 17
- 2021Learning Reward Machines: A Study in Partially Observable Reinforcement Learningcited by 16
- 2021Verifiable and Compositional Reinforcement Learning Systemscited by 13
- 2021Inferring Probabilistic Reward Machines from Non-Markovian Reward Processes for Reinforcement Learningcited by 13
- 2022Overcoming Exploration: Deep Reinforcement Learning for Continuous Control in Cluttered Environments from Temporal Logic Specificationscited by 12
- 2022Joint Learning of Reward Machines and Policies in Environments with Partially Known Semanticscited by 12
- 2022Automaton-Based Representations of Task Knowledge from Generative Language Modelscited by 12
- 2024Reward Machines for Deep RL in Noisy and Uncertain Environmentscited by 11
- 2022Markov Abstractions for PAC Reinforcement Learning in Non-Markov Decision Processescited by 10
38 more
- 2022Noisy Symbolic Abstractions for Deep RL: A case study with Reward Machinescited by 10
- 2022Automata Learning meets Shieldingcited by 9
- 2024Using Large Language Models to Automate and Expedite Reinforcement Learning with Reward Machinecited by 9
- 2021Decentralized Graph-Based Multi-Agent Reinforcement Learning Using Reward Machinescited by 7
- 2022Learning Task Automata for Reinforcement Learning using Hidden Markov Modelscited by 7
- 2024Learning Robust Reward Machines from Noisy Labelscited by 7
- 2025Reinforcement Learning with Stochastic Reward Machinescited by 7
- 2021Learning Quadruped Locomotion Policies using Logical Rulescited by 6
- 2022Learning Minimally-Violating Continuous Control for Infeasible Linear Temporal Logic Specificationscited by 6
- 2023Reinforcement Learning with Knowledge Representation and Reasoning: A Brief Surveycited by 5
- 2024Detecting Hidden Triggers: Mapping Non-Markov Reward Functions to Markovcited by 5
- 2025ARM-FM: Automated Reward Machines via Foundation Models for Compositional Reinforcement Learningcited by 5
- 2022Hierarchies of Reward Machinescited by 4
- 2022Reinforcement Learning under Partial Observability Guided by Learned Environment Modelscited by 4
- 2023Learning Symbolic Representations for Reinforcement Learning of Non-Markovian Behaviorcited by 4
- 2024FORM: Learning Expressive and Transferable First-Order Logic Reward Machinescited by 4
- 2021Uncertainty-Aware Signal Temporal Logic Inferencecited by 3
- 2023Verifiable Reinforcement Learning Systems via Compositionalitycited by 3
- 2024Tractable Offline Learning of Regular Decision Processescited by 3
- 2025Learning Reward Machines from Partially Observed Policiescited by 3
- 2023Co-learning Planning and Control Policies Constrained by Differentiable Logic Specificationscited by 2
- 2023Learning Reward Machines in Cooperative Multi-Agent Taskscited by 2
- 2023Reinforcement Learning with Temporal-Logic-Based Causal Diagramscited by 2
- 2025Expediting Reinforcement Learning by Incorporating Knowledge About Temporal Causality in the Environmentcited by 2
- 2022Automata Cascades: Expressivity and Sample Complexitycited by 1
- 2023Reward-Machine-Guided, Self-Paced Reinforcement Learningcited by 1
- 2023Program Machine Policy: Addressing Long-Horizon Tasks by Integrating Program Synthesis and State Machinescited by 1
- 2024Bayesian Inverse Reinforcement Learning for Non-Markovian Rewardscited by 1
- 2024Accelerating Proximal Policy Optimization Learning Using Task Prediction for Solving Environments with Delayed Rewardscited by 1
- 2022Reward Learning using Structural Motifs in Inverse Reinforcement Learningcited by 0
- 2022Learning Dynamic Abstract Representations for Sample-Efficient Reinforcement Learningcited by 0
- 2023Reinforcement Learning With Reward Machines in Stochastic Gamescited by 0
- 2023Learning Environment Models with Continuous Stochastic Dynamicscited by 0
- 2024Sample Efficient Reinforcement Learning by Automatically Learning to Compose Subtaskscited by 0
- 2024Maximally Permissive Reward Machinescited by 0
- 2025Average Reward Reinforcement Learning for Omega-Regular and Mean-Payoff Objectivescited by 0
- 2025Decentralizing Multi-Agent Reinforcement Learning with Temporal Causal Informationcited by 0
- 2025Physics-Informed Reward Machinescited by 0
50 most cited of 56 All 56 (JSON)
- 2026Jaxolotl: A Unified High-Performance Benchmark Suite for LTL-Based Multi-Task RL29 Sep 2026
- 2026Temporal-Causal Inference for Reinforcement Learning via Automata Learning7 Sep 2026
- 2026CEDAR: Automata as Verifiable Interfaces for Language-Guided Embodied Action28 Aug 2026
- 2026Active Reward Machine Inference From Raw State Trajectories8 Apr 2026
- 2026Reinforcement Learning with Symbolic Reward Machines3 Mar 2026
- 2025RLAF: Reinforcement Learning from Automaton Feedback17 Oct 2025
- 2025Expediting Reinforcement Learning by Incorporating Knowledge About Temporal Causality in the Environment17 Oct 2025
- 2025Reinforcement Learning with Stochastic Reward Machines16 Oct 2025
- 2025ARM-FM: Automated Reward Machines via Foundation Models for Compositional Reinforcement Learning16 Oct 2025
- 2025Physics-Informed Reward Machines14 Aug 2025
- 2025Decentralizing Multi-Agent Reinforcement Learning with Temporal Causal Information9 Jun 2025
- 2025Average Reward Reinforcement Learning for Omega-Regular and Mean-Payoff Objectives21 May 2025
38 more
- 2025Learning Reward Machines from Partially Observed Policies6 Feb 2025
- 2024FORM: Learning Expressive and Transferable First-Order Logic Reward Machines31 Dec 2024
- 2024Accelerating Proximal Policy Optimization Learning Using Task Prediction for Solving Environments with Delayed Rewards26 Nov 2024
- 2024Tractable Offline Learning of Regular Decision Processes4 Sep 2024
- 2024Learning Robust Reward Machines from Noisy Labels27 Aug 2024
- 2024Maximally Permissive Reward Machines15 Aug 2024
- 2024Bayesian Inverse Reinforcement Learning for Non-Markovian Rewards20 Jun 2024
- 2024Reward Machines for Deep RL in Noisy and Uncertain Environments31 May 2024
- 2024Using Large Language Models to Automate and Expedite Reinforcement Learning with Reward Machine11 Feb 2024
- 2024Sample Efficient Reinforcement Learning by Automatically Learning to Compose Subtasks25 Jan 2024
- 2024Detecting Hidden Triggers: Mapping Non-Markov Reward Functions to Markov20 Jan 2024
- 2023Program Machine Policy: Addressing Long-Horizon Tasks by Integrating Program Synthesis and State Machines27 Nov 2023
- 2023Verifiable Reinforcement Learning Systems via Compositionality9 Sep 2023
- 2023Learning Environment Models with Continuous Stochastic Dynamics29 Jun 2023
- 2023Reinforcement Learning with Temporal-Logic-Based Causal Diagrams23 Jun 2023
- 2023Reinforcement Learning With Reward Machines in Stochastic Games27 May 2023
- 2023Reward-Machine-Guided, Self-Paced Reinforcement Learning25 May 2023
- 2023Reinforcement Learning with Knowledge Representation and Reasoning: A Brief Survey24 Apr 2023
- 2023Learning Reward Machines in Cooperative Multi-Agent Tasks24 Mar 2023
- 2023Co-learning Planning and Control Policies Constrained by Differentiable Logic Specifications2 Mar 2023
- 2023Learning Symbolic Representations for Reinforcement Learning of Non-Markovian Behavior8 Jan 2023
- 2022Automaton-Based Representations of Task Knowledge from Generative Language Models4 Dec 2022
- 2022Automata Learning meets Shielding4 Dec 2022
- 2022Automata Cascades: Expressivity and Sample Complexity25 Nov 2022
- 2022Noisy Symbolic Abstractions for Deep RL: A case study with Reward Machines20 Nov 2022
- 2022Learning Dynamic Abstract Representations for Sample-Efficient Reinforcement Learning4 Oct 2022
- 2022Learning Minimally-Violating Continuous Control for Infeasible Linear Temporal Logic Specifications3 Oct 2022
- 2022Reward Learning using Structural Motifs in Inverse Reinforcement Learning25 Sep 2022
- 2022Learning Task Automata for Reinforcement Learning using Hidden Markov Models25 Aug 2022
- 2022Reinforcement Learning under Partial Observability Guided by Learned Environment Models23 Jun 2022
- 2022Hierarchies of Reward Machines31 May 2022
- 2022Markov Abstractions for PAC Reinforcement Learning in Non-Markov Decision Processes29 Apr 2022
- 2022Joint Learning of Reward Machines and Policies in Environments with Partially Known Semantics20 Apr 2022
- 2022Overcoming Exploration: Deep Reinforcement Learning for Continuous Control in Cluttered Environments from Temporal Logic Specifications28 Jan 2022
- 2021A Survey on Interpretable Reinforcement Learning24 Dec 2021
- 2021Learning Reward Machines: A Study in Partially Observable Reinforcement Learning17 Dec 2021
- 2021In a Nutshell, the Human Asked for This: Latent Goals for Following Temporal Specifications18 Oct 2021
- 2021Decentralized Graph-Based Multi-Agent Reinforcement Learning Using Reward Machines30 Sep 2021
50 newest of 56 All 56 (JSON)
- 2024Reward Machines for Deep RL in Noisy and Uncertain Environmentscited by 11
- 2024Learning Robust Reward Machines from Noisy Labelscited by 7
- 2025Reinforcement Learning with Stochastic Reward Machinescited by 7
- 2024Detecting Hidden Triggers: Mapping Non-Markov Reward Functions to Markovcited by 5
- 2025ARM-FM: Automated Reward Machines via Foundation Models for Compositional Reinforcement Learningcited by 5
- 2024FORM: Learning Expressive and Transferable First-Order Logic Reward Machinescited by 4
- 2025Expediting Reinforcement Learning by Incorporating Knowledge About Temporal Causality in the Environmentcited by 2
- 2024Accelerating Proximal Policy Optimization Learning Using Task Prediction for Solving Environments with Delayed Rewardscited by 1
- 2024Sample Efficient Reinforcement Learning by Automatically Learning to Compose Subtaskscited by 0
- 2025Average Reward Reinforcement Learning for Omega-Regular and Mean-Payoff Objectivescited by 0
- 2025Physics-Informed Reward Machinescited by 0
- 2026Reinforcement Learning with Symbolic Reward Machinescited by 0
12 most cited of 14 All 14 (JSON)
- 2026Jaxolotl: A Unified High-Performance Benchmark Suite for LTL-Based Multi-Task RL29 Sep 2026
- 2026Temporal-Causal Inference for Reinforcement Learning via Automata Learning7 Sep 2026
- 2026Reinforcement Learning with Symbolic Reward Machines3 Mar 2026
- 2025Expediting Reinforcement Learning by Incorporating Knowledge About Temporal Causality in the Environment17 Oct 2025
- 2025Reinforcement Learning with Stochastic Reward Machines16 Oct 2025
- 2025ARM-FM: Automated Reward Machines via Foundation Models for Compositional Reinforcement Learning16 Oct 2025
- 2025Physics-Informed Reward Machines14 Aug 2025
- 2025Average Reward Reinforcement Learning for Omega-Regular and Mean-Payoff Objectives21 May 2025
- 2024FORM: Learning Expressive and Transferable First-Order Logic Reward Machines31 Dec 2024
- 2024Accelerating Proximal Policy Optimization Learning Using Task Prediction for Solving Environments with Delayed Rewards26 Nov 2024
- 2024Learning Robust Reward Machines from Noisy Labels27 Aug 2024
- 2024Reward Machines for Deep RL in Noisy and Uncertain Environments31 May 2024
12 newest of 14 All 14 (JSON)
- 2020Active Task-Inference-Guided Deep Inverse Reinforcement Learningcited by 17
- 2024Tractable Offline Learning of Regular Decision Processescited by 3
- 2025Learning Reward Machines from Partially Observed Policiescited by 3
- 2024Bayesian Inverse Reinforcement Learning for Non-Markovian Rewardscited by 1
- 2022Reward Learning using Structural Motifs in Inverse Reinforcement Learningcited by 0
- 2025Learning Reward Machines from Partially Observed Policies6 Feb 2025
- 2024Tractable Offline Learning of Regular Decision Processes4 Sep 2024
- 2024Bayesian Inverse Reinforcement Learning for Non-Markovian Rewards20 Jun 2024
- 2022Reward Learning using Structural Motifs in Inverse Reinforcement Learning25 Sep 2022
- 2020Active Task-Inference-Guided Deep Inverse Reinforcement Learning24 Jan 2020
- 2025RLAF: Reinforcement Learning from Automaton Feedbackcited by 0
- 2025RLAF: Reinforcement Learning from Automaton Feedback17 Oct 2025
- 2021A Survey on Interpretable Reinforcement Learningcited by 73
- 2021Knowledge Enhanced Machine Learning Pipeline against Diverse Adversarial Attackscited by 24
- 2021In a Nutshell, the Human Asked for This: Latent Goals for Following Temporal Specificationscited by 17
- 2021Learning Reward Machines: A Study in Partially Observable Reinforcement Learningcited by 16
- 2021Verifiable and Compositional Reinforcement Learning Systemscited by 13
- 2021Inferring Probabilistic Reward Machines from Non-Markovian Reward Processes for Reinforcement Learningcited by 13
- 2022Overcoming Exploration: Deep Reinforcement Learning for Continuous Control in Cluttered Environments from Temporal Logic Specificationscited by 12
- 2022Joint Learning of Reward Machines and Policies in Environments with Partially Known Semanticscited by 12
- 2022Automaton-Based Representations of Task Knowledge from Generative Language Modelscited by 12
- 2022Markov Abstractions for PAC Reinforcement Learning in Non-Markov Decision Processescited by 10
- 2022Noisy Symbolic Abstractions for Deep RL: A case study with Reward Machinescited by 10
- 2022Automata Learning meets Shieldingcited by 9
12 most cited of 36 All 36 (JSON)
- 2026CEDAR: Automata as Verifiable Interfaces for Language-Guided Embodied Action28 Aug 2026
- 2026Active Reward Machine Inference From Raw State Trajectories8 Apr 2026
- 2025Decentralizing Multi-Agent Reinforcement Learning with Temporal Causal Information9 Jun 2025
- 2024Maximally Permissive Reward Machines15 Aug 2024
- 2024Using Large Language Models to Automate and Expedite Reinforcement Learning with Reward Machine11 Feb 2024
- 2023Program Machine Policy: Addressing Long-Horizon Tasks by Integrating Program Synthesis and State Machines27 Nov 2023
- 2023Verifiable Reinforcement Learning Systems via Compositionality9 Sep 2023
- 2023Learning Environment Models with Continuous Stochastic Dynamics29 Jun 2023
- 2023Reinforcement Learning with Temporal-Logic-Based Causal Diagrams23 Jun 2023
- 2023Reinforcement Learning With Reward Machines in Stochastic Games27 May 2023
- 2023Reward-Machine-Guided, Self-Paced Reinforcement Learning25 May 2023
- 2023Reinforcement Learning with Knowledge Representation and Reasoning: A Brief Survey24 Apr 2023
12 newest of 36 All 36 (JSON)