Optimal Sparse Regression Trees

Rui Zhang, Rui Xin, Margo Seltzer, Cynthia Rudin
11/28/2022
22 citations
cs.LG

Official code: rayyy-zhang/optimal-sparse-regression-tree-public (8 stars, C++, last commit 2025-07-21).

Abstract

Regression trees are one of the oldest forms of AI models, and their predictions can be made without a calculator, which makes them broadly useful, particularly for high-stakes applications. Within the large literature on regression trees, there has been little effort towards full provable optimization, mainly due to the computational hardness of the problem.

Show full abstract

This work proposes a dynamic-programming-with-bounds approach to the construction of provably-optimal sparse regression trees. We leverage a novel lower bound based on an optimal solution to the k-Means clustering algorithm in 1-dimension over the set of labels. We are often able to find optimal sparse trees in seconds, even for challenging datasets that involve large numbers of samples and highly-correlated features.

View on arXivView PDF

Code Implementations(1)

Implementation of OSRT

83C++, PythonNov 25, 20221 years agoNOASSERTION

Similar Papers

Cite this paper

@article{zhang2022optimal,
  title  = {Optimal Sparse Regression Trees},
  author = {Rui Zhang and Rui Xin and Margo Seltzer and Cynthia Rudin},
  year   = {2022},
  eprint = {2211.14980},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.14980}
}

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/2211.14980.svg)](https://codeofpaper.com/paper/2211.14980)

Discussion