GradTree: Learning Axis-Aligned Decision Trees with Gradient Descent

Sascha Marton, Stefan Lüdtke, Christian Bartelt, Heiner Stuckenschmidt
5/5/2023
23 citations
cs.LGcs.AI

Official code: s-marton/GradTree (34 stars, Jupyter Notebook, MIT, last commit 2025-02-13).

Abstract

Decision Trees (DTs) are commonly used for many machine learning tasks due to their high degree of interpretability. However, learning a DT from data is a difficult optimization problem, as it is non-convex and non-differentiable.

Show full abstract

Therefore, common approaches learn DTs using a greedy growth algorithm that minimizes the impurity locally at each internal node. Unfortunately, this greedy procedure can lead to inaccurate trees. In this paper, we present a novel approach for learning hard, axis-aligned DTs with gradient descent. The proposed method uses backpropagation with a straight-through operator on a dense DT representation, to jointly optimize all tree parameters. Our approach outperforms existing methods on binary classification benchmarks and achieves competitive results for multi-class tasks. The method is available under: https://github.com/s-marton/GradTree

View on arXivView PDF

Code Implementations(1)

s-marton/GradTreeOfficial100%
MIT

(AAAI 2024) GradTree: Gradient-Based Axis-Aligned Decision Trees

345Jupyter Notebook, PythonNov 2, 20231 years agoMIT

Similar Papers

Cite this paper

@article{marton2023gradtree,
  title  = {GradTree: Learning Axis-Aligned Decision Trees with Gradient Descent},
  author = {Sascha Marton and Stefan Lüdtke and Christian Bartelt and Heiner Stuckenschmidt},
  year   = {2023},
  eprint = {2305.03515},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.03515v7}
}

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

Discussion