Pith. sign in

REVIEW 20 cited by

Forward-Mode Automatic Differentiation in Julia

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 1607.07892 v1 pith:HX6HKHFW submitted 2016-07-26 cs.MS

Forward-Mode Automatic Differentiation in Julia

classification cs.MS
keywords forwarddiffdifferentiationautomaticforward-modegradientjulialanguagesmode
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
read the original abstract

We present ForwardDiff, a Julia package for forward-mode automatic differentiation (AD) featuring performance competitive with low-level languages like C++. Unlike recently developed AD tools in other popular high-level languages such as Python and MATLAB, ForwardDiff takes advantage of just-in-time (JIT) compilation to transparently recompile AD-unaware user code, enabling efficient support for higher-order differentiation and differentiation using custom number types (including complex numbers). For gradient and Jacobian calculations, ForwardDiff provides a variant of vector-forward mode that avoids expensive heap allocation and makes better use of memory bandwidth than traditional vector mode. In our numerical experiments, we demonstrate that for nontrivially large dimensions, ForwardDiff's gradient computations can be faster than a reverse-mode implementation from the Python-based autograd package. We also illustrate how ForwardDiff is used effectively within JuMP, a modeling language for optimization. According to our usage statistics, 41 unique repositories on GitHub depend on ForwardDiff, with users from diverse fields such as astronomy, optimization, finite element analysis, and statistics. This document is an extended abstract that has been accepted for presentation at the AD2016 7th International Conference on Algorithmic Differentiation.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 20 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Stable and Scalable Probabilistic Numerical Solvers for Stiff and High-Dimensional ODEs

    math.NA 2026-06 unverdicted novelty 7.0

    Develops matrix-free Jacobian-vector product updates and iterative re-linearization to achieve stable, linearly scaling probabilistic solvers for stiff high-dimensional ODEs.

  2. Stochastic Differential Dynamic Programming for Trajectory Optimization under Partial Observability

    eess.SY 2026-05 unverdicted novelty 7.0

    A new stochastic differential dynamic programming method optimizes coupled trajectory design and orbit determination under partial observability, producing navigation-aware solutions with lower fuel consumption than d...

  3. Stochastic Differential Dynamic Programming for Trajectory Optimization under Partial Observability

    eess.SY 2026-05 unverdicted novelty 7.0

    Introduces a stochastic DDP algorithm that optimizes nominal controls and feedback gains for belief-state trajectory problems under partial observability without relying on the separation principle.

  4. Admissible Lax-Wendroff Flux Reconstruction Method with Automatic Differentiation on Adaptive Curved Meshes for Relativistic Hydrodynamics

    math.NA 2026-04 unverdicted novelty 7.0

    An admissible Lax-Wendroff flux reconstruction method with automatic differentiation and subcell blending enables robust high-order simulations of relativistic hydrodynamics on adaptive curved meshes.

  5. Kolmogorov-Arnold Chemical Reaction Neural Networks for learning pressure-dependent kinetic rate laws

    physics.chem-ph 2025-11 unverdicted novelty 7.0

    KA-CRNNs learn pressure-dependent and collider-specific kinetic rate laws from data using Kolmogorov-Arnold activations inside a CRNN framework, outperforming interpolative methods by 2.88x in MSE on two proof-of-conc...

  6. Optimal linear response for Anosov diffeomorphisms

    math.DS 2025-04 unverdicted novelty 7.0

    Develops an optimization framework for the linear response of SRB measures to perturbations of Anosov diffeomorphisms, proving uniqueness of the optimal perturbation for non-degenerate cases, giving explicit Fourier c...

  7. Invariant Image Reparameterisation: Bridging Symbolic and Numerical Methods for Identifiability Analysis, Model Reduction, and Prediction

    stat.AP 2025-02 unverdicted novelty 7.0

    IIR shows that under a one-to-one componentwise transformation where observables depend on fixed linear combinations of transformed parameters, a single numerical Jacobian determines the lower-dimensional reparameteri...

  8. ModelPredictiveControl.jl: advanced process control made easy in Julia

    eess.SY 2024-11 accept novelty 7.0

    The paper presents ModelPredictiveControl.jl, an open-source Julia toolkit for model predictive control including nonlinear, economic, and successive linearization variants, illustrated with CSTR and inverted pendulum...

  9. Universal Differential Equations for Scientific Machine Learning

    cs.LG 2020-01 unverdicted novelty 7.0

    Universal Differential Equations unify scientific models with machine learning by embedding flexible approximators into differential equations, enabling applications from biological mechanism discovery to high-dimensi...

  10. PAC-Bayesian Certificates for Quadratic Closed-Loop Control

    eess.SY 2026-06 unverdicted novelty 6.0

    PAC-Bayesian bounds are derived for quadratic closed-loop control via SLS parameterization, yielding Chernoff certificates for posteriors over responses, a mean-response deployment result, and a data-driven learning a...

  11. Computing resonances of perturbed Schr\"odinger equations: Application to Reissner-Norsdtr\"om-de Sitter black holes

    math.NA 2026-06 unverdicted novelty 6.0

    Numerical method finds resonances in perturbed Schrödinger equations via Wronskian zeros of reference Jost solutions and applies it to RNdS black holes to study perturbation effects and cosmic censorship.

  12. Propagating data-driven galaxy redshift distribution uncertainties in 3$\times$2-pt analyses

    astro-ph.CO 2026-04 unverdicted novelty 6.0

    A five-parameter PCA model for n(z) uncertainties in Stage-IV 3x2-pt analyses degrades the S8 constraint by only 5% relative to shift-stretch models while halving biases on Omega_m and sigma_8, and all tested models a...

  13. Sensitivities of Black Hole Images from GRMHD Simulations

    astro-ph.HE 2026-04 unverdicted novelty 6.0

    Differentiable GRMHD image sensitivities create a structured error landscape that supports gradient-based parameter recovery for black hole imaging under idealized and noisy conditions.

  14. Learning continuous state of charge dependent thermal decomposition kinetics for Li-ion cathodes using Kolmogorov-Arnold Chemical Reaction Neural Networks (KA-CRNNs)

    physics.chem-ph 2025-12 unverdicted novelty 6.0

    KA-CRNN learns continuous SOC-dependent kinetic parameters for cathode-electrolyte decomposition directly from DSC data, reproducing heat-release features across all SOCs for NCA, NM, and NMA cathodes.

  15. Learning Post-Newtonian Corrections from Numerical Relativity

    gr-qc 2025-11 conditional novelty 6.0

    A PINN learns higher-order corrections to the TaylorT4 PN model from eight NR surrogate waveforms, reducing phase and amplitude errors in the inspiral while enforcing physical symmetries.

  16. Action-Gradient Monte Carlo Tree Search for Non-Parametric Continuous (PO)MDPs

    cs.AI 2025-03 unverdicted novelty 6.0

    AGMCTS augments MCTS with action-score gradients for particle beliefs, a Multiple Importance Sampling tree for reuse, and Area Formula gradients for smooth models, outperforming prior sample-based solvers on continuou...

  17. Constrained Policy Optimization for Stochastic Optimal Control under Nonstationary Uncertainties

    math.OC 2022-09 unverdicted novelty 6.0

    Constrained policy optimization for stochastic optimal control under nonstationary uncertainties via Markov embeddability and finite approximation.

  18. A numerical analysis focused comparison of several Finite Volume schemes for an Unipolar Degenerated Drift-Diffusion Model

    math.NA 2019-07 unverdicted novelty 6.0

    Four finite volume schemes based on different flux formulations are proposed for a degenerated drift-diffusion system, with stability and existence shown for all four and convergence proven for two, plus numerical exp...

  19. Automatic Differentiation for Adjoint Stencil Loops

    cs.DC 2019-07 unverdicted novelty 6.0

    A method for adjoint differentiation of stencil loops that preserves their structure and parallelizability via combined AD and loop transformations, released as the PerforAD tool with seismic and CFD test cases.

  20. Propagating data-driven galaxy redshift distribution uncertainties in 3$\times$2-pt analyses

    astro-ph.CO 2026-04 unverdicted novelty 5.0

    Simulations show 5-parameter PCA n(z) uncertainty models degrade S8 constraints by only 5% versus shift-stretch while halving bias in Omega_m and sigma_8, and all models allow safe analytical marginalization with up t...