Software-based automatic differentiation is flawed
Software efforts in automatic differentiation are built on the observation that every computation is implemented as a series of elementary operations, and that symbolic partial derivatives can be supplied for each of these operations. Any computation can then be traversed (either forwards or backwards) utilizing the chain rule to accumulate derivatives. These frameworks have no mechanism for simplifying these expressions before evaluating them. As we illustrate below, the resulting errors tend to be unbounded.
Authors
- Yongxu Jin (ORCID: https://orcid.org/0000-0002-6241-1695)
- Trevor Maxfield (ORCID: https://orcid.org/0000-0002-3135-9951)
- Ronald Fedkiw (ORCID: https://orcid.org/0009-0008-6853-2499)
- Daniel Johnson
Institutions
- Institute of Mathematical Statistics (US)
- Stanford University (US)
Publication Details
- Journal
- Journal of Computational Physics
- Published
- 2025-09-02
- DOI
- https://doi.org/10.1016/j.jcp.2025.114319
- Citations
- 1
- Primary Topic
- Modeling and Simulation Systems
- Type
- article
- Field-Weighted Citation Impact
- 1.50
Funders
- Office of Naval Research