Skip to main content
QUICK REVIEW

[Paper Review] Strong Optimal Classification Trees

Sina Aghaei, Andrés Gómez|arXiv (Cornell University)|Mar 29, 2021
Machine Learning and Data ClassificationComputer Science15 citations
TL;DR

This paper proposes a novel flow-based mixed-integer optimization (MIO) formulation for learning optimal binary classification trees with univariate splits, leveraging Benders’ decomposition and max-flow/min-cut duality to accelerate computation. It achieves 29× faster convergence and up to 8% better out-of-sample performance than state-of-the-art MIO methods, while enabling interpretable and fair tree designs via side constraints.

ABSTRACT

Decision trees are among the most popular machine learning models and are used routinely in applications ranging from revenue management and medicine to bioinformatics. In this paper, we consider the problem of learning optimal binary classification trees with univariate splits. Literature on the topic has burgeoned in recent years, motivated both by the empirical suboptimality of heuristic approaches and the tremendous improvements in mixed-integer optimization (MIO) technology. Yet, existing MIO-based approaches from the literature do not leverage the power of MIO to its full extent: they rely on weak formulations, resulting in slow convergence and large optimality gaps. To fill this gap in the literature, we propose an intuitive flow-based MIO formulation for learning optimal binary classification trees. Our formulation can accommodate side constraints to enable the design of interpretable and fair decision trees. Moreover, we show that our formulation has a stronger linear optimization relaxation than existing methods in the case of binary data. We exploit the decomposable structure of our formulation and max-flow/min-cut duality to derive a Benders' decomposition method to speed-up computation. We propose a tailored procedure for solving each decomposed subproblem that provably generates facets of the feasible set of the MIO as constraints to add to the main problem. We conduct extensive computational experiments on standard benchmark datasets on which we show that our proposed approaches are 29 times faster than state-of-the-art MIO-based techniques and improve out-of-sample performance by up to 8%.

Motivation & Objective

  • To address the limitations of existing MIO-based approaches for optimal classification trees, which suffer from weak formulations, slow convergence, and large optimality gaps.
  • To develop a stronger MIO formulation that leverages the structure of binary data to improve relaxation strength and solution quality.
  • To accelerate computation via Benders’ decomposition, exploiting the decomposable structure and max-flow/min-cut duality.
  • To enable the incorporation of side constraints for designing interpretable and fair decision trees.
  • To empirically demonstrate superior performance in both computational speed and out-of-sample accuracy on benchmark datasets.

Proposed method

  • Proposes a flow-based MIO formulation that models decision tree learning as a network flow problem, with variables representing data flow through nodes and splits.
  • Uses max-flow/min-cut duality to derive Benders’ optimality cuts, strengthening the master problem through valid inequalities.
  • Develops a tailored subproblem resolution procedure that generates cutting planes (facets) of the MIO feasible set to tighten the relaxation.
  • Implements a Benders’ decomposition framework where the master problem optimizes tree structure and the subproblems verify feasibility and generate cuts.
  • Employs a decomposition strategy that separates the problem into a master problem (tree structure) and subproblems (data flow and split decisions), enabling efficient column generation.
  • Supports side constraints such as fairness and interpretability by integrating them directly into the MIO formulation.

Experimental results

Research questions

  • RQ1Can a flow-based MIO formulation significantly improve the relaxation strength and convergence speed for optimal classification tree learning?
  • RQ2To what extent can Benders’ decomposition with duality-based cuts accelerate the solution of optimal decision tree problems?
  • RQ3How does the proposed method compare in computational efficiency and out-of-sample performance to existing MIO-based approaches?
  • RQ4Can the proposed framework effectively incorporate side constraints to produce interpretable and fair decision trees?
  • RQ5Does the stronger formulation lead to better generalization performance on unseen data?

Key findings

  • The proposed flow-based MIO formulation achieves a stronger linear programming relaxation than existing methods for binary data, improving bound quality.
  • The Benders’ decomposition approach with tailored subproblem resolution reduces optimality gaps and accelerates convergence, resulting in 29× faster computation on average compared to state-of-the-art MIO techniques.
  • On standard benchmark datasets, the method improves out-of-sample performance by up to 8% compared to existing optimal tree methods.
  • The framework successfully incorporates side constraints, enabling the construction of interpretable and fair decision trees without sacrificing performance.
  • The method demonstrates robustness across diverse datasets, including house-votes-84, spect, breast-cancer, balance-scale, tic-tac-toe, car-evaluation, and kr-vs-kp, with consistent speedups and accuracy gains.
  • The subproblem resolution procedure provably generates valid facets of the MIO feasible set, strengthening the master problem iteratively.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.