Introduction
Bayesian Decision Trees (BDTs) are highly valued in machine learning for their ability to provide robust probabilistic insights and mitigate overfitting. By treating tree structures and parameters as random variables, BDTs use prior distributions to penalize excessive complexity. However, their widespread adoption has been hindered by computational bottlenecks. Traditional training relies on Markov Chain Monte Carlo (MCMC) sampling, which is inherently sequential—each sample depends on its predecessor. This sequential nature makes BDTs difficult to parallelize, often resulting in training times exceeding a week for large datasets.
This paper introduces SUMD (Sampling Using Multinomial Distribution), a novel parallel approach that replaces traditional MCMC with Sequential Monte Carlo (SMC) samplers. By leveraging high-performance computing (HPC) hardware, SUMD achieves up to a 343x speedup without compromising classification accuracy.
Methodology
The researchers explored two primary strategies for parallelizing BDTs:
- Sampling Using Multinomial Distribution (SUMD): This approach utilizes Sequential Monte Carlo (SMC) sampling instead of a single MCMC chain. SMC evolves a population of "particles"—representing different tree structures—simultaneously. Each core manages a distinct tree, and multinomial resampling is used to prune low-probability structures while replicating high-probability ones. This design is "embarrassingly parallel," allowing for efficient scaling across multiple processors.
- Data Partitioning (DP): This more conventional method maintains the sequential MCMC algorithm but distributes the training data across multiple cores. Each core calculates a portion of the likelihood for proposed tree modifications (Grow, Prune, Change, or Swap).
Experimental Setup
The performance of these methods was evaluated using six diverse datasets from the UCI Machine Learning Repository. These datasets were categorized by record count (Small, Medium, Big) and feature space dimensionality (Small, Big) to test the algorithms under various conditions.
As shown in the table above, the datasets range from approximately 1,600 records (One Hundred Plant Species) to nearly 1 million (Poker Hand), with feature counts varying from 9 to 91. This variety allowed researchers to observe how parallelization benefits scale with both data volume and dimensionality.
Results and Discussion
The experimental results highlight several key insights into the parallelization of Bayesian models:
- Algorithm Swap vs. Brute Force: The switch from MCMC to SMC (SUMD) proved far more effective than attempting to parallelize MCMC's sequential steps. SUMD achieved massive speedups, including a 343x improvement for medium-sized datasets with small feature spaces and 10x to 19x speedups for the largest datasets.
- Communication Overhead: Data Partitioning (DP) was largely ineffective. The time required to move data between CPU cores (communication overhead) often outweighed the gains from parallelizing the likelihood calculations.
- Diminishing Returns: Performance did not scale linearly with the number of cores indefinitely. For datasets with large feature spaces, performance peaked and then degraded after 20–30 cores, indicating a threshold where management overhead exceeds computational benefits.
- Accuracy Parity: Crucially, SUMD maintained statistical parity with traditional MCMC. For example, on the Abalone dataset, both methods achieved an identical accuracy of $22.48 \pm 0.2$.
Conclusion
The SUMD approach successfully addresses the primary bottleneck of Bayesian Decision Trees. By transforming a sequential sampling problem into a parallel one, the researchers reduced training times for large-scale datasets from days to hours. While SUMD is memory-intensive and currently requires HPC environments for optimal performance, it represents a significant step toward making robust Bayesian inference practical for big data applications. Future work will focus on improving memory efficiency and developing more accessible software implementations for the broader machine learning community.
Summary updated