If a training run's loss diverges to infinity within the first ten steps, what is your initial debugging step?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Describe how you would start debugging a training run whose loss diverges to infinity in the first ten steps. Tests checking the step-0 loss, confirming the applied learning rate, gradient norm and update ratio monitoring, input and loss sanity checks, and isolating the cause one component at a time.