DiffPhD让软体物理模拟更稳更快,支持复杂材质与接触场景的端到端优化。
DiffPhD: A Unified Differentiable Solver for Projective Heterogeneous Materials in Elastodynamics with Contact-Rich GPU-Acceleration

- 通过自适应权重和信任域滤波,统一处理材料异质性与大变形超弹性问题。
- 在100倍刚度差异下仍稳定收敛,相比之前方法提速近10倍。
- 适合需要高精度梯度的机器人抓取、角色动画等复杂软体系统优化。
可微分软体模拟是系统识别、轨迹优化和真实世界到仿真迁移的基础。然而,现有方法如可微分投影动力学(DiffPD)在面对极端刚度对比、大变形下的超弹性以及丰富的接触交互时表现不佳,而这些正是现实场景中的常见情况。本文提出DiffPhD,一种统一的GPU加速可微分投影动力学框架,可同时应对上述多重挑战。核心思想包括:(i) 基于刚度感知的投影权重,将异质性嵌入全局系统;(ii) 将信任域特征值滤波提升至反向传播以获得稳定的超弹性梯度,并采用双门控的二型安德森加速方案,在大刚度对比下稳定前向迭代;(iii) 构建统一的GPU流水线,复用单一稀疏分解因子于前向、反向及接触计算中,且将刚度增强的瑞利阻尼融合进同一因子,实现零额外成本的异质性感知耗散。DiffPhD在保持严格梯度精度的同时,在异质、超弹性、强接触基准上相较先前可微分求解器提速高达一个数量级。关键的是,该加速不牺牲稳定性:在100倍刚度比下仍能收敛,而此前方法会发散。这使得此前因求解器脆弱或单步开销过大而受阻的端到端梯度优化成为可能——如壳-关节复合体生物、持刚性武器的软体角色、软爪机器人操作等,均能在一次前向-反向传递中完成建模与优化。
原文摘要 · Abstract (English)
Differentiable simulation of soft bodies is a foundation for system identification, trajectory optimization, and Real2Sim transfer. Yet, existing methods such as the differentiable Projective Dynamics (DiffPD) struggle when faced with heterogeneous materials with extreme stiffness contrasts, hyperelasticity under large deformations, and contact-rich interactions, which are common scenarios in the real world. We present DiffPhD, a unified GPU-accelerated differentiable Projective Dynamics framework for heterogeneous materials that tackles these intertwined challenges simultaneously. Our key insight is a careful integration of: (i) stiffness-aware projective weights to embed heterogeneity into the global system; (ii) trust-region eigenvalue filtering lifted to the backward pass for stable hyperelastic gradients and a type-II Anderson Acceleration scheme with dual-gate convergence to stabilize forward iteration under large stiffness contrasts; and (iii) a unified GPU pipeline that reuses a single sparse factor across forward, backward, and contact computations, with stiffness-amplified Rayleigh damping folded into the same factor for heterogeneity-aware dissipation at zero recurring cost. DiffPhD achieves strict gradient accuracy while delivering up to an order-of-magnitude speedup over prior differentiable solvers on heterogeneous, hyperelastic, contact-rich benchmarks. Crucially, this speedup does not come at the cost of stability: DiffPhD remains convergent on stiffness contrasts up to 100x where prior PD solvers degrade. This unlocks end-to-end gradient-based optimization on regimes previously bottlenecked by either solver fragility or per-iteration cost -- shell--joint composite creatures, soft characters wielding stiff weapons, and soft-gripper robotic manipulation -- all handled within a single forward--backward pass.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。