Abstract
Training decision trees on massive datasets often encounters a "communication wall," where the time spent on network synchronization between machines dwarfs actual computation. This paper introduces PV-Tree (Parallel Voting Decision Tree), a novel algorithm designed to overcome this bottleneck. By employing a two-stage voting mechanism—local nomination followed by global election—PV-Tree makes communication costs independent of the total number of features. Experimental results demonstrate speedups of up to 28.8x on large-scale datasets like CTR and LTR, maintaining the accuracy of sequential implementations while significantly outperforming traditional data-parallel and attribute-parallel approaches.
Introduction
Decision trees and their ensembles, such as Gradient Boosting Decision Trees (GBDT), are fundamental tools in modern machine learning. As dataset sizes explode, parallelization has become essential. However, standard parallelization strategies often struggle with scalability due to high communication overhead. This paper addresses the "communication wall" by proposing PV-Tree, an algorithm that optimizes the split-finding process to minimize data transfer across the network.
The Problem: The Communication Wall
Existing parallel decision tree algorithms typically fall into two categories, both of which face significant scaling issues:
- Attribute-parallelism: Features are distributed across machines. While local split finding is efficient, synchronizing the data partitioning (shuffling) after every split creates massive network traffic.
- Data-parallelism: Samples are distributed across machines. To find the optimal split, every machine must transmit histograms for every feature to a central node. As the number of features ($d$) grows into the thousands or millions, the network becomes a bottleneck.
Methodology: Parallel Voting Decision Tree (PV-Tree)
The core innovation of PV-Tree is a "nomination and election" process that identifies the best split attributes without requiring global histogram aggregation for all features.
- Local Voting: Each machine evaluates its local data slice and identifies the top-$k$ most promising attributes based on local gain scores.
- Global Voting: Machines share only the indices of these top-$k$ candidates. A global "majority vote" identifies the top-$2k$ attributes most frequently nominated across the cluster.
- Best Attribute Identification: Full-grained histograms are communicated only for these $2k$ finalist attributes. The algorithm then selects the absolute best split from this restricted pool.
By limiting histogram exchange to a small fraction of attributes ($2k \ll d$), the communication cost becomes $O(2k \times \text{bins})$, effectively decoupling network overhead from the total feature count.
Experimental Evaluation
The authors evaluated PV-Tree on two large-scale industrial tasks:
- Learning to Rank (LTR): 11 million samples with 1,200 numerical attributes.
- Ad Click Prediction (CTR): 235 million samples with 800 attributes (KDD Cup 2012).
Key Results
PV-Tree demonstrates superior efficiency and scalability compared to standard baselines.
As shown in the performance plots, PV-Tree converges significantly faster than traditional data-parallel and attribute-parallel methods. On the CTR dataset with 32 machines, it achieved a 28.8x speedup over a sequential implementation. Crucially, PV-Tree reaches the same convergence accuracy as the sequential algorithm, whereas data-parallel methods using aggressive quantization (e.g., 10% bins) often suffer from permanent bias and lower final accuracy.
Scalability
The algorithm exhibits excellent scaling properties. While the communication costs of other methods scale with data size or attribute count, PV-Tree’s cost remains constant (approximately 10MB in test scenarios).
Discussion and Key Insights
The success of PV-Tree rests on the observation that a globally optimal split is highly likely to be locally competitive. This "local wisdom" allows for the identification of candidates with minimal communication. Furthermore, the authors provide theoretical proof that unlike quantization-based compression, PV-Tree's accuracy converges to the optimal single-machine accuracy as data volume increases.
Limitations
The voting mechanism relies on local machines having enough data to be "statistically representative." If the number of machines is too high relative to the dataset size, local top-$k$ lists may become noisy, potentially causing the global vote to miss the true best attribute.
Conclusion
PV-Tree effectively breaks the communication bottleneck in parallel decision tree training. Its independence from feature count and preservation of accuracy make it a robust choice for massive-scale machine learning. The principles behind PV-Tree were notably integrated into the widely used LightGBM library, underscoring its practical impact on the field.
Summary updated