← Questions

Deep learning fundamentals: optimization, drift and calibration

0
NvidiaAI/ML designLast asked Feb 2026

An AI/ML design interview question asked in Nvidia's project deep dive, last asked Feb 2026. It tests optimization, calibration and fundamentals.

A conceptual round on how models train and how they behave once deployed. The interviewer moves through a set of questions and expects clear definitions, the intuition behind them, and how each one shows up in practice:

  1. Gradient descent versus stochastic gradient descent: what changes, and why SGD often generalizes well.
  2. Convexity: what it guarantees, and why deep networks still train even though their losses are not convex.
  3. Sharp versus flat minima, and what batch size and learning rate have to do with which one you find.
  4. The bias-variance trade-off, and how you tell from training and validation curves which one is hurting.
  5. Calibration: what a calibrated probability is, how you measure it, and how you fix a miscalibrated model.
  6. Model drift: the kinds of drift, how you detect it in production, and what you do about it.
  7. A business owner says "the model's quality got worse." How do you turn that into an ML problem you can measure and fix?

Requirements

  • Precise definitions, with a small example or picture for each idea.
  • Connect each concept to a decision you would make on a real model.

Clarifying questions

  • Is the model a classifier whose probabilities are used directly (for thresholds or pricing), or only a ranker?
  • Are labels available in production, and how long after the prediction?
  • What decision does the business take from the model's output?

What a strong answer covers

  • SGD's noisy gradient as cheap per step and as a regularizer; mini-batches as the practical middle; momentum and adaptive optimizers in one line each.
  • Convex problems have one global minimum; deep nets have many good minima and saddle points, and over-parameterization makes them reachable.
  • Flat minima as more robust to small weight changes, and the link between large batches, sharp minima and the need for learning-rate warm-up.
  • Reading curves: high training error means bias; a large gap between training and validation means variance; the fixes for each.
  • Calibration measured with reliability diagrams, expected calibration error and log loss; fixed with temperature scaling, Platt scaling or isotonic regression on held-out data; why class weighting and resampling distort it.
  • Drift split into input (covariate) drift, label-prior drift and concept drift; detection with population stability or distribution tests on features and predictions, and with delayed-label metrics; responses from retraining to rolling back.
  • Framing the business complaint: pin down the metric that moved, the segment, and the time it started, before touching the model.

Follow-ups

  • A model's accuracy is unchanged but its ECE doubled. What might have happened, and does it matter?
  • How would you set up retraining so it does not chase noise?
  • You can only get labels for 1% of production traffic. How do you monitor quality?

Where it's asked

What it tests

optimization · calibration · fundamentals

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing