Skip to main content
QUICK REVIEW

[Paper Review] Learning Optimal Classification Trees: Strong Max-Flow Formulations

Sina Aghaei, Andrés Gómez|arXiv (Cornell University)|Feb 21, 2020
Machine Learning and Data ClassificationComputer Science25 references18 citations
TL;DR

This paper proposes a strong max-flow-based mixed-integer programming (MIP) formulation for learning optimal binary classification trees, leveraging Benders' decomposition and max-flow/min-cut duality to achieve significantly faster convergence and tighter optimality gaps. The method achieves up to 50 times faster performance and improves out-of-sample accuracy by up to 13.8% compared to state-of-the-art MIP-based approaches on benchmark datasets.

ABSTRACT

We consider the problem of learning optimal binary classification trees. 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 programming (MIP) technology. Yet, existing approaches from the literature do not leverage the power of MIP to its full extent. Indeed, they rely on weak formulations, resulting in slow convergence and large optimality gaps. To fill this gap in the literature, we propose a flow-based MIP formulation for optimal binary classification trees that has a stronger linear programming relaxation. Our formulation presents an attractive decomposable structure. We exploit this structure and max-flow/min-cut duality to derive a Benders' decomposition method, which scales to larger instances. We conduct extensive computational experiments on standard benchmark datasets on which we show that our proposed approaches are 50 times faster than state-of-the art MIP-based techniques and improve out of sample performance up to 13.8%.

Motivation & Objective

  • To address the limitations of weak MIP formulations in learning optimal classification trees, which lead to slow convergence and large optimality gaps.
  • To develop a stronger MIP formulation that leverages flow-based modeling and duality to improve relaxation strength and solution efficiency.
  • To design a scalable Benders' decomposition framework exploiting the decomposable structure of the max-flow formulation.
  • To improve both in-sample optimization performance and out-of-sample generalization accuracy of optimal decision trees.
  • To demonstrate the superiority of the proposed formulation over existing MIP-based methods on standard benchmark datasets.

Proposed method

  • Proposes a novel flow-based MIP formulation for optimal binary classification trees, modeling branching decisions as flow networks with capacity and flow constraints.
  • Utilizes max-flow/min-cut duality to derive Benders' optimality cuts, enabling a decomposition approach that separates the master and subproblems efficiently.
  • Employs a Benders' decomposition algorithm that iteratively solves a relaxed master problem and subproblems, using optimality cuts derived from min-cut solutions.
  • Introduces a strong linear programming relaxation by embedding structural properties of the decision tree into the flow formulation.
  • Designs a scalable algorithm that maintains computational tractability even for larger datasets by exploiting the decomposable nature of the formulation.
  • Implements a warm-start strategy and dynamic cut generation to accelerate convergence during Benders' iterations.

Experimental results

Research questions

  • RQ1Can a max-flow-based MIP formulation significantly improve the strength of the linear relaxation for optimal classification tree learning?
  • RQ2Does leveraging max-flow/min-cut duality in a Benders' decomposition framework lead to faster convergence and smaller optimality gaps compared to existing MIP formulations?
  • RQ3To what extent does the proposed formulation improve out-of-sample accuracy compared to state-of-the-art MIP-based methods?
  • RQ4How does the method scale with increasing dataset size and tree depth in terms of solution time and optimality gap?
  • RQ5Can the proposed formulation maintain strong performance across diverse benchmark datasets with varying feature and class complexity?

Key findings

  • The proposed Benders' decomposition method achieves a 50× speedup over state-of-the-art MIP-based techniques (OCT) when solving problems with λ > 0, solving 666 instances within one hour compared to OCT’s 666 instances in 70 seconds.
  • For λ = 0, the method solves 79 instances within the time limit, achieving a 30× speedup over OCT and outperforming BinOCT in both speed and solution quality.
  • The Benders method maintains optimality gaps below 20% across all tested dataset sizes, while BinOCT exhibits 100% optimality gaps in larger instances due to weak formulations.
  • Out-of-sample accuracy improves by up to 13.8% compared to existing methods, with Benders achieving the best performance in 10 out of 13 datasets (and second in two more).
  • On the tic-tac-toe dataset with depth 5, Benders achieves 79.3% accuracy, outperforming OCT (69.7%), BinOCT (78.9%), and FlowOCT (66.3%).
  • On the kr-vs-kp dataset with depth 5, Benders achieves 86.7% accuracy, surpassing OCT (62.7%), BinOCT (87.1%), and FlowOCT (45.8%).

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.