Detect Feature Drift in a Google Ads Conversion Model With PSI

Last updated: November 29, 2026

Quick Overview

A Google Ads conversion prediction model was trained on last quarter's data. Explain how you would monitor its input features for distribution shift using the population stability index, implement PSI, and decide what level of drift should trigger action.

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

0

0

0 solved


A Google Ads conversion prediction model was trained on last quarter's data. Explain how you would monitor its input features for distribution shift using the population stability index, implement PSI, and decide what level of drift should trigger action.

Ads models face constant shifts from new advertisers, seasonal campaigns, and product changes. The interviewer wants to see a practical monitoring approach that separates harmless drift from drift that actually hurts predictions.

What the Interviewer Expects
  • Defines PSI and how it is computed from binned distributions
  • Implements PSI with sensible binning and smoothing of empty bins
  • Gives rule-of-thumb thresholds and explains their limits
  • Distinguishes covariate shift from concept shift and prediction drift
  • Ties alerts to model performance or calibration, not drift alone
Key Topics to Cover
population stability index
data drift
model monitoring
covariate shift
calibration monitoring
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 like advertiser ID?
  • PSI is high for a feature with low importance. Do you retrain?
  • How do you monitor drift when labels arrive weeks later?
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

Ask which features matter most, how often the model is retrained, how quickly conversion labels arrive, and what actions are possible (retrain, roll back, alert an owner). Also decide the reference wi...

Approach

PSI compares the binned distribution of a feature in production to the reference: PSI=∑b(ab−eb)ln⁡abeb\text{PSI} = \sum_b (a_b - e_b) \ln \frac{a_b}{e_b}, where ebe_b and aba_b are the reference and current fractions i...


Submit Your Answer
Markdown supported