Calculus on MDPs: Potential Shaping as a Gradient
Not on the map. Why?
Abstract (arXiv)
In reinforcement learning, different reward functions can be equivalent in terms of the optimal policies they induce. A particularly well-known and important example is potential shaping, a class of functions that can be added to any reward function without changing the optimal policy set under arbitrary transition dynamics. Potential shaping is conceptually similar to potentials, conservative vector fields and gauge transformations in math and physics, but this connection has not previously been formally explored. We develop a formalism for discrete calculus on graphs that abstract a Markov Decision Process, and show how potential shaping can be formally interpreted as a gradient within this framework. This allows us to strengthen results from Ng et al. (1999) describing conditions under which potential shaping is the only additive reward transformation to always preserve optimal policies. As an additional application of our formalism, we define a rule for picking a single unique reward function from each potential shaping equivalence class.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 11 of its 27 references that are in the map. First posted on arXiv 20 Aug 2022.
Builds on
11 of 27 references.
References · 11
- 2017Deep reinforcement learning from human preferencescited by 3,846
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2019Extrapolating Beyond Suboptimal Demonstrations via Inverse Reinforcement Learning from Observationscited by 256
- 2020Reward Machines: Exploiting Reward Function Structure in Reinforcement Learningcited by 183
- 2020Quantifying Differences in Reward Functionscited by 62
- 2021Identifiability in inverse reinforcement learningcited by 55
- 2022Invariance in Policy Optimisation and Partial Identifiability in Reward Learningcited by 46
- 2020Understanding Learned Reward Functionscited by 37
- 2022Dynamics-Aware Comparison of Learned Reward Functionscited by 17
- 2022Preprocessing Reward Functions for Interpretabilitycited by 7
- 2021Plan-Based Relaxed Reward Shaping for Goal-Directed Taskscited by 5
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 0; 2025: 2.
4 papers.
- 2022Misspecification in Inverse Reinforcement Learningcited by 27
- 2023STARC: A General Framework For Quantifying Differences Between Reward Functionscited by 15
- 2025Soft Policy Optimization: Online Off-Policy RL for Sequence Modelscited by 12
- 2025Bootstrapped Reward Shapingcited by 3
- 2025Soft Policy Optimization: Online Off-Policy RL for Sequence Models7 Mar 2025
- 2025Bootstrapped Reward Shaping2 Jan 2025
- 2023STARC: A General Framework For Quantifying Differences Between Reward Functions26 Sep 2023
- 2022Misspecification in Inverse Reinforcement Learning6 Dec 2022