WarpMPC:基于GPU的大批量MPC,用ADMM与非卷绕LDL^T分解加速
WarpMPC: Large-Batch MPC on GPU via ADMM with Unrolled $LDL^\top$ Factorization
WarpMPC工具箱在JAX与Warp中实现GPU上大批量MPC的SQP求解,通过展开稀疏线性分解与求解、优化内存布局和依赖调度回代,在非线性cartpole、四旋翼与humanoid机器人基准上达到每秒8,000至250,000次SQP迭代,较基线快3至25倍。该方案还用于合成数据集,5分钟内训练出MPC的神经网络近似,并在硬件实验中稳定了一架nano quadrotor。
arXiv:2607.11603v2 Announce Type: replace Abstract: This paper introduces numerical optimizations for maximizing throughput on GPU when solving large batches (10,000 to over 100,000) of sequential quadratic programming (SQP) iterations, where all problems have the same structure. The optimizations are implemented in a toolbox WarpMPC for model-predictive control (MPC) in JAX and Warp. Based on the insight that all MPC problem instances in a batch share the same sparsity in time, cost, and constraints, we propose unrolling sparse linear factorizations and solves, which dominate alternating direction method of multipliers (ADMM) solver runtime. We avoid memory access bottlenecks and wasting computations via optimized memory layout, padding-reducing segmentation of the unrolled factorization, and dependency level scheduled backsolves, additionally accelerating sensitivity computation. We achieve throughputs of 8,000 to 250,000 SQP iterations per second on nonlinear cartpole, quadrotor, and humanoid robot benchmarks, outperforming baselines by 3$\times$ to 25$\times$. We illustrate practical usefulness by synthesizing a dataset and training a neural network approximation of an MPC in under 5 minutes that stabilizes a nano quadrotor in hardware experiments.
来源:arXiv (Robotics + Hardware + Signal) · arxiv.org