Learning Optimal and Fair Decision Trees for Non-Discriminative Decision-Making

Sina Aghaei, Mohammad Javad Azizi, Phebe Vayanos

Abstract

This paper introduces a Mixed-Integer Programming (MIP) framework to build decision trees that are both mathematically optimal and socially fair. By treating tree construction as a global optimization problem rather than a series of greedy heuristics, the authors provide a unified way to mitigate bias in both classification and regression tasks without sacrificing more accuracy than necessary.

Introduction

Automated decision-making systems—used in high-stakes domains like credit scoring, hiring, and criminal sentencing—often inadvertently discriminate against protected groups. This discrimination manifests as disparate treatment (explicit use of sensitive attributes) or disparate impact (systematic bias in outcomes). Traditional "fair" decision tree algorithms often rely on greedy heuristics like CART, which make local, short-sighted splits. These methods frequently result in sub-optimal trade-offs between accuracy and fairness and are largely limited to classification tasks.

Methods: A Global Optimization Approach

The authors propose an in-processing approach using Mixed-Integer Linear Programming (MILP). Unlike top-down greedy methods, this framework optimizes the entire tree structure simultaneously to minimize a combined loss function:

Total Loss = Prediction Error + λ × Discrimination Index

The parameter λ allows decision-makers to tune the trade-off between accuracy and fairness. The framework introduces two new fairness indices:

  • DIDI (Disparate Impact Discrimination Index): Measures average prediction differences across protected groups.
  • DTDI (Disparate Treatment Discrimination Index): A kernel-based approach to ensure similar individuals are treated consistently regardless of protected traits.

The framework is highly flexible, supporting oblique trees (linear branching), linear regression at the leaves (linear leafing), and explicit handling of categorical features for enhanced interpretability.

Key Insights and Ideas

A core finding is that global optimization consistently outperforms heuristic-based fair trees. The MIP approach identifies "fairer" trees that maintain higher accuracy than those produced by greedy algorithms.

Technical analysis of the MIP framework, including depth trade-offs, convergence, and fairness distribution.

As shown in the technical analysis, increasing tree depth generally improves the objective but requires careful balancing with fairness metrics (DTDI). The MILP solver demonstrates clear convergence over time, providing provably optimal or near-optimal solutions. Furthermore, the framework allows for interpretability as a "first-class citizen," enabling hard constraints on tree depth and feature counts to ensure models remain human-auditable.

Key Results

The framework was evaluated on standard benchmarks: Default (Taiwanese credit), Adult (US Census), COMPAS (recidivism), and Crime (communities and crime).

Performance comparison of MIP-DT against baseline models across classification and regression datasets.

On the Adult and COMPAS datasets, MIP-DT achieved higher accuracy than existing fair decision tree heuristics (like DADT) and fair logistic regression models at equivalent discrimination levels. In many classification scenarios, the framework produced models with zero measured discrimination while maintaining accuracy levels close to standard "unfair" trees. For the regression task (Crime dataset), the MIP-DT model significantly outperformed fair linear regression baselines, demonstrating the advantage of non-linear tree structures in capturing complex patterns fairly.

Limitations and Future Work

The primary challenge is computational complexity. Solving MILPs is NP-hard, and training can take several hours for complex trees. While inference is extremely fast (milliseconds), scaling to massive datasets remains a hurdle. Future research may explore more efficient solvers, approximation methods, or the integration of additional fairness definitions like equalized odds.

Summary updated

BibTeX
@inproceedings{aghaei2019learning,
  author = {Sina Aghaei and Mohammad Javad Azizi and Phebe Vayanos},
  title = {{Learning Optimal and Fair Decision Trees for Non-Discriminative Decision-Making}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33011418},
}
Figure