Variance Reduction through Value and Reward Smoothing

39 concepts26 papers1 proposal

Deep reinforcement learning (DRL) is notoriously unstable. Unlike supervised learning, where models train on fixed targets, RL relies on bootstrapped targets that shift constantly. This creates a dangerous feedback loop: stochastic environmental noise and approximation errors distort the value function, and because policies optimize against these distorted values, the errors compound.

Two primary sources of variance destabilize RL agents:

  1. The Winner's Curse (Overestimation Bias): When calculating temporal-difference (TD) targets, algorithms use a maximization operator over estimated values. Mathematically, the expectation of a maximum is greater than or equal to the maximum of the expectation ($\mathbb{E}[\max X] \ge \max \mathbb{E}[X]$). This discrepancy—the Jensen gap—causes agents to systematically over-approximate rewards, chasing illusory high-value states.
  2. High-Frequency Feedback Noise: Real-world rewards and transitions are often highly stochastic (e.g., erratic user clicks in recommender systems or sudden traffic fluctuations in ride-hailing). Reacting to every transient spike causes erratic policy shifts.

To combat this, a powerful paradigm has emerged: statistical smoothing and aggregation. By averaging estimates across ensembles, temporal horizons, and input variations, independent noise components cancel out, drastically stabilizing learning.

Shrinking the Jensen Gap with Ensemble Aggregation

How do we prevent the maximization operator from amplifying noise? The most direct solution is to reduce the variance of the underlying estimates before the maximum is taken. If the variance of our estimators approaches zero, the Jensen gap shrinks.

In Reducing Variance in Temporal-Difference Value Estimation via Ensemble of Deep Networks, Liang et al. introduce MeanQ, which calculates target values by averaging the predictions of multiple independent Q-networks before applying the maximization operator. This simple averaging directly reduces estimation variance and mitigates the overestimation bias caused by the Jensen gap. The stabilization is so effective that it can eliminate the need for lagging target networks entirely.

Ensemble aggregation can take several structural forms to balance under- and overestimation:

  • Historical Averaging: Instead of training multiple networks simultaneously, Anschel et al. propose Averaged-DQN, which averages Q-value estimates across the last $K$ training iterations. This dampens the noise driving the max operator without the computational overhead of maintaining parallel networks.
  • Statistical Aggregation Rules: Rather than a simple mean, Wei et al. utilize a quasi-median operation over an ensemble of critics. They demonstrate that as the ensemble size grows, both the absolute underestimation bias and the variance of the estimates decrease monotonically. Similarly, Schmitt-Förster et al. use robust averaging with a tunable regularization parameter to precisely control estimation bias.
  • Stochastic Combinations: In large-scale offline settings, Wang et al. train an ensemble of Q-value networks using a random convex combination of multiple network heads, preventing the model from overestimating rewards on out-of-distribution data.

By providing a more stable target for the actor, these ensemble methods insulate the policy from fluctuating value estimates. This is especially critical in complex architectures; for instance, Luo et al. show that ensembles are vital in recurrent off-policy RL to prevent the amplification effects of recurrent neural networks from causing massive output swings. Furthermore, Roijers et al. demonstrate that bootstrapped ensembles trained on distinct data batches manage the instability of off-policy updates, while Omura et al. use ensembles to absorb the gradient variance introduced when injecting synthetic counter-noise to symmetrize Bellman errors.

Temporal and Horizon Smoothing via Compound Returns

Variance reduction does not just happen across different models; it can also happen across time. When estimating the value of a state, algorithms look $n$ steps into the future. Shorter horizons have low variance but high bias, while longer horizons capture the true reward signal at the cost of compounding noise.

The key insight behind temporal smoothing is that temporal-difference errors across different steps are rarely perfectly correlated. When errors are imperfectly correlated, averaging them causes independent noise components to cancel out.

Single n-step Return:  [Step 1] -> [Step 2] -> [Step 3] -> ... -> [Step N]  (High variance at long horizons)
                                      \          /
Compound Return:                       \        /
                                 Averaging across horizons
                                            |
                                            v
                              [Smoothed Target Signal] (Noise cancels out)

In Averaging $n$-step Returns Reduces Variance in Reinforcement Learning, Daley et al. formalize this variance-reduction property, proving that a weighted combination of returns across different horizons provides a cleaner target for neural network updates than any single component estimator. To make this computationally practical for deep RL, Daley et al. introduce Pilar, a method that achieves the benefits of complex averaging using just two return estimates.

Taking this concept further, Zhong et al. calculate a surrogate stage reward as a weighted average over a long window (e.g., $N=100$ steps). This long-horizon averaging acts as a low-pass filter, mitigating high-frequency noise and yielding a theoretical exponential reduction in value function variance.

Denoising the Feedback Loop

Beyond value functions and returns, the reward signal itself can be smoothed to prevent erratic policy updates. In environments with high stochasticity, raw feedback is a poor teacher.

For example, in industrial recommender systems where user behavior is highly erratic, Bao et al. replace raw feedback with expected reward values predicted by a supervised model. This stochastic reward stabilization allows the agent to focus on long-term optimization rather than reacting to transient noise. Similarly, in large-scale ride-hailing marketplaces, Eshkevari et al. apply a momentum-based rolling average to reward signals to smooth out temporary price fluctuations. In the context of fine-tuning large language models, Wu et al. apply an exponential moving average to reward signals governing data sampling, preventing erratic shifts in the training data distribution.

This smoothing concept extends naturally to sequence-to-sequence tasks, input representations, and optimization trajectories:

  • Temporal Windows: In sequence-to-sequence lip-reading, the authors of Pseudo-Convolutional Policy Gradient for Sequence-to-Sequence Lip-Reading apply a convolution-like operation over the reward timeline. Sliding a kernel over time steps incorporates local temporal context and reduces the high variance typical of policy gradient methods.
  • Data Augmentation: In pixel-based RL, Yarats et al. regularize target values by averaging Q-function estimates over multiple augmented versions of the next state. This smooths out the high-dimensional input space, closing the performance gap between pixel-based and state-based learning.
  • Simulation and Preference Alignment: Cheng et al. refine state value labels by averaging the results of multiple branched simulations, providing a more stable target for AlphaZero training. In offline settings, Kang et al. align value functions with trajectory-level preferences rather than step-wise TD errors, completely avoiding the amplification of step-level reward estimation mistakes. Finally, Chiang et al. show that coupling current gradient estimates with historical state information filters out high-variance components in gradually evolving bandit environments.

Whether aggregating across an ensemble of networks, a spectrum of temporal horizons, or a history of reward signals, the underlying principle remains identical: independent noise cancels out under averaging. By treating variance reduction as a core architectural objective, these methods transform reinforcement learning from an unstable, noise-sensitive process into a robust optimization framework.

Key Foundational Work

Averaged-DQN: Variance Reduction and Stabilization for Deep Reinforcement Learning (2017) — contributed 2 concept elements to this direction.
Beating Bandits in Gradually Evolving Worlds (2013) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_temporal_reward_smoothing_0c73abea,
  title = {temporal reward smoothing},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/temporal-reward-smoothing/rdr_0c73abea775649f896f6ce0256f4d7c2},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_temporal_reward_smoothing_0c73abea_v1,
  title = {temporal reward smoothing},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/temporal-reward-smoothing/rdr_0c73abea775649f896f6ce0256f4d7c2/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake