Gradient Descent

The gradient descent algorithm (gradient descent, GD, or steepest descent) updates the weights $\boldsymbol\beta$ at each iteration using the gradient (more precisely, the negative gradient) of the objective function $S(\boldsymbol\beta)$:

\begin{displaymath}
\boldsymbol\beta_{t+1} = \boldsymbol\beta_{t} - \gamma \nab...
..._{t} - \gamma \sum_{i=1}^{n} \nabla \ell_i(\boldsymbol\beta_t)
\end{displaymath} (4.45)

or, defining the update step:
\begin{displaymath}
\boldsymbol\delta_t = - \gamma \sum_{i=1}^{n} \nabla \ell_i(\boldsymbol\beta_t)
\end{displaymath} (4.46)

where $\gamma$ is a suitably chosen optimization factor (called the learning rate in machine learning). Under appropriate assumptions, if the starting point is sufficiently close to the solution and $\gamma$ is small enough, the convergence rate is practically linear.

Since the parameter $\gamma$ is chosen manually, the approach is empirical and problem-dependent, if not dependent on the user's experience. Comparing Equation (4.45) with Equation (4.44), we see that Newton's method is in fact a special case of gradient descent, in which the scalar parameter $\gamma$ is replaced by a positive-definite matrix $\boldsymbol\Gamma_t$, obtained as the inverse of the Hessian at the current point. Near a regular local minimum, this matrix is positive definite:

\begin{displaymath}
\boldsymbol\beta_{t+1} = \boldsymbol\beta_{t} - \boldsymbol\Gamma_t \nabla S(\boldsymbol\beta_t)
\end{displaymath} (4.47)

Newton's method is a second-order optimization method and, under suitable regularity assumptions and with an initialization sufficiently close to the solution, exhibits quadratic convergence, in contrast to the linear convergence typical of classical gradient descent.

Paolo medici
2026-10-19