A Comparative Study of Recursive Decision Tree Performance on CPU vs. CUDA

Recursive decision trees are traditionally executed on CPUs due to their sequential branching structure. Recent tensor libraries such as PyTorch, however, enable GPU acceleration of the numerical operations performed within each tree node. In this work, we compare CPU and CUDA implementations of a recursive decision tree algorithm using an expanded Stroke Prediction dataset with 500,000 rows. Both implementations share identical recursive logic and differ only in their internal execution backend. Our experiments show that the CUDA implementation achieves an approximate 6.26× speedup over the CPU version. Despite the dataset’s limited feature dimensionality, the results indicate that GPU acceleration can significantly improve the performance of recursive algorithms, with even greater gains expected for larger datasets.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-12-22
DOI
https://doi.org/10.5281/zenodo.18019107
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Comparative Study of Recursive Decision Tree Performance on CPU vs. CUDA

Paria Ranji, Nikpour Sobhan
Zenodo (CERN European Organization for Nuclear Research)
Parallel Computing and Optimization Techniques
article

A Comparative Study of Recursive Decision Tree Performance on CPU vs. CUDA

Paria Ranji, Nikpour Sobhan
article en

Abstract

Recursive decision trees are traditionally executed on CPUs due to their sequential branching structure. Recent tensor libraries such as PyTorch, however, enable GPU acceleration of the numerical operations performed within each tree node. In this work, we compare CPU and CUDA implementations of a recursive decision tree algorithm using an expanded Stroke Prediction dataset with 500,000 rows. Both implementations share identical recursive logic and differ only in their internal execution backend. Our experiments show that the CUDA implementation achieves an approximate 6.26× speedup over the CPU version. Despite the dataset’s limited feature dimensionality, the results indicate that GPU acceleration can significantly improve the performance of recursive algorithms, with even greater gains expected for larger datasets.

Zenodo (CERN European Organization for Nuclear Research)
Peace, Justice and strong institutions
Openalex Percentile: Top 34%
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.