Loading...
Loading...
Loading Curriculum...
Loading Subject...
Loading Topic...
Loading Lesson...
Loading Lab...
Optimization is the process of choosing parameters that minimize (or maximize) an objective. Training an ML model is optimization: we pick weights that minimize a loss on data while generalizing well to unseen examples.
Most supervised learning problems look like:
min_w L(w) = (1/n) Σᵢ ℓ(f(xᵢ; w), yᵢ) + λ R(w)ℓ is the per-example loss (MSE, cross-entropy, etc.).R(w) is a regularizer (e.g. L2 weight decay) that discourages overfitting.First-order methods use gradients. They scale to huge models because gradients can be computed efficiently with backpropagation.
Curvature matters. The Hessian (matrix of second derivatives) describes how the loss bends; steep curvature can require smaller steps for stability.
H(w) = ∇²L(w)Full second-order methods are often too expensive for deep nets, but curvature ideas still guide learning rate schedules, normalization, and optimizer design.