[Paper Review] Reward Centering
This paper proposes reward centering—subtracting the empirical average of observed rewards from each reward—to significantly improve the performance of discounted reinforcement learning algorithms in continuing tasks. By removing a state-independent constant bias that scales with $1/(1-ar{R})$, reward centering enables faster and more stable learning, especially at high discount factors ($\gamma \to 1$), and makes algorithms robust to arbitrary reward shifts.
We show that discounted methods for solving continuing reinforcement learning problems can perform significantly better if they center their rewards by subtracting out the rewards' empirical average. The improvement is substantial at commonly used discount factors and increases further as the discount factor approaches one. In addition, we show that if a problem's rewards are shifted by a constant, then standard methods perform much worse, whereas methods with reward centering are unaffected. Estimating the average reward is straightforward in the on-policy setting; we propose a slightly more sophisticated method for the off-policy setting. Reward centering is a general idea, so we expect almost every reinforcement-learning algorithm to benefit by the addition of reward centering.
Motivation & Objective
- Address the performance degradation of discounted RL methods as the discount factor $\gamma$ approaches 1.
- Improve sample efficiency and stability in value function estimation for continuing reinforcement learning problems.
- Make standard RL algorithms robust to arbitrary constant shifts in the reward signal, which commonly occur in real-world environments.
- Develop a generalizable technique applicable to both on-policy and off-policy settings with minimal algorithmic changes.
- Enable faster adaptation to new discount factors by decoupling average reward estimation from value function learning.
Proposed method
- Estimate the empirical average of observed rewards over time using a running average update with a small learning rate.
- Subtract this estimated average from each observed reward to produce mean-centered rewards before feeding them into standard TD or Q-learning algorithms.
- For off-policy settings, use a value-based method to estimate the average reward by leveraging the temporal difference error dynamics of the value function.
- Decompose the discounted value function as $v_\pi^\gamma(s) = \frac{r(\pi)}{1-\gamma} + \tilde{v}_\pi(s) + e_\pi^\gamma(s)$, where $\tilde{v}_\pi(s)$ is the centered value function independent of the global reward offset.
- Use a separate, adaptive learning rate for the average reward estimate to balance convergence speed and variance, especially in non-stationary environments.
- Combine reward centering with reward scaling techniques (e.g., TD error re-scaling) to maintain numerical stability and improve generalization across different reward magnitudes.

Experimental results
Research questions
- RQ1How does reward centering affect the convergence and performance of Q-learning and TD-learning in continuing tasks with high discount factors?
- RQ2To what extent does reward centering improve sample efficiency and reduce variance in value function estimation near $\gamma \to 1$?
- RQ3Can reward centering make standard RL algorithms invariant to constant shifts in the reward signal, and how does it compare to baseline methods under such shifts?
- RQ4What is the impact of using a value-based average reward estimator in off-policy settings compared to a simple running average?
- RQ5Can reward centering enable efficient adaptation of the discount factor during training by reusing estimated average and centered value functions?
Key findings
- Reward centering leads to a substantial performance improvement in Q-learning on the Access-Control Queuing problem, with learning curves showing faster convergence and higher average per-step rewards across all tested discount factors.
- The performance gain increases significantly as the discount factor $\gamma$ approaches 1, with the improvement being most pronounced in the limit $\gamma \to 1$, where standard methods typically degrade.
- When rewards are shifted by a constant, standard discounted methods perform poorly, while reward-centered methods remain unaffected, demonstrating robustness to reward signal shifts.
- The theoretical decomposition $v_\pi^\gamma(s) = \frac{r(\pi)}{1-\gamma} + \tilde{v}_\pi(s) + e_\pi^\gamma(s)$ confirms that centering removes the $1/(1-\gamma)$-scaled bias, allowing the value function to focus on relative differences between states.
- Reward centering reduces the need to estimate the global bias term explicitly, as in Tsitsiklis and Van Roy (1997), by instead learning relative values directly through centered rewards.
- The method enables rapid estimation of value functions for new discount factors via $\bar{R}/(1-\gamma_2) + \tilde{\mathbf{v}}^{\gamma_1}$, suggesting potential for adaptive discounting strategies during lifelong learning.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.