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.
aweSOM: a CPU/GPU-accelerated Self-organizing Map and Statistically Combined Ensemble Framework for Machine-learning Clustering Analysis
University of Massachusetts-Amherst(马萨诸塞大学阿默斯特分校);Flatiron Institute(弗拉蒂伦研究所);University of Helsinki(赫尔辛基大学);Columbia University(哥伦比亚大学);Princeton University(普林斯顿大学)
Privacy-Preserving Training of Tree Ensembles over Continuous Data
University of Washington Tacoma(华盛顿大学塔科马分校);Ghent University(根特大学)
大多数现有的安全多方计算(MPC)协议的隐私保护训练的决策树分布式数据假设的功能是分类的。在实际应用中,特征通常是数值。在具有连续值的数据上生长决策树的标准"in the clear“算法需要对每个特征的训练样本进行排序,以寻求每个节点中特征值范围内的最佳分割点。排序在MPC中是一个昂贵的操作,因此找到避免这种昂贵步骤的安全协议是隐私保护机器学习中的一个相关问题。在本文中,我们提出了三种更有效的方案,用于在具有连续特征的数据上安全地训练基于决策树的模型,即:(1)数据的安全离散化,然后在离散化数据上安全地训练决策树;(2)数据的安全离散化,然后在离散化数据上安全地训练随机森林;以及(3)在原始数据上的极端随机树("额外树“)的安全训练。方法(2)和(3)都涉及随机化特征选择。此外,在方法(3)中,也随机选择切割点,从而减轻了预先对数据进行排序或离散化的需要。我们实现了所有提出的解决方案,在半诚实设置与添加剂秘密共享的MPC。除了在数学上证明所有提出的方法都是正确和安全的之外,我们还在分类精度和运行时间方面进行了实验评估和比较。我们私下训练树集成在数据集上与1000个实例或功能在几分钟内,其准确性是在那些在明确获得的。这使得我们的解决方案比现有的基于不经意排序的方法更有效。