What computational and variance tradeoffs occur when moving from a random forest to ExtraTrees?

Quick Overview

Asks how switching from a random forest to extremely randomized trees changes training cost, tree size, bias and variance. Tests understanding of split search complexity, tree correlation in ensembles, the bootstrap default, out-of-bag error and the effect of irrelevant features.

What computational and variance tradeoffs occur when moving from a random forest to ExtraTrees?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

What computational and variance tradeoffs occur when moving from a random forest to `ExtraTrees` (extremely randomized trees)? ```hint Compare one split Write down what each algorithm does at a single node for one candidate feature, and what that costs for n rows. ``` ```hint Use the ensemble variance formula The variance of an average of correlated trees depends on each tree's variance and on the correlation between trees. Ask which of these ExtraTrees changes, and in which direction. ``` ### What a Strong Answer Covers - The cost of the split search in each algorithm, per feature per node. - How tree size, memory use and inference time change. - What the default of no bootstrap does to training cost and to bias. - The bias-variance mechanism, explained through tree correlation and the strength of individual trees. - Practical consequences: number of trees, irrelevant features, out-of-bag error, and how to choose between the two. ### Follow-up Questions - If each ExtraTrees tree is weaker than a random forest tree, why can the ensemble still be more accurate? - How would you tune `max_features` for ExtraTrees on a dataset with many noise features? - How would you get an honest validation estimate for ExtraTrees trained without bootstrap? - How do histogram-based split searches change the speed comparison?

Overview: Asks how switching from a random forest to extremely randomized trees changes training cost, tree size, bias and variance. Tests understanding of split search complexity, tree correlation in ensembles, the bootstrap default, out-of-bag error and the effect of irrelevant features.

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

What computational and variance tradeoffs occur when moving from a random forest to ExtraTrees (extremely randomized trees)?

What a Strong Answer Covers Guidance

  • The cost of the split search in each algorithm, per feature per node.
  • How tree size, memory use and inference time change.
  • What the default of no bootstrap does to training cost and to bias.
  • The bias-variance mechanism, explained through tree correlation and the strength of individual trees.
  • Practical consequences: number of trees, irrelevant features, out-of-bag error, and how to choose between the two.

Follow-up Questions Guidance

  • If each ExtraTrees tree is weaker than a random forest tree, why can the ensemble still be more accurate?
  • How would you tune max_features for ExtraTrees on a dataset with many noise features?
  • How would you get an honest validation estimate for ExtraTrees trained without bootstrap?
  • How do histogram-based split searches change the speed comparison?