共享结构,而非决策:用于机器人滚动的批处理增量势接触算法
Sharing Structure, Not Decisions: Batched Incremental Potential Contact for Robot Rollouts
AI总结:
本文提出B-IPC系统,通过共享结构而非决策的批处理方式,大幅提升机器人可变形操作模拟的吞吐量,且对轨迹与任务结果的扰动极小,可迁移至策略评估等任务。
摘要:
针对可变形操作的机器人策略进行评估、训练与优化需要消耗大量独立的、包含丰富接触的轨迹。增量势接触(IPC)算法可使这些轨迹具备鲁棒性,但每一步都嵌套了牛顿迭代、Krylov求解以及连续碰撞检测,且不同轨迹间的实现存在差异。本文提出B-IPC,这是一种GPU系统,其核心原则是共享结构而非决策,可同时推进数千个IPC模拟。具有重复拓扑结构的环境共享一个只读模板,该模板包含连通性、稀疏模式、碰撞层次结构和预条件子映射,并将各自的私有值并行存储在内存中;每个环境拥有独立的牛顿迭代、线搜索、Krylov递推、碰撞边界和物理时钟,完成计算的环境会在下一轮牛顿迭代中重新加入批处理。在严格的无相交收敛约束下,B-IPC在单个H100 GPU上可维持每秒高达36000个环境步的吞吐量,是libuipc的CUDA图实现的最佳多进程配置吞吐量的4.9至10.0倍,是libuipc本身吞吐量的7.3至8.2倍。该加速源于两方面:一是无需等待其他环境的收敛测试,减少了牛顿迭代次数;二是所有环境基于共享模板形成一个宽批处理,降低了迭代成本,若为每个环境单独配置传统分块求解器的收敛决策,仅能缩小一小部分差距。测试表明,批处理对轨迹和任务结果的扰动不超过单独重运行一个环境的情况,对于进展速率不同的小型可变形环境,增益最大,当一个环境占满GPU时增益消失,且该优势可迁移至策略评估、轨迹优化和强化学习,这些任务在各自的迭代预算下运行,而非严格的收敛约束。
英文摘要:
Evaluating, training, and optimizing robot policies for deformable manipulation consumes enormous numbers of independent, contact-rich trajectories. Incremental potential contact (IPC) makes these trajectories robust, but every step nests Newton iterations, Krylov solves, and continuous collision detection, and this work differs from trajectory to trajectory. We present B-IPC, a GPU system that advances thousands of IPC simulations together under one principle: share structure, not decisions. Environments with repeated topology share one read-only template of connectivity, sparsity patterns, collision hierarchies, and preconditioner maps, and store their private values side by side in memory; each environment owns its Newton iterations, line search, Krylov recurrences, collision bounds, and physical clock, and a finished environment rejoins the batch at the next Newton round. Under a strict convergence and intersection-free contract, B-IPC sustains up to 36,000 environment steps per second on one H100 GPU, 4.9-10.0x the throughput of the best multi-process configuration of a CUDA-graph implementation of libuipc and 7.3-8.2x that of libuipc itself. The speedup combines fewer Newton iterations, because no environment waits for another's convergence test, with cheaper iterations, because all environments form one wide batch over a shared template; giving a conventional tiled solver per-environment convergence decisions alone closes only a small fraction of the gap. In our tests, batching perturbs trajectories and task outcomes no more than rerunning an environment alone does. The gains are largest for small deformable environments that progress at different rates, vanish when one environment fills the GPU, and carry over to policy evaluation, trajectory optimization, and reinforcement learning, which run under each task's iteration budgets instead of the strict contract.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。