A credit score model’s training score distribution across four equal-frequency bins is , while live production traffic shifts to . What is the population stability index (PSI), how severe is the drift under standard thresholds, and why should rising PSI trigger investigation rather than automatic blind retraining?
ML systems and evaluation, Monitoring
Level L2 Elementary. Length Medium. Nature Th+Mat Both.
What's being asked
Whether you can compute PSI to quantify distribution shift and reason carefully about operational responses to drift.
Key idea
(where and are the production and training proportions in bin ) is the symmetric KL divergence (Jeffreys divergence) between production and reference bin proportions; rules of thumb flag as negligible, as moderate, and as major shift.
Steps
- Compute each bin’s term : Bin 1 gives ; Bin 2 gives .
- Compute Bins 3 and 4: Bin 3 gives ; Bin 4 gives .
- Sum all terms: .
- Interpret: since , this is a moderate-to-borderline-major shift toward higher-score bins.
- Explain why not to retrain blindly: first rule out pipeline bugs or training–serving skew; second, if the input distribution shifted only in regions where (target given features ) is unchanged and the model is already accurate, retraining on recent biased or unverified labels (before delayed chargeback labels arrive) can actually degrade calibration and performance.
Common mistakes
- Using one-sided KL divergence instead of , or dividing by zero when an empty bin occurs (smooth tiny counts first).
- Assuming high PSI in a feature automatically means model accuracy dropped; covariate shift only hurts if the model errs on the newly populated region.
How long your answer should be
Four bin calculations, total PSI, and 3–4 sentences on actionability; 4–5 minutes.
Last checked on 4 December 2026.
Read this
Previous in ML systems and evaluation: A loan classifier is evaluated on two demographic groups of 100 applicants each: Group A has and Group B has . What are the positive prediction rate, , and for each group, and which fairness criteria are satisfied or violated?
Next in ML systems and evaluation: A classifier gets 340 of 400 test examples right. Give an approximate 95% confidence interval for its true accuracy. How large must the test set be to estimate accuracy to within percentage points at 95% confidence, if you have no prior idea of the accuracy?