Why are decision trees unstable under small perturbations in the training data?

Quick Overview

Asks why a decision tree can change its structure and predictions when only a few training points change. Tests understanding of greedy split selection, near-tied impurity scores, how one split change cascades down the tree, and why pruning, bagging and random forests reduce the variance.

Why are decision trees unstable under small perturbations in the training data?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why are decision trees unstable under small perturbations in the training data? Here "unstable" means that adding, removing or slightly changing a few training points can produce a tree with a very different structure and different predictions. ```hint Look at the build process Think about how a tree chooses the split at each node, and what happens to everything below a node when that choice changes. ``` ### What a Strong Answer Covers - Greedy split selection and why near-ties make the chosen split fragile - How a change at one node propagates to every node below it - Hard thresholds and the bias-variance profile of deep trees - Mitigations, including why averaging many trees works ### Follow-up Questions - Why does a random forest consider only a random subset of features at each split? - Does gradient boosting with shallow trees suffer from the same instability? - How would you measure how unstable a tree is on your own dataset? - If the business needs a single interpretable tree, how would you make its structure more stable?

Overview: Asks why a decision tree can change its structure and predictions when only a few training points change. Tests understanding of greedy split selection, near-tied impurity scores, how one split change cascades down the tree, and why pruning, bagging and random forests reduce the variance.

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

Why are decision trees unstable under small perturbations in the training data?

Here "unstable" means that adding, removing or slightly changing a few training points can produce a tree with a very different structure and different predictions.

What a Strong Answer Covers Guidance

  • Greedy split selection and why near-ties make the chosen split fragile
  • How a change at one node propagates to every node below it
  • Hard thresholds and the bias-variance profile of deep trees
  • Mitigations, including why averaging many trees works

Follow-up Questions Guidance

  • Why does a random forest consider only a random subset of features at each split?
  • Does gradient boosting with shallow trees suffer from the same instability?
  • How would you measure how unstable a tree is on your own dataset?
  • If the business needs a single interpretable tree, how would you make its structure more stable?