The gradient descent algorithm (gradient descent, GD, or steepest descent) updates the weights
at each iteration using the gradient (more precisely, the negative gradient) of the objective function
:
Since the parameter is chosen manually, the approach is empirical and problem-dependent, if not dependent on the user's experience.
Comparing equation (4.37) with equation (4.36), we observe that Newton's method is effectively a special case of gradient descent, in which the scalar parameter
is replaced by a positive-definite matrix
, obtained as the inverse of the Hessian at the current point:
| (4.39) |
Second-order gradient descent therefore corresponds to Newton's algorithm, which—under suitable assumptions—guarantees quadratic convergence, in contrast to the linear convergence of classical gradient descent.
Paolo medici