AI Blog

AI Blog

by Michele Laurelli

Gradient

Concept
Definition

Direction and magnitude of steepest increase in loss function with respect to parameters.

Gradients indicate how to adjust weights to reduce loss. Computed via backpropagation. Move in opposite direction (gradient descent).

Examples

1

Weight gradient: -0.5

2

Gradient flow through network

3

Vanishing gradients

Michele Laurelli - AI Research & Engineering