Least-Squares Policy Iteration
Michail G. LagoudakisRonald Parr
Proposes Least-Squares Policy Iteration (LSPI), a model-free, off-policy reinforcement learning algorithm that combines linear state-action value function approximation with approximate policy iteration to achieve highly sample-efficient control without requiring manually tuned learning rates.
Real-world autonomous decision-making and optimal control problems often involve complex, continuous environments where the underlying system dynamics are not fully known in advance. Traditional reinforcement learning methods frequently require vast amounts of trial data and rely on sensitive parameters, such as learning rates, which can cause erratic performance, slow convergence, or outright mathematical divergence when applied to large-scale systems.
The article develops and evaluates Least-Squares Policy Iteration, a model-free control algorithm designed to discover high-performing decision policies efficiently from sample data. The method combines linear value-function approximation with approximate policy iteration to eliminate sensitive learning rate tuning and improve sample efficiency.
The researchers assessed the approach through computer simulations on standard benchmark control tasks: balancing an inverted pendulum and balancing and riding a bicycle 1 kilometer to a target location. The algorithm learned decision policies using pre-collected datasets generated from purely random action selections, reusing the exact same data across iterations rather than discarding samples after a single pass. For comparison, benchmark tests were conducted against standard Q-learning and Q-learning enhanced with experience replay across identical linear architectures.
The evaluation revealed several critical findings. First, Least-Squares Policy Iteration reliably learned successful controllers using a single batch of randomly sampled trials, achieving an average balance duration of approximately 2,850 out of 3,000 maximum possible steps on the inverted pendulum with 1,000 training episodes. Second, on the difficult bicycle navigation task, the algorithm achieved an approximate 95% success rate in reaching the goal within 5,000 training episodes, typically converging to near-optimal riding paths in only 6 to 8 iterations. In contrast, standard Q-learning failed to balance the bicycle for more than a few dozen steps, and while experience replay improved balance duration, it could not navigate the bicycle to the goal and showed high variance.
These findings demonstrate that direct, least-squares fixed-point projection avoids the instability and gradient-step overshooting common to traditional algorithms. By efficiently reusing data and implicitly deriving policies without requiring an explicit policy model, the approach significantly lowers the data collection burden and operational risk in complex control settings.
Organizations evaluating automated control systems should consider least-squares methods as a reliable baseline when sample collection is expensive or risky. Future development should focus on active sampling techniques to ensure adequate coverage of critical system states, extending the architecture to continuous action spaces, and developing online adaptations that can handle slowly changing environments.
Readers should note that the performance of the algorithm remains dependent on the initial feature design and whether the sampled training data adequately cover the operational state space. While confidence in the reported benchmark stability is high, deploying the method on new industrial domains will require careful feature engineering until automated basis selection mechanisms are developed.
- Paper: Q-learning, CHRISTOPHER J.C.H. WATKINS et al. (1992). This foundational paper introduces model-free Q-learning and establishes its convergence properties, providing the core state-action value concepts that LSPI extends into approximate policy iteration.
- Paper: Learning to Predict by the Methods of Temporal Differences, Richard S. Sutton (1988). This paper establishes the principles of temporal-difference learning with linear architectures, serving as the direct intellectual ancestor to LSTD and the least-squares projection mechanisms adapted by LSPI.
- Paper: Self-improving reactive agents based on reinforcement learning, planning and teaching, Longxin Lin (1992). This work introduces experience replay to reinforcement learning, establishing sample reuse techniques that LSPI formalizes and evaluates against within batch learning settings.
- Paper: Reinforcement Learning: A Survey, Leslie Pack Kaelbling et al. (1996). This comprehensive survey provides the standard formulations of Markov decision processes, value iteration, and model-free policy control necessary for contextualizing LSPI.
- Paper: Actor-Critic Algorithms, Vijay Konda et al. (1999). This paper develops actor-critic architectures and temporal-difference critics under linear function approximation, offering essential background on policy evaluation with linear bases.
- Paper: Policy Gradient Methods for Reinforcement Learning with Function Approximation, Richard S. Sutton et al. (1999). This work formalizes policy gradient theory and function approximation conditions, representing the key alternative paradigm to value-function approximate policy iteration.
- Paper: A Natural Policy Gradient, Sham M. Kakade (2001). This paper connects natural policy gradients directly to approximate policy iteration with linear function approximation, clarifying the geometry of policy updates.
- Paper: Off-Policy Deep Reinforcement Learning without Exploration, Scott Fujimoto et al. (2018). This paper tackles extrapolation error and instability in offline, batch reinforcement learning, directly addressing the limitations of unconstrained off-policy learning methods like LSPI.
- Paper: Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problems, Sergey Levine et al. (2020). This tutorial synthesizes the theoretical and practical foundations of offline reinforcement learning that originated with early batch, off-policy methods like LSPI.
- Paper: Conservative Q-Learning for Offline Reinforcement Learning, Aviral Kumar et al. (2020). This work develops conservative value bounds to stabilize batch off-policy learning over static datasets without requiring live environmental interaction.
- Paper: Offline Reinforcement Learning with Implicit Q-Learning, Ilya Kostrikov et al. (2021). This paper presents an offline reinforcement learning approach using expectile regression to perform multi-step dynamic programming without evaluating out-of-distribution actions.
- Paper: Double Q-learning, Hado van Hasselt (2010). This paper analyzes and corrects the systematic overestimation bias inherent in standard max-operator action-value methods like Q-learning and policy iteration.
- Paper: Deterministic Policy Gradient Algorithms, David Silver et al. (2014). This work develops deterministic policy gradient algorithms for continuous action spaces, offering a policy-based counterpart to linear value-function control methods.
- Paper: Trust Region Policy Optimization, John Schulman et al. (2015). This paper introduces trust-region constraints to ensure monotonic policy improvements, providing a robust modern alternative to approximate policy iteration.
- Paper: Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor, Tuomas Haarnoja et al. (2018). This paper unifies maximum-entropy exploration with off-policy actor-critic learning and experience reuse in continuous state and action domains.
