- Introduced by
- Ridgeway, G.; Chipman, H. A. et al.
- Year
- 1999–2010
- Type
- Probabilistic ensemble (Bayesian interpretation of boosting)
- Family
- Machine learning
What does it do?
Bayesian boosting refers to ensemble methods that combine many weak learners under a Bayesian model, so that predictions come with a posterior distribution rather than a single deterministic value.
The term is used broadly, and its properties vary between variants. The framework most associated with it is Bayesian Additive Regression Trees (BART), and the properties described in this entry apply to BART in particular. Unlike standard gradient boosting, which yields a point estimate, the posterior supports interval estimates of the regression function.
The intuition behind the method
Standard boosting builds an ensemble of weak learners, each correcting the errors of the current ensemble, and returns one prediction with no statement of confidence. The Bayesian version treats the ensemble as a random object: a prior states which ensembles are plausible before seeing data, and the data update that belief to a posterior. Predictions are then averages over plausible ensembles, and their spread indicates how well the data support them. A useful analogy is a committee whose members each give a probability distribution rather than a single answer; Bayesian boosting combines those distributions according to the rules of probability.
History
The term 'Bayesian boosting' is used loosely and has no single established originator. The concrete framework discussed here, Bayesian Additive Regression Trees (BART), was presented by Chipman, George and McCulloch (2010) in the Annals of Applied Statistics. The authors describe it as a Bayesian sum-of-trees model, motivated by ensemble and boosting methods, in which each tree is constrained by a regularisation prior to be a weak learner. Fitting uses an iterative Bayesian backfitting MCMC algorithm that generates posterior samples. The model was evaluated in a bake-off against competing methods on 42 datasets, in a simulation experiment, and on a drug discovery classification problem.
When to use it
Choose Bayesian boosting when a single point prediction is not enough and the uncertainty of the fitted regression function matters, for example when interval estimates feed a decision or when you need to see where the data give little support for the model. BART was evaluated on regression and classification problems with several predictors, and its posterior summaries also support variable selection and estimation of marginal predictor effects. Avoid it when only fast predictions are needed, when computing resources are limited, when the data are so scarce that a prior cannot be justified, or when the dataset is so large that posterior sampling becomes impractical.
Limitations and considerations
- Posterior sampling by MCMC is computationally heavier than fitting a single boosted ensemble, and its cost grows with the number of observations and trees.
- Results depend on the prior: the regularisation prior encodes how weak each tree should be, and a poor setting can bias the intervals, especially with small samples.
- Implementations differ in maturity and documentation, so the choice of software needs checking.
- Interval estimates are only as reliable as the MCMC run that produced them, so poor convergence or mixing can give misleading results.
- Very high-dimensional predictors or very large samples make full MCMC impractical, so approximations or subsampling may be needed.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Provides posterior summaries of the regression function, including point and interval estimates, rather than only a single fitted value.
- The regularisation prior keeps each tree a weak learner, which limits the influence of any single tree on the fit.
- Predictor inclusion frequencies across posterior draws can be used for model-free variable selection, as described for BART.
- The posterior also allows estimation of marginal effects of individual predictors, not only overall predictions.
- Posterior draws let uncertainty be carried into later calculations instead of being discarded at the prediction step.
Applications
- Regression problems in which interval estimates of the unknown regression function are needed alongside point estimates.
- Variable selection based on predictor inclusion frequencies across posterior draws, and estimation of marginal predictor effects.
- Classification problems such as drug discovery, one of the problems used to evaluate BART.
How it works
How it works
A prior is placed over the possible ensemble functions. In BART the ensemble is a sum of trees, and a regularisation prior constrains each tree to be a weak learner, so that no single tree dominates the fit before any data are seen. Together with a likelihood for the observed responses, this prior defines the statistical model.
The regression function is written as a sum of many trees, each acting as a weak learner. In BART the trees are updated in turn: one tree is refitted to the partial residuals left by the others while those are held fixed. This backfitting step is repeated within the sampler.
Formula
f(x) = \sum_{m=1}^{M} g_m(x)Bayes' theorem combines the prior with the likelihood of the observed data to give the posterior over the ensemble. For BART the posterior is explored with an MCMC algorithm that generates samples from it, because it is not available in closed form.
Formula
p(f | \mathcal{D}) \propto p(\mathcal{D} | f)\, p(f)The point prediction is the posterior mean of the function at a given input, and interval estimates come from the spread of posterior draws. Because the draws come from the posterior, the same samples also support summaries of predictor use, such as how often each predictor enters the trees.
Formula
\hat{y} = \mathbb{E}[f(x) | \mathcal{D}]Common pitfalls
- Using vague or default priors without checking their influence on the posterior, especially with small datasets.
- Reporting only the posterior mean and ignoring the posterior spread, which discards the main benefit over standard boosting.
- Confusing a posterior credible interval for the regression function with a posterior predictive interval: the first describes uncertainty about the function, while the second also includes observation noise, so they answer different questions.
- Skipping posterior predictive checks to verify that the fitted model is consistent with the observed data.
- Interpreting MCMC output as reliable without checking convergence and mixing, which can make the reported intervals misleading.
Frequently asked questions
How does Bayesian boosting differ from standard gradient boosting?
Standard gradient boosting (for example XGBoost or LightGBM) produces a single deterministic prediction by summing weak learners fitted to residuals. Bayesian boosting places a prior over the ensemble, updates it with data to obtain a posterior, and reports a distribution of predictions, which gives interval estimates rather than a single point.
Is BART the same as Bayesian boosting?
BART (Bayesian Additive Regression Trees) is the framework most associated with this term. It is a sum-of-trees model in which each tree is a weak learner under a regularisation prior, and inference uses MCMC to produce posterior samples for point and interval estimates.
Can Bayesian boosting scale to large datasets?
Full MCMC-based inference is computationally heavier than standard gradient boosting and can become impractical on very large datasets. Approximate methods can reduce the cost, but they may represent uncertainty less fully than sampling does, so compare their results with sampling-based results where feasible.
When should I prefer standard gradient boosting over Bayesian boosting?
When fast predictions matter most, when uncertainty quantification is not needed, or when the dataset is very large and computing resources are limited. Standard gradient boosting can also be paired with separate uncertainty methods, which are separate techniques and are not covered here.
What software implements Bayesian boosting?
Implementations of BART exist in several statistical software environments. Their maturity and documentation vary, so check them before relying on a particular one, and confirm that their output matches the published method.
Related methods
Sources
Ridgeway, G. (1999). The state of boosting. Computing Science and Statistics, 31, 172–181.
Open publication referenceChipman, H. A., George, E. I., & McCulloch, R. E. (2010). BART: Bayesian additive regression trees. Annals of Applied Statistics, 4(1), 266–298.
Open DOI reference