AI engineering glossary · Calculus optimisation

What is forward-mode automatic differentiation?

Forward-mode automatic differentiation (also called Forward mode): A variant that propagates derivatives alongside values from inputs toward outputs, computing one directional derivative per pass. It is efficient when a function has few inputs and many outputs, and it computes Jacobian-vector products.

Level: advancedTopic: Calculus optimisation

Forward-mode automatic differentiation: an example

A simulation with 3 tunable parameters and 10,000 outputs needs only 3 forward passes to get its full Jacobian.

Related terms

More Calculus optimisation terms

Where you learn it

Forward-mode automatic differentiation is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.