Reinforcement Learning Applied to Linear Quadratic Regulation

Steven J. BradtkeNeurIPS 1992

Overview

This paper bridges the gap between Reinforcement Learning (RL) theory and classical control by proving that a Q-learning-based policy iteration algorithm can converge to the optimal controller for Linear Quadratic Regulation (LQR) problems. Crucially, the approach is model-free, meaning it finds the optimal control strategy for continuous systems without needing to know the underlying physics (the $A$ and $B$ matrices), while also highlighting why standard "optimizing" Q-learning can fail in these continuous domains.

Background and Motivation

In the early 90s, RL showed great empirical success (like Tesauro’s TD-Gammon), but theoretical guarantees were largely stuck in the world of discrete, finite-state systems using lookup tables. Real-world control problems, however, involve continuous states and actions.

The authors target Linear Quadratic Regulation (LQR)—a cornerstone of control theory—as a "first step" toward more complex continuous domains. While LQR is well-understood when the system model is known, the challenge here is to apply RL to solve it when the model is unknown. The paper specifically investigates whether Dynamic Programming-based RL can reliably converge to optimal solutions when using function approximators (like quadratic forms) instead of lookup tables.

Proposed Approach

The paper introduces a Q-function based policy iteration algorithm for LQR. The key components are:

  1. Quadratic Q-Functions: The authors show that for LQR, the Q-function is a quadratic function of the state and action. While this is non-linear in the raw inputs, it is linear with respect to the quadratic combinations of those inputs (e.g., $x^2, xu, u^2$).
  2. Recursive Least Squares (RLS): Because the Q-function is linear in its parameters, the authors use RLS to efficiently estimate the parameters of the Q-function from observed data.
  3. Policy Iteration: The algorithm alternates between two steps:
  4. Policy Evaluation: Use RLS to learn the Q-function for the current controller ($U_k$).
  5. Policy Improvement: Derive a new, better controller ($U_{k+1}$) by minimizing the learned Q-function.
  6. Exploration: To ensure the data is rich enough to learn the parameters, the authors add an "exploration factor" (noise) to the control signal, ensuring it is "strongly persistently exciting."

Evaluation Domains

As a theoretical and simulation-based control paper, it does not use standard vision or NLP datasets. Instead, it evaluates the algorithm on:

  • A Discretized Flexible Beam System: A 20-dimensional discrete-time dynamical system representing a flexible beam supported at both ends with one control point.
  • 1D Toy System: A simple one-dimensional system used to analytically demonstrate the "pitfalls" of local convergence in optimizing Q-learning.

Core Insights

  • Model-Free LQR: The algorithm achieves the same result as classical methods (like solving the Riccati equation) but without ever needing to know the system's transition matrices ($A$ and $B$).
  • The Linearity Trick: By recognizing that the Q-function is a linear function of quadratic features, the authors can use robust, well-understood linear regression tools (RLS) rather than unpredictable non-linear optimization.
  • The "Optimizing" Pitfall: The paper distinguishes between policy-based Q-learning (learning the value of the current policy) and optimizing Q-learning (trying to learn the optimal value directly, like standard Q-learning). They prove that in continuous LQR, the optimizing version has multiple fixed points—meaning it could converge to a "solution" that actually represents a destabilizing, dangerous controller.

Experimental Results

  • Convergence Guarantee: The authors provide a theorem stating that their policy iteration algorithm is guaranteed to converge to the optimal controller ($U^*$) under specific conditions (controllability, stabilizing initial policy, and sufficient exploration).
  • Empirical Efficiency: On the 20-dimensional beam system, the algorithm converged to the optimal controller and Q-function within just eight policy iteration steps, reaching the limits of machine precision.
Convergence of the controller (A) and Q-function (B) errors over policy iteration steps.
  • Local Convergence Warning: They demonstrated that Watkins' standard Q-learning rule is only locally convergent in this domain. If initialized poorly, it can settle on a mathematically valid but physically disastrous non-optimal solution.

Limitations and Future Directions

  • Exact Matching Requirement: The proof relies on the function approximator (the quadratic form) exactly matching the true shape of the LQR Q-function. If the system were non-linear, a simple quadratic approximator would no longer be sufficient.
  • Exploration Characterization: While a random normal distribution worked well for exploration in experiments, the authors admit they do not yet have a formal way to characterize the "persistently exciting" signal required by the theorem for this specific algorithm.
  • Future Directions: The authors suggest moving toward non-linear systems where the exact form of the Q-function is unknown, necessitating more complex function approximators like neural networks.

Summary updated

BibTeX
@inproceedings{bradtke1992reinforcement,
  author = {Steven J. Bradtke},
  title = {{Reinforcement Learning Applied to Linear Quadratic Regulation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1992},
}
Figure