Machine Learning Engineer Interview Question

Someone else on the team cannot reproduce your training results. What could be different?

What the interviewer is probing, how to structure your answer, and a spoken example you can adapt.

Quick answer

Usually one of five things: the data snapshot, the random seeds, library and CUDA versions, nondeterministic GPU kernels, or hardware differences in floating point behavior. Pin the data by dated snapshot rather than a live query, seed every random source including data loader workers, containerize the environment, and accept that exact bitwise determinism on GPU costs performance and is not always worth buying.

Why interviewers ask this

The interviewer is checking that you understand reproducibility as a set of concrete controls rather than a virtue. The strongest signal is knowing that GPU reductions are nondeterministic by default and that forcing determinism carries a real speed cost, plus knowing that data is the most common culprit because it changes underneath you without any code change at all.

How to structure your answer

  • List the candidate causes in order of likelihood.
  • Put the data snapshot first because it changes silently.
  • Cover seeding every source, including data loader workers.
  • Explain GPU nondeterminism and the cost of forcing it.
  • Say what level of reproducibility is actually worth paying for.

Example answer

Spoken example, first person

I go down a list, most likely first. Data, almost always. If the training query reads a live table, it changed between my run and theirs, and no amount of seeding fixes that, so training reads a dated snapshot with a recorded row count. Next, seeds, and not just the framework seed: Python's random, NumPy, the framework, and critically the data loader workers, each of which needs its own seed so shuffling and augmentation are reproducible too. Then environment, which is why training runs in a container with pinned library and CUDA versions rather than in whatever someone happens to have installed. After that you are into GPU nondeterminism. Some kernels use atomic accumulation, so the reduction order varies run to run and you get tiny floating point differences that compound over thousands of steps. You can force deterministic algorithms, but it disables the fast kernels and I have seen it cost twenty percent or more. So I ask what we actually need. For a debugging investigation or a regulated model I pay for bitwise determinism. Normally I only need results that match within noise, and I demonstrate that by running the same config twice and showing the spread.

Walking into this interview soon? GhostPilot listens to your live call, spots the question the moment it is asked, and puts a structured answer on your screen in real time. Try it on your next mock, or grab a $29 Session Pass, no subscription, for the real thing.

See how it works

Follow-up questions to expect

  • How would you show that a difference is within run to run noise?
  • Which framework flags force deterministic kernels, and what do they cost?
  • How do you make a distributed run reproducible across a different node count?

Related machine learning engineer questions

Your interviewer will ask their own version of this. Paste your actual job description into the free Question Predictor and get the 20 questions that role is most likely to ask, with what each one is really probing.

Predict my questions

Rehearse the hard questions before they are asked

Practise with a live copilot, then walk in ready. A $29 Session Pass gets you through the interview with no subscription and no lock-in.

Get GhostPilot