ML System Evaluation and Metrics Questions
Design comprehensive evaluation strategies including offline metrics (precision, recall, F1, AUC, calibration), online metrics (A/B test setup, statistical significance), and business metrics. Understand metric limitations and how to avoid gaming metrics.
HardTechnical
65 practiced
Discuss the risks of sequential peeking in A/B tests (checking results repeatedly) and describe statistical techniques to control Type I error under optional stopping: alpha-spending functions, Pocock and O'Brien-Fleming boundaries, and Bayesian sequential testing. Which approaches are practical for product teams and why?
MediumTechnical
63 practiced
For a search ranking problem with graded relevance labels on a 5-point scale (0..4), explain NDCG@k, MAP, MRR, and Recall@k. Describe how discounting in NDCG works and compute NDCG@3 for a sample ranked list with relevance grades [3, 2, 0, 4] (assume ideal DCG computed on sorted grades).
MediumTechnical
75 practiced
Metric gaming: provide concrete strategies to detect and prevent teams from 'optimizing the metric' in ways that harm product quality (e.g., artificially inflating session time). Give examples of gaming, detection signals (distributional anomalies, unnatural quantization), and governance policies (multi-metric decision making, guardrail metrics, audits).
MediumBehavioral
63 practiced
Behavioral: Tell me about a time when you had to convince product stakeholders to accept a more complex evaluation metric or experiment design because the simpler metric would be gamed or misleading. Describe the Situation, Task, Actions you took, and the Result (STAR). What did you learn?
HardTechnical
114 practiced
Explain cluster-randomized experiments (e.g., randomizing at user, household, or region level) and why clustering is necessary in contexts with spillover or correlated behavior. Define intra-cluster correlation coefficient (ICC) and describe how ICC affects required sample size and variance estimation.
Unlock Full Question Bank
Get access to hundreds of ML System Evaluation and Metrics interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.