How would you handle a feature that was always populated in training but is frequently unavailable at serving time?

Quick Overview

Asks how to deal with a model feature that is always present in training data but often missing when the model serves live predictions. Tests understanding of training-serving skew, leakage diagnosis, simulated missingness, consistent fallbacks and production monitoring.

How would you handle a feature that was always populated in training but is frequently unavailable at serving time?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

How would you handle a feature that was always populated in training but is frequently unavailable at serving time? ```hint Start with the cause Ask why the value is missing at serving time, and whether it would even have been known at the moment the prediction is made. ``` ```hint Make training look like serving Think about how to expose the model, during training, to the missingness it will meet in production. ``` ```hint Plan for the absent case Consider what the system should do when the value is not there, both inside the model and around it. ``` ### What a Strong Answer Covers - Naming the problem as training-serving skew and why predictions degrade silently - Diagnosing the cause of missingness, including the case where the feature is really leakage - Training with realistic missingness and an explicit missing indicator - Consistent imputation or fallbacks shared by training and serving, or a separate fallback model - Preventing a repeat with logged serving features, point-in-time joins, null-rate monitoring and honest offline evaluation ### Follow-up Questions - The feature is missing mostly for new users, who also churn more. How does that change your masking and your evaluation? - How would you decide between one model trained with masking and a separate fallback model without the feature? - What would you monitor in production to catch this before it shows up in business metrics? - How does a point-in-time join work, and what goes wrong without one?

Overview: Asks how to deal with a model feature that is always present in training data but often missing when the model serves live predictions. Tests understanding of training-serving skew, leakage diagnosis, simulated missingness, consistent fallbacks and production monitoring.

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

How would you handle a feature that was always populated in training but is frequently unavailable at serving time?

What a Strong Answer Covers Guidance

  • Naming the problem as training-serving skew and why predictions degrade silently
  • Diagnosing the cause of missingness, including the case where the feature is really leakage
  • Training with realistic missingness and an explicit missing indicator
  • Consistent imputation or fallbacks shared by training and serving, or a separate fallback model
  • Preventing a repeat with logged serving features, point-in-time joins, null-rate monitoring and honest offline evaluation

Follow-up Questions Guidance

  • The feature is missing mostly for new users, who also churn more. How does that change your masking and your evaluation?
  • How would you decide between one model trained with masking and a separate fallback model without the feature?
  • What would you monitor in production to catch this before it shows up in business metrics?
  • How does a point-in-time join work, and what goes wrong without one?