FDEInterviews logo
Machine Learning & Data Science / 56
mediumGoogleDatabricksOpenAI

Explain gradient descent intuitively, and how do you decide when to stop training?

Gradient descent is walking downhill on the loss surface, one step proportional to the slope. Knowing when to stop is the part that separates people who have trained models from people who have read about them: it is the validation curve, not the training curve, that tells you.

Updated Aug 2026 · Grounded in real Forward Deployed Engineer interview loops and written to a senior-engineer editorial bar.

Gradient descent is walking downhill on the loss surface, one step proportional to the slope. Knowing when to stop is the part that separates people who have trained models from people who have read about them: it is the validation curve, not the training curve, that tells you.

20 answers per topic instead of 10, plus saved progress and bookmarks · no cardor unlock all 523 remaining answers · ₹2,000 / $25
UP NEXT ON YOUR JOURNEY
FEDITOR'S NOTE

The screen is two-part: a clean intuition for gradient descent (downhill on the loss surface, step size = learning rate, the gradient points uphill so you go opposite) AND a real stopping policy. Strong candidates stop on validation loss (early stopping with patience) rather than a fixed epoch count or training loss hitting zero, and mention plateaus, learning-rate schedules, and restoring the best checkpoint. The reserved follow-up is 'why not just train until training loss is near zero': because that is overfitting; training loss keeps falling while validation loss turns up, and the turn-up is the stop signal.

DISCUSSION · 0

No comments yet — be the first to share your approach.