potentialpaper

Very Fast Bayesian Additive Regression Trees on GPU

Giacomo Petrillo

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. BART is an old sort of Bayesian tree boosting; this paper presents the first gpu version of BART, which makes it fast enough to be used on large datasets

Abstract. Bayesian Additive Regression Trees (BART) is a nonparametric Bayesian regression technique based on an ensemble of decision trees. It is part of the toolbox of many statisticians. The overall statistical quality of the regression is typically higher than other generic alternatives, and it requires less manual tuning, making it a good default choice. However, it is a niche method compared to natural competitors such as XGBoost, due to the longer running time, making sample sizes above 10000-100000 a nuisance. We present a GPU implementation of BART, up to 500x faster than the previous state of the art, making BART fast enough to be a viable option on large datasets, and showing that BART parallelizes better than its non-Bayesian counterparts. We also find that, to be as practical as tree boosting on large datasets, BART would need a scalable way to infer the number of trees, which we do not provide. Our implementation is available in the Python package bartz.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This is the companion paper to the Python package bartz, which introduces a fast GPU-based implementation of the BART model, with performance claimed competitive with XGBoost but advantage of being a Bayesian approach.

The key strengths are that this is very important problem (Tz31, 6yNo, 7DJT), clearly stated limitations (Tz31), and SOTA performance (apwJ, 6yNo, 7DJT).

The key weakness is that empirical evaluation is narrow (Tz31), and parts of the experimental presentation can be seen as misleading (apwJ, 7DJT).

I am worried about exactly one question, which I think distills reviewers' worries (for instance 7DJT mentioning what about n equal to 10000) into one line: does the MCMC scheme used converge slower as data size increases, and if it does, does this slower convergence result in lower-quality predictions or uncertainty quantification? I think it is critical that this is evaluated - I would consider accepting the paper even if the answer is that yes the method does degrade, as the software package is contribution enough by itself, but think the readers need to definitively know the answer to understand what the algorithms can and cannot do. I am recommending tentative acceptance at this stage on basis of the fact that I anticipate the authors can do this - if they cannot, my decision recommendation would change.

Final justification

The authors appear to have engaged with the key request above, no additional serious issues were surfaced by reviewers, and the authors have promised to honestly state limitations about convergence, which are a general feature of the model class and not specific to their approach, in their paper. Therefore, I am reasonably confident the camera-ready version of this paper will be at the bar, and recommend acceptance.

Area Chair Babv · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This is the companion paper to the Python package bartz, which introduces a fast GPU-based implementation of the BART model, with performance claimed competitive with XGBoost but advantage of being a Bayesian approach.

The key strengths are that this is very important problem (Tz31, 6yNo, 7DJT), clearly stated limitations (Tz31), and SOTA performance (apwJ, 6yNo, 7DJT).

The key weakness is that empirical evaluation is narrow (Tz31), and parts of the experimental presentation can be seen as misleading (apwJ, 7DJT).

I am worried about exactly one question, which I think distills reviewers' worries (for instance 7DJT mentioning what about n equal to 10000) into one line: does the MCMC scheme used converge slower as data size increases, and if it does, does this slower convergence result in lower-quality predictions or uncertainty quantification? I think it is critical that this is evaluated - I would consider accepting the paper even if the answer is that yes the method does degrade, as the software package is contribution enough by itself, but think the readers need to definitively know the answer to understand what the algorithms can and cannot do. I am recommending tentative acceptance at this stage on basis of the fact that I anticipate the authors can do this - if they cannot, my decision recommendation would change.

Final justification

The authors appear to have engaged with the key request above, no additional serious issues were surfaced by reviewers, and the authors have promised to honestly state limitations about convergence, which are a general feature of the model class and not specific to their approach, in their paper. Therefore, I am reasonably confident the camera-ready version of this paper will be at the bar, and recommend acceptance.

Reviewer 7DJTOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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.

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.

Formatting concerns

none

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

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.

  1. 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.

  2. 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.

  1. 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 n k-dimensional datapoints, it's a bit like having nk scalar datapoints.

  2. 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:

  • Higgs, 11M rows, 28 columns, classification. bartz/xgboost: RMSE 0.415/0.413, time (s) 96/6.6
  • delays_zurich_transport, 5.5M rows, 20 columns, regression, very noisy. bartz/xgboost: RMSE 2.96/2.96, time (s) 81/2.8, bartz coverage at 50%: 46%
  • poker, 1M rows, 5 columns, classification, almost deterministic. bartz/xgboost: RMSE 0.119/0.322, time (s) 33/0.7

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:

  • Higgs, bartz 200/1600 trees: RMSE 0.415/0.402, time (s) 96/1015, leaves per tree 29/12, tree structure acceptance 0.013/0.048
  • poker, bartz 200/1600 trees: RMSE 0.119/0.081, time (s) 33/233, leaves per tree 16/7, tree structure acceptance 0.006/0.035
Reviewer 7DJT · CommentOpenReview ↗

