Table of Contents
Fetching ...

What Functions Does XGBoost Learn?

Dohyeong Ki, Adityanand Guntuboyina

TL;DR

This work builds a rigorous theoretical framework for the function class implicitly learned by XGBoost by introducing $\mathcal{F}^{d,s}_{\infty-\text{ST}}$ and the complexity measure $V^{d,s}_{\infty-\text{XGB}}(\cdot)$. It proves that solving the XGBoost objective is equivalent to a penalized least squares problem over this enlarged class and links the function space to Hardy–Krause variation, providing dimension-robust minimax rates of order $n^{-2/3}$ up to logarithmic factors. The results show that XGBoost effectively regularizes functions of controlled HK variation and interaction order, offering a principled explanation for its strong performance in high-dimensional settings. An open question remains whether the XGBoost algorithm itself attains minimax optimality over this class, beyond the theoretical target objective analyzed here. Overall, the paper bridges algorithmic practice with classical statistical regularization, clarifying the function space XGBoost targets and the role of $L^1$-based complexity control.

Abstract

This paper establishes a rigorous theoretical foundation for the function class implicitly learned by XGBoost, bridging the gap between its empirical success and our theoretical understanding. We introduce an infinite-dimensional function class $\mathcal{F}^{d, s}_{\infty-\text{ST}}$ that extends finite ensembles of bounded-depth regression trees, together with a complexity measure $V^{d, s}_{\infty-\text{XGB}}(\cdot)$ that generalizes the $L^1$ regularization penalty used in XGBoost. We show that every optimizer of the XGBoost objective is also an optimizer of an equivalent penalized regression problem over $\mathcal{F}^{d, s}_{\infty-\text{ST}}$ with penalty $V^{d, s}_{\infty-\text{XGB}}(\cdot)$, providing an interpretation of XGBoost as implicitly targeting a broader function class. We also develop a smoothness-based interpretation of $\mathcal{F}^{d, s}_{\infty-\text{ST}}$ and $V^{d, s}_{\infty-\text{XGB}}(\cdot)$ in terms of Hardy--Krause variation. We prove that the least squares estimator over $\{f \in \mathcal{F}^{d, s}_{\infty-\text{ST}}: V^{d, s}_{\infty-\text{XGB}}(f) \le V\}$ achieves a nearly minimax-optimal rate of convergence $n^{-2/3} (\log n)^{4(\min(s, d) - 1)/3}$, thereby avoiding the curse of dimensionality. Our results provide the first rigorous characterization of the function space underlying XGBoost, clarify its connection to classical notions of variation, and identify an important open problem: whether the XGBoost algorithm itself achieves minimax optimality over this class.

What Functions Does XGBoost Learn?

TL;DR

This work builds a rigorous theoretical framework for the function class implicitly learned by XGBoost by introducing and the complexity measure . It proves that solving the XGBoost objective is equivalent to a penalized least squares problem over this enlarged class and links the function space to Hardy–Krause variation, providing dimension-robust minimax rates of order up to logarithmic factors. The results show that XGBoost effectively regularizes functions of controlled HK variation and interaction order, offering a principled explanation for its strong performance in high-dimensional settings. An open question remains whether the XGBoost algorithm itself attains minimax optimality over this class, beyond the theoretical target objective analyzed here. Overall, the paper bridges algorithmic practice with classical statistical regularization, clarifying the function space XGBoost targets and the role of -based complexity control.

Abstract

This paper establishes a rigorous theoretical foundation for the function class implicitly learned by XGBoost, bridging the gap between its empirical success and our theoretical understanding. We introduce an infinite-dimensional function class that extends finite ensembles of bounded-depth regression trees, together with a complexity measure that generalizes the regularization penalty used in XGBoost. We show that every optimizer of the XGBoost objective is also an optimizer of an equivalent penalized regression problem over with penalty , providing an interpretation of XGBoost as implicitly targeting a broader function class. We also develop a smoothness-based interpretation of and in terms of Hardy--Krause variation. We prove that the least squares estimator over achieves a nearly minimax-optimal rate of convergence , thereby avoiding the curse of dimensionality. Our results provide the first rigorous characterization of the function space underlying XGBoost, clarify its connection to classical notions of variation, and identify an important open problem: whether the XGBoost algorithm itself achieves minimax optimality over this class.
Paper Structure (39 sections, 31 theorems, 372 equations)

This paper contains 39 sections, 31 theorems, 372 equations.

Key Result

Proposition 1

The class ${\mathcal{F}^{d, s}_{\text{ST}}}$ of all finite sums of right-continuous regression trees of depth at most $s$ can be characterized as

Theorems & Definitions (66)

  • Proposition 1
  • Definition 1
  • Proposition 2
  • Definition 2: Quasi-volume
  • Definition 3: Axis-aligned split
  • Definition 4: Vitali variation
  • Definition 5: HK variation
  • Proposition 3
  • Remark 1: $d = 1$
  • Definition 6: ${V^{d, s}_{\infty-\text{XGB}}}(\cdot)$
  • ...and 56 more