Skip to main content
QUICK REVIEW

[Paper Review] On-Policy Deep Reinforcement Learning for the Average-Reward Criterion

Yiming Zhang, Keith W. Ross|arXiv (Cornell University)|Jun 14, 2021
Reinforcement Learning in RoboticsComputer Science12 citations
TL;DR

This paper proposes a novel on-policy deep reinforcement learning algorithm, Average-Reward TRPO (ATRPO), for continuing tasks by directly optimizing the long-term average reward criterion. It derives a theoretically grounded policy improvement bound based on average policy divergence and Kemeny's constant, enabling monotonic policy improvement; ATRPO significantly outperforms standard TRPO in challenging MuJoCo environments, especially in high-dimensional control tasks.

ABSTRACT

We develop theory and algorithms for average-reward on-policy Reinforcement Learning (RL). We first consider bounding the difference of the long-term average reward for two policies. We show that previous work based on the discounted return (Schulman et al., 2015; Achiam et al., 2017) results in a non-meaningful bound in the average-reward setting. By addressing the average-reward criterion directly, we then derive a novel bound which depends on the average divergence between the two policies and Kemeny's constant. Based on this bound, we develop an iterative procedure which produces a sequence of monotonically improved policies for the average reward criterion. This iterative procedure can then be combined with classic DRL (Deep Reinforcement Learning) methods, resulting in practical DRL algorithms that target the long-run average reward criterion. In particular, we demonstrate that Average-Reward TRPO (ATRPO), which adapts the on-policy TRPO algorithm to the average-reward criterion, significantly outperforms TRPO in the most challenging MuJuCo environments.

Motivation & Objective

  • Address the mismatch between standard deep RL algorithms, which optimize discounted returns, and real-world continuing tasks that require long-term average reward maximization.
  • Overcome the limitations of existing policy improvement bounds—originally derived for discounted settings—when applied to average-reward MDPs.
  • Develop a theoretically sound, on-policy algorithm that directly optimizes the average-reward criterion using a novel lower bound on the difference in long-term average rewards.
  • Demonstrate the practical superiority of the proposed method in high-dimensional, challenging MuJoCo control benchmarks compared to standard TRPO.
  • Establish a framework for integrating average-reward optimization into modern deep reinforcement learning pipelines, particularly for on-policy algorithms.

Proposed method

  • Derive a new lower bound on the difference in average rewards between two policies, which depends on the average policy divergence and Kemeny’s constant—a measure of mixing time in Markov chains.
  • Show that maximizing this bound leads to monotonic improvement in average reward, extending the policy improvement theorem to the average-reward setting.
  • Adapt the Trust Region Policy Optimization (TRPO) algorithm to the average-reward criterion, resulting in the Average-Reward TRPO (ATRPO) algorithm.
  • Use Generalized Advantage Estimation (GAE) for value function approximation and normalize advantages per batch to stabilize training.
  • Implement a reset cost mechanism in MuJoCo environments to simulate infinite-horizon dynamics and enable fair comparison with discounted methods.
  • Train and evaluate ATRPO and TRPO with identical hyperparameters and random seeds, using evaluation trajectories of varying lengths to assess performance stability.

Experimental results

Research questions

  • RQ1Can a theoretically grounded policy improvement bound be derived for the average-reward criterion that avoids the pitfalls of discounted-return-based bounds?
  • RQ2Does direct optimization of the average-reward criterion lead to better performance than using large discount factors in deep RL for continuing tasks?
  • RQ3How does ATRPO compare to standard TRPO in terms of sample efficiency and final performance on high-dimensional MuJoCo control tasks?
  • RQ4Is the performance of ATRPO sensitive to hyperparameters such as the reset cost used to simulate infinite-horizon dynamics?
  • RQ5Can the proposed average-reward framework be effectively combined with modern on-policy deep RL algorithms like TRPO?

Key findings

  • The policy improvement bound derived for the average-reward setting is meaningful and guarantees monotonic improvement, unlike previous discounted-based bounds which fail in this context.
  • ATRPO significantly outperforms TRPO across all MuJoCo environments, especially in the most challenging tasks such as Humanoid and Ant, where performance gains are substantial.
  • ATRPO maintains strong performance even when the reset cost is varied widely, indicating robustness to hyperparameter choices in the simulation setup.
  • ATRPO outperforms TRPO trained both with and without reset costs, demonstrating that the improvement is not due to the reset mechanism but to the underlying average-reward optimization.
  • The performance gap between ATRPO and TRPO widens on longer evaluation trajectories (e.g., 10,000 steps), confirming that ATRPO better captures long-term behavior than the discounted baseline.
  • The use of Kemeny’s constant in the theoretical bound provides a meaningful measure of chain mixing, linking theoretical properties to practical algorithm design.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.