Optimization of Oblivious Decision Tree Ensembles Evaluation for CPU
2022-11-01Code Available0· sign in to hype
Alexey Mironov, Ilnur Khuziev
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/alexmir1/catboost-cpu-evaluation-optimizationOfficialIn papernone★ 0
Abstract
CatBoost is a popular machine learning library. CatBoost models are based on oblivious decision trees, making training and evaluation rapid. CatBoost has many applications, and some require low latency and high throughput evaluation. This paper investigates the possibilities for improving CatBoost's performance in single-core CPU computations. We explore the new features provided by the AVX instruction sets to optimize evaluation. We increase performance by 20-40% using AVX2 instructions without quality impact. We also introduce a new trade-off between speed and quality. Using float16 for leaf values and AVX-512 instructions, we achieve 50-70% speed-up.