Thank you for the honest and detailed rebuttal. The new experiments on three large datasets (Higgs, Zurich, Poker) and the runs with more trees answer my questions about the single DGP and about how to handle large datasets. The method itself is not new, as the authors admit, but making BART run at this scale is a useful contribution, and the finding that BART works better on GPU than boosting is interesting. One concern remains: the authors say it is normal for BART not to converge. If the MCMC does not converge, the posterior inference is not valid, so the paper should say this clearly and explain the diagnostics (acceptance rate, leaves per tree) in the main text. Overall, my main concerns have been addressed, and I have raised my score by one point.

Authors · CommentOpenReview ↗

Final reply to reviewers

(Posting the same reply to all reviewers.)

Thanks Tz31, apwJ, 6yNo and 7DJT.

Based on your initial reviews and the further replies of apwJ, 6yNo and 7DJT, we would revise the paper as follows:

  • Split the time-per-iteration plot in two plots, side by side, showing both time per iteration (like now) and time per 1000 BART iterations or 1 boosting iteration. Putting them side by side, we think that the ambiguities and possible misunderstandings of both presentations will solve themselves by having both cases visible at once.

  • When comparing BART packages, show both RMSE (like now) and coverage on the true simulated latent mean. Coverage on the outcomes is an easy target for an out-of-sample test on simulated data, so it's not discriminating, coverage is always close to the target. Instead, targeting coverage on the latent mean is a harder task, and indeed depending on the configuration BART may undercover.

  • Add a table comparing bartz vs. xgboost on a few datasets. Include bartz with 2000 trees to illustrate the convergence problem. We still have not decided what is the single best metric to measure MCMC mixing, our current idea is to use average tree lifetime estimated as 1 / (acceptance * fraction of empty trees). Acceptance alone is misleading because the trees may be changing but only near the leaves.

  • Mention the convergence problem in the conclusions. It's an important limitation in interpreting the timing benchmarks, and the current discussion about increasing the number of trees to improve convergence is not visible enough (it's in the appendix). Even though this is a pre-existing BART issue, our paper unlocks running BART at higher nn, which makes the problem much more prominent.

  • In the appendix, add various plots and additional information about all of the above.

Furthermore, we would make a change unrelated to the review. Since submission, we optimized the code a bit, and now it's about 2x faster on cpu than before. This means that the cpu vs gpu speedup is about 50x instead of 100x, and bartz on cpu is about 5x faster than previous SoTA. To better showcase our work, we would highlight the 200x factor vs SoTA more prominently than the 50x cpu vs gpu. For the "bart parallelizes better than boosting" argument, we would add the framing that since our cpu implementation already beat SoTA with a good margin, we are not getting a "gpu much faster than cpu" result only because our cpu reference is slow.

Reviewer 6yNoOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

BART is a Bayesian nonparametric regression modeling framework which is popular in the applied statistics community. However, despite several works demonstrating superior performance relative to XGBoost or RFs as well as BART's inherent advantage of Bayesian posterior uncertainty quantification, it remains less popular than these algorithms, especially for larger datasets. The paper correctly identifies that this gap is partly due to computational reasons, with BART's MCMC sampler having running time scaling more poorly with both dd and nn. This paper addresses this by introducing an implementation of the sampler that is based on JAX, and hence is able to make use of GPU resources for computational speed ups. The result is a roughly 100x speed up for dataset sizes of around 1 million datapoints.

Strengths and weaknesses

Strengths

  • The paper addresses a clear gap in the literature. BART is a genuinely important and interesting model which is useful not simply for prediction accuracy and principled uncertainty quantification, but also because it provides a level of interpretability via feature importance scoring. However, it suffers from not having computationally efficient and easy to use/understand implementations.
  • The 100x speed up is impressive and makes BART feasible for large industry datasets and not just academic data.
  • The implementation makes it feasible to run BART with many more trees than what was previously possible. This may lead to accuracy gains as well as faster sampler convergence to the stationary distribution.
  • It is nontrivial to rewrite the sampler logic in a branchless fashion so that it is JAX compatible.

Weaknesses

  • The proposed implementation runs out of memory for large pp.
  • The potential accuracy + sampler convergence gains from more trees is discussed but not fully investigated experimentally.
  • The paper's writing is somewhat informal and could be improved for clarity.
Questions
  • Can you provide more evidence for the potential accuracy + sampler convergence gains from more trees?
Limitations

Yes

Final justification

Author has addressed my concerns in their response.

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Hi 6yNo, thanks for your review. Thanks in particular for keeping it short and asking just one question, which we think is important, but other reviewers completely glossed over!

Your question is to show evidence about the effect of the number of trees. We think the number of trees is the single most important hyperparameter to consider when scaling up BART. Alas, since this is an underexplored area in the literature, a full analysis would have blown up the paper beyond scope, so we relegated some comments about this to the appendix, with the only empirical evidence for that being Fig. 5, which is indirect.

So let's first explain what goes on with the number of trees, and then provide some additional evidence in this reply.

BART "wants" to use at least a certain total number of leaves, depending on how many leaves it needs to fit the signal in the data well. The Bayesian formulation yields this behavior automatically. As the number of trees is reduced, at some point the trees start growing deeper because BART is squeezing the leaves it needs into less trees.

