Off-Policy Average Reward Actor-Critic with Deterministic Policy Search

Naman Saxena, Subhojyoti Khastagir, Shishir N Y, Shalabh Bhatnagar

Introduction

In reinforcement learning (RL), the standard paradigm for continuous control has long been the discounted reward criterion. While mathematically convenient due to its contractive properties, the discounted objective is highly sensitive to the choice of the discount factor $\gamma$ and often fails to align with the true long-term goals of an agent in infinite-horizon tasks. At ICML 2023, researchers introduced a robust alternative: ARO-DDPG, an off-policy actor-critic framework designed specifically for the average reward criterion in continuous state-action spaces.

The Challenge of Average Reward

The average reward criterion focuses on the long-term steady-state performance of an agent, making it a more natural fit for many real-world applications. However, implementing it presents significant theoretical and practical hurdles. Unlike the discounted setting, the Bellman equation for average rewards—known as the Poisson equation—does not have a unique solution. Furthermore, the agent must simultaneously estimate the scalar average reward ($\rho$) and the differential value function ($Q$), adding a layer of complexity to the optimization process.

Historically, most average reward algorithms have been on-policy, leading to poor sample efficiency because they cannot reuse old data. ARO-DDPG addresses this by enabling off-policy learning with deterministic policies, allowing the agent to leverage a replay buffer to improve sample efficiency significantly.

Theoretical Foundations

The paper provides the necessary theoretical scaffolding for off-policy average reward learning through two primary contributions:

  1. Deterministic Policy Gradient Theorems: The authors derive new versions of the policy gradient theorem specifically for the average reward setting, covering both on-policy and off-policy scenarios. They demonstrate that a "naive" off-policy gradient is insufficient and provide a theoretically grounded approximate gradient that accounts for the discrepancy between the behavior policy and the target policy.
  2. Convergence Analysis: Using ODE-based methods, the authors prove the asymptotic convergence of their algorithm. They also provide a finite-time analysis, establishing a sample complexity of $\Omega(\epsilon^{-2.5})$ to reach an $\epsilon$-optimal stationary policy.

The ARO-DDPG Algorithm

Building on the Deep Deterministic Policy Gradient (DDPG) architecture, ARO-DDPG consists of three primary components:

  • The Critic: Estimates the differential Q-value, representing the relative advantage of an action compared to the average reward.
  • The Average Reward Estimator ($\rho$): Tracks the long-term mean reward of the current policy.
  • The Actor: Optimizes the deterministic policy based on the derived gradients.

To maintain stability during training, the algorithm employs a multi-timescale stochastic approximation approach. The components are updated at different rates: the critic updates fastest, the average reward estimate at a medium pace, and the actor slowest. This hierarchy ensures that the value function and average reward estimates are sufficiently stable before the policy is significantly altered.

Experimental Evaluation

The authors evaluated ARO-DDPG using the DeepMind Control Suite, testing it on six diverse environments: Cheetah-Run, Finger-Spin, Cartpole-Balance, Fish-Upright, Humanoid-Walk, and Walker-Walk.

The results demonstrate that ARO-DDPG consistently outperforms state-of-the-art on-policy average reward benchmarks, such as ATRPO and APO. The performance gap is most pronounced in high-dimensional tasks like Humanoid-Walk, where ARO-DDPG achieves significantly higher average rewards while on-policy methods struggle to make progress. By utilizing a replay buffer, the algorithm exhibits superior sample efficiency, reaching high performance levels with far fewer environment interactions than its on-policy counterparts.

Conclusion and Future Directions

ARO-DDPG represents a significant step forward in making average reward RL practical for continuous control. By combining the sample efficiency of off-policy learning with the robustness of the average reward criterion, it provides a powerful tool for long-term optimization tasks.

Future research may explore "bias optimality," a more refined optimization of the differential value function, or the incorporation of natural gradients to further stabilize and accelerate convergence. Additionally, extending this framework to constrained Markov Decision Processes (CMDPs) remains a promising avenue for ensuring safety in average reward settings.

Summary updated

BibTeX
@inproceedings{saxena2023off,
  author = {Naman Saxena and Subhojyoti Khastagir and Shishir N Y and Shalabh Bhatnagar},
  title = {{Off-Policy Average Reward Actor-Critic with Deterministic Policy Search}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=Tw7pgl861K},
}
Figure