[Paper Review] Uncertainty in Gradient Boosting via Ensembles
The paper proposes ensemble-based uncertainty estimation for gradient-boosted decision trees (GBDTs) including Stochastic Gradient Langevin Boosting (SGLB) and a virtual ensemble (vSGLB) to quantify data and knowledge uncertainty, with applications to out-of-domain detection.
For many practical, high-risk applications, it is essential to quantify uncertainty in a model's predictions to avoid costly mistakes. While predictive uncertainty is widely studied for neural networks, the topic seems to be under-explored for models based on gradient boosting. However, gradient boosting often achieves state-of-the-art results on tabular data. This work examines a probabilistic ensemble-based framework for deriving uncertainty estimates in the predictions of gradient boosting classification and regression models. We conducted experiments on a range of synthetic and real datasets and investigated the applicability of ensemble approaches to gradient boosting models that are themselves ensembles of decision trees. Our analysis shows that ensembles of gradient boosting models successfully detect anomalous inputs while having limited ability to improve the predicted total uncertainty. Importantly, we also propose a concept of a virtual ensemble to get the benefits of an ensemble via only one gradient boosting model, which significantly reduces complexity.
Motivation & Objective
- Motivate and formalize the need for predictive uncertainty in GBDT models used on tabular data.
- Develop ensemble-based frameworks to separate data uncertainty from knowledge uncertainty for GBDT predictions.
- Propose methods to generate ensembles of GBDT models (SGB and SGLB) and introduce a virtual ensemble (vSGLB) to reduce computation.
- Analyze the properties of ensemble-based uncertainty estimates on synthetic data and evaluate on classification and regression benchmarks.
Proposed method
- Frame uncertainty within a Bayesian ensemble perspective where model parameters are random variables and predictions are aggregated over posterior samples.
- Describe entropy-based total uncertainty and mutual-information-based knowledge uncertainty, plus a variance-based decomposition for regression.
- Characterize three ensemble strategies: SGB (random data subsampling), SGLB (Langevin dynamics to sample from the posterior), and virtual SGLB (using truncated sub-models of a single GBDT).
- Explain SGLB’s update with injected Gaussian noise and a shrinkage-based update rule that yields a stationary posterior distribution.
- Introduce a virtual ensemble construction by selecting every K-th parameter set from an SGLB trajectory to form an ensemble with reduced cost.
- Utilize NGBoost-style predictive distributions (mean and variance) for regression and a distribution over classes for classification, trained with negative log-likelihood.
Experimental results
Research questions
- RQ1Can ensemble methods (SGB, SGLB) provide meaningful estimates of data and knowledge uncertainty for GBDT models?
- RQ2Does a virtual ensemble (vSGLB) retain uncertainty benefits while reducing computational cost?
- RQ3How do ensemble-based uncertainty estimates perform in detecting out-of-domain inputs and errors in classification and regression tasks?
- RQ4What are the comparative advantages of SGB vs. SGLB vs. vSGLB in practical uncertainty estimation for GBDT?
Key findings
- Ensembles of GBDT models can detect anomalous (out-of-domain) inputs via increased total and knowledge uncertainty, with knowledge uncertainty highlighting OOD regions.
- SGLB ensembles asymptotically sample from the true posterior, enabling principled uncertainty estimation.
- A virtual ensemble (vSGLB) derived from a single GBDT model can yield useful knowledge-uncertainty signals, especially in classification with categorical features, while reducing computational cost.
- For regression and classification tasks, total uncertainty is generally more effective for error detection than knowledge uncertainty, which provides stronger OOD signals.
- vSGLB tends to underperform true SGLB ensembles due to correlations among truncated sub-models, though it remains useful in certain settings (notably with categorical features).
- Overall, ensembles provide principled uncertainty estimates for GBDTs, with better OOD detection when using knowledge uncertainty, and with vSGLB offering a cheap but sometimes weaker alternative.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.