Introduction
Reinforcement Learning (RL) has shown remarkable success in simulated environments, yet its transition to real-world applications, particularly in robotics, remains challenging. A primary hurdle is the reliability of the reward signal. While standard RL algorithms like Proximal Policy Optimization (PPO) or Advantage Actor-Critic (A2C) assume a clean, ground-truth reward $r_t$, real-world sensors often provide noisy, sparse, or corrupted signals. Such stochasticity injects significant variance into policy gradients, leading to unstable learning or failure to converge. This paper addresses this gap by proposing a reward estimation framework designed to filter noise and stabilize training.
The Reward Estimation Framework
The authors introduce a straightforward but effective modification to model-free RL: replacing raw, sampled rewards with estimated expectations.
Learning the Estimator
In addition to the standard policy and value function networks, the agent maintains a reward estimator $\hat{R}$. This component is trained via regression (Mean Squared Error) to predict the observed rewards based on state-action pairs: $$ \mathcal{L}(\theta_R) = \mathbb{E} [(\hat{R}(s_t, a_t; \theta_R) - r_t)^2] $$
The Update Swap
The core innovation lies in the Temporal Difference (TD) update. In standard RL, the target $Y_t$ uses the sampled reward: $Y_t = r_t + \gamma V(s_{t+1})$. The proposed method swaps the noisy sample $r_t$ for the learned estimate $\hat{R}(s_t, a_t)$: $$ Y_t = \hat{R}(s_t, a_t) + \gamma V(s_{t+1}) $$
By using the expectation of the reward rather than a single noisy sample, the estimator acts as a low-pass filter, providing a smoother signal for the value function to follow. Theoretical analysis in the tabular case confirms that this approach reduces the variance of the Bellman estimate, provided there is a non-negative covariance between the reward and the next-state value.
Experimental Evaluation
The method was evaluated across three domains:
- Tabular MDPs: To validate theoretical variance reduction.
- MuJoCo (OpenAI Gym): Continuous control benchmarks (e.g., HalfCheetah, Walker2d).
- Atari 2600: Discrete action environments.
To simulate real-world conditions, the researchers injected three types of noise: Gaussian noise, Uniform noise (randomly replacing rewards), and Sparsity (randomly dropping rewards).
Key Results and Insights
The empirical results demonstrate that direct replacement of the reward signal is far more effective than simply using reward prediction as an auxiliary task.
Performance Under Noise
The proposed method showed dramatic improvements in noisy environments. In MuJoCo tasks with high uniform noise (40% corruption), the approach achieved over a 500% average improvement over baselines. In the HalfCheetah environment specifically, the performance gain exceeded 2000% under certain noise conditions.
Variance Reduction
Measurements of the Bellman operator's variance showed absolute reductions of 60% to 76% across various noise types. This confirms that the reward estimator successfully stabilizes the learning signal, allowing the agent to learn effectively even when the environment provides highly unreliable feedback.
Discussion and Future Work
While highly effective at reducing variance, the method introduces a potential bias-variance tradeoff. If the reward model is inaccurate or underfit, it can introduce bias that hinders performance in "clean" environments. Additionally, while the method handles noise well, learning a reward model from extremely sparse signals remains a challenge.
Future research directions include exploring distributional reward estimators to capture the full uncertainty of the reward signal and integrating these estimators with off-policy experience replay to further enhance sample efficiency.
Summary updated