Programmatic Reward Design by Example
Not on the map. Why?
Abstract (arXiv)
Reward design is a fundamental problem in reinforcement learning (RL). A misspecified or poorly designed reward can result in low sample efficiency and undesired behaviors. In this paper, we propose the idea of programmatic reward design, i.e. using programs to specify the reward functions in RL environments. Programs allow human engineers to express sub-goals and complex task scenarios in a structured and interpretable way. The challenge of programmatic reward design, however, is that while humans can provide the high-level structures, properly setting the low-level details, such as the right amount of reward for a specific sub-task, remains difficult. A major contribution of this paper is a probabilistic framework that can infer the best candidate programmatic reward function from expert demonstrations. Inspired by recent generative-adversarial approaches, our framework searches for the most likely programmatic reward function under which the optimally generated trajectories cannot be differentiated from the demonstrated trajectories. Experimental results show that programmatic reward functionslearned using this framework can significantly outperform those learned using existing reward learning algo-rithms, and enable RL agents to achieve state-of-the-artperformance on highly complex tasks.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 22 of its 50 references that are in the map. First posted on arXiv 14 Dec 2021.
Builds on
22 of 50 references.
References · 22
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2016Concrete Problems in AI Safetycited by 1,582
- 2016Generative Adversarial Imitation Learningcited by 1,576
- 2017Curiosity-driven Exploration by Self-supervised Predictioncited by 1,173
- 2016Unifying Count-Based Exploration and Intrinsic Motivationcited by 632
- 2017Learning Robust Rewards with Adversarial Inverse Reinforcement Learningcited by 485
- 2018Reinforcement Learning and Control as Probabilistic Inference: Tutorial and Reviewcited by 466
- 2017Safe Reinforcement Learning via Shieldingcited by 427
- 2016Guided Cost Learning: Deep Inverse Optimal Control via Policy Optimizationcited by 400
- 2017Inverse Reward Designcited by 246
- 2018Programmatically Interpretable Reinforcement Learningcited by 192
- 2020Reward Machines: Exploiting Reward Function Structure in Reinforcement Learningcited by 183
10 more
- 2016A Connection between Generative Adversarial Networks, Inverse Reinforcement Learning, and Energy-Based Modelscited by 167
- 2020RIDE: Rewarding Impact-Driven Exploration for Procedurally-Generated Environmentscited by 135
- 2016Reinforcement Learning With Temporal Logic Rewardscited by 114
- 2016Neuro-Symbolic Program Synthesiscited by 84
- 2021Adversarially Guided Actor-Criticcited by 47
- 2019An Inductive Synthesis Framework for Verifiable Reinforcement Learningcited by 39
- 2020Learning abstract structure for drawing by efficient motor program inductioncited by 23
- 2018Logically-Constrained Neural Fitted Q-Iterationcited by 17
- 2017Safety-Aware Apprenticeship Learningcited by 12
- 2021Program Synthesis Guided Reinforcement Learning for Partially Observed Environmentscited by 7
Built on by
Citing papers per year: 2022: 2; 2023: 3; 2024: 3; 2025: 0; 2026: 1.
9 papers.
- 2024Temporal Logic Specification-Conditioned Decision Transformer for Offline Safe Reinforcement Learningcited by 10
- 2022A Hierarchical Bayesian Approach to Inverse Reinforcement Learning with Symbolic Reward Machinescited by 9
- 2023Reinforcement Learning with Knowledge Representation and Reasoning: A Brief Surveycited by 5
- 2024Large Language Model-Enhanced Reinforcement Learning for Generic Bus Holding Control Strategiescited by 4
- 2023Mission-driven Exploration for Accelerated Deep Reinforcement Learning with Temporal Logic Task Specificationscited by 3
- 2024Rethinking Inverse Reinforcement Learning: from Data Alignment to Task Alignmentcited by 3
- 2022Tiered Reward: Designing Rewards for Specification and Fast Learning of Desired Behaviorcited by 0
- 2023PAGAR: Taming Reward Misalignment in Inverse Reinforcement Learning-Based Imitation Learning with Protagonist Antagonist Guided Adversarial Rewardcited by 0
- 2026Discovering High Level Patterns from Simulation Tracescited by 0
- 2026Discovering High Level Patterns from Simulation Traces10 Feb 2026
- 2024Rethinking Inverse Reinforcement Learning: from Data Alignment to Task Alignment31 Oct 2024
- 2024Large Language Model-Enhanced Reinforcement Learning for Generic Bus Holding Control Strategies14 Oct 2024
- 2024Temporal Logic Specification-Conditioned Decision Transformer for Offline Safe Reinforcement Learning27 Feb 2024
- 2023Mission-driven Exploration for Accelerated Deep Reinforcement Learning with Temporal Logic Task Specifications28 Nov 2023
- 2023PAGAR: Taming Reward Misalignment in Inverse Reinforcement Learning-Based Imitation Learning with Protagonist Antagonist Guided Adversarial Reward2 Jun 2023
- 2023Reinforcement Learning with Knowledge Representation and Reasoning: A Brief Survey24 Apr 2023
- 2022Tiered Reward: Designing Rewards for Specification and Fast Learning of Desired Behavior7 Dec 2022
- 2022A Hierarchical Bayesian Approach to Inverse Reinforcement Learning with Symbolic Reward Machines20 Apr 2022