LearnQuestion bank

Transactions your model blocks never get a true label. How does that bias retraining, and how do you correct it?

ML engineeringTechnicalHard

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

In short

  • Blocked transactions are missing not at random, so accepted-only retraining drifts towards the model’s own blind spots.
  • Use a small randomised holdout or exploration slice so some blocked or high-risk transactions can be labelled later.
  • Use reject inference only as a caveated estimate, not ground truth; prefer propensity weighting with logged propensities.
  • Log scores, decisions, propensities, and outcomes so runs are reproducible.
  • Compare champion and challenger on the same traffic and monitor calibration by score band and decision.

In full

The core problem is selection bias: if we only retrain on transactions that were allowed, the labels we see are not representative, so the model learns mostly from the cases it already approves and drifts towards its own blind spots. I would not treat blocked transactions as clean negatives; I would keep a small randomised holdout or exploration slice so some blocked or high-risk transactions are allowed or sampled and can be labelled later. Reject inference can be used as a caveated estimate, but only with explicit assumptions and sensitivity checks, and propensity weighting is preferable when propensities are logged. Every score, decision, propensity, and later outcome should be logged so the run can be reproduced, and champion/challenger should be compared on the same traffic with calibration tracked by score band and by decision. That gives a much cleaner read on the blocked population without pretending the labels are complete.

Corrected by an independent AI reviewer.

What a strong answer covers

  • Selection bias: only accepted transactions get outcomes, so the model drifts towards its own blind spots.
  • Mitigations: a small randomised holdout or exploration traffic, reject inference with caveats, propensity weighting.
  • Log scores and decisions so they can be reproduced.
  • Champion/challenger comparison on the same traffic.

Common mistakes

  • retraining only on approved traffic and celebrating rising precision.