Empowering Decision Trees via Shape Function Branching

Nakul Upadhya, Eldan Cohen
10/21/2025
cs.LG

No official code found. Best implementation: optimal-uoft/Empowering-DTs-via-Shape-Functions (18 stars, MIT, last commit 2026-03-17).

Abstract

Decision trees are prized for their interpretability and strong performance on tabular data. Yet, their reliance on simple axis-aligned linear splits often forces deep, complex structures to capture non-linear feature effects, undermining human comprehension of the constructed tree. To address this limitation, we propose a novel generalization of a decision tree, the Shape Generalized Tree (SGT), in which each internal node applies a learnable axis-aligned shape function to a single feature, enabling rich, non-linear partitioning in one split. As users can easily visualize each node's shape function, SGTs are inherently interpretable and provide intuitive, visual explanations of the model's decision mechanisms. To learn SGTs from data, we propose ShapeCART, an efficient induction algorithm for SGTs. We further extend the SGT framework to bivariate shape functions (S$^2$GT) and multi-way trees (SGT$_K$), and present Shape$^2$CART and ShapeCART$_K$, extensions to ShapeCART for learning S$^2$GTs and SGT$_K$s, respectively. Experiments on various datasets show that SGTs achieve superior performance with reduced model size compared to traditional axis-aligned linear trees.

View on arXivView PDF

Code Implementations(1)

MIT

Empowering Decision Trees via Shape Function Branching

182Python, Jupyter NotebookSep 30, 20257 months agoMIT

Similar Papers

Cite this paper

@article{upadhya2025empowering,
  title  = {Empowering Decision Trees via Shape Function Branching},
  author = {Nakul Upadhya and Eldan Cohen},
  year   = {2025},
  eprint = {2510.19040},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.19040v1}
}

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

Discussion