arXiv:2609.09299cs.LGSep 2026

Manuscript Offprint

arXiv:2609.09299

Literati: Towards Anytime Optimal Shape Generalized Trees via AO*

Nakul Upadhya, Eldan Cohen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Decision trees are prized for their interpretability and strong performance on tabular data, but popular greedy top-down induction algorithms can yield suboptimal and unnecessarily complex structures. Optimal decision tree methods address this through global optimization, yet remain restricted to axis-aligned threshold splits, which limit the expressivity of each node and often force deep, complex trees to capture non-linear feature effects. Shape Generalized Trees (SGTs) generalize threshold splits to learnable univariate shape functions, improving expressivity and enabling more compact trees. However, existing SGT induction algorithms are greedy and offer no optimality guarantees. In this work, we introduce Literati, the first algorithm for optimal SGT induction. We propose a novel AND/OR graph formulation of the problem that jointly optimizes tree structure and shape function complexity. To solve this AND/OR graph, we develop an AO*-based algorithm with two enhancements that improve anytime performance while preserving optimality: a secondary heuristic for OR-node selection and a round-robin policy for AND-node exploration. Across 24 real-world datasets, Literati achieves higher training and test accuracy than state-of-the-art tree approaches.

1 Introduction

Decision trees are one of the most widely used approaches for tabular datasets [1], largely due to their inherent interpretability [2] and robust performance [1]. Their hierarchical structure of simple threshold comparisons ( xj≤θx_j \leq \theta) can be easily visualized and audited, making them the model of choice when transparency is paramount. However, the common greedy top-down induction algorithms, such as CART [3], suffer from a fundamental limitation: by making locally optimal splits at each node, these methods often produce suboptimal and unnecessarily complex trees [4–7].

Recent years have witnessed significant progress in decision tree algorithms that overcome greedy suboptimality through global optimization [4–6, 8, 9]. These methods frame tree induction as an optimization problem over a regularized objective that balances accuracy and tree complexity, effectively optimizing both predictive performance and sparsity simultaneously [4, 6, 8]. Such non-greedy approaches have yielded trees that empirically generalize better to unseen data while reducing model complexity [4, 8].

While these algorithmic advances were underway, other work has focused on reimagining how tree branching is performed. Specifically, Upadhya and Cohen [10] proposed the Shape Generalized Tree (SGT), which replaces the axis-aligned threshold comparison with an axis-aligned Shape Function. By enabling non-linear decision boundaries at each node, SGTs have been empirically shown to achieve superior predictive performance with a more compact tree structure compared to threshold trees [10]. However, existing methods for learning SGTs rely on greedy induction, resulting in suboptimal trees and limited control over the learned shape functions.

Preprint.

In this work, we introduce Literati 1^{1}, a novel approach to Optimal SGT induction. Our approach formulates SGT induction within an AND/OR graph search framework and leverages an AO*-inspired algorithm to efficiently search for an optimal SGT. Our contributions are as follows: 1) We propose a novel AND/OR graph formulation of the sparse SGT induction problem that jointly optimizes tree structure and shape function complexity, and prove that the resulting formulation yields globally optimal SGTs. 2) We introduce Literati, an AO*-based algorithm augmented with an inadmissible secondary heuristic for OR-node selection and round-robin AND-node exploration, yielding strong anytime performance while preserving optimality guarantees. 3) We evaluate Literati on a range of real-world datasets and demonstrate that our approach consistently outperforms state-of-the-art tree induction baselines in both train and test accuracy.

References (29)