Optimal Decision Trees for Nonlinear Metrics
Emir Demirovic, Peter J. Stuckey
Abstract
1 Nonlinear metrics, such as the F1-score, Matthews correlation coefficient, and Fowlkes-Mallows index, are often used to evaluate the performance of machine learning models, in particular, when facing imbalanced datasets that contain more samples of one class than the other. Recent optimal decision tree algorithms have shown remarkable progress in producing trees that are optimal with respect to linear criteria, such as accuracy, but unfortunately nonlinear metrics remain a challenge. To address this gap, we propose a novel algorithm based on bi-objective optimisation, which treats misclassifications of each binary class as a separate objective. We show that, for a large class of metrics, the optimal tree lies on the Pareto frontier. Consequently, we obtain the optimal tree by using our method to generate the set of all nondominated trees. To the best of our knowledge, this is the first method to compute provably optimal decision trees for nonlinear metrics. Our approach leads to a trade-off when compared to optimising linear metrics: the resulting trees may be more desirable according to the given nonlinear metric at the expense of higher runtimes. Nevertheless, the experiments illustrate that runtimes are reasonable for majority of the tested datasets.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers4
- Fair and Optimal Decision Trees: A Dynamic Programming ApproachJacobus G. M. van der Linden, Mathijs de Weerdt, Emir DemirovicNeurIPS 2022 · 16 citations
- SORTeD Rashomon Sets of Sparse Decision Trees: Anytime EnumerationElif Arslan, Jacobus G. M. van der Linden, Serge P. Hoogendoorn, Marco Rinaldi et al.NeurIPS 2025 · 8 citations
- Scalable Optimal Multiway-Split Decision Trees with ConstraintsShivaram Subramanian, Wei SunAAAI 2023 · 6 citations
- Necessary and Sufficient Conditions for Optimal Decision Trees using Dynamic ProgrammingJacobus G. M. van der Linden, Mathijs de Weerdt, Emir DemirovicNeurIPS 2023 · 2 citations
Builds on4
- Generalized and Scalable Optimal Sparse Decision TreesJimmy Lin, Chudi Zhong, Diane Hu, Cynthia Rudin et al.ICML 2020 · 174 citations
- Decision Trees for Decision-Making under the Predict-then-Optimize FrameworkAdam N. Elmachtoub, Jason Cheuk Nam Liang, Ryan McNellisICML 2020 · 140 citations
- Learning Optimal Decision Trees Using Caching Branch-and-Bound SearchGaël Aglin, Siegfried Nijssen, Pierre SchausAAAI 2020 · 134 citations
- Efficient Inference of Optimal Decision TreesFlorent AvellanedaAAAI 2020 · 62 citations
Related papers
- Beyond the ROC Curve: Classification Trees Using Cost-Optimal Curves, with Application to Imbalanced DatasetsMagzhan Gabidolla, Arman Zharmagambetov, Miguel Á. Carreira-PerpiñánICML 2024 · 5 citations
- Good Classification Measures and How to Find ThemMartijn Gösgens, Anton Zhiyanov, Aleksey Tikhonov, Liudmila ProkhorenkovaNeurIPS 2021 · 41 citations
- A General Online Algorithm for Optimizing Complex Performance MetricsWojciech Kotlowski, Marek Wydmuch, Erik Schultheis, Rohit Babbar et al.ICML 2024 · 1 citation
- Towards Decision-Friendly AUC: Learning Multi-Classifier with AUCµPeifeng Gao, Qianqian Xu, Peisong Wen, Huiyang Shao et al.AAAI 2023 · 1 citation
- The Fairness-Quality Tradeoff in ClusteringRashida Hakim, Ana-Andreea Stoica, Christos H. Papadimitriou, Mihalis YannakakisNeurIPS 2024 · 2 citations
