ML Observability & Drift advanced 7 min read 14 flashcards

Monitoring Without Labels

What to watch when ground truth arrives months late or never, why prediction distributions and confidence are the highest-value proxies, and how to estimate performance from unlabelled data.

Most production models cannot be monitored on accuracy. A credit default is known in twelve months. A churn label is known after the churn window. A recommendation's counterfactual, what the user would have done with a different suggestion, is never known. Waiting for labels means discovering a problem long after it started, so the practical question is what can be measured in the meantime.

The proxy hierarchy

Prediction distribution is the highest-value signal available without labels. The model reduces every input to a small number, so its output distribution is a learned projection that moves whenever something the model relies on changes. A classifier whose positive rate moves from 3 percent to 7 percent overnight is behaving differently, and the cause is worth finding regardless of which drift produced it.

Confidence and entropy. Rising predictive entropy, or a falling share of high-confidence predictions, indicates the model is encountering inputs it finds harder. This works when the model is reasonably calibrated and misleads when it is not, since a poorly calibrated model can be confidently wrong on novel inputs, which is the case you most want to catch.

Input validation and novelty. Out-of-range values, unseen categories, rising null rates and inputs far from the training manifold are direct evidence of a problem, and the last is best measured by density estimation or reconstruction error rather than by per-feature range checks.

Business proxies. Downstream signals correlated with model quality often arrive far sooner than the label: click-through, manual override rate, escalation rate, appeal rate. Override rate in particular is a human evaluation of the model, arriving in real time and for free, and it is systematically under-instrumented.

Estimating performance from unlabelled data

Methods exist to go further, and they are worth knowing precisely because their assumptions are strong. Importance-weighting performance from a labelled reference set gives an unbiased estimate under covariate shift only, and is undefined where the new distribution has support the reference lacks. Confidence-based estimation, aggregating the model's own probabilities as an accuracy estimate, is exactly as good as its calibration. Reverse-testing approaches train a model on the unlabelled target using the deployed model's predictions and measure disagreement.

All of them assume \(P(Y \mid X)\) has not changed, which means none of them detect concept drift. They estimate the effect of covariate shift and are silent about the drift that matters most.

When it breaks

Proxies correlate with quality until they do not. A model that starts producing a constant output has stable, low-entropy, in-range predictions and is completely broken. Proxy monitoring needs at least one check that would notice degenerate behaviour, such as prediction variance collapsing.

Delayed labels arrive selectively. Loans are only defaulted on by applicants who were approved, and the approval decision was made by the model, so the eventual labels come from a filtered population. Performance computed on them is not performance on the population, and correcting for it requires either a holdout of randomly approved cases or explicit modelling of the selection.

Sampling for human review is worth its cost and needs designing. A small, randomly sampled, human-labelled stream gives a genuine performance estimate with real error bars, weeks before natural labels arrive. Sampling by low confidence gives more informative labels per unit of effort and biases the estimate, so a stratified design with known weights is what allows both.

Absence of a signal is not absence of a problem. Every proxy here can be flat while the model degrades, and stating that limit explicitly is what keeps a monitoring dashboard from being read as an assurance it cannot provide.

Check yourself

14 flashcards for this concept

Click a card to reveal the answer.

Drill the whole track