2026 · Practice note · 7 min read

Data quality loops for production ML

Labels drift, inputs drift, and nobody notices until the metrics move. A practical loop that catches it earlier.

Models do not usually break because the model changed. They break because the world did: new document layouts, new product names, new customer segments, and reviewers who interpret the rubric slightly differently after the third month.

Three signals we track weekly

Input drift. Distribution shift on the fields the model actually uses — not on everything. A cheap PSI or KS test per feature, with alerts on the top-10 features by importance.

Label drift. We re-label a fixed sample every week and compare to the original labels. When agreement drops below 90%, the rubric is ambiguous and the model is being trained on noise.

Confidence drift. The share of predictions in the low-confidence band. A jump means the model is seeing something new, even if accuracy has not moved yet.

The loop

Low-confidence predictions go to a review queue. Reviews are sampled, disagreements are discussed, and the rubric is updated with an example. Corrections go into the training set with a timestamp and a reviewer id, so we can audit what changed and when.

The point is not to automate the loop — it is to make it cheap enough that it actually runs every week. A loop that runs quarterly is a postmortem tool.

← All notes