How can target leakage be detected in feature pipelines before deployment?

Last updated 14 November 2026

  • 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.

  • https://www.interviewnode.com/post/how-to-discuss-data-leakage-drift-and-model-monitoring-in-ml-interviews
All Supervised Learning interview questions