Skip to main content
QUICK REVIEW

[Paper Review] Instance-Based Uncertainty Estimation for Gradient-Boosted Regression Trees

Jonathan Brophy, Daniel Lowd|arXiv (Cornell University)|May 23, 2022
Statistical Methods and InferenceMathematics5 citations
TL;DR

This paper proposes IBUG, a method that enhances any gradient-boosted regression tree (GBRT) model with instance-based uncertainty estimation by leveraging k-nearest training instances via a tree-ensemble kernel to compute prediction uncertainty. IBUG achieves state-of-the-art probabilistic performance across 22 datasets while maintaining strong point-prediction accuracy, and enables flexible posterior modeling and improved calibration through validation-tuned scalar factors.

ABSTRACT

Gradient-boosted regression trees (GBRTs) are hugely popular for solving tabular regression problems, but provide no estimate of uncertainty. We propose Instance-Based Uncertainty estimation for Gradient-boosted regression trees (IBUG), a simple method for extending any GBRT point predictor to produce probabilistic predictions. IBUG computes a non-parametric distribution around a prediction using the $k$-nearest training instances, where distance is measured with a tree-ensemble kernel. The runtime of IBUG depends on the number of training examples at each leaf in the ensemble, and can be improved by sampling trees or training instances. Empirically, we find that IBUG achieves similar or better performance than the previous state-of-the-art across 22 benchmark regression datasets. We also find that IBUG can achieve improved probabilistic performance by using different base GBRT models, and can more flexibly model the posterior distribution of a prediction than competing methods. We also find that previous methods suffer from poor probabilistic calibration on some datasets, which can be mitigated using a scalar factor tuned on the validation data. Source code is available at https://www.github.com/jjbrophy47/ibug.

Motivation & Objective

  • To address the lack of uncertainty estimation in gradient-boosted regression trees (GBRTs), which are widely used for tabular regression but provide only point predictions.
  • To develop a method that enables any pre-trained GBRT model to produce calibrated probabilistic forecasts without retraining.
  • To improve flexibility in modeling the predictive posterior distribution compared to existing methods that restrict distribution types.
  • To enhance computational efficiency through tree sampling while preserving probabilistic performance.
  • To mitigate poor probabilistic calibration observed in prior methods using a tunable scalar factor on validation data.

Proposed method

  • IBUG uses the GBRT's point prediction as the mean of a predictive distribution, leveraging the model's accurate conditional mean estimation.
  • It defines instance affinity using a tree-ensemble kernel: the number of times two instances co-occur in the same leaf across all trees in the ensemble.
  • For a given test instance, IBUG identifies the k training instances with highest affinity (closest in kernel space) to estimate uncertainty.
  • Uncertainty is modeled non-parametrically using the target instance's k nearest neighbors in the training set, enabling flexible posterior distribution estimation.
  • The method is implemented as a wrapper around any GBRT, requiring no retraining, and supports both parametric and non-parametric distribution fitting on the k-nearest neighbors.
  • Runtime is improved via tree sampling strategies—especially first-to-last sampling—which reduces computation with minimal loss in performance.

Experimental results

Research questions

  • RQ1Can a post-hoc method extend any GBRT model to produce reliable probabilistic predictions with uncertainty estimates?
  • RQ2How does IBUG’s instance-based uncertainty estimation compare to state-of-the-art methods like NGBoost, PGBM, and CBU in terms of probabilistic and point performance?
  • RQ3Can IBUG flexibly model diverse posterior distributions by using different base GBRT models?
  • RQ4Does tree sampling significantly reduce inference time without degrading probabilistic performance?
  • RQ5Can a scalar calibration factor improve the probabilistic calibration of IBUG and other uncertainty methods on datasets where calibration is poor?

Key findings

  • IBUG achieves comparable or better probabilistic performance than state-of-the-art methods across 22 benchmark regression datasets, as measured by CRPS and NLL.
  • On 11 small datasets, IBUG outperforms BART in both probabilistic (CRPS) and point (RMSE) performance, with a 11-0-0 win-tie-loss record in CRPS.
  • Sampling trees first-to-last achieves optimal NLL performance with only 5% of trees on average, significantly reducing inference time.
  • IBUG can flexibly model the posterior using any parametric or non-parametric distribution on the k-nearest neighbors, unlike NGBoost, PGBM, and CBU, which are restricted to specific distributions.
  • The method improves probabilistic calibration by applying a scalar factor tuned on validation data, addressing poor calibration observed in prior methods.
  • IBUG maintains state-of-the-art point-prediction performance while adding uncertainty estimation, making it suitable for real-world regression applications requiring both accuracy and reliability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.