Abstract
Q($\sigma$) is a recently proposed temporal-difference learning method that interpolates between learning from expected backups and sampled backups. It has been shown that intermediate values for the interpolation parameter $\sigma \in [0,1]$ perform better in practice, and therefore it is commonly believed that $\sigma$ functions as a bias-variance trade-off parameter to achieve these improvements. In our work, we disprove this notion, showing that the choice of $\sigma=0$ minimizes variance without increasing bias. This indicates that $\sigma$ must have some other effect on learning that is not fully understood. As an alternative, we hypothesize the existence of a new trade-off: larger $\sigma$-values help overcome poor initializations of the value function, at the expense of higher statistical variance. To automatically balance these considerations, we propose Adaptive Tree Backup (ATB) methods, whose weighted backups evolve as the agent gains experience. Our experiments demonstrate that adaptive strategies can be more effective than relying on fixed or time-annealed $\sigma$-values.
Introduction
In Reinforcement Learning (RL), agents learn by "backing up" values from future states to current ones. There are two primary paradigms for these updates: Sample Backups (e.g., Sarsa), which utilize the specific action the agent actually executed, and Expected Backups (e.g., Expected Sarsa), which average over all possible next actions weighted by their probability under the current policy.
The Q($\sigma$) algorithm was introduced to unify these approaches, using a parameter $\sigma \in [0, 1]$ to interpolate between them. Historically, the RL community believed $\sigma$ managed a fundamental bias-variance trade-off: Sarsa ($\sigma=1$) was thought to offer low bias but high variance, while Expected Sarsa ($\sigma=0$) was thought to offer low variance at the cost of higher bias. This paper challenges this assumption and introduces Adaptive Tree Backup (ATB), a new class of algorithms that dynamically adjust the backup "width" based on the agent's experience.
Debunking the Bias-Variance Myth
Through theoretical analysis, the authors demonstrate that the contraction rate and the fixed point of the Q($\sigma$) operator are actually independent of the $\sigma$ parameter. Furthermore, they prove that $\sigma=0$ (Expected Sarsa) always minimizes variance without increasing bias. This raises a critical question: if Expected Sarsa is theoretically superior in both bias and variance, why do empirical results often favor intermediate or changing values of $\sigma$?
The authors propose a new hypothesis: the Initialization Error problem. Early in training, value function estimates for unvisited or rarely visited state-action pairs are essentially random noise. Expected Sarsa incorporates all these "garbage" values into its updates, which can significantly impede learning progress. In contrast, Sarsa only uses the action actually taken—which is more likely to have been updated and thus contains more signal than noise.
Adaptive Tree Backup (ATB)
To address the initialization problem while retaining the long-term benefits of variance reduction, the authors propose Adaptive Tree Backup (ATB). Instead of a static $\sigma$, ATB employs coefficients that evolve as the agent gathers data:
- Count-Based ATB: This method weights next actions based on their visitation counts. It naturally transitions from a Sarsa-like focus on visited actions to an Expected Sarsa-like average as the environment is explored.
- Policy-Based ATB: This variant utilizes the agent's known policy but ignores any state-action pairs that have not been visited at least once. Once a state is fully explored, it behaves identically to Expected Sarsa.
Experimental Evaluation
The proposed methods were tested on two standard tabular reinforcement learning environments: a 19-State Deterministic Random Walk and an 11-State Stochastic Gridworld. These environments allow for precise measurement of how quickly value estimates converge to the ground truth.
The experimental results, summarized in the figure above, demonstrate that Policy-Based ATB significantly outperforms fixed $\sigma$ values and even surpasses optimized "handcrafted" decay schedules. The data confirms that while $\sigma=0$ eventually achieves low error, the adaptive methods reach these levels much faster by effectively managing the "garbage in, garbage out" problem during the early stages of training.
Conclusion and Future Directions
This research clarifies the role of the $\sigma$ parameter in Q($\sigma$), showing it is not a bias-variance trade-off but rather a mechanism to protect against uninitialized value functions. The proposed ATB methods automate the tuning of this parameter, leading to more efficient learning.
Future work will focus on scaling ATB to high-dimensional state spaces, such as those encountered in Deep Reinforcement Learning. Since tracking exact visitation counts is infeasible in continuous spaces, the next challenge is to develop robust approximations of "certainty" or "visitation" using techniques like density estimation or uncertainty quantification.
Summary updated