mlsanityData to 14 Oct 2026

Joint Inference of Reward Machines and Policies for Reinforcement Learning

arXiv 1909.05912 ↗First posted 12 Sep 2019cs.AIcited by 56

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

Cited by year (2026 to 14 Oct)

Citing papers per year: 2020: 1; 2021: 9; 2022: 13; 2023: 10; 2024: 10; 2025: 8; 2026: 5.

56 papers.

Sort:

By area:

  1. 2021A Survey on Interpretable Reinforcement Learningcited by 73
  2. 2021Knowledge Enhanced Machine Learning Pipeline against Diverse Adversarial Attackscited by 24
  3. 2020Active Task-Inference-Guided Deep Inverse Reinforcement Learningcited by 17
  4. 2021In a Nutshell, the Human Asked for This: Latent Goals for Following Temporal Specificationscited by 17
  5. 2021Learning Reward Machines: A Study in Partially Observable Reinforcement Learningcited by 16
  6. 2021Verifiable and Compositional Reinforcement Learning Systemscited by 13
  7. 2021Inferring Probabilistic Reward Machines from Non-Markovian Reward Processes for Reinforcement Learningcited by 13
  8. 2022Overcoming Exploration: Deep Reinforcement Learning for Continuous Control in Cluttered Environments from Temporal Logic Specificationscited by 12
  9. 2022Joint Learning of Reward Machines and Policies in Environments with Partially Known Semanticscited by 12
  10. 2022Automaton-Based Representations of Task Knowledge from Generative Language Modelscited by 12
  11. 2024Reward Machines for Deep RL in Noisy and Uncertain Environmentscited by 11
  12. 2022Markov Abstractions for PAC Reinforcement Learning in Non-Markov Decision Processescited by 10
38 more
  1. 2022Noisy Symbolic Abstractions for Deep RL: A case study with Reward Machinescited by 10
  2. 2022Automata Learning meets Shieldingcited by 9
  3. 2024Using Large Language Models to Automate and Expedite Reinforcement Learning with Reward Machinecited by 9
  4. 2021Decentralized Graph-Based Multi-Agent Reinforcement Learning Using Reward Machinescited by 7
  5. 2022Learning Task Automata for Reinforcement Learning using Hidden Markov Modelscited by 7
  6. 2024Learning Robust Reward Machines from Noisy Labelscited by 7
  7. 2025Reinforcement Learning with Stochastic Reward Machinescited by 7
  8. 2021Learning Quadruped Locomotion Policies using Logical Rulescited by 6
  9. 2022Learning Minimally-Violating Continuous Control for Infeasible Linear Temporal Logic Specificationscited by 6
  10. 2023Reinforcement Learning with Knowledge Representation and Reasoning: A Brief Surveycited by 5
  11. 2024Detecting Hidden Triggers: Mapping Non-Markov Reward Functions to Markovcited by 5
  12. 2025ARM-FM: Automated Reward Machines via Foundation Models for Compositional Reinforcement Learningcited by 5
  13. 2022Hierarchies of Reward Machinescited by 4
  14. 2022Reinforcement Learning under Partial Observability Guided by Learned Environment Modelscited by 4
  15. 2023Learning Symbolic Representations for Reinforcement Learning of Non-Markovian Behaviorcited by 4
  16. 2024FORM: Learning Expressive and Transferable First-Order Logic Reward Machinescited by 4
  17. 2021Uncertainty-Aware Signal Temporal Logic Inferencecited by 3
  18. 2023Verifiable Reinforcement Learning Systems via Compositionalitycited by 3
  19. 2024Tractable Offline Learning of Regular Decision Processescited by 3
  20. 2025Learning Reward Machines from Partially Observed Policiescited by 3
  21. 2023Co-learning Planning and Control Policies Constrained by Differentiable Logic Specificationscited by 2
  22. 2023Learning Reward Machines in Cooperative Multi-Agent Taskscited by 2
  23. 2023Reinforcement Learning with Temporal-Logic-Based Causal Diagramscited by 2
  24. 2025Expediting Reinforcement Learning by Incorporating Knowledge About Temporal Causality in the Environmentcited by 2
  25. 2022Automata Cascades: Expressivity and Sample Complexitycited by 1
  26. 2023Reward-Machine-Guided, Self-Paced Reinforcement Learningcited by 1
  27. 2023Program Machine Policy: Addressing Long-Horizon Tasks by Integrating Program Synthesis and State Machinescited by 1
  28. 2024Bayesian Inverse Reinforcement Learning for Non-Markovian Rewardscited by 1
  29. 2024Accelerating Proximal Policy Optimization Learning Using Task Prediction for Solving Environments with Delayed Rewardscited by 1
  30. 2022Reward Learning using Structural Motifs in Inverse Reinforcement Learningcited by 0
  31. 2022Learning Dynamic Abstract Representations for Sample-Efficient Reinforcement Learningcited by 0
  32. 2023Reinforcement Learning With Reward Machines in Stochastic Gamescited by 0
  33. 2023Learning Environment Models with Continuous Stochastic Dynamicscited by 0
  34. 2024Sample Efficient Reinforcement Learning by Automatically Learning to Compose Subtaskscited by 0
  35. 2024Maximally Permissive Reward Machinescited by 0
  36. 2025Average Reward Reinforcement Learning for Omega-Regular and Mean-Payoff Objectivescited by 0
  37. 2025Decentralizing Multi-Agent Reinforcement Learning with Temporal Causal Informationcited by 0
  38. 2025Physics-Informed Reward Machinescited by 0

50 most cited of 56 All 56 (JSON)