HackerPapers

arXiv:2305.03515cs.LG

GradTree: Learning Axis-Aligned Decision Trees with Gradient Descent

Sascha Marton, Stefan Lüdtke, Christian Bartelt, Heiner Stuckenschmidt

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. 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

arXiv comments
Journal reference
DOI
Subjects
cs.LGMachine Learning cs.AIArtificial Intelligence

On Hacker News

Linked by 2 identifiable commenters in 2 comments across 2 threads, from Nov 2023 to Jun 2024.

Comments linking this paper, per year.

Discussed in comments2 threads

    • There is some work to convert NNs to decision trees. https://towardsdatascience.com/neural-networks-as-decision-t... https://arxiv.org/abs/2210.05189 I haven't reviewed any of it, I only know of it tangentially. https://www.semanticscholar.org/paper/Converting-A-Trained-N...…

      sitkackView on HNParent context

    • You can use the straight through operator! During the forward pass you sample a discrete outcome given your NN weights to get an error for backprop. During the backward pass you directly propogate through the weights. This GradTree paper[1] does a good job covering how to do…

      cgreerrunView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.