mlsanityData to 7 Oct 2026

Reward Machines: Exploiting Reward Function Structure in Reinforcement Learning

arXiv 2010.03950 ↗First posted 6 Oct 2020cs.LG cs.AIcited by 183

Not on the map. Why?

Abstract (arXiv)

Reinforcement learning (RL) methods usually treat reward functions as black boxes. As such, these methods must extensively interact with the environment in order to discover rewards and optimal policies. In most RL applications, however, users have to program the reward function and, hence, there is the opportunity to make the reward function visible -- to show the reward function's code to the RL agent so it can exploit the function's internal structure to learn optimal policies in a more sample efficient manner. In this paper, we show how to accomplish this idea in two steps. First, we propose reward machines, a type of finite state machine that supports the specification of reward functions while exposing reward function structure. We then describe different methodologies to exploit this structure to support learning, including automated reward shaping, task decomposition, and counterfactual reasoning with off-policy learning. Experiments on tabular and continuous domains, across different tasks and RL agents, show the benefits of exploiting reward structure with respect to sample efficiency and the quality of resultant policies. Finally, by virtue of being a form of finite state machine, reward machines have the expressive power of a regular language and as such support loops, sequences and conditionals, as well as the expression of temporally extended properties typical of linear temporal logic and non-Markovian reward specification.

Key facts. Cited by 183 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Oct 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 9; 2022: 27; 2023: 27; 2024: 44; 2025: 32; 2026: 44.

183 papers.

Sort:

By area:

  1. 2021LTL2Action: Generalizing LTL Instructions for Multi-Task RLcited by 72
  2. 2021Compositional Reinforcement Learning from Logical Specificationscited by 65
  3. 2023Grounding Complex Natural Language Commands for Temporal Tasks in Unseen Environmentscited by 52
  4. 2024Beyond Preferences in AI Alignmentcited by 46
  5. 2022Guarantees for Epsilon-Greedy Reinforcement Learning with Function Approximationcited by 29
  6. 2024DeepLTL: Learning to Efficiently Satisfy Complex LTL Specifications for Multi-Task RLcited by 20
  7. 2022Policy Optimization with Linear Temporal Logic Constraintscited by 19
  8. 2023Eventual Discounting Temporal Logic Counterfactual Experience Replaycited by 18
  9. 2024Compositional Automata Embeddings for Goal-Conditioned Reinforcement Learningcited by 18
  10. 2023Sample Efficient Model-free Reinforcement Learning from LTL Specifications with Optimality Guaranteescited by 17
  11. 2024A Review of Reward Functions for Reinforcement Learning in the context of Autonomous Drivingcited by 17
  12. 2021Learning Reward Machines: A Study in Partially Observable Reinforcement Learningcited by 16
38 more
  1. 2023Behavior Alignment via Reward Function Optimizationcited by 16
  2. 2024Goals as Reward-Producing Programscited by 14
  3. 2024Three Dogmas of Reinforcement Learningcited by 14
  4. 2021Inferring Probabilistic Reward Machines from Non-Markovian Reward Processes for Reinforcement Learningcited by 13
  5. 2021Verifiable and Compositional Reinforcement Learning Systemscited by 12
  6. 2022Joint Learning of Reward Machines and Policies in Environments with Partially Known Semanticscited by 12
  7. 2022Overcoming Exploration: Deep Reinforcement Learning for Continuous Control in Cluttered Environments from Temporal Logic Specificationscited by 11
  8. 2023LgTS: Dynamic Task Sampling using LLM-generated sub-goals for Reinforcement Learning Agentscited by 11
  9. 2024Reward Machines for Deep RL in Noisy and Uncertain Environmentscited by 11
  10. 2022Exploiting Transformer in Sparse Reward Reinforcement Learning for Interpretable Temporal Logic Motion Planningcited by 10
  11. 2022Noisy Symbolic Abstractions for Deep RL: A case study with Reward Machinescited by 10
  12. 2024LTL-Constrained Policy Optimization with Cycle Experience Replaycited by 10
  13. 2021Programmatic Reward Design by Examplecited by 9
  14. 2022A Hierarchical Bayesian Approach to Inverse Reinforcement Learning with Symbolic Reward Machinescited by 9
  15. 2022Accelerated Reinforcement Learning for Temporal Logic Control Objectivescited by 9
  16. 2024On the Limitations of Markovian Rewards to Express Multi-Objective, Risk-Sensitive, and Modal Taskscited by 9
  17. 2022Specification-Guided Learning of Nash Equilibria with High Social Welfarecited by 8
  18. 2024Robot Policy Learning with Temporal Optimal Transport Rewardcited by 8
  19. 2022Skill Machines: Temporal Logic Skill Composition in Reinforcement Learningcited by 7
  20. 2022Learning Task Automata for Reinforcement Learning using Hidden Markov Modelscited by 7
  21. 2022Relative Behavioral Attributes: Filling the Gap between Symbolic Goal Specification and Reward Learning from Human Preferencescited by 7
  22. 2023On the Convergence of Bounded Agentscited by 7
  23. 2023Remembering to Be Fair: Non-Markovian Fairness in Sequential Decision Makingcited by 7
  24. 2024Directed Exploration in Reinforcement Learning from Linear Temporal Logiccited by 7
  25. 2024Learning Robust Reward Machines from Noisy Labelscited by 7
  26. 2025Reinforcement Learning with Stochastic Reward Machinescited by 7
  27. 2021Learning Quadruped Locomotion Policies using Logical Rulescited by 6
  28. 2021Decentralized Graph-Based Multi-Agent Reinforcement Learning Using Reward Machinescited by 6
  29. 2022Model-Free Reinforcement Learning for Symbolic Automata-encoded Objectivescited by 6
  30. 2023Exploiting Contextual Structure to Generate Useful Auxiliary Taskscited by 6
  31. 2023General Policies, Subgoal Structure, and Planning Widthcited by 6
  32. 2023Counting Reward Automata: Sample Efficient Reinforcement Learning Through the Exploitation of Reward Function Structurecited by 6
  33. 2024Neural Reward Machinescited by 6
  34. 2024Neural Model Checkingcited by 6
  35. 2024MAPLE: A Framework for Active Preference Learning Guided by Large Language Modelscited by 6
  36. 2025Modeling Others' Minds as Codecited by 6
  37. 2021Lifelong Reinforcement Learning with Temporal Logic Formulas and Reward Machinescited by 5
  38. 2022Learning Minimally-Violating Continuous Control for Infeasible Linear Temporal Logic Specificationscited by 5

50 most cited of 183 All 183 (JSON)