InterviewStack.io LogoInterviewStack.io

Model Evaluation and Validation Questions

Measuring whether a model is good enough to trust and ship. Covers metric selection for classification, regression, and ranking (precision/recall, ROC-AUC, calibration, RMSE), offline validation design, evaluation-metric-to-business-objective alignment, and production safety guardrails. Emphasizes choosing metrics that reflect real objectives and avoiding misleading evaluations.

MediumTechnical
63 practiced

Describe a systematic approach to evaluating a model across important data slices or subgroups (geography, device, cohort, or a sensitive attribute), including small and intersectional cohorts. How do you prioritize which slices to check, compute meaningful metrics when a slice has few samples (bootstrap or hierarchical models), and decide what to do when the global metric looks fine but one segment's safety check fails?

EasyTechnical
74 practiced

Explain why a plain random train/test split, or standard k-fold, is invalid for time-series data, and describe walk-forward (rolling-origin) validation as the alternative. For a daily demand-forecasting problem spanning multiple years with seasonality, walk through how you would structure the training, validation, and test splits, and how that setup would catch a model quietly degrading over time before it ever reaches production.

HardTechnical
65 practiced

You have 20 independent training runs each for Model A and Model B, with a validation accuracy recorded per run. Describe how to statistically compare the two models while accounting for run-to-run variance: which test is appropriate (paired or unpaired), when you would use bootstrap confidence intervals instead, how to correct for checking multiple metrics, and how you would present the effect size and uncertainty to stakeholders.

HardTechnical
93 practiced

Your offline evaluation shows Model A clearly beating Model B, but the online A/B test shows no meaningful difference. Propose an investigation plan to identify the cause, and recommend concrete changes to your offline evaluation process to improve alignment going forward.

MediumTechnical
73 practiced

Recommend an evaluation suite for a text-summarization product: which automatic metrics you would use (token overlap, BLEU, ROUGE, BERTScore, perplexity) and why, plus a human-evaluation protocol covering sample selection, an annotation rubric, and how you would reconcile automatic-metric results with human judgments when they disagree.

Unlock Full Question Bank

Get access to all Model Evaluation and Validation interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.