The MCMC keeps on moving and mixes well when it manages to reset trees (prune them back to root) every once in a while. When BART is squeezed, it really does not like its precious leaves being taken away, so the MCMC never manages to prune the trees back to root, and gets somewhat stuck. In this regime, the MCMC behaves more like a stochastic search algorithm, stopping after finding trees that fit the data.

However, surprise: BART continues to work even if the MCMC is thus stuck! Indeed, it's normal for BART not to converge. It's not really meant to be used as a kosher bayesian thing, it just works empirically. What happens is that the leaves are always re-sampled from scratch, so they never get stuck. Thus basic uncertainty quantification continues to work, and even if the tree structures are stuck, they get stuck only after doing their job at fitting the data.

The easiest way to reproduce this is to generate a large simulated dataset in high p with an easy DGP, say a linear model. Then the number of leaves that are needed to fit it will be proportional to p and can be controlled. Then, play with the number of trees, and see the acceptance and number of leaves per tree going up and down in the MCMC progress bar.

Next, some more precise evidence. Other reviewers asked about benchmarks on a few datasets. For that, we picked Higgs (11M), delays_zurich_transport (5.5M), and poker (1M), on which we ran bartz with default settings. The default settings use 200 trees, which looks pretty low for datasets in the millions. Indeed, looking at what happens to the acceptance of tree structure changes:

  • zurich has acceptance 5%, which we consider a bit low but ok (a nice one would be 20%, a too high one 40%, it's not the case that higher is better indefinitely in Metropolis steps), and uses (after burn-in) 12 leaves per tree (the maximum in bartz is 32).

  • Higgs has acceptance 1%, with 29/32 leaves, so it's squeezed, it's near the maximum number of leaves allowed by the depth limit. Even the 1% of accepted moves is misleading: the trees may be changing just around the leaves, and are probably never reset completely.

  • poker has 16/32 leaves, and acceptance 0.6%. So it's super-stuck, but does not seem too squeezed! Why? poker has the quirk of being almost completely deterministic, so we hypothesize that BART found some local minimum of trees that explain the data very well, and is stuck there.

Since poker and Higgs seem stuck or squeezed, let's increase the number of trees from the 200 default. We tried 200, 400, 800, 1600. Acceptance systematically goes up, while the number of leaves per tree goes down. At 1600 trees:

  • Higgs (200 => 1600 trees): acceptance 1% => 5%, leaves per tree 29 => 12/32
  • poker (200 => 1600 trees): acceptance 0.6% => 3%, leaves per tree 16 => 7/32

So this shows the behavior we described, in action on interesting datasets: increasing the trees reduces the leaves per tree and makes the MCMC loosen up.

What happens to predictions as we add trees?

  • Higgs (200 => 1600 trees): RMSE 0.415 => 0.402 (xgboost: 0.413)
  • poker (200 => 1600 trees): RMSE 0.119 => 0.081 (xgboost: 0.322)

So they do improve, but not much, considering we increased the number of trees, and thus the running time, by 8x. This shows how a stuck BART MCMC is still able to fit the data; it gets stuck after reaching a good fit.

Note: the definitive answer to tuning the number of trees is Bayesian inference on the number of trees (Collins 2023), which we mention in the paper introduction (at line 25). That's not implemented in bartz, and it would not be a quick thing to implement.

We do realize one important piece of evidence is missing from the numbers we are showing in this reply: the behavior of coverage. We lack low-noise regression datasets. We did not make it in time to prepare other experiments/datasets before the first reply deadline, sorry about that. We may get around to it the next days, possibly your counter-replies will focus what's the most important thing to investigate further.

Reviewer 6yNo · CommentOpenReview ↗

Thank you for the insightful and humorous response. Your explanations make sense to me and agrees with my own experience using BART. I would say that the RMSE gains from more trees, although modest, could be meaningful in certain situations, so I wouldn't undersell them too much. I hope you include these additional results in the revised manuscript. I will raise my score to 5.

Apart from acceptance probabilities, another potential statistic to report is the noise sigma^2 posterior you get from different numbers of trees. If the RMSE gains are because the larger ensemble fits the data better (as opposed to being better regularized), you should expect to see a smaller mean for this distribution.

Authors · CommentOpenReview ↗

Final reply to reviewers

(Posting the same reply to all reviewers.)

Thanks Tz31, apwJ, 6yNo and 7DJT.

Based on your initial reviews and the further replies of apwJ, 6yNo and 7DJT, we would revise the paper as follows:

  • Split the time-per-iteration plot in two plots, side by side, showing both time per iteration (like now) and time per 1000 BART iterations or 1 boosting iteration. Putting them side by side, we think that the ambiguities and possible misunderstandings of both presentations will solve themselves by having both cases visible at once.

  • When comparing BART packages, show both RMSE (like now) and coverage on the true simulated latent mean. Coverage on the outcomes is an easy target for an out-of-sample test on simulated data, so it's not discriminating, coverage is always close to the target. Instead, targeting coverage on the latent mean is a harder task, and indeed depending on the configuration BART may undercover.

  • Add a table comparing bartz vs. xgboost on a few datasets. Include bartz with 2000 trees to illustrate the convergence problem. We still have not decided what is the single best metric to measure MCMC mixing, our current idea is to use average tree lifetime estimated as 1 / (acceptance * fraction of empty trees). Acceptance alone is misleading because the trees may be changing but only near the leaves.

  • Mention the convergence problem in the conclusions. It's an important limitation in interpreting the timing benchmarks, and the current discussion about increasing the number of trees to improve convergence is not visible enough (it's in the appendix). Even though this is a pre-existing BART issue, our paper unlocks running BART at higher nn, which makes the problem much more prominent.

  • In the appendix, add various plots and additional information about all of the above.

