FDEInterviews logo
Machine Learning & Data Science / 40
mediumGoogleDatabricksScale

Walk me through SGD vs mini-batch vs Adam, learning-rate schedules, and what vanishing or exploding gradients look like in practice.

Most candidates recite the Adam update equation and stop. The interviewer wants the decision: when plain SGD with momentum still wins, why Adam is the safe default for new architectures, and how you diagnose a training run that is silently dying from a gradient that shrank to zero.

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

Most candidates recite the Adam update equation and stop. The interviewer wants the decision: when plain SGD with momentum still wins, why Adam is the safe default for new architectures, and how you diagnose a training run that is silently dying from a gradient that shrank to zero.

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 whether you treat the optimizer as a diagnostic instrument rather than a formula to memorize. The reserved follow-up is almost always 'how would you tell vanishing from exploding gradients from the logs alone' and 'why does Adam sometimes generalize worse than SGD'. Naming the gradient-norm trace and the SGD-generalizes-better finding before being asked is the senior signal.

DISCUSSION · 0

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