Fast Inference of Tree Ensembles on ARM Devices
Not on the map. Why?
Abstract (arXiv)
With the ongoing integration of Machine Learning models into everyday life, e.g. in the form of the Internet of Things (IoT), the evaluation of learned models becomes more and more an important issue. Tree ensembles are one of the best black-box classifiers available and routinely outperform more complex classifiers. While the fast application of tree ensembles has already been studied in the literature for Intel CPUs, they have not yet been studied in the context of ARM CPUs which are more dominant for IoT applications. In this paper, we convert the popular QuickScorer algorithm and its siblings from Intel's AVX to ARM's NEON instruction set. Second, we extend our implementation from ranking models to classification models such as Random Forests. Third, we investigate the effects of using fixed-point quantization in Random Forests. Our study shows that a careful implementation of tree traversal on ARM CPUs leads to a speed-up of up to 9.4 compared to a reference implementation. Moreover, quantized models seem to outperform models using floating-point values in terms of speed in almost all cases, with a neglectable impact on the predictive performance of the model. Finally, our study highlights architectural differences between ARM and Intel CPUs and between different ARM devices that imply that the best implementation depends on both the specific forest as well as the specific device used for deployment.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 6 of its 35 references that are in the map. First posted on arXiv 15 May 2023.
Builds on
6 of 35 references.
References · 6
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2015Should we really use post-hoc tests based on mean-ranks?cited by 116
- 2020Fast inference of Boosted Decision Trees in FPGAs for particle physicscited by 26
- 2020A Tensor Compiler for Unified Machine Learning Prediction Servingcited by 19
- 2021Improving the Accuracy-Memory Trade-Off of Random Forests Via Leaf-Refinementcited by 3
- 2022FLInt: Exploiting Floating Point Enabled Integer Arithmetic for Efficient Random Forest Inferencecited by 3
Built on by
Citing papers per year: 2025: 1.
1 paper.