How can target leakage be detected in feature pipelines before deployment?
Last updated
Audit timestamps and lineage: confirm each feature was known at prediction time using point-in-time joins. Watch for fields updated after the outcome.
Look for statistical red flags: implausibly high single-feature AUC, too-good metrics, or label-correlated missingness. Confirm with ablation, where one feature's removal collapsing performance is a warning sign.
Validate realistically with out-of-time backtests (a big random vs time split gap suggests leakage). Use shadow deployment to compare serving-time features with training values.