Skip to main content
QUICK REVIEW

[Paper Review] Quant-BnB: A Scalable Branch-and-Bound Method for Optimal Decision Trees with Continuous Features

Rahul Mazumder, Meng Xiang|arXiv (Cornell University)|Jun 23, 2022
Machine Learning and Data ClassificationComputer Science5 citations
TL;DR

Quant-BnB is a novel branch-and-bound algorithm that enables scalable, exact learning of optimal decision trees with continuous features for both regression and classification tasks. By leveraging feature quantiles to partition the search space and compute tight bounds, it achieves significant speedups—solving depth-2 trees in under 10 seconds on large datasets where prior MIP and dynamic programming methods time out.

ABSTRACT

Decision trees are one of the most useful and popular methods in the machine learning toolbox. In this paper, we consider the problem of learning optimal decision trees, a combinatorial optimization problem that is challenging to solve at scale. A common approach in the literature is to use greedy heuristics, which may not be optimal. Recently there has been significant interest in learning optimal decision trees using various approaches (e.g., based on integer programming, dynamic programming) -- to achieve computational scalability, most of these approaches focus on classification tasks with binary features. In this paper, we present a new discrete optimization method based on branch-and-bound (BnB) to obtain optimal decision trees. Different from existing customized approaches, we consider both regression and classification tasks with continuous features. The basic idea underlying our approach is to split the search space based on the quantiles of the feature distribution -- leading to upper and lower bounds for the underlying optimization problem along the BnB iterations. Our proposed algorithm Quant-BnB shows significant speedups compared to existing approaches for shallow optimal trees on various real datasets.

Motivation & Objective

  • To address the lack of scalable, exact methods for optimal decision trees with continuous features.
  • To develop a standalone, solver-agnostic branch-and-bound algorithm that handles both regression and classification tasks.
  • To improve computational efficiency for shallow optimal trees (depth ≤ 3) on large-scale datasets with continuous features.
  • To bridge the gap between theoretical optimality and practical scalability in decision tree learning.

Proposed method

  • Uses quantiles of feature distributions to partition the search space into sub-regions for branch-and-bound exploration.
  • Employs a dynamic lower bound via W1,s′ (Equation 13) to prune suboptimal subtrees effectively.
  • Introduces a novel upper bound estimation strategy based on quantile-splitting to guide the search.
  • Applies a depth-first search strategy with pruning based on bounds, avoiding reliance on commercial MIP solvers.
  • Treats both continuous and binary features natively without binarization, preserving feature structure.
  • Uses a warm start from CART to accelerate convergence, with parameter s′ dynamically adjusted per node.

Experimental results

Research questions

  • RQ1Can a branch-and-bound method achieve exact optimal decision trees for continuous features at scale?
  • RQ2How does quantile-based search space decomposition improve bound quality and pruning efficiency compared to existing methods?
  • RQ3Can a standalone BnB algorithm outperform MIP and dynamic programming approaches on large datasets with continuous features?
  • RQ4What is the performance gain of Quant-BnB over state-of-the-art methods like ORT, GOSDT, and BinOCT on regression and classification tasks?

Key findings

  • Quant-BnB solved all depth-2 regression trees in under 10 seconds on datasets with up to 159,874 instances, while ORT timed out after 4 hours.
  • On the news dataset (31,715 instances), Quant-BnB completed depth-2 tree learning in 349 seconds, compared to ORT’s 2896 seconds (8.3x speedup).
  • For depth-3 trees, Quant-BnB achieved optimal solutions in under 20 seconds on 8 out of 11 regression datasets, while ORT failed to solve any within 4 hours.
  • On classification tasks, Quant-BnB matched or exceeded the optimal accuracy of binarized methods (e.g., MDLP) and outperformed CART on several datasets.
  • The method achieved a 96.6% training accuracy on the skin dataset (depth 3), matching the optimal performance of binarized methods but without feature transformation.
  • Quant-BnB demonstrated robustness and scalability, solving depth-2 trees on datasets with over 150,000 samples in under 10 minutes, significantly outperforming existing exact methods.

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.