Tight mixed-integer optimization formulations for prescriptive trees

Max Biggs, Georgia Perakis

TL;DR

This paper tackles the challenge of efficiently optimizing decisions when the outcome is predicted by a trained decision tree or ensemble. The authors introduce novel mixed-integer optimization formulations that are provably tighter than existing methods, leading to faster solve times and more accurate results, especially for low-dimensional problems.

What Problem Does This Paper Address?

In many real-world applications, decision-making involves predicting uncertain outcomes using machine learning models. When these models are complex, like decision trees or ensembles, integrating them into optimization problems to find the "best" decision becomes computationally challenging. Existing methods for formulating these problems as mixed-integer optimization (MIO) problems often suffer from "loose" linear relaxations, meaning the initial continuous approximation of the problem has many non-integer solutions. This leads to slow convergence for MIO solvers, making it impractical for large-scale problems. The paper aims to develop tighter MIO formulations that overcome these limitations.

Methods

The core contribution of this paper is the development of new MIO formulations for decision trees and ensembles. The authors propose a "union of polyhedra" approach that directly models the relationship between input features and predicted outcomes. This formulation is proven to be "ideal" for a single decision tree, meaning its linear relaxation has only integer extreme points, which is highly desirable for efficient solving.

They also introduce two methods to "tighten" existing formulations based on the binary representation of feature splits:

  • Expset formulation: Exploits the structure of ordered splits on the same feature to reduce fractional solutions.
  • Elbow formulation: Addresses nested splits on the same feature to further remove fractional solutions.

These new formulations are compared against existing methods like those from Mišić (2020) and Biggs et al. (2022).

Datasets

The paper evaluates its proposed formulations on both simulated and real-world data:

  • Simulated data: Used to test the performance of formulations with varying numbers of trees and features.
  • Real-world data:
    • Concrete dataset: Used to predict the compressive strength of concrete based on its mix characteristics.
  • Winequalityred dataset: Used to predict wine quality based on its chemical properties.

Key Insights and Ideas

  • Ideal formulations are crucial: The paper highlights that "ideal" MIO formulations (where the linear relaxation has integer solutions) are key to efficient solving. The proposed "union of polyhedra" formulation achieves this for single trees.
  • Structure matters: Exploiting the inherent structure of decision trees, particularly how splits on the same feature are ordered or nested, can lead to significantly tighter formulations.
  • Low-dimensional problems benefit most: The new formulations show the most dramatic improvements in tightness and solve time when the input feature vector is low-dimensional.
  • Trade-offs exist: While some formulations are ideal for single trees, they might not be ideal for ensembles. Similarly, formulations that are tighter might involve more complex constraints.

Key Results

  • The proposed "union of polyhedra" formulation is proven to be ideal for a single decision tree, offering a significant theoretical advantage.
  • The "expset" and "elbow" tightening strategies, when applied to existing formulations, demonstrably reduce fractional solutions and lead to tighter linear relaxations.
  • Experimental results show that the "projected" formulation (based on the union of polyhedra) is often faster than existing methods, especially for problems with fewer features.
  • Combining "expset" and "elbow" constraints generally yields the tightest linear relaxations.
  • For one-dimensional feature vectors, the "expset" formulation is ideal even for tree ensembles.

Limitations and Future Work

  • Ensemble complexity: While the proposed formulations are tighter, they are not always ideal for tree ensembles, especially when dealing with multiple features.
  • Computational overhead: Some formulations, while theoretically tighter, can introduce a large number of constraints, potentially increasing computational burden.
  • Future directions: The authors suggest exploring the relationship between their formulations and other polyhedral constraints, investigating logarithmic encodings for leaf selection, and extending their work to non-axis-aligned decision trees.

Summary updated

BibTeX
@article{biggs2025tight,
  author = {Max Biggs and Georgia Perakis},
  title = {{Tight mixed-integer optimization formulations for prescriptive trees}},
  journal = {Machine Learning},
  year = {2025},
  doi = {10.1007/s10994-025-06771-8},
}
Figure