What happens to Random Forest performance when only a small fraction of the features are informative?

Quick Overview

Asks how a random forest behaves when most features are noise and only a few carry signal. Tests reasoning about per-split feature subsampling, a quick probability estimate, tuning max_features, feature selection without leakage, and reading feature importance correctly.

What happens to Random Forest performance when only a small fraction of the features are informative?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What happens to Random Forest performance when only a small fraction of the features are informative? ```hint Quantify one split At each split the forest samples $m$ of the $p$ features. Work out the chance that none of the $k$ informative features is among the candidates. ``` ```hint Bias or variance For each fix you propose, ask whether it makes each tree stronger or only makes the average of the trees less noisy. ``` ### What a Strong Answer Covers - How per-split feature subsampling interacts with a small share of informative features, with a rough probability estimate. - What splits on noise features do to individual trees and to the ensemble, and why performance degrades without collapsing. - Concrete fixes such as tuning `max_features` and feature selection inside cross-validation, with the cost of each. - How to judge which features are informative without being misled by impurity-based importance. ### Follow-up Questions - How would you choose `max_features` for this dataset, and what do you give up as it grows? - How would gradient boosting behave on the same data compared with a random forest? - Why does impurity-based importance favor high-cardinality noise features? - If you select features on the full dataset before cross-validation, what goes wrong with the validation score?

Overview: Asks how a random forest behaves when most features are noise and only a few carry signal. Tests reasoning about per-split feature subsampling, a quick probability estimate, tuning max_features, feature selection without leakage, and reading feature importance correctly.

Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

What happens to Random Forest performance when only a small fraction of the features are informative?

What a Strong Answer Covers Guidance

  • How per-split feature subsampling interacts with a small share of informative features, with a rough probability estimate.
  • What splits on noise features do to individual trees and to the ensemble, and why performance degrades without collapsing.
  • Concrete fixes such as tuning max_features and feature selection inside cross-validation, with the cost of each.
  • How to judge which features are informative without being misled by impurity-based importance.

Follow-up Questions Guidance

  • How would you choose max_features for this dataset, and what do you give up as it grows?
  • How would gradient boosting behave on the same data compared with a random forest?
  • Why does impurity-based importance favor high-cardinality noise features?
  • If you select features on the full dataset before cross-validation, what goes wrong with the validation score?