TL;DR
This paper introduces a novel method to parallelize the computation of Riccati recursion for Linear Quadratic Regulator (LQR) problems, enabling significantly faster generation of feedback control policies. This is crucial for real-time applications like robotic trajectory optimization where traditional parallel methods only yield trajectory values, not the essential control policies.
What Problem Does This Paper Address?
Many robotic trajectory optimization problems boil down to solving discrete-time, finite-horizon Linear Quadratic Regulator (LQR) problems. When dealing with complex robots, these problems can become computationally prohibitive for a single processor. While parallel methods exist for solving the underlying KKT (Karush-Kuhn-Tucker) conditions to get optimal trajectories quickly, they fail to produce the feedback control policies derived from Riccati recursion. These policies are vital for stabilizing systems to the planned trajectory, especially in online Model Predictive Control (MPC) or when using single-shooting methods. The paper aims to bridge this gap by enabling parallel computation of Riccati recursion, thus providing both fast solutions and the necessary feedback control policies.
Methods
The core of the proposed method involves two key steps:
- Dividing the Global Problem: The large LQR problem is broken down into smaller, independent sub-problems. This is achieved by strategically splitting the trajectory at "link-points" and reformulating the problem into a series of end-point constrained LQR problems.
- Solving Sub-problems and Reconstructing Solutions: A novel "Constraint-explicit LQR" method is presented. This method computes the solutions to the sub-problems (optimal states, controls, and importantly, feedback policies) as explicit functions of their respective end-points (the link-points). By relating the Lagrange multipliers associated with the end-point constraints of these sub-problems, a system of equations is formed to solve for the unknown link-points. Once these link-points are determined, the solutions can be "redistributed" back to the sub-problems to obtain the final numerical values.
The "Constraint-explicit LQR" method itself is derived using a backward dynamic programming approach, maintaining time-varying quadratic value functions and linear constraint functions that explicitly depend on the terminal state of the sub-problem.
Datasets
Not discussed in the paper. The evaluation uses a specific LQR problem formulation and dynamics, but no standard datasets are mentioned.
Key Insights and Ideas
- Bridging the Policy Gap: The most significant insight is the development of a method that parallelizes Riccati recursion, directly addressing the limitation of existing parallel methods that only provide trajectory values. This is crucial for applications requiring feedback control.
- Link-point Relationships: The paper establishes an interesting relationship between the Lagrange multipliers of neighboring trajectories (sub-problems). This relationship is the key to solving for the unknown "link-points" that connect the sub-problems.
- Constraint-explicit Solutions: The "Constraint-explicit LQR" method is a novel contribution, allowing for the computation of control policies and value functions as explicit functions of the terminal state. This is essential for the reconstruction step.
- Trade-offs in Policy Smoothing: The paper highlights that while parallel policies can be slightly different from serial ones (due to constraints at link-points), a "smoothed" version can be obtained by re-computing policies with a different initialization, leading to potentially more stable but computationally more expensive policies.
Key Results
- Computational Speedup: The proposed parallel method significantly outperforms existing parallel methods for solving the KKT system of equations. For instance, in Table I, the parallel Riccati method is consistently faster than ScaLAPACK's parallel banded matrix solver across various core counts and trajectory lengths.
- Empirical Demonstration: The paper empirically demonstrates that their method produces optimal trajectories equivalent to serial Riccati recursion.
- Policy Generation: The method successfully generates feedback control policies, which are absent in existing parallel KKT-based solvers.
- Complexity: The computational complexity for determining the link-points is O(Jn³), where J is the number of sub-trajectories. This is noted as being very small when J << T (total time horizon).
Limitations and Future Work
- Policy Differences: While the optimal trajectories are the same, the parallel feedback policies can differ from serial ones due to the constraints imposed at the link-points. The paper discusses a "smoothed" version that mitigates this but at a higher computational cost.
- Convexity Assumption: The method relies on the strict convexity of the global LQR problem for the matrix $E_\tau + L_\tau$ to be full rank, which is necessary for solving for the link-points.
- Future Work: The paper suggests that the "Constraint-explicit LQR" method can be extended to handle more general nonlinear systems and constraints, which would be a natural next step. The potential benefits of the "smoothed" parallel policies in disturbed systems are also an area for further exploration.
Summary updated