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 条
  • [1] Algorithmic Differentiation for Calculus-based Optimization
    Walther, Andrea
    THIRD INTERNATIONAL WORKSHOP ON THEORETICAL AND COMPUTATIONAL NANOPHOTONICS - TACONA-PHOTONICS 2010, 2010, 1291 : 35 - 36
  • [2] Neurosphere Based Differentiation of Human iPSC Improves Astrocyte Differentiation
    Zhou, Shuling
    Szczesna, Karolina
    Ochalek, Anna
    Kobolak, Julianna
    Varga, Eszter
    Nemes, Csilla
    Chandrasekaran, Abinaya
    Rasmussen, Mikkel
    Cirera, Susanna
    Hyttel, Poul
    Dinnyes, Andras
    Freude, Kristine K.
    Avci, Hasan X.
    STEM CELLS INTERNATIONAL, 2016, 2016
  • [3] COMPUTATIONAL-EFFICIENCY CONSIDERATIONS FOR HIGH-FIDELITY LAUNCH VEHICLE TRAJECTORY OPTIMIZATION
    LUKE, RA
    AIAA GUIDANCE, NAVIGATION AND CONTROL CONFERENCE, PTS 1 AND 2: A COLLECTION OF TECHNICAL PAPERS, 1989, : 181 - 192
  • [4] A computational trajectory formation model for the human sagittal plane movement at various motion durations
    Wada, Y
    Aiba, T
    Fukuzawa, K
    NEUROCOMPUTING, 2001, 38 : 1589 - 1594
  • [5] Planar arm movement trajectory formation: An optimization based simulation study
    Zadravec, Matjaz
    Matjacic, Zlatko
    BIOCYBERNETICS AND BIOMEDICAL ENGINEERING, 2013, 33 (02) : 106 - 117
  • [6] Optimization of the trajectory of movement of a parallel robot based on a modified ACO algorithm
    Rybak, L. A.
    Khalapyan, S. Y.
    Malyshev, D. I.
    INTERNATIONAL CONFERENCE ON MECHANICAL ENGINEERING, AUTOMATION AND CONTROL SYSTEMS 2018, 2019, 560
  • [7] Trajectory Clustering-Based Anomaly Detection in Indoor Human Movement
    Lan, Doi Thi
    Yoon, Seokhoon
    SENSORS, 2023, 23 (06)
  • [8] Human trajectory formation: Taxonomy of movement based on phase flow topology
    Huys, Raoul
    Jirsa, Viktor K.
    Studenka, Brearma E.
    Rheaume, Nicole
    Zelaznik, Howard N.
    COORDINATION: NEURAL, BEHAVIORAL AND SOCIAL DYNAMICS, 2008, : 77 - +
  • [9] IMU-Based Movement Trajectory Heatmaps for Human Activity Recognition
    Konak, Orhan
    Wegner, Pit
    Arnrich, Bert
    SENSORS, 2020, 20 (24) : 1 - 15
  • [10] Trajectory Based Unusual Human Movement Identification for Video Surveillance System
    Rai, Himanshu
    Kolekar, Maheshkumar H.
    Keshav, Neelabh
    Mukherjee, J. K.
    PROGRESS IN SYSTEMS ENGINEERING, 2015, 366 : 789 - 794