Classical Policy Gradient: Preserving Bellman's Principle of Optimality
Philip S. Thomas, Scott M. Jordan, Yash Chandak, Chris Nota, James, Kostas

TL;DR
This paper introduces a new objective function for finite-horizon episodic Markov decision processes that aligns more closely with Bellman's principle of optimality, along with its gradient expression.
Contribution
It presents a novel objective function and gradient formulation that improve policy gradient methods in finite-horizon MDPs.
Findings
New objective function better captures Bellman's principle
Derived explicit gradient expression for the new objective
Potential improvements in policy optimization accuracy
Abstract
We propose a new objective function for finite-horizon episodic Markov decision processes that better captures Bellman's principle of optimality, and provide an expression for the gradient of the objective.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsReinforcement Learning in Robotics · Economic theories and models · Advanced Bandit Algorithms Research
Classical Policy Gradient: Preserving Bellman’s Principle of Optimality
Philip S. Thomas, Scott M. Jordan, Yash Chandak, Chris Nota, and James Kostas
University of Massachusetts Amherst, College of Information and Computer Sciences
In 1954, Richard Bellman wrote [1]:
Principle of Optimality: An optimal policy has the property that whatever the initial state and initial decisions are, the remaining decisions must constitute an optimal policy with regard to the state resulting from the first decisions.
This principle of optimality has endured at the foundation of reinforcement learning research, and is central to what remains the classical definition of an optimal policy [2]. Classical reinforcement learning algorithms like -learning [3] embody this principle by striving to act optimally in every state that occurs, regardless of when the state occurs.
The start-state objective function, , prioritizes making decisions optimally in the initial state, not necessarily in the states resulting from the first decisions.111We adopt notational standard MDPNv1 [4]. These two goals (optimizing decisions in the initial state and optimizing decisions in subsequent states) can be conflicting when using function approximation, particularly when is small and the initial state distribution has limited support. So, maximizing does not preserve the principle of optimality.
Let so that
[TABLE]
The term in (1) discounts the importance of optimal behavior in states that occur at later times. Algorithms purported to update following estimates of typically drop this term, since including it or setting results in poor performance. As a result, these algorithms do not capture the essence of , do not maximize , and are not stochastic gradient algorithms [5].
We propose a different objective function for finite-horizon episodic Markov decision processes that better captures the principal of optimality, and provide an expression for its gradient. This new objective, which we call the classical objective function, has the form , where is a distribution over and . This form harks back to the classical definition of an optimal policy, particularly if has full support on and does not depend on , in which case preserves the partial ordering on policies used in the classical definition of an optimal policy.
In model-free reinforcement learning, the agent is not free to sample states from an arbitrary distribution, which makes estimating or its gradient challenging with such a . So, we trade-off similarity to the classical definition of an optimal policy with the practicality of estimating the objective function and its gradient, and define to be the on-policy distribution for episodic tasks [2, page 199], but with some probability shifted to the terminal absorbing state: , where is the horizon. This captures the spirit of classical algorithms like -learning using function approximation: updates to function approximators occur when states are encountered, and are not discounted.
In the supplementary material we show that
[TABLE]
where if , if and , and if and .
The techniques that make estimation of effective, and which have been developed over 27 years [6], do not necessarily carry over to estimating . For example, it is not clear how baselines and control variates (and thus actor-critics) should be leveraged. Developing practical algorithms for (approximately) maximizing is an open problem—we have only had success with simple REINFORCE-like algorithms.
Notice that is not an ideal objective since, like , it does not preserve the partial ordering on policies used in the classical definition of an optimal policy, and examples exist wherein it prescribes unreasonable behavior. Still, presents a new direction for policy gradient research, opening new questions like: 1) are policy gradient algorithms for that drop the term better viewed as algorithms for optimizing ? 2) How should baselines and control variates be leveraged when optimizing ? 3) Can practical (linear-time and generalized [7]) natural gradient algorithms be derived?222Our experiments with such methods have hitherto been unsuccessful. 4) Do alternate forms for facilitate gradient estimation, e.g., writing the -summation over and the inner -summation over so that the -summation can be expressed as a new value function that measures the expected sum of state-values rather than the expected sum of rewards—a value function that might be approximated using a new TD-like algorithm, and which might allow for actor-critics for the classical objective? 5) What are the relationships between , , and the average reward objective? For example, notice that when , is equivalent to with .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Bellman [1954] R. Bellman. The theory of dynamic programming. Bulletin of the American Mathematical Society , 60(6):503–515, 1954.
- 2Sutton and Barto [2018] R. S. Sutton and A. G. Barto. Reinforcement Learning: An Introduction . MIT Press, Cambridge, MA, 2nd edition, 2018.
- 3Watkins [1989] C. Watkins. Learning From Delayed Rewards . Ph D thesis, University of Cambridge, England, 1989.
- 4Thomas and Okal [2016] P. S. Thomas and B. Okal. A notation for Markov decision processes. ar Xiv preprint ar Xiv:1512.09075 v 2 , 2016.
- 5Nota and Thomas [2019] C. Nota and P. S. Thomas. Is the policy gradient a gradient? Unpublished, 2019.
- 6Williams [1992] R. J. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning , 8:229–256, 1992.
- 7Thomas [2014] P. S. Thomas. Ge NGA: A generalization of natural gradient ascent with positive and negative convergence results. In ICML , 2014.
