EasyDeepLearn

Your new model has 60% AUC and the baseline had 75%. How do you debug?

medium

Answer

  • Systematic checklist: (1) verify label correctness on validation — often the bug; (2) check for data leakage in the *baseline* (not the new model); (3) confirm train/val came from the same distribution — look for schema drift, temporal drift, missing categories; (4) inspect learning curves: is training loss even decreasing?
  • (5) rule out preprocessing issues (unscaled features, wrong encoding, target leakage after refactor); (6) sanity-check with a very simple model (logistic regression) on the same features and pipeline.
  • Only after this should you tune hyperparameters.
Check yourself — multiple choice
  • Immediately increase model capacity
  • Label correctness → leakage → distribution shift → learning curves → preprocessing → simple-model sanity check
  • Only tune hyperparameters
  • Randomize the data

Debug bottom-up: labels → leakage → distribution → training dynamics → preprocessing → sanity model.

#interview-scenarios#data-quality

Practise Supervised Learning

215 interview questions in this topic.

Related questions