WHY this direction? Among all unit directions u, the directional derivative is ∇f(x)⊤u, which by Cauchy–Schwarz is minimized when u=−∇f(x)/∥∇f(x)∥. So −∇f is the direction of steepest descent.
Imagine rolling a ball down a hill in thick fog. You can only feel the slope under your feet, so you step the steepest way down and repeat. If your steps are too big you'll fly across the valley and bounce up the other side (diverge). If they're "just right" you slide smoothly to the bottom. A long thin valley is annoying — you zig-zag — unless you keep a bit of momentum like a real rolling ball, which smooths the path. Bumpy fog (noisy slope readings = SGD) means you must take smaller and smaller steps near the bottom or you'll keep jittering around it.
Socho ek foggy pahaadi par tum khade ho aur sabse neeche jaana hai. Door tak dikh nahi raha, par paer ke neeche slope feel kar sakte ho — wahi −∇f direction hai, sabse steep downhill. Gradient descent bas yahi karta hai: har step me steepest downhill jao, dobara slope naapo, repeat. Pura convergence theory sirf ek sawaal ka jawaab hai — step kitna bada lein aur neeche pahunchne me kitna time lagega?
Do cheezein crucial hain. L-smoothness matlab gradient zyada tezi se nahi badalta (curvature upar se bounded), isi se "descent lemma" milta hai jo function ko ek parabola ke neeche sandwich kar deta hai. Agar η=1/L lo to har step me loss guaranteed kam hoga — kabhi diverge nahi karega. Doosra, μ-strong convexity matlab function neeche se bhi parabola jaisa curve karta hai; tabhi linear (geometric) speed milti hai, factor κ+1κ−1 ke saath, jahaan κ=L/μ condition number hai.
Sabse bada practical point: agar κ bada hai (lambi patli valley), GD zig-zag karta hai aur bahut slow chalta hai — diagram me red path dekho. Yahin momentum kaam aata hai: woh back-and-forth ko average kar deta hai aur κ ko κ bana deta hai — yaani kaafi tez. Aur agar learning rate 2/L se bada le liya, to GD bahar ki taraf bounce karke diverge ho jaata hai — isliye "bigger = faster" galat hai.
SGD me gradient noisy hota hai (ek sample se estimate). Constant step lo to bottom ke paas jitter karta rahega kyunki noise kabhi khatam nahi hota. Isliye step size ko dheere-dheere ghatana padta hai (ηk→0, jaise 1/k), tabhi exact minimum tak pahunchta hai. Yeh sab ML training me directly use hota hai — isiliye yeh chapter elite-level zaroori hai.