Empowering Decision Trees via Shape Function Branching
Nakul Upadhya, Eldan Cohen
TL;DR
The paper proposes Shape Generalized Trees (SGTs), where each internal node routes data using a learnable shape function on a single feature, enabling non-linear splits within one node and improving interpretability through visualizable node shapes. ShapeCART provides an efficient top-down induction for SGTs, with extensions to bivariate shape functions (S$^2$GT) and multi-way branching (SGT$_K$), plus Shape$^2$CART and ShapeCART$_K$. The authors prove expressiveness advantages over axis-aligned linear trees and show empirical gains across 26 datasets, including compact trees and favorable visualization of decision mechanisms. They also introduce a two-stage shape-function learning procedure, a pairwise-feature heuristic to limit bivariate constructions, and post-processing via TAO for global refinement. Overall, SGTs achieve superior performance with smaller model sizes while maintaining interpretability, demonstrating practical potential for interpretable non-linear partitioning in tabular data.
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.