Furthermore, we would make a change unrelated to the review. Since submission, we optimized the code a bit, and now it's about 2x faster on cpu than before. This means that the cpu vs gpu speedup is about 50x instead of 100x, and bartz on cpu is about 5x faster than previous SoTA. To better showcase our work, we would highlight the 200x factor vs SoTA more prominently than the 50x cpu vs gpu. For the "bart parallelizes better than boosting" argument, we would add the framing that since our cpu implementation already beat SoTA with a good margin, we are not getting a "gpu much faster than cpu" result only because our cpu reference is slow.

Reviewer apwJOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes a GPU vectorized acceleration scheme for the Bayesian Additive Regression Trees (BART) algorithm. Existing BART implementations suffer from slow performance, making BART not applicable to large-scale datasets and inferior to other algorithms such as XGBoost. This paper carefully designs the data structure and the parallelization algorithm to implement a near-branchless BART, making it well-suited to XLA-based GPU acceleration. Results demonstrate that the proposed implementation achieves a 100x speedup in GPU vs CPU, while maintaining nearly identical error metrics compared to existing BART implementations.

Strengths and weaknesses

Strengths

  1. A comprehensive design for a branchless BART implementation. All proposed data structures, representations and algorithms look reasonable and well-suited for GPU parallelization.
  2. The performance acceleration from existing SOTA BART implementations is significant. This may resolve the main reason BART is less used than its competitors -- its slow performance.
  3. The authors have open-sourced their implementation as a bartz package. I believe that this is a great contribution to the related community.

Weaknesses

  1. Lack of justification for BART over other competitors like XGBoost. Although this proposed method achieves a significant performance boost for BART, it is still slower than XGBoost. The paper needs to justify what advantages BART has in compensation for such a slowdown. Specifically,
    • The paper only provides several qualitative descriptions that BART has a "higher predictive performance" than XGBoost in the Introduction section (L33-L38), but does not provide any experimental results to validate such a claim.
    • Fig. 3 (Right panel) only compares the RMSE on the test set within the family of BART methods. The error metrics of competitors like XGBoost should also be included to see if BART can achieve a lower error, which will provide a strong justification for BART over XGBoost.
  2. Error metrics evaluated on a toy synthetic dataset. I understand that the data source does not matter for the runtime performance (Fig. 3, left panel) experiment, but it matters for predictive error evaluation (Fig. 3, right panel). The method's predictive-error performance cannot be adequately validated using only toy-level synthetic datasets.
  3. Misleading runtime performance plotting. Although the author has noted that BART requires 2000 iterations while gradient boosting requires only 1 iteration, Fig. 3 still plots "time per iteration" rather than the total running time for a single prediction. This makes the plot misleading, since BART-based methods appear faster. Plotting the time taken for a single iteration is less meaningful, as BART is not designed to operate on a single-iteration basis.
  4. Some minor suggestions in writing:
    • This paper heavily uses the notation O(1000)O(1000) to describe "of order 1000", but this is a non-standard use of the big-O notation.
    • I suggest the author split Sec 3 into several subsections to improve the paper's readability.

PS: I'm not an expert in BART or XGBoost-related methods, so I'll also refer to other reviews' opinions for my final justification.

Questions

Besides the questions raised in "Weaknesses", I have some additional questions below:

  1. How easy is the released bartz package to use? Is it a "plug-and-play" package that can directly accept NumPy/JAX arrays for training and prediction?
  2. Is the design proposed in this paper a general concept independent of specific libraries, or is it deeply coupled with JAX-style XLA operations? For example, can the proposed design be adapted to other GPU libraries such as PyTorch?
Limitations

yes

Final justification

The rebuttal has addressed most of my concerns. I'll keep my borderline acceptance score.

Formatting concerns

N/A

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Hi apwJ.

Your most important criticism of our paper is that it does not show any statistical performance comparison of bartz against xgboost, only running time.

The reason we did not include such comparisons is that, whenever we state something about this, we cite existing literature that already did these comparisons (see line 34 in the paper). The reason our RMSE test is on synthetic data and only BART vs. BART, is that its purpose is to show an easy to understand piece of evidence that our implementation of BART is correct, rather than measuring the performance of BART itself, which is 20 years old.

That said, it would be easier to evaluate our paper if the paper itself included its own new measurement of the xgboost vs. BART performance. Furthermore, the previous literature never reaches above 500_000 rows. So we picked 3 large datasets, Higgs (11M rows), delays_zurich_transport (5.5M rows), and poker (1M rows) (with some specific preprocessing from the code of Grinsztajn et al. 2022). The RMSEs are near ties with xgboost on Higgs and zurich, while on poker BART has 2.7x smaller RMSE. This is in line with the existing (and more thorough) comparisons in the literature, which show BART being slightly better on average, though no method dominates on all datasets, as is often the case in such benchmarks.

