Skip to main content
QUICK REVIEW

[Paper Review] Reward Estimation for Variance Reduction in Deep Reinforcement Learning

Joshua Romoff, Peter Henderson|arXiv (Cornell University)|May 9, 2018
Reinforcement Learning in RoboticsComputer Science39 references12 citations
TL;DR

This paper proposes a reward estimation method that reduces variance in deep reinforcement learning by learning a direct estimator for expected rewards, replacing noisy or corrupted sampled rewards during training. The approach improves sample efficiency and convergence in both tabular and deep RL settings across MuJoCo and Atari environments under various stochastic noise types, with significant variance reduction and performance gains observed empirically.

ABSTRACT

Reinforcement Learning (RL) agents require the specification of a reward signal for learning behaviours. However, introduction of corrupt or stochastic rewards can yield high variance in learning. Such corruption may be a direct result of goal misspecification, randomness in the reward signal, or correlation of the reward with external factors that are not known to the agent. Corruption or stochasticity of the reward signal can be especially problematic in robotics, where goal specification can be particularly difficult for complex tasks. While many variance reduction techniques have been studied to improve the robustness of the RL process, handling such stochastic or corrupted reward structures remains difficult. As an alternative for handling this scenario in model-free RL methods, we suggest using an estimator for both rewards and value functions. We demonstrate that this improves performance under corrupted stochastic rewards in both the tabular and non-linear function approximation settings for a variety of noise types and environments. The use of reward estimation is a robust and easy-to-implement improvement for handling corrupted reward signals in model-free RL.

Motivation & Objective

  • To address high variance in deep reinforcement learning caused by stochastic or corrupted reward signals, especially in robotics where goal specification is challenging.
  • To develop a practical, model-free method that improves learning stability and sample efficiency without requiring environment dynamics modeling.
  • To demonstrate that estimating expected rewards rather than using raw sampled rewards leads to lower variance and better performance in both tabular and deep function approximation settings.
  • To provide a simple, robust, and easy-to-implement alternative to existing variance reduction techniques that do not explicitly handle reward corruption.

Proposed method

  • The method replaces sampled rewards $ r_t $ with a learned estimator $ \hat{R}(s_t) $, which estimates the local expected reward at each state.
  • A separate neural network or function approximator is trained to predict $ \hat{R}(s_t) $ using historical state-reward pairs, minimizing mean squared error with respect to the true expected reward.
  • The estimated reward $ \hat{R}(s_t) $ is used in place of $ r_t $ in the Bellman backup and policy gradient updates, reducing variance in value function and policy learning.
  • The value function $ V^\pi(s_t) $ is updated using the estimated reward in the temporal difference target: $ Y_t = \hat{R}(s_t) + \gamma V^\pi(s_{t+1}) $.
  • The approach is applied to both tabular MDPs and deep RL algorithms, including PPO and SAC, in continuous control (MuJoCo) and discrete control (Atari) benchmarks.
  • The method avoids modeling dynamics or planning, focusing solely on reward signal correction, making it lightweight and compatible with existing model-free RL frameworks.

Experimental results

Research questions

  • RQ1Can learning a direct estimator for expected rewards reduce variance in value function and policy updates under corrupted reward signals in deep RL?
  • RQ2How does reward estimation compare to standard RL training when rewards are stochastic, sparse, or corrupted by noise?
  • RQ3Does the proposed method maintain or improve sample efficiency and final performance in continuous control tasks like MuJoCo locomotion?
  • RQ4To what extent does the method reduce variance in the Bellman backup operator compared to using raw sampled rewards?
  • RQ5Is the benefit of reward estimation consistent across different types of reward corruption (Gaussian, uniform, sparsity) and environments?

Key findings

  • In HalfCheetah-v2 with 40% sparsity noise, the variance of the estimated reward $ \hat{R} $ dropped to 29.989, compared to 163.790 for corrupted rewards $ R_{corr} $, indicating substantial variance reduction.
  • Under 95% sparsity noise, the variance of $ \hat{R} $ in Hopper-v2 was reduced to 4.146, down from 72.268 for $ R_{corr} $, showing robustness even under extreme corruption.
  • For Gaussian noise with $ \sigma = 0.4 $, the variance of $ \hat{R} $ in Reacher-v2 was 1.481, compared to 13.629 for $ R_{corr} $, demonstrating consistent variance reduction.
  • The mean squared error (MSE) between $ \hat{R} $ and the true reward $ R_{true} $ was consistently lower than between $ R_{corr} $ and $ R_{true} $, confirming the estimator's accuracy.
  • In all environments, the use of $ \hat{R} $ led to faster convergence and improved final performance in both MuJoCo and Atari benchmarks, with reduced TD error and more stable learning curves.
  • The method achieved significant performance gains without requiring changes to the underlying RL algorithm, indicating broad compatibility and practical utility.

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.