How do you monitor drift on unstructured data (text / images)?
hardAnswer
- (1) Compute embeddings from pretrained model (CLIP for images, sentence-BERT for text).
- (2) Reduce to low-D via PCA / UMAP for viz.
- (3) Compute MMD / energy distance / Wasserstein between train and current embeddings.
- (4) Alert on threshold breach.
- (5) Sample outliers with high per-example score for human review.
- Complementary: monitor prediction confidence distribution + per-cluster prevalence.
Check yourself — multiple choice
- Cannot monitor
- Embed with CLIP / sentence-BERT → MMD / energy / Wasserstein on embeddings + PCA/UMAP viz + outlier review + monitor prediction confidence
- Random
- Just count rows
Unstructured drift: embed + distance metric + outlier review.
#monitoring#data-quality
Practise MLOps & Data Quality
215 interview questions in this topic.
Related questions
- What is data drift and how do you detect it?
- How is concept drift different from data drift?
- What is schema drift and how do you detect it?
- What is label drift and why does it matter?
- How is Population Stability Index (PSI) computed and interpreted?
- Why prefer Jensen-Shannon Divergence over KL for drift?