Under what circumstances can adding engineered features degrade a model's generalization performance?

Quick Overview

Explain the ways that adding engineered features can make a model generalize worse. Tests knowledge of target and temporal leakage, overfitting from high-dimensional or high-cardinality features, selection bias in feature search, and train/serve skew.

Under what circumstances can adding engineered features degrade a model's generalization performance?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Under what circumstances can adding engineered features degrade a model's generalization performance? ```hint Compare two moments For each new feature, ask whether its value at training time is computed the same way, and from the same information, as at prediction time. ``` ```hint Count the comparisons Think about what happens to a validation score when it is used to pick among hundreds of candidate features. ``` ### What a Strong Answer Covers - Leakage from the label or from data after the prediction time, and why offline validation fails to catch it. - Extra variance from many weak, noisy or high-cardinality features relative to the sample size. - Overfitting the validation set through repeated feature search, and how to get an honest estimate. - Features that drift over time or are computed differently in training and serving. - Concrete mitigations tied to each failure mode. ### Follow-up Questions - How would you detect leakage in a feature a teammate added, before it ships? - When does multicollinearity hurt predictive accuracy, as opposed to only interpretation? - Gradient-boosted trees cope well with some irrelevant features. When does that stop being true? - How would you set up feature selection so the final reported score is unbiased?

Overview: Explain the ways that adding engineered features can make a model generalize worse. Tests knowledge of target and temporal leakage, overfitting from high-dimensional or high-cardinality features, selection bias in feature search, and train/serve skew.

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

Under what circumstances can adding engineered features degrade a model's generalization performance?

What a Strong Answer Covers Guidance

  • Leakage from the label or from data after the prediction time, and why offline validation fails to catch it.
  • Extra variance from many weak, noisy or high-cardinality features relative to the sample size.
  • Overfitting the validation set through repeated feature search, and how to get an honest estimate.
  • Features that drift over time or are computed differently in training and serving.
  • Concrete mitigations tied to each failure mode.

Follow-up Questions Guidance

  • How would you detect leakage in a feature a teammate added, before it ships?
  • When does multicollinearity hurt predictive accuracy, as opposed to only interpretation?
  • Gradient-boosted trees cope well with some irrelevant features. When does that stop being true?
  • How would you set up feature selection so the final reported score is unbiased?