Some details on these datasets: Higgs is a classification task, p=28, balanced. Zurich is a regression (i.e., continuous outcome variable) task, p=20, very noisy (RMSE is 95% of the total sdev). Poker is a classification task, it's the rank-only version of the old UCI poker dataset; it's weird in that it's almost completely deterministic. It's interesting that here BART can reach a much smaller RMSE, though we don't have anything clever to say about it, it surprised us as well.

Next, let's reply to your next criticism, which is that our timing plot is misleading in that it shows per-iteration instead of total runtime, and the note in the caption and maintext may not be prominent enough. We were aware of this problem when preparing the plot, but total runtime would also be misleading in that it's less well defined than single iteration time. BART packages have varying defaults for the number of iterations and chains they run, and it's common to cross-validate XGBoost: in both cases, the number of iterations is up to the user. These arbitrary factors mean that a total runtime plot would convey less precise information than a single iteration runtime plot. We hope that BART being 100x faster than XGBoost looks so absurd that nobody would take that at face value without checking the caption and noticing there's an additional factor of O(1000), it's not subtle.

If we included in the paper the dataset benchmark, this would be less of a problem because that one would show total runtime in some specific setting. Other reviewers asked about adding a benchmark on datasets, so if that was present, it would mitigate the main plot being per-iteration. We would like to keep the main timing plot precise and surgical instead of making it easier to read for non-experts on a first look in a way that compromises its semantics.

Next, you had a pair of other questions.

Question 1, how easy is the bartz package to use? Quite standard interface, snippet: from bartz import Bart; bart = Bart(x_train, y_train); y_pred = bart.predict(x_test). It's on pypi, it's routinely tested and benchmarked, currently on a monthly release schedule like jax, and we provide an example colab notebook that opens up with the free colab gpu set up. We'll send a link to this colab notebook to the AC, the email instructions said to go through the AC to send code links.

Question 2, would our implementation strategy work on e.g. pytorch? Maaaaybe. Many parts of the MCMC are fiddly operations on small arrays, so we rely on compiling the full mcmc step to reduce python latency. Pytorch does have a compiler and xla support, but last time we checked it looked like it was a second-class citizen. We suspect a pytorch implementation would be possible on paper but would hit a slew of pytorch performance bugs and unsupported features in practice.

Authors · CommentOpenReview ↗

Link to colab notebook for reviewer

https://colab.research.google.com/github/anon-nips2026-36013/bartz/blob/main/docs/examples/basic_simdata.ipynb

We send it through here because the email instructions said "No links. The only exception is if reviewers asked for code, you may send an anonymized link to the AC in an Official Comment, with all linked files anonymized."

Reviewer apwJ · CommentOpenReview ↗

After reading the rebuttal and other reviews, I have the following comments:

  1. Comparison between BART and other competitors like XGBoost: I think the rebuttal is convincing -- indeed, it is not this paper's focus to do such a comparison, which has already been done by the literature for years. Also, I appreciate the authors' efforts to test on 3 real-world datasets, and the results look reasonable. Therefore, I'll consider this issue addressed.
  2. However, I agree with Reviewer Tz31's point of view that the comparison with existing BART methods should not be limited to RMSE. Since BART is a Bayesian method, it should be evaluated not only by point prediction accuracy but also by distributional prediction accuracy, such as posterior coverage. That said, according to the rebuttal to Reviewer Tz31, it seems that the authors have promised to provide such results in the revision.
  3. About the timing plot: I acknowledge that what the rebuttal said is reasonable -- the number of iterations is a tunable hyperparameter so that the total runtime could be less well-defined -- but I still think merely reporting a per-iteration runtime is insufficient. Although the number of iterations is up to the user, in practice BART will not work with a single iteration, so no user will choose such a configuration. I'd encourage the authors to include both results -- a single-iteration runtime and a total runtime with a commonly chosen iteration number (like 20). I also suspect that the total runtime with 20 iterations may not be exactly 20x of a single-iteration runtime, due to some hardware-level factors such as cache hit rate, GPU shared memory bandwidth, etc. It would be interesting to include such a comparison.
  4. Miscellaneous: I'm glad to see the clean and easy-to-use API design for the bartz package. Regarding the possibility of future PyTorch support, I encourage the authors to include such discussions as a paragraph in the final section as a possible future work.

In general, I'm satisfied with the rebuttal. My remaining major issue is the misleading timing plot problem.

Authors · CommentOpenReview ↗

Final reply to reviewers

(Posting the same reply to all reviewers.)

Thanks Tz31, apwJ, 6yNo and 7DJT.

