Type at least 2 letters. Enter opens the first result, Esc closes.

    Glossary

    The technical terms of this track, with short definitions (and the Persian term where available). Each term links to the lesson where it is introduced.

    (L0, L1)-smoothness
    The condition ∥∇2f(x)∥≤L0+L1∥∇f(x)∥\|\nabla^2 f(x)\| \le L_0 + L_1\|\nabla f(x)\|: curvature may grow with the gradient norm. Under it, clipped gradient descent is much faster than gradient descent with a fixed step. Introduced in: Lesson 7
    active constraint
    An inequality constraint fi(x)≤0f_i(x) \le 0 that holds with equality at the point, fi(x)=0f_i(x) = 0. An inactive constraint has fi(x)<0f_i(x) < 0 and multiplier zero. Introduced in: Lesson 8
    AdaGrad
    An adaptive method that divides each coordinate of the gradient by the square root of the sum of all its past squared gradients. Its step sizes only shrink. Introduced in: Lesson 6
    Adam
    The update θt=θt−1−η m^t/(v^t+ε)\theta_t = \theta_{t-1} - \eta\,\hat m_t/(\sqrt{\hat v_t} + \varepsilon), with bias-corrected EMAs m^t\hat m_t of the gradient and v^t\hat v_t of its square. Defaults β1=0.9\beta_1 = 0.9, β2=0.999\beta_2 = 0.999. Introduced in: Lesson 6
    AdamW
    Adam with decoupled weight decay (Loshchilov and Hutter 2019). The decay ηλθ\eta\lambda\theta is applied to the weights directly and is not divided by v^t\sqrt{\hat v_t}. Introduced in: Lesson 6
    adjoint variables
    The Lagrange multipliers of the state equation in a PDE-constrained problem. One adjoint solve gives the gradient with respect to all parameters. Introduced in: Lesson 8
    ADMM
    The alternating direction method of multipliers for min⁡f(x)+g(z)\min f(x) + g(z) with Ax+Bz=cAx + Bz = c. It minimizes an augmented Lagrangian over xx, then over zz, then updates the dual variable. Introduced in: Lesson 9
    affine invariance
    Newton's method gives corresponding iterates on f(x)f(x) and on f(Ty)f(Ty) for an invertible TT, so scaling or rotating the variables does not change its speed. Introduced in: Lesson 10
    Armijo condition
    The sufficient-decrease test f(x+αp)≤f(x)+c1α∇f(x)⊤pf(x + \alpha p) \le f(x) + c_1\alpha\nabla f(x)^\top p with a small c1∈(0,1)c_1 \in (0, 1), for example 10−410^{-4}. Introduced in: Lesson 3
    backtracking
    A line search that starts with a trial step and multiplies it by τ∈(0,1)\tau \in (0, 1) until the Armijo condition holds. Introduced in: Lesson 3
    BFGS
    The quasi-Newton update H+=(I−ρsy⊤)H(I−ρys⊤)+ρss⊤H^+ = (I - \rho sy^\top)H(I - \rho ys^\top) + \rho ss^\top with ρ=1/(y⊤s)\rho = 1/(y^\top s). It keeps HH positive definite when y⊤s>0y^\top s > 0. Introduced in: Lesson 10
    bias correction
    Division of an EMA started at zero by 1−βt1 - \beta^t, so that early estimates are not too small. Adam applies it to both moments. Introduced in: Lesson 6
    complementary slackness
    The condition λifi(x)=0\lambda_i f_i(x) = 0 for each inequality: a constraint can have a nonzero multiplier only when it is active. Introduced in: Lesson 8
    condition number
    The ratio κ=L/μ\kappa = L/\mu of the largest to the smallest curvature. For a quadratic with Hessian AA, κ=λmax⁡(A)/λmin⁡(A)\kappa = \lambda_{\max}(A)/\lambda_{\min}(A). Large κ\kappa means slow first-order methods. Introduced in: Lesson 2
    conjugate gradient method
    A Krylov method for Ax=bAx = b with AA symmetric positive definite. Each step is optimal over a Krylov subspace, and the error bound shrinks like ((κ−1)/(κ+1))k\big((\sqrt\kappa - 1)/(\sqrt\kappa + 1)\big)^k. Introduced in: Lesson 4
    constraint qualification
    A condition on the constraints, such as Slater's condition or LICQ, that guarantees that a minimizer satisfies the KKT conditions. Introduced in: Lesson 8
    convex function
    A function whose chord lies above its graph, f(θx+(1−θ)y)≤θf(x)+(1−θ)f(y)f(\theta x + (1 - \theta)y) \le \theta f(x) + (1 - \theta)f(y) for θ∈[0,1]\theta \in [0, 1]. Every local minimum of a convex function is global. Introduced in: Lesson 2
    cooldown
    The final decay phase of a schedule such as WSD, where the learning rate falls to a small value, for example linearly or with the 1−⋅1-\sqrt{\cdot} shape. Introduced in: Lesson 7
    cosine schedule
    The decay η(t)=ηmin⁡+12(ηmax⁡−ηmin⁡)(1+cos⁡πp)\eta(t) = \eta_{\min} + \tfrac12(\eta_{\max} - \eta_{\min})(1 + \cos\pi p) with pp the fraction of the decay phase done. It needs the total length TT in advance. Introduced in: Lesson 7
    critical batch size
    The batch size above which a larger batch no longer reduces the number of steps much, so it wastes computation. It is close to the gradient noise scale. Introduced in: Lesson 5
    damped Newton method
    Newton's method with a line search on the Newton direction, so that ff decreases enough at every step. Introduced in: Lesson 10
    descent direction
    A direction pp with ∇f(x)⊤p<0\nabla f(x)^\top p < 0. A small enough step along pp decreases ff. Introduced in: Lesson 3
    descent lemma
    For an LL-smooth ff, f(y)≤f(x)+∇f(x)⊤(y−x)+L2∥y−x∥2f(y) \le f(x) + \nabla f(x)^\top(y - x) + \tfrac L2\|y - x\|^2. The step η=1/L\eta = 1/L minimizes this upper bound. Introduced in: Lesson 2
    diagonal preconditioner
    A diagonal matrix DD that rescales each coordinate, so the method runs on f(Dy)f(Dy) instead of f(x)f(x). Feature standardization is one; Adam uses an adaptive one. Introduced in: Lesson 2
    directional derivative
    The slope of ff along a unit vector uu, equal to ∇f(x)⊤u\nabla f(x)^\top u. It is largest for u=∇f(x)/∥∇f(x)∥u = \nabla f(x)/\|\nabla f(x)\|. Introduced in: Lesson 1
    dual function
    The function g(λ,ν)=inf⁡xL(x,λ,ν)g(\lambda, \nu) = \inf_x \mathcal L(x, \lambda, \nu). It is concave, and for λ≥0\lambda \ge 0 it is a lower bound on f⋆f^\star. Introduced in: Lesson 8
    dual norm
    For a norm ∥⋅∥\|\cdot\|, the norm ∥g∥∗=max⁡∥Δ∥≤1⟨g,Δ⟩\|g\|_* = \max_{\|\Delta\| \le 1}\langle g, \Delta\rangle. The dual of ℓ∞\ell_\infty is ℓ1\ell_1, and the dual of the spectral norm is the nuclear norm. Introduced in: Lesson 12
    dual problem
    The problem of finding the best lower bound, max⁡λ≥0,νg(λ,ν)\max_{\lambda \ge 0, \nu} g(\lambda, \nu). Its optimal value d⋆d^\star is never larger than p⋆p^\star (weak duality). Introduced in: Lesson 8
    duality gap
    The difference between a primal value and a dual value, for example p⋆−d⋆≥0p^\star - d^\star \ge 0. A small gap at a pair of points certifies that both are nearly optimal. Introduced in: Lesson 8
    edge of stability
    The regime where the sharpness reaches 2/η2/\eta and stays near it. The loss oscillates over short times but keeps decreasing over long times (Cohen et al. 2021). Introduced in: Lesson 11
    empirical risk
    The average loss over the nn training examples, f(x)=1n∑i=1nfi(x)f(x) = \frac1n\sum_{i=1}^n f_i(x). Introduced in: Lesson 5
    epoch
    One full pass over the training data. Introduced in: Lesson 5
    exact line search
    A line search that chooses the step α\alpha that minimizes f(x+αp)f(x + \alpha p) exactly. On a quadratic it has a closed form. Introduced in: Lesson 3
    exponential moving average (EMA)
    The running average mt=βmt−1+(1−β)gtm_t = \beta m_{t-1} + (1 - \beta)g_t with m0=0m_0 = 0. It weights the gradient of jj steps ago by (1−β)βj(1 - \beta)\beta^j. Introduced in: Lesson 6
    feasible point
    A point that satisfies all constraints of the problem. Introduced in: Lesson 8
    Fisher block
    The part of the Fisher matrix for the weights of one layer. For a layer with nn inputs and mm outputs it has (mn)2(mn)^2 entries. Introduced in: Lesson 12
    Fisher information matrix
    The expected outer product of the gradient of the log-likelihood, with the labels sampled from the model. For losses such as cross-entropy it equals the GGN. Introduced in: Lesson 10
    FISTA
    The proximal gradient method with Nesterov momentum. It reaches F(xk)−F⋆=O(1/k2)F(x_k) - F^\star = O(1/k^2), but FF need not decrease at every step. Introduced in: Lesson 9
    gain ratio
    The ratio of the actual decrease of the function to the decrease the model predicted. Levenberg–Marquardt and trust-region methods use it to accept steps and adapt λ\lambda or the radius. Introduced in: Lesson 10
    Gauss–Newton method
    For F=12∥r(x)∥2F = \tfrac12\|r(x)\|^2, the step solves J⊤J h=−J⊤rJ^\top J\,h = -J^\top r. It is Newton's method without the term ∑iri∇2ri\sum_i r_i\nabla^2 r_i of the Hessian. Introduced in: Lesson 10
    generalized Gauss–Newton (GGN) matrix
    The matrix Jf⊤ ∇2ℓ JfJ_f^\top\,\nabla^2\ell\,J_f, the part of the Hessian of ℓ(f(θ))\ell(f(\theta)) that ignores the curvature of the network ff. It is positive semidefinite when ℓ\ell is convex. Introduced in: Lesson 10
    global minimum
    The smallest value of ff over all points, and a point where it is reached. Introduced in: Lesson 1
    global norm
    The Euclidean norm of all parameter gradients taken together, ∥g∥=(∑i∥g(i)∥2)1/2\|g\| = \big(\sum_i\|g^{(i)}\|^2\big)^{1/2}. Introduced in: Lesson 7
    gradient clipping
    Limiting the size of the gradient before the step. Clipping by global norm replaces gg by gmin⁡(1,c/∥g∥)g\min(1, c/\|g\|), which keeps its direction. Introduced in: Lesson 7
    gradient descent
    The method xk+1=xk−η∇f(xk)x_{k+1} = x_k - \eta\nabla f(x_k). Each step moves against the gradient, the direction of steepest decrease. Introduced in: Lesson 1
    gradient noise scale
    The quantity Bnoise=tr⁡(HΣ)/(G⊤HG)B_{\text{noise}} = \operatorname{tr}(H\Sigma)/(G^\top HG) that compares gradient noise with the signal. The simple noise scale tr⁡(Σ)/∥G∥2\operatorname{tr}(\Sigma)/\|G\|^2 approximates it. Introduced in: Lesson 5
    heavy-ball method
    Polyak's method xk+1=xk−η∇f(xk)+β (xk−xk−1)x_{k+1} = x_k - \eta\nabla f(x_k) + \beta\,(x_k - x_{k-1}). With the best η\eta and β\beta on a quadratic, its factor per step is (κ−1)/(κ+1)(\sqrt\kappa - 1)/(\sqrt\kappa + 1). Introduced in: Lesson 4
    Hessian-vector product (HVP)
    The product ∇2f(x) v\nabla^2 f(x)\,v, computed by automatic differentiation for a small multiple of the cost of one gradient, without forming the Hessian. Introduced in: Lesson 11
    indicator function
    The function ιC(x)\iota_C(x) that is 0 on a set CC and +∞+\infty outside it. Adding it to ff turns a constraint x∈Cx \in C into a penalty. Introduced in: Lesson 9
    iteration matrix
    The matrix TT that maps the state (xk,xk−1)(x_k, x_{k-1}) to the next state for a linear method on a quadratic. The method converges when its spectral radius is below 1. Introduced in: Lesson 4
    K-FAC
    Kronecker-factored approximate curvature. It approximates the Fisher block of a linear layer by A⊗DA \otimes D (input and output-gradient covariances) and takes the step D−1∇WA−1D^{-1}\nabla_W A^{-1}. Introduced in: Lesson 12
    KKT conditions
    The Karush–Kuhn–Tucker conditions: primal feasibility, dual feasibility λ≥0\lambda \ge 0, complementary slackness and stationarity of the Lagrangian in xx. For a convex problem with strong duality they are necessary and sufficient. Introduced in: Lesson 8
    Kronecker product
    For A∈Rm×nA \in \R^{m \times n} and BB, the block matrix A⊗BA \otimes B with blocks aijBa_{ij}B. It satisfies (A⊗B)−1=A−1⊗B−1(A \otimes B)^{-1} = A^{-1} \otimes B^{-1}. Introduced in: Lesson 12
    L-BFGS
    Limited-memory BFGS. It stores only the mm newest pairs (si,yi)(s_i, y_i) and computes −Hk∇f-H_k\nabla f with the two-loop recursion in O(md)O(md) time. Introduced in: Lesson 10
    L-smooth
    A function whose gradient is Lipschitz with constant LL, ∥∇f(x)−∇f(y)∥≤L∥x−y∥\|\nabla f(x) - \nabla f(y)\| \le L\|x - y\|. For a twice differentiable ff this means ∇2f⪯LI\nabla^2 f \preceq LI everywhere (and ⪰−LI\succeq -LI). Introduced in: Lesson 2
    L2 regularization
    Adding λ2∥θ∥2\tfrac{\lambda}{2}\|\theta\|^2 to the loss, so the gradient gets the extra term λθ\lambda\theta. Inside Adam this term is divided by v^t\sqrt{\hat v_t} like the rest of the gradient. Introduced in: Lesson 6
    Lagrange multiplier
    The coefficient λi\lambda_i or νj\nu_j of a constraint in the Lagrangian. At the optimum it is the price of the constraint, the rate at which f⋆f^\star changes when the constraint is relaxed. Introduced in: Lesson 8
    Lagrangian
    The function L(x,λ,ν)=f0(x)+∑iλifi(x)+∑jνjhj(x)\mathcal L(x, \lambda, \nu) = f_0(x) + \sum_i\lambda_i f_i(x) + \sum_j\nu_j h_j(x) that adds the constraints to the objective with multipliers. Introduced in: Lesson 8
    lasso
    Least squares with an ℓ1\ell_1 penalty, min⁡x12∥Ax−b∥2+λ∥x∥1\min_x \tfrac12\|Ax - b\|^2 + \lambda\|x\|_1. Its solutions are often sparse. Introduced in: Lesson 9
    learning rate (step size)
    The number η>0\eta > 0 that multiplies the gradient in a gradient-descent step. On λ2x2\tfrac{\lambda}{2}x^2, gradient descent is stable only for η<2/λ\eta < 2/\lambda. Introduced in: Lesson 1
    learning-rate range test
    A short run where the learning rate grows (often exponentially) while a smoothed loss is recorded. The peak learning rate is chosen clearly below the point where the loss blows up. Introduced in: Lesson 7
    learning-rate schedule
    A function η(t)\eta(t) that gives the learning rate at each step tt of training. Introduced in: Lesson 7
    level set
    The set of points where ff has one fixed value, {x:f(x)=c}\{x : f(x) = c\}. A contour plot draws several level sets. Introduced in: Lesson 1
    Levenberg–Marquardt method
    The damped Gauss–Newton step (J⊤J+λI)h=−J⊤r(J^\top J + \lambda I)h = -J^\top r. Small λ\lambda gives Gauss–Newton, large λ\lambda a short gradient step. Introduced in: Lesson 10
    LICQ
    Linear independence constraint qualification: the gradients of the equality constraints and of the active inequality constraints are linearly independent at the point. Introduced in: Lesson 8
    line search
    A rule that chooses the step length α\alpha along a descent direction at each iteration, instead of a fixed step. Introduced in: Lesson 3
    linear convergence
    The error shrinks by at least a fixed factor ρ<1\rho < 1 per step, ∥ek+1∥≤ρ∥ek∥\|e_{k+1}\| \le \rho\|e_k\|. On a log scale the error falls along a straight line. Introduced in: Lesson 3
    linear scaling rule
    When the batch size is multiplied by cc, multiply the learning rate by cc (Goyal et al. 2017). It holds only below the critical batch size and needs warmup. Introduced in: Lesson 5
    local minimum
    A point where ff is not larger than at any nearby point. It can be higher than the global minimum. Introduced in: Lesson 1
    look-ahead point
    The extrapolated point yky_k where Nesterov's method takes the gradient, one momentum step ahead of xkx_k. Introduced in: Lesson 4
    loss surface
    The graph of the loss as a function of the parameters. With two parameters it is a surface over the plane. Introduced in: Lesson 1
    majorize–minimize
    Minimizing at each step an upper bound of FF that touches FF at the current point. Then FF cannot increase. Introduced in: Lesson 9
    minibatch gradient
    The average of BB example gradients, 1B∑j=1B∇fij(x)\frac1B\sum_{j=1}^B\nabla f_{i_j}(x). It is unbiased, and its variance is σ2/B\sigma^2/B when the indices are independent. Introduced in: Lesson 5
    minimizer
    A point x⋆x^\star with f(x⋆)≤f(x)f(x^\star) \le f(x) for all xx (global) or for all xx near x⋆x^\star (local). The value f⋆=f(x⋆)f^\star = f(x^\star) is the optimal value. Introduced in: Lesson 1
    momentum
    Adding a fraction β\beta of the previous step to the current one. It averages gradients over time, damps the zig-zag and speeds up motion along a valley. Introduced in: Lesson 4
    Muon
    An optimizer for 2D weight matrices that orthogonalizes the momentum with a few Newton–Schulz steps and uses the result as the update. Other parameters use AdamW. Introduced in: Lesson 12
    Nesterov's accelerated gradient method
    A momentum method that evaluates the gradient at a look-ahead point yk=xk+βk(xk−xk−1)y_k = x_k + \beta_k(x_k - x_{k-1}). For every smooth convex function it reaches f(xk)−f⋆=O(1/k2)f(x_k) - f^\star = O(1/k^2). Introduced in: Lesson 4
    Newton's method
    The method xk+1=xk+Δxx_{k+1} = x_k + \Delta x where the Newton step solves ∇2f(xk) Δx=−∇f(xk)\nabla^2 f(x_k)\,\Delta x = -\nabla f(x_k). It jumps to the minimum of the local quadratic model. Introduced in: Lesson 10
    Newton–Schulz iteration
    A polynomial iteration X←aX+b(XX⊤)X+c(XX⊤)2XX \leftarrow aX + b(XX^\top)X + c(XX^\top)^2X that pushes the singular values of a normalized matrix toward 1 with matrix products only, so it approximates UV⊤UV^\top. Introduced in: Lesson 12
    noise ball
    The region around the minimizer where SGD with a fixed step keeps moving. Its size grows with the step size and with the gradient variance σ2/B\sigma^2/B. Introduced in: Lesson 5
    objective (loss)
    The function ff that an optimization method minimizes. In machine learning it is the loss L(θ)L(\theta), the average error of the model with parameters θ\theta. Introduced in: Lesson 1
    optimization problem
    The task of finding xx that makes an objective f(x)f(x) as small as possible, written min⁡xf(x)\min_x f(x). Training a model is an optimization problem over its parameters. Introduced in: Lesson 1
    orthogonalized gradient
    For a gradient matrix G=UΣV⊤G = U\Sigma V^\top, the matrix UV⊤UV^\top (the polar factor). It keeps the singular vectors and sets all nonzero singular values to 1. Introduced in: Lesson 12
    Polyak–Łojasiewicz (PL) inequality
    The inequality ∥∇f(x)∥2≥2μ (f(x)−f⋆)\|\nabla f(x)\|^2 \ge 2\mu\,(f(x) - f^\star). Strong convexity implies it, and it alone gives gradient descent a linear rate, also for some nonconvex functions. Introduced in: Lesson 2
    preconditioned sharpness
    The largest eigenvalue of the preconditioned Hessian P−1∇2LP^{-1}\nabla^2 L, the quantity that limits the stable step of a preconditioned method such as Adam. Introduced in: Lesson 11
    probability simplex
    The set of vectors with nonnegative entries that sum to 1, {x:x≥0, 1⊤x=1}\{x : x \ge 0,\ \mathbf 1^\top x = 1\}. Introduced in: Lesson 8
    progressive sharpening
    The rise of the sharpness during full-batch training while S<2/ηS < 2/\eta. Introduced in: Lesson 11
    projected gradient descent
    The proximal gradient method with gg the indicator of a convex set CC: a gradient step, then the projection onto CC. Introduced in: Lesson 9
    proximal gradient method (ISTA)
    For F=f+gF = f + g with ff smooth: a gradient step on ff, then a prox step on gg, x+=prox⁡ηg(x−η∇f(x))x^+ = \operatorname{prox}_{\eta g}(x - \eta\nabla f(x)). With η≤1/L\eta \le 1/L it reaches F(xk)−F⋆=O(1/k)F(x_k) - F^\star = O(1/k). Introduced in: Lesson 9
    proximal operator
    The map prox⁡ηg(v)=arg⁡min⁡x(g(x)+12η∥x−v∥2)\operatorname{prox}_{\eta g}(v) = \arg\min_x \big(g(x) + \tfrac{1}{2\eta}\|x - v\|^2\big). For an indicator function it is the projection onto the set. Introduced in: Lesson 9
    quadratic convergence
    Convergence with ∥ek+1∥≤C∥ek∥2\|e_{k+1}\| \le C\|e_k\|^2 near the solution, so the number of correct digits roughly doubles at every step. Introduced in: Lesson 10
    quasi-Newton method
    A method that builds an approximation of the Hessian (or of its inverse) from changes of the gradient, without computing second derivatives. Introduced in: Lesson 10
    region of confusion
    The region where the example gradients point in different directions, so a stochastic step can move away from the minimizer. Far from it, all examples agree. Introduced in: Lesson 5
    RMSProp
    An adaptive method that divides each coordinate of the gradient by the square root of an EMA of its squared gradients, vt+ε\sqrt{v_t} + \varepsilon. Introduced in: Lesson 6
    saddle point
    A stationary point where ff goes up in some directions and down in others, for example (0,0)(0, 0) for 12(x2−y2)\tfrac12(x^2 - y^2). Introduced in: Lesson 1
    saddle-free Newton
    A Newton-type method that uses ∣H∣=Q∣Λ∣Q⊤|H| = Q|\Lambda|Q^\top instead of the Hessian, so it moves away from saddle points along negative-curvature directions. Introduced in: Lesson 11
    secant condition
    The requirement Bk+1sk=ykB_{k+1}s_k = y_k (or Hk+1yk=skH_{k+1}y_k = s_k) with sk=xk+1−xks_k = x_{k+1} - x_k and yk=∇f(xk+1)−∇f(xk)y_k = \nabla f(x_{k+1}) - \nabla f(x_k). Introduced in: Lesson 10
    Shampoo
    A matrix preconditioner with L=∑GG⊤L = \sum GG^\top and R=∑G⊤GR = \sum G^\top G and update L−1/4GR−1/4L^{-1/4}GR^{-1/4}. With only the current gradient it gives UV⊤UV^\top. Introduced in: Lesson 12
    sharpness
    The largest eigenvalue of the Hessian of the loss, S(θ)=λmax⁡(∇2L(θ))S(\theta) = \lambda_{\max}(\nabla^2 L(\theta)). Gradient descent on a quadratic is stable only for η<2/S\eta < 2/S. Introduced in: Lesson 11
    sharpness-aware minimization (SAM)
    A method that minimizes the worst loss in a ball of radius ρ\rho, max⁡∥ε∥2≤ρL(w+ε)\max_{\|\varepsilon\|_2 \le \rho} L(w + \varepsilon), to find flatter minima. Each step needs two gradients. Introduced in: Lesson 11
    sign descent
    The update θ←θ−ηsign⁡(g)\theta \leftarrow \theta - \eta\operatorname{sign}(g). Adam's first step, and Adam with β1=β2=0\beta_1 = \beta_2 = 0 and ε=0\varepsilon = 0, is sign descent. Introduced in: Lesson 6
    Slater's condition
    For a convex problem, there is a strictly feasible point (fi(x)<0f_i(x) < 0 for the nonaffine inequalities). It implies strong duality. Introduced in: Lesson 8
    SOAP
    Adam run in the eigenbasis of Shampoo's matrices LL and RR; the eigenbasis is updated only every few steps. Introduced in: Lesson 12
    soft thresholding
    The proximal operator of λ∥x∥1\lambda\|x\|_1 with step η\eta: each entry becomes sign⁡(vi)max⁡(∣vi∣−ηλ,0)\operatorname{sign}(v_i)\max(|v_i| - \eta\lambda, 0). Small entries become exactly zero. Introduced in: Lesson 9
    square-root scaling rule
    For Adam, when the batch size is multiplied by cc, multiply the learning rate by c\sqrt c (Malladi et al. 2022). Introduced in: Lesson 7
    stationary point
    A point with ∇f(x)=0\nabla f(x) = 0 (also called a critical point). Minima, maxima and saddle points are stationary points. Introduced in: Lesson 1
    steepest descent under a norm
    The step that decreases the linear model ⟨g,Δ⟩\langle g, \Delta\rangle most among steps of norm at most 1. Under ℓ2\ell_2 it is −g/∥g∥-g/\|g\|, under ℓ∞\ell_\infty it is −sign⁡(g)-\operatorname{sign}(g), under the spectral norm it is −UV⊤-UV^\top. Introduced in: Lesson 12
    stochastic gradient descent (SGD)
    Gradient descent that uses a random, cheap estimate gkg_k of the gradient (from one example or a minibatch) instead of the full gradient. Introduced in: Lesson 5
    strict saddle
    A stationary point with λmin⁡(∇2f(x))<0\lambda_{\min}(\nabla^2 f(x)) < 0. Gradient descent from a random start almost surely does not converge to a strict saddle. Introduced in: Lesson 11
    strictly convex
    Convex with strict inequality for x≠yx \ne y and θ∈(0,1)\theta \in (0, 1). It has at most one minimizer, but it need not be strongly convex (x4x^4). Introduced in: Lesson 2
    strong duality
    The case d⋆=p⋆d^\star = p^\star. It holds for convex problems under Slater's condition, but not for every convex problem. Introduced in: Lesson 8
    subgradient
    For a convex gg, a vector ss with g(y)≥g(x)+s⊤(y−x)g(y) \ge g(x) + s^\top(y - x) for all yy. The set of all subgradients at xx is the subdifferential ∂g(x)\partial g(x). Introduced in: Lesson 9
    sublinear convergence
    The error goes to zero more slowly than any fixed factor per step, for example f(xk)−f⋆=O(1/k)f(x_k) - f^\star = O(1/k) for gradient descent on a convex LL-smooth function. Introduced in: Lesson 3
    superlinear convergence
    Convergence with ∥ek+1∥≤ck∥ek∥\|e_{k+1}\| \le c_k\|e_k\| and ck→0c_k \to 0. BFGS converges superlinearly near a minimizer. Introduced in: Lesson 10
    support vectors
    The training points of an SVM with a nonzero dual variable αi>0\alpha_i > 0. By complementary slackness they lie on the margin, and only they define ww. Introduced in: Lesson 8
    total variation
    The penalty ∥Dx∥1\|Dx\|_1, with DD a difference operator. It favours piecewise-constant signals and images. Introduced in: Lesson 9
    transition state
    An index-1 saddle point of a potential energy surface (one negative Hessian eigenvalue). It is the highest point of the lowest path between two minima. Introduced in: Lesson 11
    trust region
    A ball around the current point where the quadratic model is trusted. The step minimizes the model only inside this ball, and the radius changes with the quality of the model. Introduced in: Lesson 10
    warm start
    Starting a solver from the solution of a nearby problem, for example the previous λ\lambda on a lasso path. Introduced in: Lesson 9
    warmup
    A first phase of training where the learning rate grows from almost zero to its peak value, usually linearly over WW steps. Introduced in: Lesson 7
    warmup–stable–decay (WSD)
    A schedule with three phases: warmup, a long phase at a constant learning rate, and a short cooldown to a small value. The stable phase can be extended without planning TT. Introduced in: Lesson 7
    weight decay
    Shrinking the weights toward zero at every step, θ←(1−ηλ)θ\theta \leftarrow (1 - \eta\lambda)\theta. For plain SGD it is the same as L2 regularization; for Adam it is not. Introduced in: Lesson 6
    Wolfe conditions
    The Armijo condition plus a curvature condition ∇f(x+αp)⊤p≥c2∇f(x)⊤p\nabla f(x + \alpha p)^\top p \ge c_2\nabla f(x)^\top p with c1<c2<1c_1 < c_2 < 1. The strong form bounds the absolute value of the new slope. Introduced in: Lesson 3
    zig-zag
    The path of gradient descent in a narrow valley. The step is limited by the steep direction, so the iterates jump across the valley and move slowly along it. Introduced in: Lesson 1
    μ-strongly convex
    A function with f(y)≥f(x)+∇f(x)⊤(y−x)+μ2∥y−x∥2f(y) \ge f(x) + \nabla f(x)^\top(y - x) + \tfrac{\mu}{2}\|y - x\|^2 for some μ>0\mu > 0. For a twice differentiable ff this means ∇2f⪰μI\nabla^2 f \succeq \mu I everywhere. Introduced in: Lesson 2