基于有限元的可微物理中带二阶导数的隐式微分及基准测试
Implicit differentiation with second-order derivatives and benchmarks in finite-element-based differentiable physics
AI总结:
该研究针对基于有限元的可微物理中隐式函数二阶导数研究不足的问题,构建了隐式Hessian计算框架,通过基准测试验证了二阶导数在优化中的效用,为可微物理引擎集成二阶隐式微分奠定基础。
摘要:
可微编程通过实现数值模拟的自动微分(AD),正在革新计算科学领域。尽管一阶梯度已发展成熟,但基于有限元的可微物理中隐式函数的二阶导数(Hessian矩阵)仍未得到充分研究。本研究通过推导并实现一个用于偏微分方程(PDE)约束优化问题的隐式Hessian计算框架,填补了这一空白。我们利用基础AD工具(雅可比向量积/向量雅可比积)构建了Hessian向量积算法,并通过有限差分近似验证了其准确性。涵盖线性/非线性、2D/3D以及单变量/耦合变量问题的四项基准测试证明了二阶信息的实用性。结果表明,采用精确Hessian的Newton-CG方法能加速非线性逆问题(如牵引力识别、形状优化)的收敛,而L-BFGS-B方法足以应对线性情况。本研究为将二阶隐式微分集成到可微物理引擎中提供了坚实基础,可实现更快速、更可靠的优化。
英文摘要:
Differentiable programming is revolutionizing computational science by enabling automatic differentiation (AD) of numerical simulations. While first-order gradients are well-established, second-order derivatives (Hessians) for implicit functions in finite-element-based differentiable physics remain underexplored. This work bridges this gap by deriving and implementing a framework for implicit Hessian computation in PDE-constrained optimization problems. We leverage primitive AD tools (Jacobian-vector product/vector-Jacobian product) to build an algorithm for Hessian-vector products and validate the accuracy against finite difference approximations. Four benchmarks spanning linear/nonlinear, 2D/3D, and single/coupled-variable problems demonstrate the utility of second-order information. Results show that the Newton-CG method with exact Hessians accelerates convergence for nonlinear inverse problems (e.g., traction force identification, shape optimization), while the L-BFGS-B method suffices for linear cases. Our work provides a robust foundation for integrating second-order implicit differentiation into differentiable physics engines, enabling faster and more reliable optimization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。