# Inverse Dynamics vs. Forward Dynamics in Direct Transcription Formulations for Trajectory Optimization

arXiv: https://arxiv.org/abs/2010.05359 · HTML: https://mlsanity.com/paper/2010.05359/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 11 Oct 2020.

## Built on by (most cited first, 2 of 2)

- [A Survey of Imitation Learning Methods, Environments and Metrics](https://mlsanity.com/paper/2404.19456/) (2024)
- [ODYN: An All-Shifted Non-Interior-Point Method for Quadratic Programming in Robotics and AI](https://mlsanity.com/paper/2602.16005/) (2026)

## Abstract (arXiv)

Benchmarks of state-of-the-art rigid-body dynamics libraries report better performance solving the inverse dynamics problem than the forward alternative. Those benchmarks encouraged us to question whether that computational advantage would translate to direct transcription, where calculating rigid-body dynamics and their derivatives accounts for a significant share of computation time. In this work, we implement an optimization framework where both approaches for enforcing the system dynamics are available. We evaluate the performance of each approach for systems of varying complexity, for domains with rigid contacts. Our tests reveal that formulations using inverse dynamics converge faster, require less iterations, and are more robust to coarse problem discretization. These results indicate that inverse dynamics should be preferred to enforce the nonlinear system dynamics in simultaneous methods, such as direct transcription.
