- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 3
- Significance
- 2
Read review
Summary
This paper presents a GPU implementation of Bayesian Additive Regression Trees (BART), aimed at addressing the method's principal practical limitation (its slow runtime) which has confined BART to a niche role relative to non-Bayesian competitors such as XGBoost. The authors release their implementation as a Python package, bartz, built on the JAX framework. To accommodate XLA's requirement for statically defined computation, the implementation is restructured in a "branchless" form, relying on a fixed maximum tree depth, a heap-based tree representation, full-data scans with masking, and 1-byte quantization of predictors. The reported results show up to a 100x speedup on GPU relative to CPU, competitive runtime on CPU against the fastest existing BART implementation (dbarts), and predictive accuracy comparable to established BART packages. A notable observation is that BART appears to parallelize more effectively than gradient-boosted trees, achieving larger GPU-over-CPU gains than XGBoost. Overall, the contribution is primarily one of engineering and systems implementation rather than methodological innovation: the underlying model and MCMC are unchanged, and the value lies in making an existing method substantially more usable at scale.
Strengths and weaknesses
Strengths
- The work meaningfully addresses BART's well-known runtime limitation, in particular the bottleneck that emerges when the training set size exceeds roughly n = 10,000, where the proposed implementation begins to outperform existing alternatives.
- The implementation is not GPU-only; it also runs competitively on CPU, which broadens its practical applicability across hardware settin
Weaknesses
- The novelty of the GPU implementation itself is limited. The engineering choices are sensible but largely adapt established techniques (e.g., quantization as in LightGBM, branchless execution for XLA), and it is difficult to identify a distinctly new methodological contribution.
- The comparison against existing methods (particularly frequentist baselines) raises a concern about how the appropriate number of MCMC iterations for BART was determined. Even if existing BART packages set defaults of 500 or 1,000 iterations, these defaults do not necessarily guarantee an adequate number of iterations once n exceeds 10,000. It would be preferable to first establish what constitutes a sufficient iteration count in this regime, and only then to benchmark computational speed; otherwise the timing comparison may rest on an unexamined assumption.
Questions
Does the reported computational advantage also hold for binary or multivariate outcomes? It would be useful to know whether the speedup over existing methods is maintained beyond the continuous-outcome setting on which the benchmarks are based.
Limitations
The empirical evaluation relies on a single data-generating setting, which is a notable shortcoming. It would strengthen the paper to separate the discussion into distinct cases so that the method's behavior across qualitatively different signal structures can be assessed. For example, (1) a standard linear model, (2) a smooth response function constructed from smoothing functions, and (3) a model with many strongly non-linear terms, etc.
Paper formatting concerns
none
Final justification
This paper makes BART run on GPU at a scale that was not practical before, and shows the surprising result that BART parallelizes better than boosting. My concerns - originality, MCMC behavior on large data, other outcome types, and a single DGP - were mostly answered in the rebuttal with practical guidance and new experiments on three large real datasets. The contribution is an implementation rather than a new method, but I consider it valuable given how long this problem has been open. The paper should clearly state that the MCMC may not converge on large data. I have raised my score by one point.
Hi 7DJT, thank you for your review.
Your criticisms and questions are: 1) low originality, 2) uncertainty about the number of MCMC iterations appropriate for large datasets, 3) whether the speedup holds up for different outcome types (binary/multivariate), 4) single DGP instead of multiple ones.
Let's reply one question at a time.
Low originality. It is indeed true that we make no change at all to the BART MCMC, which is almost the same as when BART was published the first time in 2006. To make an analogy, the significance of our work is similar to that of the solution to an open problem in mathematics that nobody has been able to solve in a while, but that everybody knows about. Making BART faster is a long standing issue; trying to implement BART on gpu is not an original idea, but nobody did that before for many years. In particular, the first time we asked someone about this problem, we were told that since xgboost was not fully able to exploit the full power of a gpu, probably BART wouldn't either. Instead, we found that BART parallelizes better.
How many MCMC iterations on large datasets? You are right to suspect that large datasets may upset the MCMC. However, the important factor turns out to be the number of trees, instead of the number of iterations. To appeal to your intuition: at each MCMC step, all trees are processed; so if you think in terms of "number of trees processed", doubling the number of trees is a bit like doubling the number of iterations. However, when the MCMC is stuck, increasing the number of iterations won't unstick the MCMC: you would simply insist at trying to move something that does not move. Instead, increasing the number of trees increases the "elbow room" the MCMC has to make changes to the trees, because each tree contributes less, so a single tree update is a smaller movement in function space and thus easier to accept for the Metropolis.
So: how many trees on large datasets? BART continues to work even if you do not increase the number of trees, but the MCMC often gets stuck, behaving like a tree search algorithm instead of a proper posterior sampler. It is normal practice for BART not to converge. To make it behave like a proper Bayesian inference, increase the number of trees until they are shallow (say 6 leaves per tree) and the MCMC acceptance is at least say 5%; these two stats are printed by the progress bar. However, the increase in running time may not be worth it. In the appendix, Fig. 4 & 5 report variants of Fig. 3 with high p and/or high number of trees.
Does the speedup hold for binary/multivariate outcomes? We regularly benchmark our package on various settings, even though we did not run the fine scan of the timing benchmark of the paper on everything. Binary outcomes do not change the core algorithm, so the time per iteration is about the same. Multivariate outcomes asymptotically cost no more than if they were unrolled: if you have
nk-dimensional datapoints, it's a bit like havingnkscalar datapoints.Single DGP. We used a linear+quadratic model, you suggest to use a 1) linear, 2) smooth function built from a basis of local smooth functions (not sure here, we are interpreting your words), 3) a function with strongly non-linear term. We did not focus on exploring different DGPs for these reasons: a) for timing measurements, our code is branchless, so it runs in the same time independently of the data, b) the RMSE test is meant to be a single piece of evidence about the correctness of the implementation, we rely on the literature for the performance of BART in general, c) these scans take a long time to run, and multiplying by a grid of DGPs would be annoyingly long.
That said, we guess you would like to see some numbers from new experiments here. We did not make it in time for these first replies to have all the experiments requested by reviewers; the one additional run we have is on 3 datasets, this partially addresses your observations. Summary of that:
These results match what we claim in the paper.
What happens to the MCMC on these datasets? Higgs is stuck because of filling up the trees to the maximum depth, zurich is fine, poker is stuck probably because of getting into a local minimum that fits the data well. However, as you can see from the results, BART still works. Increasing the trees to 1600 on Higgs and poker, we get: