Accelerating a Random Forest Classifier: Multi-Core, GP-GPU, or FPGA?
Open accessThe DOI matches its Crossref record; 7 of the 7 references it cites were found in a registry or an index.
Abstract
Random forest classification is a well known machine learning technique that generates classifiers in the form of an ensemble ("forest") of decision trees. The classification of an input sample is determined by the majority classification by the ensemble. Traditional random forest classifiers can be highly effective, but classification using a random forest is memory bound and not typically suitable for acceleration using FPGAs or GP-GPUs due to the need to traverse large, possibly irregular decision trees. Recent work at Lawrence Livermore National Laboratory has developed several variants of random forest classifiers, including the Compact Random Forest (CRF), that can generate decision trees more suitable for acceleration than traditional decision trees. Our paper compares and contrasts the effectiveness of FPGAs, GP-GPUs, and multi-core CPUs for accelerating classification using models generated by compact random forest machine learning classifiers. Taking advantage of training algorithms that can produce compact random forests composed of many, small trees rather than fewer, deep trees, we are able to regularize the forest such that the classification of any sample takes a deterministic amount of time. This optimization then allows us to execute the classifier in a pipelined or single-instruction multiple thread (SIMT) fashion. We show that FPGAs provide the highest performance solution, but require a multi-chip / multi-board system to execute even modest sized forests. GP-GPUs offer a more flexible solution with reasonably high performance that scales with forest size. Finally, multi-threading via Open MP on a shared memory system was the simplest solution and provided near linear performance that scaled with core count, but was still significantly slower than the GP-GPU and FPGA.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Breiman, L. (2001) · Machine Learning · doi:10.1023/a:1010933404324 · Cited by 133,538
UCI Machine Learning Repository
Asuncion, A. (2007) · Medical Entomology and Zoology · Cited by 25,416
Random forests for classification in ecology
Cutler, D. R., Edwards, T. C., Beard, K. H., Cutler, A., Hess, K. T., Gibson, J., & Lawler, J. J. (2007) · Ecology · doi:10.1890/07-0539.1 · Cited by 4,950
Identifying suspicious URLs: an application of large-scale online learning
Ma, J., Saul, L. K., Savage, S., & Voelker, G. M. (2009) · Proceedings of the 26th Annual International Conference on Machine Learning · doi:10.1145/1553374.1553462 · Cited by 498 · cited 1×
“The GP-GPU will use massive thread-level parallelism with many threads per streaming multiprocessor.”
MethodImplementing Decision Trees and Forests on a GPU
Sharp, T. (2008) · Lecture Notes in Computer Science · doi:10.1007/978-3-540-88693-8_44 · Cited by 170
Izmirlian, G. (2004) · Annals of the New York Academy of Sciences · doi:10.1196/annals.1310.015 · Cited by 166 · cited 1×
“This optimization then allows us to execute the classifier in a pipelined or single-instruction multiple thread (SIMT) fashion.”
MethodAn FPGA Implementation of Decision Tree Classification
Narayanan, R., Honbo, D., Memik, G., Choudhary, A., & Zambreno, J. (2007) · Design, Automation, and Test in Europe · doi:10.1109/date.2007.364589 · Cited by 95
Cited by
Decision trees: from efficient prediction to responsible AI
Blockeel, H., Devos, L., Frénay, B., Nanfack, G., & Nijssen, S. (2023) · Frontiers in Artificial Intelligence · doi:10.3389/frai.2023.1124553 · Cited by 230
A Survey of Methods for Analyzing and Improving GPU Energy Efficiency
Mittal, S., & Vetter, J. S. (2015) · ACM Computing Surveys · doi:10.1145/2636342 · Cited by 211
Decision tree and random forest implementations for fast filtering of sensor data
Buschjager, S., & Morik, K. (2018) · IEEE Transactions on Circuits and Systems I Regular Papers · doi:10.1109/tcsi.2017.2710627 · Cited by 78
“present in [9] a comprehensive study of different architectures for implementing random forests on CPUs, FPGAs and GPUs.”
BackgroundBirk, M., Balzer, M., Ruiter, N. V., & Becker, J. (2014) · Computers & Electrical Engineering · doi:10.1016/j.compeleceng.2013.11.033 · Cited by 7
Metadata
- Authors
- Van Essen, B., Macaraeg, C., Gokhale, M., & Prenger, R.
- Venue
- 2012 IEEE 20th International Symposium on Field-Programmable Custom Computing Machines
- Publisher
- IEEE
- Published
- 2012-04
- Pages
- 232-239
- OpenAlex
- W2162741763
- Cited by
- 176
- References
- 7
- FWCI
- 5.31
- Type
- conference paper
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.