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
November 29, 20260
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
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- 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 PrepSample 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: changes (more mobile traffic). Detectable without labels.
- Prior shift: changes (holiday CTRs). Seen as a shift in mean prediction vs observed rate.
- **Conce...
Submit Your Answer
Microsoft Machine Learning Engineer Interview Guide
Interview process, tips, and preparation timeline