Doubly Robust Off-Policy Actor-Critic Algorithms for Reinforcement Learning

Riashat Islam, Raihan Seraj, Samin Yeasar Arnob, Doina PrecuparXiv 2019

Abstract

We study the problem of off-policy critic evaluation in several variants of value-based off-policy actor-critic algorithms. Off-policy actor-critic algorithms require an off-policy critic evaluation step, to estimate the value of the new policy after every policy gradient update. Despite enormous success of off-policy policy gradients on control tasks, existing general methods suffer from high variance and instability, partly because the policy improvement depends on gradient of the estimated value function. In this work, we present a new way of off-policy policy evaluation in actor-critic, based on the doubly robust estimators. We find that doubly robust estimation of the critic can significantly improve performance in continuous control tasks. Furthermore, in cases where the reward function is stochastic that can lead to high variance, doubly robust critic estimation can improve performance under corrupted, stochastic reward signals, indicating its usefulness for robust and safe reinforcement learning.

Introduction

Off-policy reinforcement learning (RL) is highly desirable because it allows agents to learn from past experiences stored in replay buffers, making it significantly more sample-efficient than on-policy methods. However, popular off-policy actor-critic algorithms such as DDPG, SAC, and TD3 often suffer from high variance and instability.

The root of this instability often lies in the critic. The actor (policy) is updated based on the gradient of the value function (the critic). If the critic’s estimates are noisy—due to stochastic rewards or the distribution shift between the current policy and the replay buffer data—the policy updates become erratic. While "Doubly Robust" (DR) estimators have been used in Off-Policy Evaluation (OPE) to provide unbiased, low-variance value estimates, their integration into the online training loop of deep RL control algorithms has remained largely unexplored.

Methodology: The Doubly Robust Critic

This work proposes extending the DR estimator from static evaluation to the active learning process. The core idea is to use a model-based estimate to regularize a model-free update, operating on three simultaneous time-scales:

  1. Reward Modeling: The agent learns a separate function approximator $\hat{R}(s, a)$ to predict immediate rewards.
  2. Approximate Value Estimation: Using these predicted rewards, the agent maintains auxiliary model-based estimates of the value function ($\hat{Q}$ and $\hat{V}$).
  3. Doubly Robust Update: These estimates serve as a "control variate" for the critic update. The DR critic is formulated as: $$Q^{DR}(s, a) = \hat{Q}(s, \pi(s)) + [r + \gamma Q^{DR}(s', \pi(s')) - \hat{V}(s)]$$

This formulation remains unbiased even if the reward model is slightly inaccurate, yet it drastically reduces variance if the model captures the general structure of the environment.

Experimental Results

The approach was evaluated using the MuJoCo physics engine on standard benchmarks: HalfCheetah-v1, Walker2d-v1, and Hopper-v1.

Performance in Standard Environments

In "clean" environments without added noise, the DR estimator performed comparably to or slightly better than standard baselines. The DR-enhanced versions of DDPG, SAC, and TD3 demonstrate stable convergence and reduced variance across various tasks.

Performance comparison of Doubly Robust vs. Baseline across multiple algorithms and MuJoCo tasks in noise-free environments.

Robustness to Stochastic Rewards

To test robustness, the authors created "Corrupted Reward MDPs" by adding Gaussian noise ($\sigma = 0.5$ and $\sigma = 1.0$) to the true reward signals. This simulates noisy sensor data common in real-world robotics.

The results indicate that DR estimation is a powerful tool for robust RL. In environments where rewards are corrupted, standard algorithms often fail to converge or exhibit high variance. In contrast, the DR versions remain stable and achieve significantly higher cumulative returns.

Performance on Hopper-v1 with noisy rewards using the TD3 algorithm, showing the superior stability and return of the Doubly Robust approach.

Conclusion and Future Work

Integrating Doubly Robust estimators into off-policy actor-critic algorithms effectively tames the variance inherent in critic updates. This leads to more predictable training and significantly improved performance in stochastic environments.

Future work includes addressing the computational overhead of training auxiliary reward and value models and exploring the bias-variance trade-off specifically within the actor update. Additionally, investigating the sensitivity of the method to hyperparameters like the relative learning rates of the three components remains a vital area for further research.

Summary updated

BibTeX
@misc{islam2019doubly,
  author = {Riashat Islam and Raihan Seraj and Samin Yeasar Arnob and Doina Precup},
  title = {{Doubly Robust Off-Policy Actor-Critic Algorithms for Reinforcement Learning}},
  year = {2019},
  eprint = {1912.05109},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.05109},
}
Figure