3.2.3 · D5Training Deep Networks
Question bank — Momentum and Nesterov momentum
Before we start, a quick shared vocabulary so no symbol is used un-earned:
True or false — justify
The true/false verdict is the easy part; the sentence after it is the whole point.
TF1. Momentum is just plain Gradient Descent with a larger learning rate .
False — a larger scales every direction including the steep oscillating one (→ divergence), whereas momentum only enlarges the consistent direction because averaging cancels the flipping one. It is direction-selective.
TF2. A larger (say ) always converges faster than .
False — too much memory makes the ball so heavy it overshoots and orbits the minimum; velocity can't decelerate fast enough. There is a sweet spot, usually –.
TF3. The very first momentum step () is identical to a plain gradient-descent step.
True — with no history, , so , exactly plain GD. The speed-up only appears once gradients start accumulating.
TF4. If a gradient stays constant at forever, the momentum step size grows without bound.
False — the velocity converges to the geometric sum , a finite value; the effective learning rate saturates at , not infinity.
TF5. Nesterov and classical momentum differ only cosmetically in their equations.
False — evaluating the gradient at the look-ahead point adds a genuine anticipatory damping term to the dynamics, improving the convex convergence rate to from .
TF6. Momentum helps most on a perfectly circular (isotropic) loss bowl.
False — a circular bowl has , no zig-zag to cancel, so plain GD already goes straight in; momentum shines precisely when and the valley is a narrow canyon.
TF7. With , momentum reduces exactly to plain gradient descent.
True — , so . Momentum is a strict generalisation of GD.
TF8. Momentum can keep moving even at a point where the gradient is exactly zero.
True — at a saddle or flat spot but is still nonzero, so the ball coasts through the flat region — a real advantage of inertia.
TF9. Momentum changes which minimum the loss surface has.
False — momentum only changes the path taken; the minima of are properties of alone. It affects how you arrive, not where.
TF10. In an oscillating direction, momentum's velocity blows up because it keeps adding gradients.
False — alternating gradients cancel in the EWMA, keeping small and bounded, which is exactly why the parameter stops bouncing off the walls.
Spot the error
Each statement contains one wrong claim — name it.
SE1. "Because averages gradients, momentum is unbiased from step one, so no warm-up is needed."
Error: early velocities are biased low — the geometric sum hasn't warmed up, so underestimates the true averaged gradient. This is why Adam adds bias correction; plain momentum just accepts a slow start.
SE2. "The heavy-ball rewrite adds a brand new correction unrelated to the previous move."
Error: the term is literally the previous step, scaled — it means "keep going the way you were going", not something new.
SE3. "Nesterov computes the gradient at the current point , then adds an extra look-ahead term afterward."
Error: Nesterov evaluates the gradient at the look-ahead point ; the anticipation is inside the gradient evaluation, not an add-on term.
SE4. "Since RMSProp and Adam adapt the learning rate per parameter, they already do what momentum does, so momentum is redundant."
Error: RMSProp adapts step magnitude per coordinate; momentum smooths the direction over time. Adam combines both — they solve different problems, not the same one.
SE5. "With the effective learning rate is ."
Error: the effective learning rate in a steady direction is , a ten-fold increase, not a reduction.
SE6. "Because momentum accumulates past gradients, using it with SGD mini-batches makes the noise worse."
Error: averaging past (noisy) gradients reduces variance — the EWMA smooths mini-batch noise, which is one reason momentum is standard with SGD.
Why questions
W1. Why do we step along the velocity instead of the raw gradient ?
Because the raw gradient in an ill-conditioned valley keeps flipping sign and cancels its own progress; the velocity is a smoothed gradient that keeps signal (consistent direction) and kills noise (oscillation).
W2. Why does the oscillating component cancel while the consistent one adds?
In the EWMA, a component that keeps the same sign accumulates term-by-term, while one that flips sign produces near-cancelling terms — signal reinforces, noise self-destructs.
W3. Why does Nesterov "look ahead" before computing the gradient?
The ball is about to jump by anyway, so measuring the slope at the anticipated landing spot gives more up-to-date information and lets it brake before the curve instead of after.
W4. Why is the tool an exponentially weighted average rather than a plain average of all past gradients?
An exponential decay makes recent gradients count most and old, stale ones fade geometrically — it tracks a moving optimum without needing to store the full history.
W5. Why can't we cure ill-conditioning by simply shrinking ?
A tiny stops divergence in the steep direction but makes progress in the flat direction painfully slow; momentum instead speeds the flat direction while cancelling the steep oscillation — decoupling the two.
W6. Why does the effective learning rate become and not something else?
Because a constant gradient drives to the geometric-series limit ; multiplying by gives the sustained step size.
W7. Why is Nesterov's theoretical advantage stated as a rate ( vs ) rather than a constant factor?
The anticipatory damping changes how the error decays with iteration count, not just by a fixed multiplier — a fundamentally faster asymptotic shape on convex problems.
Edge cases
E1. What happens with ?
You recover plain gradient descent exactly; velocity has no memory, so .
E2. What happens as ?
The effective learning rate and the ball becomes nearly frictionless — it will overshoot and orbit the minimum, oscillating for a long time. This is why is excluded.
E3. At a saddle point where but , what does momentum do?
It coasts through — carries the parameters onward, helping escape flat saddle regions that stall plain GD.
E4. At the exact minimum where and the ball still has velocity, does it stop?
Not immediately — it overshoots past the minimum, then the gradient reverses and pulls it back; it settles only after the residual velocity decays, hence damped oscillation near the optimum.
E5. On a perfectly flat plateau ( for many steps), how does velocity behave?
It decays geometrically as , so the ball keeps drifting but slows down — inertia carries it across the plateau before dying out.
E6. If gradients are pure alternating noise with no true direction, where does momentum go?
Almost nowhere — the velocity stays small and bounded near zero, so the parameters barely move, which is the desired behaviour (don't chase noise).
E7. How should interact with a changing learning rate from LR schedules?
A common practice is to warm up (or ) early since velocity is under-estimated at the start; a heavy ball plus a large early can destabilise before the average settles.
Recall One-line summary
Verdict is cheap; the justification is the skill — every trap here is really asking "signal accumulates, noise cancels, look-ahead brakes early."