Fair and Optimal Decision Trees: A Dynamic Programming Approach
Jacobus G. M. van der Linden, Mathijs de Weerdt, Emir Demirovic
Abstract
Interpretable and fair machine learning models are required for many applications, such as credit assessment and in criminal justice. Decision trees offer this inter-pretability, especially when they are small. Optimal decision trees are of particular interest because they offer the best performance possible for a given size. However, state-of-the-art algorithms for fair and optimal decision trees have scalability issues, often requiring several hours to find such trees even for small datasets. Previous research has shown that dynamic programming (DP) performs well for optimizing decision trees because it can exploit the tree structure. However, adding a global fairness constraint to a DP approach is not straightforward, because the global constraint violates the condition that subproblems should be independent. We show how such a constraint can be incorporated by introducing upper and lower bounds on final fairness values for partial solutions of subproblems, which enables early comparison and pruning. Our results show that our model can find fair and optimal trees several orders of magnitude faster than previous methods, and now also for larger datasets that were previously beyond reach. Moreover, we show that with this substantial improvement our method can find the full Pareto front in the trade-off between accuracy and fairness.
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext b72e338b-8479-41bd-8350-8bac2be3a1f8Cited by top-tier papers4
- 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
- Piecewise Constant and Linear Regression Trees: An Optimal Dynamic Programming ApproachMim van den Bos, Jacobus G. M. van der Linden, Emir DemirovicICML 2024 · 6 citations
- MAPTree: Beating "Optimal" Decision Trees with Bayesian Decision TreesColin Sullivan, Mo Tiwari, Sebastian ThrunAAAI 2024 · 5 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 on5
- Generalized and Scalable Optimal Sparse Decision TreesJimmy Lin, Chudi Zhong, Diane Hu, Cynthia Rudin et al.ICML 2020 · 174 citations
- Learning Optimal Decision Trees Using Caching Branch-and-Bound SearchGaël Aglin, Siegfried Nijssen, Pierre SchausAAAI 2020 · 134 citations
- A Scalable MIP-based Method for Learning Optimal Multivariate Decision TreesHaoran Zhu, Pavankumar Murali, Dzung T. Phan, Lam M. Nguyen et al.NeurIPS 2020 · 47 citations
- Teaching the Old Dog New Tricks: Supervised Learning with ConstraintsFabrizio Detassis, Michele Lombardi, Michela MilanoAAAI 2021 · 29 citations
- Optimal Decision Trees for Nonlinear MetricsEmir Demirovic, Peter J. StuckeyAAAI 2021 · 29 citations
Related papers
- Near-Optimal Decision Trees in a SPLIT SecondVarun Babbar, Hayden McTavish, Cynthia Rudin, Margo I. SeltzerICML 2025
- Synthesizing Fair Decision Trees via Iterative Constraint SolvingJingbo Wang, Yannan Li, Chao WangCAV 2022 · 11 citations
- Efficient Fairness-Performance Pareto Front ComputationMark Kozdoba, Binyamin Perets, Shie MannorNeurIPS 2025 · 2 citations
- Breiman meets Bellman: Non-Greedy Decision Trees with MDPsHector Kohler, Riad Akrour, Philippe PreuxKDD 2025
- Blossom: an Anytime Algorithm for Computing Optimal Decision TreesEmir Demirovic, Emmanuel Hebrard, Louis JeanICML 2023 · 11 citations
