How do you monitor a deployed ML (machine learning) model when ground-truth labels arrive weeks late or never arrive at all?
ML systems and evaluation, Monitoring
Level L2 Elementary. Length Medium. Nature Th Theoretical.
What's being asked
Whether you know practical observability signals for live models without immediate labels, and understand that drift proxies are not direct accuracy measurements.
Key idea
Without immediate labels, you monitor upstream inputs, model outputs, and fast business proxies to catch pipeline breaks and distribution shifts early, then close the loop whenever delayed or sampled labels arrive. Crucially, input drift does not guarantee accuracy has fallen, and concept drift can degrade accuracy even when inputs and score distributions look unchanged.
Steps
- Monitor input data quality and feature drift: track null rates, schema violations, out-of-range values, and shifts in key feature distributions relative to training data, since broken upstream pipelines cause many silent failures.
- Track prediction distribution drift and uncertainty: watch changes in predicted class rates, score quantiles via KS (Kolmogorov–Smirnov) or PSI (population stability index), and prediction entropy or low-confidence volume.
- Use fast proxy metrics and close the label loop: track immediate behavioural proxies (such as click-through, bounce, or manual override rates), join delayed labels back by prediction ID as soon as they mature, and audit a small stratified sample labelled by humans.
- Remember the drift-versus-accuracy caveat: drift is neither necessary nor sufficient for worse performance—benign covariate shifts in easy regions trigger drift alerts without hurting accuracy, while concept drift ( changing with fixed) can cut accuracy with no visible input drift.
Common mistakes
- Assuming zero input or prediction drift proves the model is accurate; concept drift can silently break predictions while and remain stable.
- Treating every feature-drift alert as a crisis; shifting an unimportant feature may have little effect on model error.
- Omitting prediction IDs, timestamps, and model versions from logs, which prevents joining delayed ground-truth labels later.
How long your answer should be
2–3 minutes: four layers of monitoring signals plus the drift-vs-accuracy caveat.
Read this
Previous in ML systems and evaluation: How do you evaluate the retriever in a RAG (retrieval-augmented generation) system separately from the generator? Suppose three queries have relevant chunk IDs , and , and the retriever returns top-5 lists , and . What are the recall@5, precision@5, hit rate@5 and MRR (mean reciprocal rank), and how does scoring both retrieval and generation let you separate a retrieval miss from a generation error?
Next in ML systems and evaluation: A weight matrix is stored densely in fp16 (2 bytes per number). To store an unstructured-pruned copy in CSR (compressed sparse row) format you keep, for each non-zero, its fp16 value (2 bytes) and its column index (int32, 4 bytes), plus one int32 row pointer per row plus one. How many bytes does the sparse copy use at 80% and 95% sparsity, and at what sparsity does it break even with the dense copy?