∂\partial

∂ — partial derivative

Read "partial L by partial θ". It is how much the top quantity changes when you nudge the bottom one slightly, keeping every other input fixed.

∂L∂θ\frac{\partial \mathcal{L}}{\partial \theta} is the slope of the loss with respect to one parameter. Its sign tells training which way to move that parameter, and its size tells how much the loss cares. The curly ∂\partial (instead of the dd in dydx\frac{dy}{dx}) signals that the function has several inputs and all the others are held still.

When the top and bottom are both vectors, the result is a matrix holding the slope of every output with respect to every input. That matrix is called a Jacobian.

Example

∂pi∂zj=pi(δij−pj)\frac{\partial p_i}{\partial z_j} = p_i(\delta_{ij} - p_j)

The softmax Jacobian. Every output p_i depends on every input z_j, because all outputs share the same denominator.

Where the course uses it

Related terms