Sub topic 1
Why Labels Arrive Late
A deployed model usually produces a prediction before the real outcome is known. A fraud model may score a card payment immediately, but a chargeback can be filed weeks later. A churn model may predict cancellation today, while the customer does not leave until the end of a billing period.
This delay creates a difference between prediction time and outcome time:
- Prediction time is when the model produces and records its score.
- Outcome time is when the event needed for evaluation becomes observable.
- Label delay is the time between these two points.
A label is the target value used to evaluate a prediction. For binary classification, it is often 1 for an event that happened and 0 for an event that did not happen.
Prerequisites
This chapter assumes that you understand binary classification metrics such as accuracy, precision, recall, and ROC AUC. You should also know what a prediction log contains and how train, validation, and test splits prevent evaluation leakage.
The feedback lag
Suppose a model predicts whether a loan will default within 90 days. A prediction made on November 1 cannot receive a complete label on November 2. A borrower who has not defaulted yet might still default later in the 90-day window.
The evaluation system therefore has a feedback lag. Recent predictions are not necessarily wrong or correct; they are unresolved. Treating unresolved cases as negative labels makes the model appear better or worse for reasons unrelated to model quality.
The length and cause of the delay depend on the domain:
| Domain | Prediction event | Typical reason for delay |
|---|---|---|
| Fraud | Payment is scored | Chargeback or investigation happens later |
| Churn | Customer is predicted to leave | The customer cancels in a later period |
| Credit | Account is scored for default | Default is defined over a future observation window |
Why the delay is structural
Label delay is often part of the business process, not a technical failure. A payment network needs time to receive disputes. A medical outcome may require a follow-up visit. A customer-support classifier may need a later human review to determine whether the answer solved the problem.
The label can also depend on an explicit observation window. If the target is “default within 90 days,” the label is immature until 90 days have passed. A prediction from yesterday cannot be compared fairly with a prediction from four months ago.
This means production monitoring has two different timelines:
- The prediction timeline tells you what the model is scoring now.
- The label timeline tells you when trustworthy evaluation becomes possible.
A monitoring dashboard that shows only predictions may look current while hiding that most of its evaluation data is still unresolved.
A practical mental model
Store at least the prediction identifier, prediction timestamp, model version, score, and any available outcome timestamp. Keep the original prediction time unchanged. Later, attach the label when the outcome becomes known.
For example, a fraud prediction made on January 1 with a 60-day chargeback window should normally become eligible for final evaluation around March 2, subject to the actual data pipeline delay. Until then, it belongs to a pending cohort rather than a scored evaluation cohort.
The key consequence is simple: current production quality cannot always be measured directly. You need to distinguish mature outcomes from unresolved predictions and report how much of the recent traffic has usable labels.
Exercise
A churn model predicts whether a customer will cancel within 30 days. A dashboard evaluates all predictions made yesterday as non-churn. What is the main problem?
Show answer
Yesterday's predictions are immature. Customers who have not canceled yet may still cancel during the 30-day window, so assigning them negative labels produces a misleading metric.