Why do features derived from downstream business processes cause leakage at prediction time?

Quick Overview

Asks why features written by downstream business workflows leak the target when a model is trained on historical tables. Tests reasoning about prediction timelines, examples from churn, fraud, credit and medicine, feedback loops from earlier decisions, and point-in-time feature construction.

Why do features derived from downstream business processes cause leakage at prediction time?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why do features derived from downstream business processes cause leakage at prediction time? ```hint Draw the timeline For a single row, mark when the prediction is made, when the outcome happens, and when each field in the training table gets written. ``` ```hint Compare training and serving Ask what value the same field holds for a row in the historical table and for a brand-new row at scoring time. ``` ### What a Strong Answer Covers - Why fields written by downstream processes act as proxies for the outcome, and what they look like at prediction time - How those fields get into training data, and the symptom this produces once the model is deployed - Concrete examples, including the variant where features record decisions made by an earlier model or by reviewers - How to prevent and detect it ### Follow-up Questions - How would you find this kind of leakage in a model someone else built? - A feature is available at prediction time, but its value keeps being updated afterwards. How do you build training data for it? - How do you train on data shaped by a previous model's decisions without just relearning that model's policy? - What does a point-in-time correct join look like, and what does it cost to maintain?

Overview: Asks why features written by downstream business workflows leak the target when a model is trained on historical tables. Tests reasoning about prediction timelines, examples from churn, fraud, credit and medicine, feedback loops from earlier decisions, and point-in-time feature construction.

PracHub logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

Why do features derived from downstream business processes cause leakage at prediction time?

What a Strong Answer Covers Guidance

  • Why fields written by downstream processes act as proxies for the outcome, and what they look like at prediction time
  • How those fields get into training data, and the symptom this produces once the model is deployed
  • Concrete examples, including the variant where features record decisions made by an earlier model or by reviewers
  • How to prevent and detect it

Follow-up Questions Guidance

  • How would you find this kind of leakage in a model someone else built?
  • A feature is available at prediction time, but its value keeps being updated afterwards. How do you build training data for it?
  • How do you train on data shaped by a previous model's decisions without just relearning that model's policy?
  • What does a point-in-time correct join look like, and what does it cost to maintain?