Nabla (gradient)
The gradient: the vector of partial derivatives. ∇_θ L is how the loss changes with each parameter.
In ML papers
is the gradient of the loss with respect to the parameters: a vector (or array) with one entry per parameter, each the partial derivative . It points in the direction that increases the loss fastest, so gradient descent steps the other way: .
The subscript says which variables to differentiate with respect to; the gradient has the same shape as them.
Other meanings, by context
- ∇². The Hessian matrix of second derivatives (or the Laplacian, a single number, for a scalar field).
- Physics. Divergence and curl .
How to type it
| LaTeX | Shows |
|---|---|
\nabla | |
\nabla_\theta with respect to θ |
A worked example
One partial derivative per parameter, collected into a vector.
Common confusions
- gives the whole vector; (Partial derivative) is one component of it.
- is not (Delta (capital)), which is a change.