Based on your initial reviews and the further replies of apwJ, 6yNo and 7DJT, we would revise the paper as follows:

  • Split the time-per-iteration plot in two plots, side by side, showing both time per iteration (like now) and time per 1000 BART iterations or 1 boosting iteration. Putting them side by side, we think that the ambiguities and possible misunderstandings of both presentations will solve themselves by having both cases visible at once.

  • When comparing BART packages, show both RMSE (like now) and coverage on the true simulated latent mean. Coverage on the outcomes is an easy target for an out-of-sample test on simulated data, so it's not discriminating, coverage is always close to the target. Instead, targeting coverage on the latent mean is a harder task, and indeed depending on the configuration BART may undercover.

  • Add a table comparing bartz vs. xgboost on a few datasets. Include bartz with 2000 trees to illustrate the convergence problem. We still have not decided what is the single best metric to measure MCMC mixing, our current idea is to use average tree lifetime estimated as 1 / (acceptance * fraction of empty trees). Acceptance alone is misleading because the trees may be changing but only near the leaves.

  • Mention the convergence problem in the conclusions. It's an important limitation in interpreting the timing benchmarks, and the current discussion about increasing the number of trees to improve convergence is not visible enough (it's in the appendix). Even though this is a pre-existing BART issue, our paper unlocks running BART at higher nn, which makes the problem much more prominent.

  • In the appendix, add various plots and additional information about all of the above.

Furthermore, we would make a change unrelated to the review. Since submission, we optimized the code a bit, and now it's about 2x faster on cpu than before. This means that the cpu vs gpu speedup is about 50x instead of 100x, and bartz on cpu is about 5x faster than previous SoTA. To better showcase our work, we would highlight the 200x factor vs SoTA more prominently than the 50x cpu vs gpu. For the "bart parallelizes better than boosting" argument, we would add the framing that since our cpu implementation already beat SoTA with a good margin, we are not getting a "gpu much faster than cpu" result only because our cpu reference is slow.

Reviewer Tz31OpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper presents bartz, a GPU-oriented implementation of Bayesian Additive Regression Trees (BART) written in Python/JAX. The main technical idea is to adapt the standard BART MCMC to XLA-style static computation by using fixed-depth heap representations of trees, branchless traversal/update logic, predictor quantization, and cached leaf indices. The paper benchmarks the implementation on a synthetic sparse quadratic regression problem, comparing per-iteration runtime with dbarts, XGBoost, and CatBoost on CPU and GPU, and checking predictive RMSE against several existing BART packages. The headline result is that, for large training sets and the tested hardware, bartz on GPU can be much faster per BART iteration than CPU BART implementations, while producing similar RMSE to existing BART software on the synthetic task.

Strengths and weaknesses

Strengths

The strongest aspect of the paper is that it tackles a real practical bottleneck for BART: standard BART implementations are often too slow for data sizes where gradient-boosted trees remain routine. The proposed implementation choices are well motivated by the computational constraints of JAX/XLA. In particular, the fixed-depth heap tree representation, branchless traversal, byte-level predictor quantization, and leaf-index cache are concrete design decisions that explain why the implementation can run efficiently on GPU despite BART's sequential MCMC structure.

The paper is also fairly transparent about where parallelism is and is not available. I appreciated the breakdown of which parts of the MCMC can be parallelized across trees and which remain constrained by the ordered tree scan and residual updates. This makes the speed results easier to interpret, especially the observation that GPU acceleration becomes useful only once nn is large enough to saturate parallelism.

The experimental section is modest but targeted. The runtime comparisons include both BART and popular non-Bayesian tree implementations, and the paper explicitly reminds the reader that BART needs roughly 1000 to 2000 MCMC sweeps while gradient boosting can produce a usable model after a single boosting run. The RMSE comparison against BART, dbarts, and bartMachine is also a useful sanity check that the implementation appears to reproduce standard BART behavior on the chosen data-generating process.

The authors are unusually candid about limitations. The conclusion and appendix discuss GPU memory limits, the fact that high-pp or high-tree-count settings reduce the practical speedup, and the current gap between bartz and mature gradient-boosting ecosystems. This candor makes the contribution easier to assess.

Weaknesses

The main weakness is that the empirical evaluation is narrow. All reported predictive evaluations are on one family of synthetic sparse quadratic data-generating processes. This is enough for a controlled implementation sanity check, but it is not enough to support broad claims about BART becoming a viable alternative to gradient-boosted tree packages in realistic workflows. At least a small set of real tabular regression and classification tasks would make the significance much clearer.

The runtime comparison is informative but not fully end-to-end. The paper excludes preprocessing and, for bartz, XLA compilation from the timed region, and it also notes that predictor quantization is not included in some comparisons. This is reasonable for isolating steady-state kernel speed, but users care about total time-to-result. I would like to see both steady-state per-iteration timing and end-to-end timing, including compilation, quantization, model setup, and a complete 1000 or 2000 iteration BART run.

The comparison to XGBoost and CatBoost is somewhat hard to calibrate. The paper compares per-iteration costs and then asks the reader to account for the very different number of iterations needed by BART and boosting. The discussion does make this caveat explicit, but the result would be more actionable if it included a wall-clock comparison at matched predictive accuracy or matched uncertainty-quantification workflows. As written, the paper establishes that BART parallelizes well, but it is less clear how often this changes a practitioner's model choice.

The correctness evidence is limited to RMSE similarity with existing BART implementations. Since this is an MCMC implementation paper, I would expect some additional checks of posterior behavior, such as interval coverage on simulated data, posterior mean/variance comparisons against an existing implementation on small problems, acceptance-rate diagnostics, or convergence diagnostics across chains. RMSE alone can mask differences in posterior uncertainty or sampling behavior.

