arXiv cs.RO· John Viljoen, Lasse Peters, Masayoshi Tomizuka, Negar Mehr·· 2026-10-20AI 评分44
CusADi2:在 GPU 上延迟优化的机器人运动学、雅可比与海森矩阵批量计算
CusADi2: Latency-Optimized Batch Computation of Robot Kinematics, Jacobians, and Hessians on the GPU
AI 导读
CusADi2 是一个通过在每个批次实例内部额外并行化来降低批量评估延迟的软件库,针对机器人正运动学及其雅可比、海森矩阵的批量计算。研究团队在 MuJoCo Menagerie 全部 67 个机器人(含机械臂、灵巧手、四足、人形与生物力学模型)上,将 CusADi2 与 MuJoCo XLA、MuJoCo Warp、frax、CusADi 和 CasADi 进行基准对比,在 64 至 4096 的批大小下延迟均低于所有基线,更大批大小时与基线持平。作者还在一个基于采样的控制应用中展示了其性能优势,全部代码已开源,论文共 8 页、4 幅图,已投稿 IEEE Robotics and Automation Letters(RA-L)。
正文
Abstract:Trajectory optimization methods, from sampling-based zero-order to gradient-based first- and second-order approaches, require many evaluations of dynamical system functions, i.e., functions derived from a robot's dynamical model, such as forward kinematics and their Jacobians and Hessians. These evaluations are largely independent, e.g., across sampled trajectories or time steps, and can thus be evaluated in parallel as a batch. When used to make decisions online, these methods require low latency, i.e., each batch must complete in as little wall-clock time as possible. Existing frameworks utilize modern GPU hardware primarily to parallelize across batch instances, thereby optimizing throughput but not latency. We present CusADi2, a software library that reduces the batch evaluation latency by additionally parallelizing computation within each batch instance. We benchmark forward kinematics, Jacobians, and Hessians for all 67~robots in the MuJoCo Menagerie, including arms, hands, quadrupeds, humanoids, and biomechanical models, against MuJoCo XLA, MuJoCo Warp, frax, CusADi, and CasADi. CusADi2 achieves lower latency than all baselines at batch sizes of 64 to 4096, while matching them at larger batch sizes. We also demonstrate the performance advantage of CusADi2 in a sampling-based control application. All code is open-source at: this https URL
| Comments: | 8 pages, 4 figures. Submitted to IEEE Robotics and Automation Letters (RA-L). Code: this https URL |
| Subjects: | Robotics (cs.RO) |
| Cite as: | arXiv:2610.25476 [cs.RO] |
| (or arXiv:2610.25476v1 [cs.RO] for this version) | |
| https://doi.org/10.48550/arXiv.2610.25476 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: John Viljoen Mr [view email]
[v1]
Sun, 18 Oct 2026 19:03:28 UTC (420 KB)
来源:arXiv cs.RO · arxiv.org