Introduction
In reinforcement learning (RL), the prediction problem—estimating the value function for a given policy—is fundamental. As state spaces grow in complexity, linear function approximation becomes essential, representing the value function as a weighted combination of features. However, existing algorithms often force a trade-off between computational efficiency and stability. This paper introduces two new online algorithms, SCE-MSPBEM and SCE-MSBRM, which leverage the Cross Entropy (CE) optimization method to achieve global optimization with a balanced computational complexity of $O(k^2)$.
The Landscape of Prediction Algorithms
Standard methods for value prediction generally fall into two categories: first-order methods like Temporal Difference (TD) learning and second-order methods like Least Squares Temporal Difference (LSTD). While TD methods are computationally efficient ($O(k)$), they are prone to divergence in off-policy settings. Conversely, LSTD methods offer stability but are computationally expensive ($O(k^3)$) due to matrix inversions.
The proposed SCE-based algorithms aim to bridge this gap, providing a stable, global optimization framework that scales more effectively than second-order methods while maintaining the robustness required for complex environments.
Methodology: Online Cross Entropy
The core innovation of this work is the adaptation of the Cross Entropy (CE) method—traditionally a batch-based, model-based search technique—into an incremental, online framework. The authors employ a multi-timescale stochastic approximation approach:
- Tracking the Objective: The algorithm maintains "slow" variables to track components of the error functions, specifically the Mean Squared Projected Bellman Error (MSPBE) or the Mean Squared Bellman Residue (MSBR).
- Optimizing the Model: Simultaneously, "faster" recursions update the parameters of a probability distribution (typically Gaussian) that searches for the optimal weights $z$.
- Gradient-Free Optimization: By using function values rather than gradients, the method is inherently more robust in non-convex landscapes, avoiding the local optima that can plague gradient-descent-based RL.
Convergence to the global minimum is theoretically guaranteed using the Ordinary Differential Equation (ODE) method.
Experimental Evaluation
The algorithms were benchmarked against several classic RL challenges, ranging from standard control tasks to known counter-examples for stability:
- Baird’s 7-Star MDP: A critical test for off-policy stability where standard TD(0) is known to diverge.
- Control Tasks: Linearized Cart-Pole Balancing and a 5-Link Actuated Pendulum.
- Scalability Tests: A 10-State Ring MDP and Random MDPs with up to $2^{15}$ (32,768) states.
- Non-Linear Approximation: The Van Roy and Tsitsiklis MDP, designed to test performance beyond linear architectures.
Key Results and Insights
The experimental results highlight the strengths of the SCE-based approach:
- Stability: SCE-MSPBEM successfully converged on Baird’s 7-star MDP, whereas TD(0) diverged to infinity.
- Efficiency: In the 10-state ring MDP, the proposed method outperformed TD(0), Residual Gradient, and GTD2, only being surpassed by the significantly more expensive LSTD.
- Non-Linear Robustness: In non-linear settings, the SCE algorithm reached the true value function, while GTD2 stalled in sub-optimal solutions.
- Scalability: The $O(k^2)$ complexity allowed the algorithm to handle a "stress test" MDP with 32,768 states on standard hardware, demonstrating its practical utility for large-scale problems.
Conclusion and Future Work
By reframing Cross Entropy as an online stochastic approximation, this research provides a new path for stable and efficient value prediction in RL. While $O(k^2)$ complexity remains more demanding than $O(k)$ methods, it offers a vital middle ground for medium-to-large feature sets. Future work will explore extending this framework to control problems (policy optimization) and integrating it with deep neural networks for more complex non-linear function approximation.
Summary updated