Overview
Gradient Descent evaluates the gradient of a loss function and updates parameters in the direction that locally decreases the loss. The step size controls how far each update moves.
Minimizes an objective by repeatedly moving parameters opposite the gradient.
Compact metadata for implementation and discovery.
Gradient Descent evaluates the gradient of a loss function and updates parameters in the direction that locally decreases the loss. The step size controls how far each update moves.
Quick facts
Runtime and memory behavior at a glance.
Best
O(tg)
Average
O(tg)
Worst
O(tg)
Space
O(p)
theta_next = theta - alpha * gradient(J(theta))Moves parameters in the direction that most quickly reduces the objective function.
Show a point stepping downhill on a curve or surface.
Gradient descent is a family pattern; batch, stochastic, and mini-batch variants trade stability for per-step cost.
What each reference supports for this entry.
Nocedal and Wright textbook reference for gradient descent, quasi-Newton methods, and nonlinear optimization.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Optimization · Core
Momentum Gradient Descent is a gradient-family method that changes the update rule used by Gradient Descent.
Compare with thisOptimization · Core
Nesterov Accelerated Gradient is a gradient-family method that changes the update rule used by Gradient Descent.
Compare with thisOptimization · Core
RMSProp is a gradient-family method that changes the update rule used by Gradient Descent.
Compare with thisOptimization · Core
Subgradient Method is a gradient-family method that changes the update rule used by Gradient Descent.
Compare with thisAdam builds on gradient updates with adaptive moment estimates.
Backpropagation computes gradients that are often consumed by gradient descent.
Both iteratively minimize objectives, but Newton's Method uses second-order curvature.
Stochastic gradient descent adapts gradient updates to sampled data.