AI & ML

Learning as Optimization

Part of Foundations, level 0. About 9 hours of study across the topics below.

Create free account

Objective Functions and Empirical RiskConvexity in Machine LearningConstrained Optimization and Duality in MLGradient Descent in Machine LearningLearning Rate in PracticeConditioning and CurvatureSecond-Order MethodsStochastic and Mini-batch OptimizationMomentum and Adaptive Methods

1Loss And Risk

  1. Objective Functions and Empirical RiskFrom one residual to one number: loss per sample, averaged into the objective. 1–2 h
  2. Convexity in Machine LearningWhy convex losses give one basin and a guarantee, and what is lost in nonconvex deep learning. 1–2 h
  3. Constrained Optimization and Duality in MLLagrangians and duals as they appear in ML: margin maximization and norm-constrained regularization. 1–2 h

2Gradient Methods

  1. Gradient Descent in Machine LearningThe MTH-OPT-240 descent loop, read as a fitting engine: model loss landscapes and walked fits. 1–2 h
  2. Learning Rate in PracticeReading rate effects in ML training traces: crawl, converge, oscillate, escape. 1–2 h
  3. Conditioning and CurvatureRavines in ML: why stretched loss shapes force zigzags at one shared rate. 1–2 h
  4. Second-Order MethodsUsing curvature: Newton steps, quasi-Newton approximations, and why deep learning rarely pays for them. 1–2 h

3Stochastic Methods

  1. Stochastic and Mini-batch OptimizationNoisy gradients from small batches: estimates, epochs, and why noise is affordable. 1–2 h
  2. Momentum and Adaptive MethodsMemory and per-parameter rates: momentum intuition and what Adam-style adaptation buys. 1–2 h