arXiv · 1212.2287
Runtime Optimizations for Prediction with Tree-Based Models
Abstract
Tree-based models have proven to be an effective solution for web ranking as well as other problems in diverse domains. This paper focuses on optimizing the runtime performance of applying such models to make predictions, given an already-trained model. Although exceedingly simple conceptually, most implementations of tree-based models do not efficiently utilize modern superscalar processor architectures. By laying out data structures in memory in a more cache-conscious fashion, removing branches from the execution flow using a technique called predication, and micro-batching predictions using a technique called vectorization, we are able to better exploit modern processor architectures and significantly improve the speed of tree-based models over hard-coded if-else blocks. Our work contributes to the exploration of architecture-conscious runtime implementations of machine learning algorithms.
Explore related subjects
Keep this discovery
Nima Asadi, Jimmy Lin, Arjen P. de Vries. 2012-12-11. Runtime Optimizations for Prediction with Tree-Based Models. https://arxiv.org/abs/1212.2287
Cite the original work for its findings. Save a collection to share your selection of sources.