Software

Runtime Optimizations for Prediction with Tree-Based Models

Download Now Free registration required

Executive Summary

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, the authors are able to better exploit modern processor architectures and significantly improve the speed of tree-based models over hard-coded if else blocks.

  • Format: PDF
  • Size: 287.45 KB