Opening your learning space
Starting the app …
Opening your learning space
Starting the app …
Gradient descent updates a parameter vector opposite the local gradient to reduce a differentiable objective function.
Free to browse · flashcards or a multiple-choice quiz · import from Essential
Formula
η has units x2/f so that η∇f has the same units as x; parameters are often scaled to be dimensionless.
| Symbol | Meaning | Unit |
|---|---|---|
| Parameter vector at iteration k | per parameter | |
| Positive step size | x2 per f | |
| Gradient of the objective | f per x | |
| Function to minimize | objective-function unit |
\mathbf x_{k+1}=\mathbf x_k-\eta\nabla f(\mathbf x_k)For a strongly convex, L-smooth function, a suitably chosen constant η converges; steps that are too large can oscillate or diverge, while very small steps converge slowly. Local minima, saddle points, and scaling affect practical optimization. Stopping criteria may use the gradient norm or change in objective value.
For a strongly convex, L-smooth function, a suitably chosen constant η converges; steps that are too large can oscillate or diverge, while very small steps converge slowly. Local minima, saddle points, and scaling affect practical optimization. Stopping criteria may use the gradient norm or change in objective value.
Gradient descent updates a parameter vector opposite the local gradient to reduce a differentiable objective function.
One iteration step
Choose positive η and monitor convergence.
Rework the example for “Gradient Descent” and explain why the check is valid.
For f(x)=½(x−3)2, x0=0, η=0.1: f′(0)=−3 and x1=0−0.1·(−3)=0.3.
Check: the step moves toward minimizer 3 and lowers f from 4.5 to 3.645.
Ignoring an assumption of the formula: For a strongly convex, L-smooth function, a suitably chosen constant η converges; steps that are too large can oscillate or diverge, while very small steps converge slowly
Check units and model conditions before substitution; then verify the result in the original relation or a limiting case.
Formula cluster
Related relations in the formula sheet: newton-verfahren-optimierung, hesse-matrix-zweiter-ableitungstest, kleinste-quadrate-matrix.
For f(x)=½(x−3)2, x0=0, η=0.1: f′(0)=−3 and x1=0−0.1·(−3)=0.3. Check: the step moves toward minimizer 3 and lowers f from 4.5 to 3.645.
Machine learning, parameter estimation, and numerical optimization of large objectives.
Here is how to work through a typical Gradient Descent (xₖ₊₁=xₖ−η∇f(xₖ)) task step by step:
Task
Rework the example for “Gradient Descent” and explain why the check is valid.
Solution path
For f(x)=½(x−3)2, x0=0, η=0.1: f′(0)=−3 and x1=0−0.1·(−3)=0.3.
Check: the step moves toward minimizer 3 and lowers f from 4.5 to 3.645.
Gradient descent updates a parameter vector opposite the local gradient to reduce a differentiable objective function. The notation xk+1=xk−η∇f(xk) shows which quantities are connected. Here, xk: Parameter vector at iteration k (per parameter); η: Positive step size (x2 per f); ∇f(xk): Gradient of the objective (f per x). η has units x2/f so that η∇f has the same units as x; parameters are often scaled to be dimensionless. An application depends on whether the supplied quantities match the definitions and reference directions. Common uses include Machine learning, parameter estimation, and numerical optimization of large objectives.. Read the variables and their dimensions before substituting numbers; this often reveals whether the result should be a length, rate, probability, or dimensionless statistic.
Start with a diagram or a list of known quantities, assign each one a symbol, and convert units to a consistent form. Then choose the appropriate equation and substitute values only afterward. Example: For f(x)=½(x−3)2, x0=0, η=0.1: f′(0)=−3 and x1=0−0.1·(−3)=0.3. Check: the step moves toward minimizer 3 and lowers f from 4.5 to 3.645. Verification is part of the calculation: For a strongly convex, L-smooth function, a suitably chosen constant η converges; steps that are too large can oscillate or diverge, while very small steps converge slowly Also compare the magnitude and unit with the context. Round only at the end, since early rounding can affect multi-step calculations, especially when small differences or sums are involved.
For a strongly convex, L-smooth function, a suitably chosen constant η converges; steps that are too large can oscillate or diverge, while very small steps converge slowly. Local minima, saddle points, and scaling affect practical optimization. Stopping criteria may use the gradient norm or change in objective value. These are not minor footnotes: when assumptions fail, the formula can produce a precise but inappropriate result. Before calculating, identify which values are observed, estimated, or modeled, and whether special cases change the equation. Machine learning, parameter estimation, and numerical optimization of large objectives. For numerical methods, also check step size and stability; for statistics, sampling design and distribution; for calculus, differentiability, boundary, and orientation. Use another method when these conditions do not hold.
Both relations belong to the same topic, but answer different questions. “Gradient Descent”: Gradient descent updates a parameter vector opposite the local gradient to reduce a differentiable objective function. The companion relation “Newton's Method for Optimization” Newton's optimization method corrects parameters using the inverse Hessian and gradient to find stationary points of a sufficiently smooth function. Choose based on the quantity sought and the model: Machine learning, parameter estimation, and numerical optimization of large objectives. The worked example For f(x)=½(x−3)2, x0=0, η=0.1: f′(0)=−3 and x1=0−0.1·(−3)=0.3. Check: the step moves toward minimizer 3 and lowers f from 4.5 to 3.645. shows which quantities actually enter this relation. Compare both formulas using the same data and identify the companion’s extra assumption. This clarifies which relation fits.
A stationary point is not automatically a global minimum. Check curvature, step size and convergence; one successful step does not establish a global result. The symbols must also match their definitions exactly: xk: Parameter vector at iteration k (per parameter); η: Positive step size (x2 per f); ∇f(xk): Gradient of the objective (f per x). Do not calculate mechanically; write the assumption beside the setup, then check dimensions and sign. Also note: For a strongly convex, L-smooth function, a suitably chosen constant η converges; steps that are too large can oscillate or diverge, while very small steps converge slowly The example For f(x)=½(x−3)2, x0=0, η=0.1: f′(0)=−3 and x1=0−0.1·(−3)=0.3. Check: the step moves toward minimizer 3 and lowers f from 4.5 to 3.645. lets you follow these checks directly. If the assumptions do not fit, choose another relation from the chapter instead of forcing values into an unsuitable formula.
Quanta exam set
Curated exam set for "Gradient Descent":
Question (front)
Which formula describes Gradient Descent?
Answer in your set
Question (front)
How do you rearrange Gradient Descent for One iteration step?
Answer in your set
Question (front)
Which common mistake happens with Gradient Descent?
Answer in your set
+ 7 more cards: units, variables, derivation, example, exam task
The formula set contains 10 cards. After importing, review them and start practicing; your ratings determine later review intervals.
This list names subject references and further reading. A page or section number appears when it is part of the reference; these are not verbatim quotations.
Create a curated FSRS exam set for xₖ₊₁=xₖ−η∇f(xₖ): formula recall, variables, derivation, rearrangement, worked example, common mistakes and exam context.
Curated formula set · LaTeX · FSRS spaced repetition · import from Essential