Each scenario is numerically verified to show a genuine algorithmic difference — not a tuning artifact
Gradient Descent
θt = θt−1 − η · gt
Fixed effective lr = η every step
AdaGrad
Gt = Gt−1 + gt²
θt = θt−1 −
η
√Gt + ε
· gt
Gt grows monotonically → η/(√Gt + ε) → 0
RMSProp
Gt = ρ · Gt−1 + (1−ρ) · gt²
θt = θt−1 −
η
√Gt + ε
· gt
EMA keeps Gt bounded → η/√Gt stays healthy
Loading...