A Scalable MIP-based Method for Learning Optimal Multivariate Decision Trees

Haoran Zhu, Pavankumar Murali, Dzung T. Phan, Lam M. Nguyen, Jayant R. Kalagnanam

Introduction

Decision trees are a cornerstone of interpretable machine learning. However, traditional algorithms like CART rely on greedy heuristics, making locally optimal splits that often lead to globally suboptimal tree structures. While Mixed-Integer Programming (MIP) offers a path to training Optimal Decision Trees (ODT), existing methods struggle with two primary challenges: the computational complexity of multivariate (oblique) splits and the inability to scale beyond a few thousand samples.

This paper introduces SVM1-ODT, a novel MIP-based framework that leverages 1-norm Support Vector Machines to train high-performing multivariate decision trees. By introducing mathematical tightening techniques and a unique data selection heuristic, the authors extend the reach of ODTs to datasets with hundreds of thousands of samples.

Methodology: SVM1-ODT and Scalability

The core of the proposed approach is the SVM1-ODT formulation. Unlike univariate trees that split on a single feature, multivariate trees use linear combinations of features, creating more flexible decision boundaries.

1-Norm SVM Formulation

The authors incorporate a 1-norm SVM model into the MIP objective. This choice serves two purposes: it maximizes the margin between classes at the leaf nodes to improve generalization and utilizes the 1-norm to induce sparsity, ensuring the resulting trees remain interpretable by using fewer features per split.

Computational Efficiency

To make the MIP solvable, the researchers implemented several "tightening" strategies:

  • Big-M Reduction: They proved that the standard "big-M" constant used in logical constraints can be reduced to 1, significantly improving numerical stability.
  • Cutting Planes: Additional constraints are added to prune the search space, allowing solvers to reach optimality faster.

LP-based Data Selection

To handle massive datasets, the authors developed a pre-processing step using Linear Programming (LP). This method identifies "informative" points—those near decision boundaries or representing the convex hull of the data—and discards redundant "interior" points. This allows the MIP to train on a representative subset, enabling scalability to datasets as large as the Skin Segmentation set (245,057 samples).

Experimental Results

The performance of SVM1-ODT was evaluated against traditional CART and other state-of-the-art MIP methods (like OCT-H and BinOCT) across 36 UCI datasets.

Accuracy Gains

SVM1-ODT consistently outperformed its counterparts. On average, the method achieved a 10% improvement in out-of-sample testing accuracy. The gains were particularly pronounced as tree depth increased.

Testing accuracy comparison across various UCI datasets for different ODT methods and CART.

For trees of depth $D=3$, the performance gap widened significantly. In some cases, SVM1-ODT outperformed CART by nearly 20%, demonstrating the power of global optimization over greedy splitting.

Comparison of testing and training accuracy for tree depth D=3 across selected datasets.

Unprecedented Scalability

A major contribution of this work is its scalability. While previous MIP-based ODT methods typically failed on datasets exceeding 5,500 samples, the SVM1-ODT framework successfully processed the Skin Segmentation dataset (245k+ samples) and the Shuttle dataset (43k+ samples), maintaining high accuracy while other methods timed out.

Discussion and Future Work

The results suggest that the 1-norm SVM formulation provides a superior balance of tractability and performance compared to 0-norm or univariate approaches. By looking at the entire tree structure simultaneously, the MIP can accept a weaker split early on if it enables much stronger classification in deeper nodes.

Despite these improvements, the search space for MIPs grows exponentially with tree depth, meaning the method is currently most effective for "shallow" trees (depth 2 or 3). Future research may explore integrating the data selection process directly into the MIP layers or refining the handling of categorical features to further improve efficiency.

Summary updated

BibTeX
@inproceedings{zhu2020scalable,
  author = {Haoran Zhu and Pavankumar Murali and Dzung T. Phan and Lam M. Nguyen and Jayant R. Kalagnanam},
  title = {{A Scalable MIP-based Method for Learning Optimal Multivariate Decision Trees}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=vRIs-1so8s},
}
Figure