Abstract
Reinforcement Learning (RL) agents often struggle in real-world environments where reward signals are stochastic or corrupted by sensor noise. This paper proposes a simple yet effective modification to model-free RL: replacing raw, sampled rewards with a learned reward estimator ($\hat{R}$). By utilizing the expected value of rewards rather than noisy samples, the method significantly reduces the variance of Temporal Difference (TD) updates. Empirical evaluations across MuJoCo and Atari environments demonstrate that this approach leads to more stable learning and substantial performance improvements, particularly in high-noise scenarios.
Introduction
In practical applications like robotics, the reward signal provided by the environment is rarely perfect. Sensor jitter, misaligned goals, or inconsistent human feedback can introduce significant noise into the feedback loop. Standard RL algorithms, such as Proximal Policy Optimization (PPO) or Advantage Actor-Critic (A2C), use these raw rewards to calculate Bellman targets. When rewards are noisy, the resulting gradients become high-variance, making the learning process unstable or slow.
While existing research has focused on reducing variance stemming from environmental transitions, the variance inherent in the reward signal itself is often overlooked. This work addresses this gap by smoothing the reward signal through estimation.
The Reward Estimation Framework
The core proposal is a "plug-and-play" module for existing model-free RL architectures. Instead of relying on the sampled reward $r_t$ at each step, the agent learns a separate Reward Estimator $\hat{R}(s_t, a_t)$.
The estimator is trained via a simple regression task to minimize the squared error between its prediction and the actual sampled reward. During the learning process, the standard TD target: $$Y_t = r_t + \gamma V(s_{t+1})$$ is replaced with the estimated target: $$Y_t = \hat{R}(s_t, a_t) + \gamma V(s_{t+1})$$
This substitution trades a small amount of potential bias for a significant reduction in variance. Unlike model-based RL, this method does not require predicting future states; it merely smooths the local reward signal used for updates.
Experimental Evaluation
The authors evaluated the method across three distinct domains, introducing artificial noise to simulate real-world corruption:
- Tabular MDPs: Simple chain environments used for theoretical verification.
- MuJoCo (OpenAI Gym): Continuous control tasks (e.g., HalfCheetah, Walker2d).
- Atari 2600: Discrete action games (e.g., Breakout, Seaquest).
Three types of noise were tested: Gaussian (simulating sensor noise), Uniform (random replacement), and Sparsity (randomly dropping rewards).
Key Results and Insights
The experimental results highlight the robustness of reward estimation. In MuJoCo tasks with high uniform noise, the proposed method showed up to a 500% improvement over standard PPO baselines.
As shown in the figure above, the reward estimator (labeled "Ours") maintains higher episode rewards as noise levels increase (0.0 to 0.2). Crucially, the bottom row of plots demonstrates a dramatic reduction in the variance of the Advantage signal—the TD error—which directly correlates with smoother policy updates. Across all environments, the method achieved an average absolute reduction in variance between 59.7% and 76.7%.
Even in "clean" environments without added noise, the estimator performed comparably to or slightly better than baselines, suggesting it helps manage the inherent stochasticity of RL environments.
Conclusion
Reward estimation provides a straightforward path to variance reduction in deep RL. By learning to predict the expected reward, agents can filter out noise that would otherwise destabilize the learning process. While the method faces challenges with extreme reward sparsity, its success in continuous and discrete domains makes it a valuable tool for deploying RL in noisy, real-world settings. Future work may explore learning full reward distributions to further enhance robustness.
Reference: Romoff, J., et al. (2018). Reward Estimation for Variance Reduction in Deep Reinforcement Learning. CoRL 2018.
Summary updated