TL;DR
This paper introduces a simple yet effective modification to the standard off-policy Temporal Difference (TD) learning algorithm to prevent it from diverging when used with linear function approximation. By adding a small penalty term ($\eta$) to the TD update, the authors ensure the algorithm remains stable and convergent while maintaining the computationally efficient $O(d)$ complexity required for real-time applications.
What Problem Does This Paper Address?
In Reinforcement Learning (RL), off-policy prediction is the task of estimating the value of a "target policy" using data generated by a different "behavior policy." This is crucial for real-world applications where we might want to evaluate a new strategy using historical data.
However, researchers have long grappled with the "deadly triad": the combination of function approximation (to handle large state spaces), bootstrapping (learning estimates from other estimates, like in TD), and off-policy learning. When these three meet, standard TD algorithms often diverge—meaning the error grows to infinity instead of settling on a solution. While existing solutions like Gradient TD (GTD) or Emphatic TD (ETD) exist, they can be complex to implement or exhibit high variance.
Methods
The authors propose the Perturbed Off-Policy Prediction Algorithm. The core innovation is a "perturbed" TD error calculation.
In standard TD, the update is driven by the difference between the reward plus the discounted next-state value ($\gamma \hat{V}(s_{n+1})$) and the current state value ($\hat{V}(s_n)$). The authors modify this by adding a non-negative regularization parameter, $\eta$, to the current state value:
$$\delta_n = r_n + \gamma \phi(s_{n+1})^T \theta_n - (1 + \eta)\phi(s_n)^T \theta_n$$
By choosing a sufficiently large $\eta$, the authors mathematically prove that the underlying system matrix becomes "positive definite," a technical condition that guarantees the algorithm will converge to a stable point rather than exploding. Crucially, the algorithm retains a per-step computational complexity of $O(d)$ (where $d$ is the number of features), making it just as fast as standard TD.
Datasets
The algorithm was evaluated on three classic synthetic benchmarks designed specifically to trigger divergence in off-policy settings:
- The "$\theta \to 2\theta$" Example: A simple two-state counterexample where standard TD is known to fail.
- Baird’s Counterexample (7-star): A famous 7-state MDP specifically designed to make off-policy TD diverge.
- A 3-state MDP: A custom setup used to analyze the trade-offs between different values of the penalty parameter $\eta$.
Key Insights and Ideas
- Stability through Penalization: The "aha moment" is that the instability of off-policy TD stems from the system matrix losing its positive-definite property. Adding $\eta$ acts as a stabilizer, effectively "pulling" the iterates back from the brink of divergence.
- The $\eta$ Trade-off: There is a fundamental tension in the choice of $\eta$. A larger $\eta$ guarantees convergence even in highly unstable environments, but it introduces bias, potentially leading to a less accurate final value estimate. A smaller $\eta$ is more accurate but risks divergence if it's below a certain threshold.
- Simplicity Wins: Unlike Gradient TD methods which often require learning two sets of parameters (two-time scale stochastic approximation), this method only learns one set of weights, making it easier to tune and implement.
Key Results
- Convergence on Counterexamples: In both the "$\theta \to 2\theta$" and Baird’s Counterexample, the Perturbed TD algorithm converged to the exact solution, while standard off-policy TD(0) diverged as expected.
- Performance vs. State-of-the-Art: On the 3-state MDP, the proposed algorithm achieved a Root Mean Square Error (RMSE) of 2.97, outperforming Emphatic TD and TDC in terms of stability and convergence speed for that specific task.
- Empirical Validation of $\eta$: Experiments confirmed that if $\eta$ is too low (e.g., 0.4 in their 3-state test), the algorithm still diverges. If it is too high (e.g., 0.6), it converges but to a less accurate solution.
Limitations and Future Work
- Tuning $\eta$: The paper provides a theoretical lower bound for $\eta$ to ensure convergence, but the authors admit this bound is "not tight." In practice, finding the "Goldilocks" value for $\eta$—large enough to converge, small enough to stay accurate—requires manual tuning.
- Bias: Because the algorithm modifies the Bellman operator, the point it converges to is not the exact value function but a "perturbed" version of it.
- Future Directions: The authors suggest extending this approach to include eligibility traces (TD($\lambda$)) and testing the algorithm on more complex, high-dimensional real-world problems beyond synthetic benchmarks.
Summary updated