Detect Feature Drift in a Deployed Bing Ads Model With PSI

Last updated: November 29, 2026

Quick Overview

A Bing Ads relevance model was trained months ago and performance seems to be slipping. Explain how to detect input and prediction drift before labels show the drop, and implement the population stability index for a numeric feature.

Microsoft
Machine Learning
Machine Learning Engineer
Microsoft
November 29, 2026
Machine Learning Engineer
Technical Screen
Machine Learning
Medium

0

0

0 solved


A Bing Ads relevance model was trained months ago and performance seems to be slipping. Explain how to detect input and prediction drift before labels show the drop, and implement the population stability index for a numeric feature.

Production ML at Microsoft needs monitoring between retrains, especially for ads where traffic mix shifts with seasons and new advertisers. The interviewer checks distinctions between covariate, label and concept drift and a correct PSI implementation.

What the Interviewer Expects
  • Distinguish covariate shift, prior shift and concept drift
  • Explain what can be detected without labels
  • Implement PSI with baseline quantile bins and an epsilon for empty bins
  • Give rule-of-thumb thresholds and their caveats
  • Prioritize alerts by feature importance and tie them to actions
Key Topics to Cover
data drift
population stability index
model monitoring
covariate shift
concept drift
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How would you monitor drift for a high-cardinality categorical feature?
  • Why might PSI fire constantly on a healthy model with huge traffic?
  • When does drift justify retraining versus investigating an upstream bug?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

Labels (clicks, conversions) arrive with delay and are affected by the model itself, so I want unlabeled early warnings: input feature distributions and the prediction distribution, compared with a tr...

Approach
  • Covariate shift: P(x)P(x) changes (more mobile traffic). Detectable without labels.
  • Prior shift: P(y)P(y) changes (holiday CTRs). Seen as a shift in mean prediction vs observed rate.
  • **Conce...

Submit Your Answer
Markdown supported