Why is feature subsampling performed at every split rather than once per tree?

Quick Overview

Asks why random forests draw a new random subset of candidate features at every split instead of once per tree. Tests understanding of tree strength, correlation between trees, how they set forest error, and how to tune the number of sampled features.

Why is feature subsampling performed at every split rather than once per tree?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

A random forest draws a random subset of features as split candidates. In Breiman's random forest that subset is drawn again at every split. Why is feature subsampling performed at every split rather than once per tree? ```hint Follow one strong feature Suppose a single feature carries most of the signal. Under each scheme, how many trees can ever split on it? ``` ```hint Think about what drives forest error Forest error depends on how accurate the individual trees are and how correlated they are with each other. Which way does each scheme move those two quantities? ``` ### What a Strong Answer Covers - What a tree loses when a feature is excluded for the whole tree, including interactions with that feature. - How per-split sampling affects the accuracy (strength) of individual trees. - How each scheme affects the correlation between trees, and why that matters for the forest's error. - The computational cost of sampling at every split. - When the number of sampled features needs tuning, for example with many noise features. ### Follow-up Questions - How would you choose `max_features` for a dataset with 1,000 features of which only 10 are informative? - What happens to a random forest when `max_features` equals the total number of features? - Gradient boosting libraries offer column sampling per tree as well as per node. Why is per-tree sampling more acceptable there? - How does per-split feature subsampling affect impurity-based feature importance when two features are highly correlated?

Overview: Asks why random forests draw a new random subset of candidate features at every split instead of once per tree. Tests understanding of tree strength, correlation between trees, how they set forest error, and how to tune the number of sampled features.

Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

A random forest draws a random subset of features as split candidates. In Breiman's random forest that subset is drawn again at every split. Why is feature subsampling performed at every split rather than once per tree?

What a Strong Answer Covers Guidance

  • What a tree loses when a feature is excluded for the whole tree, including interactions with that feature.
  • How per-split sampling affects the accuracy (strength) of individual trees.
  • How each scheme affects the correlation between trees, and why that matters for the forest's error.
  • The computational cost of sampling at every split.
  • When the number of sampled features needs tuning, for example with many noise features.

Follow-up Questions Guidance

  • How would you choose max_features for a dataset with 1,000 features of which only 10 are informative?
  • What happens to a random forest when max_features equals the total number of features?
  • Gradient boosting libraries offer column sampling per tree as well as per node. Why is per-tree sampling more acceptable there?
  • How does per-split feature subsampling affect impurity-based feature importance when two features are highly correlated?