How do you monitor for drift in an unsupervised model running in production?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
How do you monitor for drift in an unsupervised model running in production? The model has no ground-truth labels, so you cannot track accuracy directly. Describe what you would measure and how you would act on it.
```hint List what you can observe
Without labels, think about what you can still see: what goes into the model, what comes out of it, and the structure it learned.
```
```hint Keep alerts useful
Consider what happens when a statistical test runs on millions of rows every day, and how you would keep it from firing on every tiny shift.
```
### What a Strong Answer Covers
- The proxies that replace accuracy, each compared against a reference window from training
- Input drift and data-quality checks, both per feature and across features together
- Output signals that depend on the model type, such as clustering, anomaly detection, autoencoders or topic models
- A check of structural stability by refitting on recent data and comparing
- The operating loop: windows, thresholds, human review, retraining, stable IDs and a link to business metrics
### Follow-up Questions
- A KS test on 10 million rows flags 40 of 50 features every day. What do you change?
- The anomaly detector's flag rate doubles overnight. How do you tell drift from a real incident?
- How do you choose the reference window when the data is strongly seasonal?
- After retraining a clustering model, how do you keep segment IDs stable for downstream teams?
Overview: Describe how to monitor an unsupervised model in production for drift when no ground-truth labels exist. Tests input and output drift metrics such as PSI and domain classifiers, structural stability checks for clustering, alert thresholds and the retraining workflow.