Single Time-scale Actor-critic Method to Solve the Linear Quadratic Regulator with Convergence Guarantees

Mo Zhou, Jianfeng Lu

Abstract

We propose a single time-scale actor-critic algorithm to solve the linear quadratic regulator (LQR) problem. A least squares temporal difference (LSTD) method is applied to the critic and a natural policy gradient method is used for the actor. We give a proof of convergence with sample complexity $\mathcal{O}(\varepsilon^{-1} \log(\varepsilon^{-1})^2)$. The method in the proof is applicable to general single time-scale bilevel optimization problem. We also numerically validate our theoretical results on the convergence.

Introduction

The Linear Quadratic Regulator (LQR) serves as a foundational benchmark in optimal control, characterized by linear system dynamics and a quadratic cost function. While the closed-form solution via the Riccati equation has been established for decades, solving LQR in a model-free reinforcement learning (RL) setting—where the agent lacks knowledge of the underlying physics and must learn from state and reward observations—presents significant challenges.

Most model-free RL solvers utilize an Actor-Critic framework, which is essentially a bilevel optimization problem. The "Critic" evaluates the current policy (the lower-level task), while the "Actor" uses this evaluation to improve the policy (the higher-level task). Historically, ensuring stability in this framework required "two-timescale" methods, where the Critic updates significantly faster than the Actor to provide a stable gradient. However, this approach is computationally inefficient. This research introduces the first single-timescale actor-critic algorithm for LQR with rigorous convergence guarantees, allowing both components to update simultaneously.

Methodology

The proposed algorithm streamlines the Actor-Critic process by integrating two specific techniques:

  1. Critic (LSTD): The algorithm employs Least Squares Temporal Difference (LSTD) for the critic. LSTD provides an explicit expression for the gradient of the value function, which stabilizes the evaluation process even when updates occur rapidly.
  2. Actor (NPG): The actor utilizes a Natural Policy Gradient (NPG) method. Unlike standard gradient descent, NPG accounts for the underlying geometry of the policy space, facilitating faster and more reliable convergence toward the optimal control law.

The Innovation of Simultaneous Analysis

The primary theoretical breakthrough lies in the convergence proof. Traditionally, researchers analyzed the actor and critic in isolation, which is insufficient for single-timescale stability. The authors developed a unique Lyapunov function that couples the critic's error with the actor's loss. By analyzing these interdependent variables together, they demonstrated that the entire system contracts toward the optimal solution, even when neither component has fully converged. To ensure sufficient exploration of the state space, the method incorporates a stochastic policy by adding Gaussian noise to actions.

Theoretical and Numerical Results

Sample Complexity

The algorithm achieves an $\epsilon$-optimal solution with a sample complexity of $\mathcal{O}(\varepsilon^{-1} \log(\varepsilon^{-1})^2)$. This represents a substantial improvement over previous model-free LQR solvers, which often required complexities ranging from $\mathcal{O}(\varepsilon^{-2})$ to $\mathcal{O}(\varepsilon^{-5})$. By eliminating the need for an "inner loop" of multiple critic updates for every actor update, the method drastically reduces the total number of environment interactions required.

Experimental Validation

The researchers evaluated the algorithm using synthetic LQR environments, including a 2D state/3D action space system and a more complex 4D state/3D action space system. The numerical results closely mirrored the theoretical predictions:

  • Convergence Trends: Error curves for both the actor and critic exhibited a linear trend on log-log plots with a slope of -1.0.
  • Efficiency: The simultaneous update mechanism successfully found the optimal control law with significantly fewer samples than traditional multi-timescale methods.

Limitations and Future Directions

While the algorithm provides a robust framework for LQR, several areas for future research remain:

  • Stability Constraints: The current proof assumes the system remains within "favorable regions" (e.g., maintaining a spectral radius below 1). Future iterations might benefit from a projection map to ensure parameters stay within a stable zone.
  • Generalization: The analysis leverages the specific structure of LQR. Extending these single-timescale proofs to non-linear systems or general RL problems remains a complex theoretical hurdle.
  • Scaling: As state and action dimensions increase, the constants in the complexity bounds grow. Optimizing these constants for high-dimensional robotics applications is a logical next step for this research.

Summary updated

BibTeX
@article{zhou2023single,
  author = {Mo Zhou and Jianfeng Lu},
  title = {{Single Time-scale Actor-critic Method to Solve the Linear Quadratic Regulator with Convergence Guarantees}},
  journal = {J. Mach. Learn. Res.},
  year = {2023},
  url = {https://openreview.net/forum?id=EL5czuaHZE},
}
Figure