Abstract
Probabilistic Gradient Boosting Machines (PGBM) introduce a highly efficient method for obtaining uncertainty estimates from a single ensemble of decision trees. By treating leaf weights as random variables and leveraging PyTorch’s automatic differentiation, PGBM achieves state-of-the-art accuracy while being orders of magnitude faster than existing probabilistic boosting methods.
Introduction
Gradient Boosting Machines (GBMs), such as XGBoost and LightGBM, are standard for tabular data but primarily focus on point predictions. In domains like retail forecasting or financial risk management, quantifying uncertainty through probabilistic forecasts is critical.
Existing methods for probabilistic GBMs often face scalability issues. Quantile Regression requires training a separate model for every estimated quantile, while Natural Gradient methods (e.g., NGBoost) are computationally expensive due to the need for frequent matrix inversions. PGBM addresses these challenges by providing a full probability distribution from a single, fast model capable of handling datasets with millions of rows.
Methods
The fundamental innovation of PGBM is the use of Stochastic Leaf Weights. Instead of fixed scalar values, leaf weights are treated as random variables. During training, the model calculates the sample mean and variance of gradients and Hessians for data points in each leaf.
Key components of the architecture include:
- Moment Aggregation: New stochastic update equations aggregate means and variances across the ensemble, sequentially updating the estimated conditional mean and variance for each sample.
- Post-hoc Distribution Sampling: Once trained, the model outputs a mean and variance. Users can then choose a distribution (e.g., Normal, Student’s t, Laplace) to sample from, allowing for flexible forecasts without retraining.
- Autodiff Integration: Implemented in PyTorch, PGBM utilizes automated differentiation, allowing researchers to plug in complex, custom loss functions without manual derivation of gradients and Hessians.
Experimental Results
The researchers evaluated PGBM on 11 UCI regression benchmarks and the large-scale Walmart M5 Forecasting Competition dataset.
Accuracy and Performance
PGBM demonstrates superior performance in both point and probabilistic metrics. On UCI benchmarks, it improved the Continuous Ranked Probability Score (CRPS) by an average of 15% and Root Mean Squared Error (RMSE) by 20% compared to NGBoost. Notably, PGBM often outperforms competitors on probabilistic metrics even when explicitly optimizing for point metrics like Mean Squared Error.
Computational Efficiency
A primary advantage of PGBM is its speed. By leveraging custom CUDA kernels and parallel reductions, PGBM-gpu is significantly faster than CPU-based probabilistic methods and scales efficiently to massive datasets like Higgs (10.5M samples).
Key Insights
- The Power of ρ: The authors introduced a "tree correlation" hyperparameter (ρ) that accounts for dependence between subsequent trees. Tuning this single parameter after training allows practitioners to sharpen or spread uncertainty estimates based on validation data.
- Complex Loss Functions: In the hierarchical M5 task, using a custom weighted loss function via autodiff led to a 300% improvement in probabilistic forecasting performance at aggregate levels compared to standard models.
Conclusion and Future Work
PGBM offers a scalable solution for probabilistic regression at scale. Current limitations include the estimation of only the first two moments (mean and variance), which cannot directly capture skewness or kurtosis. Future work may explore establishing formal error bounds for the learned statistics and making the tree correlation parameter ρ sample-specific to better capture local uncertainty.
Summary updated