The novelty is primarily systems and implementation novelty rather than a new statistical method. That is not a problem by itself, but it means the paper's case rests heavily on the released package, benchmark harness, and practical robustness. The manuscript says the work is reproducible through a redacted citation, but from the paper alone I cannot assess installation reliability, test coverage, API maturity, or whether the benchmark scripts exactly reproduce the figures.

Questions

# Questions

  1. Can the authors add end-to-end timing results that include preprocessing, predictor quantization, XLA compilation, and a complete 1000 or 2000 iteration BART run? My score would increase if the practical speedup remains strong under this total-time measurement.

  2. Can the authors include a few real-world tabular regression and classification datasets, even if small, to show whether the synthetic runtime and RMSE conclusions transfer to more typical usage? This would substantially strengthen the significance claim.

  3. Can the authors report uncertainty in the benchmark measurements, such as repeated runs, variability across seeds, or error bars for timing/RMSE? I do not necessarily need a large statistical study, but the current best-of-three timing protocol makes it hard to judge variance.

  4. Can the authors add posterior validation beyond RMSE, for example coverage on simulated data, posterior variance comparisons with dbarts on small problems, acceptance rates, or simple multi-chain diagnostics? This would address the possibility that predictive means match while posterior uncertainty differs.

  5. Can the authors clarify the current release status of the package and benchmark code, including tests and instructions needed to reproduce Figures 3 to 5? If the artifact is easy to install and the figures reproduce cleanly, that would improve my confidence in the contribution.

Assorted Notes

  • In the introduction, "implemetations" should be "implementations".
  • The phrase "less used that XGBoost" should be "less used than XGBoost".
  • "continuos outcomes" should be "continuous outcomes".
  • In the implementation section, "masks aways operations" should be "masks away operations".
  • The phrase "assigned to a children of the node" should use singular/plural consistently.
  • Figure 4 is fairly crowded; direct line labels overlap visually with the dense grid in a few panels.
  • The caption wording "Keep into account" is awkward; "Keep in mind" or "Take into account" would read more naturally.
  • Appendix C uses "differring"; this should be "differing".
  • In the checklist, "Let use note that" appears to be a typo for "Let us note that".
Limitations

The authors do discuss important limitations, especially GPU memory limits for high-pp or high-tree-count regimes and the fact that mature gradient-boosting libraries offer much richer software ecosystems. I would still like the limitations section to more explicitly cover the absence of real-data evaluations, the lack of benchmark uncertainty/error bars, and the distinction between steady-state per-iteration speed and total time-to-result.

Final justification

I maintain my recommendation of borderline/tentative acceptance.

  • Several empirical concerns were substantially addressed. The rebuttal adds end-to-end timing and experiments on three large real-world datasets, including datasets with up to 11M examples. These results provide useful evidence that the reported computational scaling transfers beyond the synthetic benchmark and clarify the practical gap relative to XGBoost.

  • My main remaining concern is MCMC convergence as dataset size grows. The authors explicitly acknowledge that convergence can become problematic when the number of leaves required by the data grows relative to the number of trees, and they propose additional diagnostics and experiments to characterize this regime. However, the current rebuttal does not yet provide a definitive measurement of how mixing deteriorates with (n), nor whether this deterioration materially affects posterior uncertainty or prediction quality.

  • The uncertainty-quantification evidence is therefore still incomplete. The proposed coverage experiments and convergence diagnostics would directly address my most important concern, but these results are largely promised for the revision rather than demonstrated in the current response.

  • I nevertheless assign substantial weight to the software/systems contribution. bartz addresses an important practical limitation of BART, provides a mature GPU-oriented implementation, and the new benchmarks support the claim that it enables BART at scales that were previously difficult to reach. Given this contribution, I do not view evidence of some convergence degradation as necessarily disqualifying; what is important is that the paper clearly characterize when and how it occurs.

Overall, the rebuttal strengthens my confidence in the practical contribution, while leaving the convergence/uncertainty question only partially resolved. On balance, I continue to believe that the reasons to accept slightly outweigh the reasons to reject.

Formatting concerns

I did not notice major formatting or anonymity concerns. The main presentation issues are minor typographical errors and somewhat crowded benchmark figures, noted above.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Hi Tz31, thanks for your review.

Your criticisms focus on the evaluation being narrow. Since you ask precise questions that cover all your points, we'll reply question by question. We ran some new measurements to reply. Summary: on a few large datasets, things work out as expected; though note that our paper cites existing literature with bart vs. xgboost benchmarks, which is why we focused the paper on showing our implementation is correct and fast, rather than showing that BART works in the first place. BART has been around since 2006. To complement the literature, which never reached farther than 500k units before, we tested larger datasets; this is indeed an important test that the paper+literature lacks.

Question 1, end to end timing. On the Higgs dataset, 11M rows, bartz is 15x slower than XGBoost, end-to-end, with bartz at 200 trees and xgboost at 100. The "20x slower at same number of trees" we state in the conclusions is thus conservative compared to this end-to-end benchmark. Hyperparameters: 2000 mcmc iterations, 1 mcmc chain, p=28. Other settings as in Fig. 3L in the paper.

