Gradient Boosting Performs Gaussian Process Inference

Aleksei Ustimenko, Artem Beliakov, Liudmila Prokhorenkova

TL;DR

This paper provides a theoretical bridge between Gradient Boosted Decision Trees (GBDT) and Bayesian inference by proving that regularized GBDT with symmetric trees is equivalent to solving a Kernel Ridge Regression problem. Leveraging this connection, the authors introduce KGB (Kernel Gradient Boosting), a method that transforms GBDT into a Gaussian Process sampler to provide superior uncertainty estimates and out-of-domain detection for tabular data.

Introduction & Motivation

While Gradient Boosted Decision Trees (GBDT) remain the state-of-the-art for tabular datasets, they have historically lacked the rigorous probabilistic foundation enjoyed by neural networks or Gaussian Processes (GPs). Specifically, estimating knowledge uncertainty (epistemic uncertainty)—knowing when the model is "guessing" because it hasn't seen similar data—is difficult with standard boosting.

Existing approaches like Stochastic Gradient Langevin Boosting (SGLB) attempt to provide uncertainty estimates by sampling from a stationary distribution, but their convergence rates are often unknown or dependent on the input dimension. This paper seeks to provide a dimension-free theoretical framework that explains why GBDT works through the lens of kernel methods and how to use that theory to build better uncertainty-aware models.

Methodology: Kernel Gradient Boosting

The authors focus on GBDT using symmetric (oblivious) decision trees, a structure popularized by the CatBoost library where all nodes at the same depth share the same split criterion.

  1. RKHS Reformulation: They prove that the iterative process of GBDT with $L_2$ regularization is equivalent to functional gradient descent in a Reproducing Kernel Hilbert Space (RKHS). They define a "stationary kernel" $K$ based on the uniform distribution over all possible tree structures.
  2. Convergence Proof: They demonstrate that GBDT converges to the solution of a Kernel Ridge Regression (KRR) problem, which is mathematically identical to the posterior mean of a Gaussian Process.
  3. KGB Algorithm (Kernel Gradient Boosting): To estimate variance (uncertainty), they use a "Sample-then-Optimize" strategy:
  4. SamplePrior: Generate an ensemble of random trees to sample from the GP prior.
  5. SamplePosterior: Fit a GBDT model to the residuals of the prior sample.
  6. The resulting model is a sample from the GP posterior. By running this process multiple times, the variance of the predictions provides a robust measure of knowledge uncertainty.

Theoretical Insights

  • GBDT is a GP in Disguise: The most significant insight is that the heuristic process of adding trees to reduce residuals is actually a principled optimization of a kernel-based objective.
  • Dimension-Free Convergence: Unlike many theoretical results in deep learning that depend on the number of parameters or input features, the convergence rates derived here are dimension-free. This explains why GBDT is so robust and fast to converge on high-dimensional tabular data.
  • The Power of Randomization: The theory requires the tree selection process to be properly randomized (using Gumbel noise). This suggests that the "random strength" parameters often used in GBDT libraries for regularization are actually essential for the model to behave like a proper Bayesian estimator.
  • Implicit Kernels: The kernel $K$ is defined implicitly by the space of all possible trees. While we can't easily write down the matrix for this kernel (as there are $(nd)^m$ possible trees), we can sample from it efficiently using the boosting procedure itself.

Empirical Results

The authors evaluated their approach on synthetic 2D distributions and ten standard real-world regression benchmarks (including Boston, Concrete, Energy, Wine, and Year).

2D Synthetic Dataset Visualization
  • Predictive Accuracy: The proposed KGB method outperformed standard Stochastic Gradient Boosting (SGB) and SGLB in terms of RMSE (Root Mean Square Error) on almost all tested datasets. For example, on the Concrete dataset, KGB achieved an RMSE of 4.30 compared to SGB's 5.21.
  • Uncertainty Quality: KGB significantly improved Out-of-Domain (OOD) detection. Using the Area Under the ROC Curve (AUC-ROC) to detect samples from different distributions, KGB consistently scored higher than baselines (e.g., scoring 0.87 on the Wine dataset vs. 0.74 for SGB). As visualized in the 2D synthetic experiments, the model's uncertainty appropriately scales as predictions move further from the training domain.
  • Theoretical Soundness: Unlike SGLB, which has asymptotic guarantees, KGB's convergence is theoretically grounded and non-asymptotic, providing more reliable samples from the posterior.

Limitations and Future Work

  • Computational Cost: Because KGB requires training an ensemble of models to estimate variance (the "Sample-then-Optimize" part), it is more computationally expensive than a single GBDT pass.
  • Kernel Control: The kernel is currently defined by the tree-building heuristics. A major direction for future work is learning how to explicitly control or "tune" this implicit kernel to better suit specific data distributions.
  • Generalization: While the paper proves convergence to the posterior mean/variance, it does not deeply explore the generalization bounds of this specific functional formalism, which remains an open research question.

Summary updated

BibTeX
@inproceedings{ustimenko2023gradient,
  author = {Aleksei Ustimenko and Artem Beliakov and Liudmila Prokhorenkova},
  title = {{Gradient Boosting Performs Gaussian Process Inference}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=3VKiaagxw1S},
}
Figure