Why does feature subsampling decorrelate the trees in a Random Forest?

Quick Overview

Explain why sampling a random subset of features at each split makes the trees of a random forest less correlated. Tests whether you can connect plain bagging, the variance of an average of correlated trees, and the trade-off behind the max_features setting.

Why does feature subsampling decorrelate the trees in a Random Forest?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why does feature subsampling decorrelate the trees in a Random Forest? ```hint Variance of an average Write the variance of an average of B identically distributed predictions with pairwise correlation ρ, then look at what is left as B grows. ``` ### What a Strong Answer Covers - Why trees grown by plain bagging end up similar, starting from the splits near the root - How restricting the candidate features at each split changes which features get used, and how that propagates down the tree - The variance of an average of correlated trees and the floor that their correlation sets - The trade-off between lower correlation and weaker individual trees, and how the subset size is chosen ### Follow-up Questions - Why does adding more trees eventually stop reducing a random forest's error? - When would you set `max_features` close to the number of features, and when close to 1? - How do extremely randomized trees push decorrelation further, and what do they give up? - What happens with a small feature subset when the data has a few strong features and many pure-noise features?

Overview: Explain why sampling a random subset of features at each split makes the trees of a random forest less correlated. Tests whether you can connect plain bagging, the variance of an average of correlated trees, and the trade-off behind the max_features setting.

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

Why does feature subsampling decorrelate the trees in a Random Forest?

What a Strong Answer Covers Guidance

  • Why trees grown by plain bagging end up similar, starting from the splits near the root
  • How restricting the candidate features at each split changes which features get used, and how that propagates down the tree
  • The variance of an average of correlated trees and the floor that their correlation sets
  • The trade-off between lower correlation and weaker individual trees, and how the subset size is chosen

Follow-up Questions Guidance

  • Why does adding more trees eventually stop reducing a random forest's error?
  • When would you set max_features close to the number of features, and when close to 1?
  • How do extremely randomized trees push decorrelation further, and what do they give up?
  • What happens with a small feature subset when the data has a few strong features and many pure-noise features?