Question 2, benchmark on datasets. We picked 3 datasets from OpenML with at least 1M rows and that required no feature engineering: Higgs (11M classification), delays_zurich_transport (5.5M regression), poker (1M classification), with the preprocessing of Grinsztajn et al. (2022). No cherry picking: we selected these three and did not change the selection after running the regressions. Result: timing results similar to the single-iteration ones (bartz 43x slower at 1M, 15x slower at 11M, with xgboost at 100 trees and bartz 200), RMSE bartz vs. xgboost: Higgs 0.415/0.413, zurich 2.96/2.96, poker 0.119/0.322. This is broadly in line with the existing (more thorough) bartz vs. xgboost benchmarks in the literature that we cite in the paper. On zurich, coverage at target 50% is 46%, but it's a very noisy dataset so it's not a strong test. We did not make it in time for these first replies to select and run on more large datasets, maybe in the next days we'll get around to it. In the meantime, please consider checking out the literature cited in the paper (line 34) if you have doubts about BART itself.

Question 3, measure variability in benchmarks. The paper already contains this information, but it's implicit in the figures: the scan is quite fine, so the jaggedness of the lines in Fig. 3 visually shows the level of variability. Ideally we would compute average and sdev over multiple rounds for all points, but to fit a computational expense and time budget, this compromises with the number of points we sample. We prefer to sample more points at 1 round since this gives us strictly more information. As you can see in the plot, the lines are continuous enough, variability is not a problem.

Question 4, posterior validation beyond RMSE. The unit tests of our package test more than RMSE. For brevity, in the paper itself we included only a RMSE check since it's the most important metric. The second most important is coverage, and we would include it following your suggestion, but we did not produce a new script and plot in time for this first reply, so we do not have specific numbers or results to share here. Contextually with this reply we'll send to the AC a github permalink to a specific unit test (we are sending it to the AC instead of writing it here because the email instructions said to do so). Our a priori expectation based on experience is that coverage should get worse when BART fits large datasets where the DGP has a lot of free parameters, and the number of trees is low compared to the required number of leaves which is proportional to the free parameters, which induces BART to squeeze many leaves into each tree and to not let go of them, blocking half of the MCMC. However, it should continue working decently even in this regime.

Question 5, reproducibility. The supplementary material contains code and instructions to reproduce the paper. The bartz package has been on PyPI for 2 years now and is regularly updated. Please check out the supplementary material.

By the way, thanks for taking the time to list the typos.

Authors · CommentOpenReview ↗

Link to unit test checking posterior for reviewer

https://github.com/anon-nips2026-36013/bartz/blob/0c0b08c4f227776240ae1d38d6170763123500db/tests/test_stochtree.py#L452-L553

We are sending the link through here because the email instructions said "No links. The only exception is if reviewers asked for code, you may send an anonymized link to the AC in an Official Comment, with all linked files anonymized.".

Authors · CommentOpenReview ↗

Final reply to reviewers

(Posting the same reply to all reviewers.)

Thanks Tz31, apwJ, 6yNo and 7DJT.

Based on your initial reviews and the further replies of apwJ, 6yNo and 7DJT, we would revise the paper as follows:

  • Split the time-per-iteration plot in two plots, side by side, showing both time per iteration (like now) and time per 1000 BART iterations or 1 boosting iteration. Putting them side by side, we think that the ambiguities and possible misunderstandings of both presentations will solve themselves by having both cases visible at once.

  • When comparing BART packages, show both RMSE (like now) and coverage on the true simulated latent mean. Coverage on the outcomes is an easy target for an out-of-sample test on simulated data, so it's not discriminating, coverage is always close to the target. Instead, targeting coverage on the latent mean is a harder task, and indeed depending on the configuration BART may undercover.

  • Add a table comparing bartz vs. xgboost on a few datasets. Include bartz with 2000 trees to illustrate the convergence problem. We still have not decided what is the single best metric to measure MCMC mixing, our current idea is to use average tree lifetime estimated as 1 / (acceptance * fraction of empty trees). Acceptance alone is misleading because the trees may be changing but only near the leaves.

  • Mention the convergence problem in the conclusions. It's an important limitation in interpreting the timing benchmarks, and the current discussion about increasing the number of trees to improve convergence is not visible enough (it's in the appendix). Even though this is a pre-existing BART issue, our paper unlocks running BART at higher nn, which makes the problem much more prominent.

  • In the appendix, add various plots and additional information about all of the above.

Furthermore, we would make a change unrelated to the review. Since submission, we optimized the code a bit, and now it's about 2x faster on cpu than before. This means that the cpu vs gpu speedup is about 50x instead of 100x, and bartz on cpu is about 5x faster than previous SoTA. To better showcase our work, we would highlight the 200x factor vs SoTA more prominently than the 50x cpu vs gpu. For the "bart parallelizes better than boosting" argument, we would add the framing that since our cpu implementation already beat SoTA with a good margin, we are not getting a "gpu much faster than cpu" result only because our cpu reference is slow.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…