Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M1758

Gradient Descent

Gradient Descent
TechnicalHigh supportAlgorithms
Included
account_tree

Updated 2026-07-30

Loading revision record…

Summary

Gradient descent is a method for unconstrained mathematical optimization. It is a first-order iterative algorithm for minimizing a differentiable multivariate function. The idea is to take repeated steps in the opposite direction of the gradient (or approximate gradient) of the function at the curr…

Definition

An iterative algorithm for finding a minimum. It is like descending a mountain in fog: although you cannot see the valley bottom, as long as you take a step in the steepest downward direction at each point, you will most likely reach the bottom eventually. Scaffold use: - Action rule: When you do not know where the ultimate goal (valley bottom) is, do not stay put and overthink. As long as you ensure each step improves the current situation a little (following the gradient descent), iterate quickly, and you will eventually approach the optimal solution.

How to use

- Action rule: When you do not know where the ultimate goal (valley bottom) is, do not stay put and overthink. As long as you ensure each step improves the current situation a little (following the gradient descent), iterate quickly, and you will eventually approach the optimal solution.

Mechanism

Iteratively update parameters along the negative gradient direction of the loss function to minimize error; the gradient points to the steepest ascent, so the opposite direction is the steepest descent. It is the engine of local search.

Practice

In progress 0/5

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • Neural network training, linear regression fitting, using SGD to optimize large-scale models.

Common pitfalls

  • Learning rate too large causes oscillation, too small causes slowness; getting stuck in local minima or saddle points; ignoring the effect of feature scaling.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Gradient_descentZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS