NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Efficient Off-Policy Reinforcement Learning Algorithm for the Continuous-Time LQR Problem

Victor G. Lopez, Matthias Albrecht Müller · DOI

TL;DR

This paper introduces a novel, efficient, and data-driven off-policy reinforcement learning algorithm for solving the continuous-time Linear Quadratic Regulator (LQR) problem. By reformulating the policy evaluation step as a Sylvester-transpose equation and using a specific type of "persistently exciting" input, the algorithm achieves faster computation and guarantees convergence without needing a system model.

What Problem Does This Paper Address?

The Linear Quadratic Regulator (LQR) problem is a fundamental challenge in control theory, aiming to find an optimal control input that minimizes a quadratic cost function for a linear system. While traditional methods often require a precise model of the system, reinforcement learning (RL) offers a data-driven alternative. However, existing data-driven RL algorithms for continuous-time LQR often suffer from computational inefficiency, requiring large matrices and potentially extensive data collection. Specifically, many methods rely on the Kronecker product, which leads to a rapid increase in computational burden with system dimension. Furthermore, ensuring the "persistence of excitation" of the input signal for stable learning can be complex. This paper addresses these limitations by proposing an efficient off-policy RL algorithm that uses only measured input-state data, avoids the Kronecker product, and employs a novel approach to persistence of excitation.

Methods

The core of the proposed method lies in two key innovations:

  1. Sylvester-Transpose Equation for Policy Evaluation: Instead of using the Kronecker product to solve for the unknown matrices in the LQR problem, the authors reformulate the policy evaluation step as a Sylvester-transpose equation. This type of equation is known to have efficient solution methods, significantly reducing computational complexity compared to Kronecker product-based approaches.
  2. Persistently Exciting Input for Data Collection: The algorithm utilizes a specific type of "piecewise constant persistently exciting" (PCPE) input signal. This input, designed based on a continuous-time version of Willems' lemma, guarantees that the collected data is sufficiently rich to ensure the existence and uniqueness of solutions to the Sylvester-transpose equation at each iteration. Crucially, this persistence of excitation depends only on the input signal, not the system state.

The algorithm is off-policy, meaning it collects data once and then uses that batch of data for multiple learning iterations, making it more efficient than on-policy methods that require new data at each step. The paper also proposes a method to find an initial stabilizing policy using only measured data, avoiding the need for computationally expensive Linear Matrix Inequality (LMI) solvers.

Datasets

Not discussed in the paper. The paper focuses on a theoretical algorithm and its simulation-based evaluation.

Key Insights and Ideas

  • Sylvester-Transpose is the Key to Efficiency: Reformulating the problem to solve a Sylvester-transpose equation instead of a Kronecker product-based one is a significant computational win, especially for higher-dimensional systems. This is the primary driver of the algorithm's efficiency.
  • Input-Only Persistence of Excitation is Sufficient: The paper demonstrates that a carefully chosen input signal can provide enough information for learning without requiring the state to be persistently exciting, simplifying data collection requirements.
  • Data-Driven Initial Stabilization: Providing a method to find an initial stabilizing policy from data alone is a practical advantage, as it removes the need for model-based initializations or complex LMI solvers.
  • Off-Policy Advantage: The off-policy nature allows for data reuse, making the learning process more sample-efficient and computationally less demanding over time.

Key Results

The paper presents a theoretical algorithm and supports its claims with simulation results.

  • Computational Efficiency: Simulations show a dramatic speedup compared to a prior data-based off-policy LQR algorithm (using Kronecker products). For a system dimension of 7, the proposed algorithm (SYL) is over 170 times faster than the Kronecker-based algorithm (KRO).
  • Guaranteed Convergence: The algorithm is proven to converge to the optimal LQR controller.
  • Stabilizing Policy: At each iteration, the algorithm produces a stabilizing feedback gain.
  • Uniqueness of Solution: The use of the PCPE input and the Sylvester-transpose formulation guarantees a unique solution at each iteration.

Limitations and Future Work

  • Data Collection Requirements: While the algorithm is data-driven, it still requires collecting a sufficiently long, persistently exciting input-state trajectory. The length of this trajectory depends on the system dimension and the order of persistence of excitation required.
  • Solver Sensitivity: The authors note that the performance of the Sylvester-transpose solver can be sensitive to the condition number of the data matrices. Future work could explore methods to construct data matrices with lower condition numbers or more robust solvers.
  • System Dimension Challenges: For very large system dimensions, the authors observed issues with both their algorithm and the compared method, suggesting that data collection and processing become increasingly challenging. Further research into handling such high-dimensional systems is warranted.
  • Extension to Nonlinear Systems: The current work focuses on LTI systems. Extending this efficient off-policy RL approach to nonlinear systems would be a valuable future direction.

Summary updated

BibTeX
@misc{lopez2023efficient,
  author = {Victor G. Lopez and Matthias Albrecht Müller},
  title = {{An Efficient Off-Policy Reinforcement Learning Algorithm for the Continuous-Time LQR Problem}},
  year = {2023},
  eprint = {2303.17819},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.17819},
}
Figure