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 Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Necessary and Sufficient Conditions for Optimal Decision Trees using Dynamic Programming cites A Scalable MIP-based Method for Learning Optimal Multivariate Decision Trees
- Necessary and Sufficient Conditions for Optimal Decision Trees using Dynamic Programming cites Learning Optimal Decision Trees Using Caching Branch-and-Bound Search
- Necessary and Sufficient Conditions for Optimal Decision Trees using Dynamic Programming cites Optimal Decision Trees for Nonlinear Metrics
- Necessary and Sufficient Conditions for Optimal Decision Trees using Dynamic Programming cites Generalized and Scalable Optimal Sparse Decision Trees
- Optimal Decision Trees for Nonlinear Metrics cites Learning Optimal Decision Trees Using Caching Branch-and-Bound Search
- Optimal Decision Trees for Nonlinear Metrics cites Generalized and Scalable Optimal Sparse Decision Trees
- SORTeD Rashomon Sets of Sparse Decision Trees: Anytime Enumeration cites Necessary and Sufficient Conditions for Optimal Decision Trees using Dynamic Programming
- SORTeD Rashomon Sets of Sparse Decision Trees: Anytime Enumeration cites Learning Optimal Decision Trees Using Caching Branch-and-Bound Search
- SORTeD Rashomon Sets of Sparse Decision Trees: Anytime Enumeration cites Optimal Decision Trees for Nonlinear Metrics
- SORTeD Rashomon Sets of Sparse Decision Trees: Anytime Enumeration cites Generalized and Scalable Optimal Sparse Decision Trees
- SORTeD Rashomon Sets of Sparse Decision Trees: Anytime Enumeration cites Piecewise Constant and Linear Regression Trees: An Optimal Dynamic Programming Approach
- Piecewise Constant and Linear Regression Trees: An Optimal Dynamic Programming Approach cites Necessary and Sufficient Conditions for Optimal Decision Trees using Dynamic Programming
- Piecewise Constant and Linear Regression Trees: An Optimal Dynamic Programming Approach cites A Scalable MIP-based Method for Learning Optimal Multivariate Decision Trees
- Piecewise Constant and Linear Regression Trees: An Optimal Dynamic Programming Approach cites Learning Optimal Decision Trees Using Caching Branch-and-Bound Search
- Piecewise Constant and Linear Regression Trees: An Optimal Dynamic Programming Approach cites Generalized and Scalable Optimal Sparse Decision Trees
- MAPTree: Beating "Optimal" Decision Trees with Bayesian Decision Trees cites Learning Optimal Decision Trees Using Caching Branch-and-Bound Search
Cited 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
