179 questions
No questions match those filters.
Your training pipeline automatically halts and flags a...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansParameter delta feels like a natural convergence signal — if the weights have stopped moving, training must be done — but in high-dimensional, non-convex optimization it’s confounded with a variable that has nothing to do with model quality: the learning rate schedule. Any modern training run using a decaying schedule, cosine annealing being the common case, deliberately shrinks its step size toward zero as training progresses. That means parameter updates shrink mechanically near the end of a run, independent of whether the model has found a good solution or is simply out of step size to explore with. A pipeline watching only parameter distance can’t tell the difference between “the optimizer converged” and “the scheduler decayed the learning rate to nearly nothing,” and it will happily flag both as success.
The failure mode this misses is a saddle point or a wide, flat plateau — common in high-dimensional loss landscapes — where the gradient is still nonzero in some direction but small enough, combined with a decayed learning rate, that parameter movement per step drops under the threshold well before the model has actually settled anywhere useful. You end up halting a large, expensive training run precisely at the point where it’s stuck, not the point where it’s done.
The fix is to stop treating step size as a proxy for convergence and monitor quantities that are invariant to the scheduler. Gradient norm approaches zero only at an actual critical point of the loss surface, regardless of what the current learning rate happens to be, making it a much more honest signal. Pair it with tracking validation loss for a sustained, multi-epoch plateau — the outcome that actually matters — rather than inferring convergence indirectly from how far the optimizer happened to step this round.