Free Lunch in the Forest: Functionally-Identical Pruning of Boosted Tree Ensembles

Youssouf Emine, Alexandre Forel, Idriss Malek, Thibaut Vidal
8/28/2024
cs.LGmath.OC

No official code found. Best implementation: eminyous/fipe (3 stars, MIT, last commit 2025-01-21). 1 more below.

Abstract

Tree ensembles, including boosting methods, are highly effective and widely used for tabular data. However, large ensembles lack interpretability and require longer inference times. We introduce a method to prune a tree ensemble into a reduced version that is "functionally identical" to the original model. In other words, our method guarantees that the prediction function stays unchanged for any possible input. As a consequence, this pruning algorithm is lossless for any aggregated metric. We formalize the problem of functionally identical pruning on ensembles, introduce an exact optimization model, and provide a fast yet highly effective method to prune large ensembles. Our algorithm iteratively prunes considering a finite set of points, which is incrementally augmented using an adversarial model. In multiple computational experiments, we show that our approach is a "free lunch", significantly reducing the ensemble size without altering the model's behavior. Thus, we can preserve state-of-the-art performance at a fraction of the original model's size.

View on arXivView PDF

Code Implementations(2)

eminyous/fipeCommunity100%
MIT
31PythonAug 28, 20241 years agoMIT
00PythonAug 28, 20241 years ago

Similar Papers

Cite this paper

@article{emine2024free,
  title  = {Free Lunch in the Forest: Functionally-Identical Pruning of Boosted Tree Ensembles},
  author = {Youssouf Emine and Alexandre Forel and Idriss Malek and Thibaut Vidal},
  year   = {2024},
  eprint = {2408.16167},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.16167v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.16167.svg)](https://codeofpaper.com/paper/2408.16167)

Discussion