MAPTree: Beating "Optimal" Decision Trees with Bayesian Decision Trees

Colin Sullivan, Mo Tiwari, Sebastian Thrun
9/26/2023
cs.LGcs.AI

Official code: ThrunGroup/maptree (41 stars, last commit 2023-09-25).

Abstract

Decision trees remain one of the most popular machine learning models today, largely due to their out-of-the-box performance and interpretability. In this work, we present a Bayesian approach to decision tree induction via maximum a posteriori inference of a posterior distribution over trees. We first demonstrate a connection between maximum a posteriori inference of decision trees and AND/OR search. Using this connection, we propose an AND/OR search algorithm, dubbed MAPTree, which is able to recover the maximum a posteriori tree. Lastly, we demonstrate the empirical performance of the maximum a posteriori tree both on synthetic data and in real world settings. On 16 real world datasets, MAPTree either outperforms baselines or demonstrates comparable performance but with much smaller trees. On a synthetic dataset, MAPTree also demonstrates greater robustness to noise and better generalization than existing approaches. Finally, MAPTree recovers the maxiumum a posteriori tree faster than existing sampling approaches and, in contrast with those algorithms, is able to provide a certificate of optimality. The code for our experiments is available at https://github.com/ThrunGroup/maptree.

View on arXivView PDF

Code Implementations(1)

ThrunGroup/maptreeOfficial100%
412C, C++Sep 25, 20233 years ago

Similar Papers

Cite this paper

@article{sullivan2023maptree,
  title  = {MAPTree: Beating "Optimal" Decision Trees with Bayesian Decision Trees},
  author = {Colin Sullivan and Mo Tiwari and Sebastian Thrun},
  year   = {2023},
  eprint = {2309.15312},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.15312v3}
}

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

Discussion