What is the inductive bias of a decision tree?

Quick Overview

A machine learning interview question on the inductive bias of decision trees, covering both what a tree can represent and which trees greedy learning prefers. It tests reasoning about axis-aligned splits, piecewise-constant predictions, extrapolation, greedy search limits and the bias-variance behavior of tree ensembles.

What is the inductive bias of a decision tree?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What is the inductive bias of a decision tree? Cover both the functions a tree can represent and the trees its learning algorithm tends to find. ```hint Two kinds of bias Separate the shape of the functions a tree can express from the preference built into how the tree is grown. ``` ```hint Picture the boundary Sketch the boundary a tree draws when two classes are separated by a diagonal line, and what it predicts outside the range of the training targets. ``` ### What a Strong Answer Covers - The representation bias: axis-aligned splits and piecewise-constant leaves, and what that means for diagonal boundaries and extrapolation - The search or preference bias that comes from greedy impurity-based splitting and from size limits or pruning - Properties that follow, such as invariance to monotonic feature transforms and handling of mixed feature types - The bias-variance consequence for deep trees, and how bagging and boosting each change it ### Follow-up Questions - Why can a greedily grown tree miss an XOR-style interaction that a tree can represent perfectly? - How do oblique trees or engineered features such as ratios change the representation bias? - Why does gradient boosting usually use shallow trees while random forests grow deep ones?

Overview: A machine learning interview question on the inductive bias of decision trees, covering both what a tree can represent and which trees greedy learning prefers. It tests reasoning about axis-aligned splits, piecewise-constant predictions, extrapolation, greedy search limits and the bias-variance behavior of tree ensembles.

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

What is the inductive bias of a decision tree? Cover both the functions a tree can represent and the trees its learning algorithm tends to find.

What a Strong Answer Covers Guidance

  • The representation bias: axis-aligned splits and piecewise-constant leaves, and what that means for diagonal boundaries and extrapolation
  • The search or preference bias that comes from greedy impurity-based splitting and from size limits or pruning
  • Properties that follow, such as invariance to monotonic feature transforms and handling of mixed feature types
  • The bias-variance consequence for deep trees, and how bagging and boosting each change it

Follow-up Questions Guidance

  • Why can a greedily grown tree miss an XOR-style interaction that a tree can represent perfectly?
  • How do oblique trees or engineered features such as ratios change the representation bias?
  • Why does gradient boosting usually use shallow trees while random forests grow deep ones?