The Jacobian ∂y/∂x is the matrix of every output’s derivative with respect to every input.
In ML papers
When a function maps a vector x∈Rn to a vector y∈Rm, its Jacobian∂x∂y is the m×n matrix with entries Jij=∂xj∂yi. Row i is the gradient of output i. For a linear layer y=Wx, the Jacobian is just W.
Backpropagation is the chain rule for Jacobians: the Jacobian of a composition is the product of the layers' Jacobians, and autograd computes vector-Jacobian products without building the matrices. Normalizing flows need log∣detJ∣ (Determinant) to track how a transformation stretches volume.
How to type it
LaTeX
Shows
\frac{\partial \mathbf{y}}{\partial \mathbf{x}}
∂x∂y
\mathbf{J}_f
Jf
\nabla_{\mathbf{x}} \mathbf{f}some papers
∇xf
A worked example
f(x1,x2)=(x1x2,x1+x2)⇒J=(x21x11)
Two outputs, two inputs: a 2×2 Jacobian. At (3,5) it is (5131).
Common confusions
Layouts differ: some papers use the transpose (n×m), the "denominator layout". Check the shapes against a product they write out.
A scalar function's Jacobian is a single row, the gradient laid on its side; the Hessian matrix is the Jacobian of the gradient.