TL;DR
This paper introduces a novel parallel algorithm for solving the constrained Linear-Quadratic (LQ) problems that lie at the heart of Nonlinear Model Predictive Control (NMPC). By combining proximal regularization with a "divide-and-conquer" approach that splits the control horizon into parallelizable segments, the authors achieve significant speedups, enabling real-time, whole-body control of complex robots like the TALOS humanoid and the SOLO-12 quadruped.
What Problem Does This Paper Address?
Model Predictive Control (MPC) is the "gold standard" for robot locomotion because it allows a robot to plan its future actions while respecting physical constraints (like joint limits or contact forces). However, NMPC requires solving a massive optimization problem every few milliseconds.
The computational bottleneck is usually the Linear-Quadratic Regulator (LQR) subproblem. Traditionally, this is solved using the Riccati recursion, which is inherently serial—you have to calculate the solution for the last time step before you can move to the second-to-last, and so on. For high-degree-of-freedom robots (like humanoids) or long planning horizons, this serial bottleneck makes real-time control nearly impossible on standard hardware.
Methods
The authors propose a two-pronged strategy to break the serial bottleneck:
- Proximal Regularization: They use a proximal-point iteration method. This adds a small "penalty" term that makes the numerical problem much more stable, especially when dealing with redundant constraints or "ill-posed" physics (like a robot standing on a flat floor where multiple contact force combinations produce the same result).
- Parallel "Leg" Splitting: Instead of solving one long horizon serially, they split the timeline into $J$ segments (or "legs").
- Each leg is treated as a parametric LQ problem, where the "glue" connecting them is the co-state (a mathematical representation of the system's sensitivity).
- These legs are solved concurrently in parallel.
- A final, much smaller "consensus system" (a block-tridiagonal matrix) is solved to ensure all the legs stitch together perfectly into a continuous trajectory.
The algorithm is implemented in C++ using the ALIGATOR library, leveraging block-sparse factorization to ensure that even the individual parallel tasks are as fast as possible.
Datasets
As a robotics paper, the "datasets" are primarily simulation environments and real-world hardware benchmarks:
- Cyclic LQ Problems: Synthetic mathematical tests to verify the solver's ability to handle complex constraints (like a trajectory that must loop back on itself).
- TALOS Humanoid: A simulation of a 100kg humanoid robot performing locomotion with 6D contact constraints ($n_x=57$ states, $n_u=22$ controls).
- SOLO-12 Quadruped: Real-world hardware experiments on a torque-controlled quadruped robot ($n_x=37$ states, $n_u=12$ controls).
Key Insights and Ideas
- Co-state Parameterization: The "aha moment" is treating the connection points between parallel segments as parameters. This allows the backward pass of the Riccati recursion—usually the most expensive part—to be distributed across multiple CPU cores.
- Implicit Dynamics Support: Unlike many solvers that require explicit equations ($x_{t+1} = f(x_t, u_t)$), this method handles implicit dynamics. This is crucial for high-fidelity physics simulations (like those using Variational Integrators) where the next state is defined by a complex algebraic relationship.
- Stability via Proximal Terms: By integrating proximal regularization directly into the parallel structure, the solver remains robust even when the robot's constraints are mathematically "messy" (rank-deficient).
Key Results
- Efficiency: On a 20-core Mac Studio, the parallel solver achieved 50-60% efficiency for long horizons (T=2048). While not 100% (due to the overhead of the consensus step), it represents a massive leap over serial methods.
- Humanoid Speedup: For the TALOS humanoid simulation, using 4 threads cut the computation time in half compared to the serial version.
- Real-Time Hardware: On the SOLO-12 quadruped, the solver handled an 80-step horizon in just 4.4ms (using 12 threads). This comfortably fit within the robot's 9ms control budget, enabling stable walking on real hardware.
Limitations and Future Work
- Diminishing Returns: The authors noted that speedup "stagnates" after a certain number of threads (e.g., 4 threads for the TALOS task). This is likely due to the overhead of moving data between CPU cores and the sequential nature of the final consensus system.
- Memory Management: The current implementation could be further optimized for "cache-friendliness" to reduce the time spent moving data in memory.
- Nonlinear Rollouts: While the linear parts of the solver are parallelized, the authors suggest that future work could involve parallelizing the nonlinear rollouts (the initial guess generation) to further boost performance.
Summary updated