44

On Computing Optimal Tree Ensembles

International Conference on Machine Learning (ICML), 2023
Abstract

Random forests and, more generally, (decision\nobreakdash-)tree ensembles are widely used methods for classification and regression. Recent algorithmic advances allow to compute decision trees that are optimal for various measures such as their size or depth. We are not aware of such research for tree ensembles and aim to contribute to this area. Mainly, we provide two novel algorithms and corresponding lower bounds. First, we are able to carry over and substantially improve on tractability results for decision trees, obtaining a (6δDS)Spoly(6\delta D S)^S \cdot poly-time algorithm, where SS is the number of cuts in the tree ensemble, DD the largest domain size, and δ\delta is the largest number of features in which two examples differ. To achieve this, we introduce the witness-tree technique which also seems promising for practice. Second, we show that dynamic programming, which has been successful for decision trees, may also be viable for tree ensembles, providing an npoly\ell^n \cdot poly-time algorithm, where \ell is the number of trees and nn the number of examples. Finally, we compare the number of cuts necessary to classify training data sets for decision trees and tree ensembles, showing that ensembles may need exponentially fewer cuts for increasing number of trees.

View on arXiv
Comments on this paper