← 研踪 PaperTrailarXiv:2612.03114 · v1
Contracted Derivatives for Multibody Dynamics: Analysis and Optimization
首次提交 2026-12-02 12:15
版本更新 2026-12-02 12:15
雷达观测 2026-12-03 11:48
摘要
We develop analytical algorithms for contracted first- and second-order multibody inverse- and forward-dynamics derivatives. We embed contractions in rigid-body derivative recursions, using spatial-algebra identities to avoid costly intermediates. We derive a reverse-mode algorithm for contracted first-order inverse dynamics, extend it to second order, and obtain two complementary formulations for contracted second-order forward dynamics. We compare with automatic differentiation (AD) via computational-graph instruction counts on multibody systems of increasing size. Analytical methods consistently require fewer instructions. Graph optimization narrows the gap with most AD methods by removing redundancy, but analytical methods retain an advantage, especially at second order, by avoiding intermediate derivative objects that graph optimization cannot eliminate. These results distinguish complementary levels of derivative optimization---differentiation strategy, analytical reformulation, and computational-graph optimization---and highlight the importance of analytical derivatives and their ability to exploit multibody structure beyond general-purpose AD and graph optimization.
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v1 · 2026-12-02 12:15 · 最新观测版本
Contracted Derivatives for Multibody Dynamics: Analysis and Optimization
We develop analytical algorithms for contracted first- and second-order multibody inverse- and forward-dynamics derivatives. We embed contractions in rigid-body derivative recursions, using spatial-algebra identities to avoid costly intermediates. We derive a reverse-mode algorithm for contracted first-order inverse dynamics, extend it to second order, and obtain two complementary formulations for contracted second-order forward dynamics. We compare with automatic differentiation (AD) via computational-graph instruction counts on multibody systems of increasing size. Analytical methods consistently require fewer instructions. Graph optimization narrows the gap with most AD methods by removing redundancy, but analytical methods retain an advantage, especially at second order, by avoiding intermediate derivative objects that graph optimization cannot eliminate. These results distinguish complementary levels of derivative optimization---differentiation strategy, analytical reformulation, and computational-graph optimization---and highlight the importance of analytical derivatives and their ability to exploit multibody structure beyond general-purpose AD and graph optimization.
查看此版本解读 →查看此版本原文 ↗