Preferential Temporal Difference (PTD) learning introduces a state-dependent "preference function" that allows reinforcement learning agents to selectively update and bootstrap from specific states. By ignoring noisy or aliased states, PTD achieves more stable convergence and significantly better performance in partially observable environments compared to standard TD($\lambda$) and Emphatic TD.
The Problem: Not All States Are Created Equal
In standard Temporal Difference (TD) learning, an agent updates its value estimates for every state it visits. However, in environments with partial observability or when using function approximation, an agent might encounter "aliased" states—different physical locations that look identical to the agent's sensors.
Updating the value of an aliased state can inadvertently corrupt the value estimates of other, distinct states due to the way function approximators generalize. Furthermore, some states might simply have unreliable data. The authors identify two main challenges:
- Temporal credit assignment: Efficiently propagating rewards between distant states.
- Generalization error: Preventing errors from poorly represented states from "leaking" into the estimates of fully observable, important states.
Existing methods like TD($\lambda$) use a recency heuristic that doesn't distinguish between "good" and "bad" states, while Emphatic TD uses trajectory-based weighting that can suffer from high variance.
The Solution: Selective Updating and Bootstrapping
The core innovation of PTD is the preference function $\beta(s) \in [0, 1]$, which assigns an importance weight to each state.
- Selective Updating: If $\beta(s) = 0$, the agent does not update the value of state $s$ at all.
- Selective Bootstrapping: If a state is deemed "unreliable" ($\beta(s)$ is low), it is also not used as a target for bootstrapping. Instead, the algorithm "looks through" that state to find a more reliable one further down the trajectory.
This dual role is captured in a modified return and a corresponding eligibility trace mechanism for online learning. Unlike Emphatic TD, which requires two separate parameters (interest and $\lambda$), PTD uses a single parameter $\beta$ to control both the update magnitude and the bootstrapping target. The authors provide a formal proof that PTD converges to a unique fixed point under linear function approximation.
Experimental Validation
The authors evaluated PTD across several synthetic benchmarks designed to highlight specific RL challenges, including a 19-state Random Walk, Grid Navigation Tasks, and Delayed Effect MDPs.
The Delayed Effect MDPs feature "corridors" of aliased states (represented by Gaussian noise) that lead to different rewards.
Key Insights and Results
- Skipping the Noise: The most powerful insight is that by setting $\beta=0$ for noisy/aliased states, the agent effectively creates a state abstraction. It learns to bridge the gap between reliable states, ignoring the "distractor" states in between that would otherwise introduce estimation errors.
- Handling Aliasing: In the corridor tasks, standard TD($\lambda$) failed to improve as the corridor length increased because it kept updating noisy states. PTD maintained near-zero error by ignoring the corridor entirely.
- Stability over Sensitivity: Standard TD($\lambda$) is notoriously sensitive to the learning rate $\alpha$. PTD proves to be much more robust, maintaining low error across a wider range of learning rates because it avoids the high-variance updates associated with unreliable states.
- Neural Network Compatibility: In non-linear grid tasks, PTD outperformed other variants even when the neural network had very limited capacity (e.g., only 1-4 hidden units), suggesting it makes more efficient use of limited model parameters.
Limitations and Future Work
The primary limitation is that the preference function $\beta$ was manually specified for these experiments (e.g., setting $\beta=1$ for fully observable states and $\beta=0$ for noisy ones).
The authors note that the "holy grail" for this research is learning $\beta$ automatically from data. They suggest several promising avenues for this, including meta-learning, variance reduction techniques, or leveraging existing methods that identify "bottleneck" states in an environment. Additionally, while the linear convergence is proven, the behavior in deep, non-linear RL remains an empirical observation that warrants further theoretical study.
Summary updated