Algorithmic differentiation improves the computational efficiency of OpenSim-based trajectory optimization of human movement

被引:42
|
作者
Falisse, Antoine [1 ]
Serrancol, Gil [2 ]
Dembia, Christopher L. [3 ]
Gillis, Joris [4 ,5 ]
De Groote, Friedl [1 ]
机构
[1] Katholieke Univ Leuven, Dept Movement Sci, Leuven, Belgium
[2] Univ Politecn Cataluna, Dept Mech Engn, Barcelona, Catalunya, Spain
[3] Stanford Univ, Dept Mech Engn, Stanford, CA 94305 USA
[4] Katholieke Univ Leuven, Dept Mech Engn, Leuven, Belgium
[5] Flanders Make, DMMS Lab, Leuven, Belgium
来源
PLOS ONE | 2019年 / 14卷 / 10期
关键词
DYNAMIC OPTIMIZATION; MUSCLE; SIMULATIONS; WALKING; MODELS; TENDON; JOINT;
D O I
10.1371/journal.pone.0217730
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
Algorithmic differentiation (AD) is an alternative to finite differences (FD) for evaluating function derivatives. The primary aim of this study was to demonstrate the computational benefits of using AD instead of FD in OpenSim-based trajectory optimization of human movement. The secondary aim was to evaluate computational choices including different AD tools, different linear solvers, and the use of first- or second-order derivatives. First, we enabled the use of AD in OpenSim through a custom source code transformation tool and through the operator overloading tool ADOL-C. Second, we developed an interface between OpenSim and CasADi to solve trajectory optimization problems. Third, we evaluated computational choices through simulations of perturbed balance, two-dimensional predictive simulations of walking, and three-dimensional tracking simulations of walking. We performed all simulations using direct collocation and implicit differential equations. Using AD through our custom tool was between 1.8 +/- 0.1 and 17.8 +/- 4.9 times faster than using FD, and between 3.6 +/- 0.3 and 12.3 +/- 1.3 times faster than using AD through ADOL-C. The linear solver efficiency was problem-dependent and no solver was consistently more efficient. Using second-order derivatives was more efficient for balance simulations but less efficient for walking simulations. The walking simulations were physiologically realistic. These results highlight how the use of AD drastically decreases computational time of trajectory optimization problems as compared to more common FD. Overall, combining AD with direct collocation and implicit differential equations decreases the computational burden of trajectory optimization of human movement, which will facilitate their use for biomechanical applications requiring the use of detailed models of the musculoskeletal system.
引用
收藏
页数:19
相关论文
共 50 条
  • [21] OPTIMIZATION OF END TRAJECTORY OF MEDICAL ROBOT ARM BASED ON HUMAN BIOMIMETICS
    Wang, Zhilin
    Su, Donghai
    JOURNAL OF MECHANICS IN MEDICINE AND BIOLOGY, 2024, 24 (08)
  • [22] Joint Resource and Trajectory Optimization for Energy Efficiency Maximization in UAV-Based Networks
    Tung, Tran Van
    An, To Truong
    Lee, Byung Moo
    MATHEMATICS, 2022, 10 (20)
  • [23] Iteratively Adding Latent Human Knowledge Within Trajectory Optimization Specifications Improves Learning and Task Outcomes
    Chang, Christine T.
    Stull, Maria P.
    Crockett, Breanne
    Jensen, Emily
    Lohrmann, Clare
    Hebert, Mitchell
    Hayes, Bradley
    IEEE ROBOTICS AND AUTOMATION LETTERS, 2025, 10 (02): : 1537 - 1544
  • [24] Robotic peg-in-hole assembly based on reversible dynamic movement primitives and trajectory optimization
    Zhao, Huan
    Chen, Yuxiang
    Li, Xiangfei
    Ding, Han
    MECHATRONICS, 2023, 95
  • [25] Optimization and Simulation of Monitoring Technology of Blasting Rock Movement Trajectory Based on the Improved SVM Algorithm
    Yu, Jianyang
    Liu, Xiaobo
    Wang, Liancheng
    Wu, Hao
    MATHEMATICAL PROBLEMS IN ENGINEERING, 2022, 2022
  • [26] Surrogate-based optimization of capture chromatography platforms for the improvement of computational efficiency
    Romero, Juan J.
    Jenkins, Eleanor W.
    Husson, Scott M.
    COMPUTERS & CHEMICAL ENGINEERING, 2023, 173
  • [27] A Computational Model of Human-Robot Spatial Interactions Based on a Qualitative Trajectory Calculus
    Dondrup, Christian
    Bellotto, Nicola
    Hanheide, Marc
    Eder, Kerstin
    Leonards, Ute
    ROBOTICS, 2015, 4 (01) : 63 - 102
  • [28] Computational evaluation of exome sequence data using human and model organism phenotypes improves diagnostic efficiency
    Bone, William P.
    Washington, Nicole L.
    Buske, Orion J.
    Adams, David R.
    Davis, Joie
    Draper, David
    Flynn, Elise D.
    Girdea, Marta
    Godfrey, Rena
    Golas, Gretchen
    Groden, Catherine
    Jacobsen, Julius
    Koehler, Sebastian
    Lee, Elizabeth M. J.
    Links, Amanda E.
    Markello, Thomas C.
    Mungall, Christopher J.
    Nehrebecky, Michele
    Robinson, Peter N.
    Sincan, Murat
    Soldatos, Ariane G.
    Tifft, Cynthia J.
    Toro, Camilo
    Trang, Heather
    Valkanas, Elise
    Vasilevsky, Nicole
    Wahl, Colleen
    Wolfe, Lynne A.
    Boerkoel, Cornelius F.
    Brudno, Michael
    Haendel, Melissa A.
    Gahl, William A.
    Smedley, Damian
    GENETICS IN MEDICINE, 2016, 18 (06) : 608 - 617
  • [29] Improving Efficiency of Human Pluripotent Stem Cell Differentiation Platforms Using an Integrated Experimental and Computational Approach
    Selekman, Joshua A.
    Das, Amritava
    Grundl, Nicholas J.
    Palecek, Sean P.
    BIOTECHNOLOGY AND BIOENGINEERING, 2013, 110 (11) : 3024 - 3037
  • [30] Swarm-intelligence-based quantum-inspired optimization techniques for enhancing algorithmic efficiency and empirical assessment
    Priyadarshini, Ishaani
    QUANTUM MACHINE INTELLIGENCE, 2024, 6 (02)