LQR through the Lens of First Order Methods: Discrete-time Case

Jingjing Bu, Afshin Mesbahi, Maryam Fazel, Mehran MesbahiarXiv 2019

Abstract

We consider the Linear-Quadratic-Regulator (LQR) problem in terms of optimizing a real-valued matrix function over the set of feedback gains. Such a setup facilitates examining the implications of a natural initial-state independent formulation of LQR in designing first-order algorithms. It is shown that this cost function is smooth and coercive, and we provide an alternate means of noting its gradient-dominated property. In the process, we provide a number of analytic observations on the LQR cost when directly analyzed in terms of the feedback gain. We then examine three types of well-posed flows for LQR: gradient flow, natural gradient flow, and the quasi-Newton flow. The coercive property suggests that these flows admit unique solutions while the gradient-dominated property indicates that the corresponding Lyapunov functionals decay at an exponential rate; we also prove that these flows are exponentially stable in the sense of Lyapunov. We then discuss the forward Euler discretization of these flows, realized as gradient descent, natural gradient descent, and the quasi-Newton iteration. We present stepsize criteria for gradient descent and natural gradient descent, guaranteeing that both algorithms converge linearly to the global optima. An optimal stepsize for the quasi-Newton iteration is also proposed, guaranteeing a $Q$-quadratic convergence rate—and in the meantime—recovering the Hewer algorithm.

Introduction

In classical control theory, the Linear-Quadratic-Regulator (LQR) problem is typically solved by finding a "certificate" in the form of a cost-to-go matrix via the Algebraic Riccati Equation (ARE). However, the rise of Reinforcement Learning (RL) and the need for distributed control in large-scale networks have shifted focus toward direct policy optimization. In these contexts, we treat the LQR cost as a function of the feedback gain $K$ and attempt to minimize it using iterative first-order methods.

This approach presents a significant theoretical challenge: the LQR cost function is non-convex with respect to $K$. This paper provides the mathematical foundation to justify why simple iterative methods—like gradient descent—can still reliably find global optima in this non-convex landscape. By analyzing the discrete-time LQR problem through the lens of optimization theory, we bridge the gap between traditional control and modern iterative algorithms.

The Optimization Landscape

To ensure the optimization is robust, the authors utilize an initial-state independent formulation. This is achieved by averaging the LQR cost over a set of linearly independent initial conditions, effectively making the optimization objective a property of the system dynamics rather than a specific starting point.

Key Structural Properties

Two primary properties define the LQR cost landscape $f(K)$:

  1. Coercivity: The cost function is shown to be coercive over the set of stabilizing gains. As the feedback gain $K$ approaches the boundary of the stabilizing set (where the system would become unstable), the cost $f(K)$ approaches infinity. This property is crucial because it naturally confines the optimization trajectory within the set of stable controllers.
  2. Gradient Dominance (PL Condition): The authors provide an alternate proof that the LQR cost satisfies the Polyak-Łojasiewicz (PL) condition. In optimization, the PL condition is the "secret sauce" that allows non-convex functions to be solved globally; it ensures that the gradient only vanishes at the global optimum. If the gradient is non-zero, there is always a path to a better solution.

Optimization Flows and Algorithms

The paper investigates three continuous-time "flows" and their discrete-time algorithmic counterparts:

1. Gradient Descent (GD)

This is the standard first-order approach. The authors prove that with a properly chosen step size, GD converges linearly to the global optimum. This confirms that despite the non-convexity, the LQR problem is well-behaved under standard gradient methods.

2. Natural Gradient Descent (NGD)

NGD performs optimization on a Riemannian manifold where the metric is induced by the system's state covariance. While NGD can converge significantly faster than standard GD, the research highlights its sensitivity to the choice of the underlying state covariance matrix ($\Sigma$). Like GD, NGD is proven to achieve a linear convergence rate.

3. Quasi-Newton and Hewer’s Algorithm

The authors propose a quasi-Newton iteration that utilizes a local second-order approximation of the cost. They demonstrate that with an optimal step size, this method achieves a Q-quadratic convergence rate, providing extremely rapid refinement near the optimum. Notably, this iteration is shown to be mathematically equivalent to Hewer’s algorithm (1971), providing a modern optimization-based derivation for a classic control result.

Structured LQR and Sparsity

A major motivation for direct optimization is Structured LQR, where the controller must respect specific constraints, such as sparsity (e.g., certain sensors cannot communicate with certain actuators). In these cases, the traditional Riccati approach often fails.

For these problems, the authors employ Projected Gradient Descent (PGD). However, they note a significant theoretical hurdle: in the structured case, the LQR cost is not necessarily gradient-dominated. Consequently, while PGD is guaranteed to converge to a first-order stationary point at a sublinear rate ($O(1/k)$), global optimality cannot be guaranteed for structured problems using these methods alone.

Conclusion

This work provides a rigorous framework for understanding LQR as a direct optimization problem. By establishing the smoothness, coercivity, and gradient dominance of the LQR cost, the authors justify the use of first-order and quasi-Newton methods for controller synthesis. While the unstructured case is shown to be globally solvable with high efficiency, the structured case remains a challenging frontier where optimization only guarantees local stationarity. Future work remains to bridge the gap for model-free (RL) applications and to extend these guarantees to more complex structured constraints.

Summary updated

BibTeX
@misc{bu2019lqr,
  author = {Jingjing Bu and Afshin Mesbahi and Maryam Fazel and Mehran Mesbahi},
  title = {{LQR through the Lens of First Order Methods: Discrete-time Case}},
  year = {2019},
  eprint = {1907.08921},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.08921},
}
Figure