Constrained Prescriptive Trees via Column Generation

Shivaram Subramanian, Wei Sun, Youssef Drissi, Markus Ettl

Introduction

In modern data science, predictive analytics—forecasting what will happen—has reached a high level of maturity. However, the ultimate goal for many organizations is prescriptive analytics: determining the optimal course of action to achieve a desired outcome. While powerful black-box models like XGBoost or deep neural networks excel at prediction, they often fail in prescriptive settings because they lack interpretability and cannot easily incorporate complex, real-world business constraints.

This research introduces a scalable framework for building Constrained Prescriptive Trees. By combining the interpretability of decision trees with the mathematical rigor of Mixed-Integer Programming (MIP), the authors propose a method that bridges the gap between raw data and actionable, constraint-aware policies.

The Challenge: Constraints and Scalability

Existing prescriptive tree methods typically face two significant hurdles:

  1. Operational Constraints: Real-world decisions are rarely made in a vacuum. Retailers must manage inventory limits, and airlines must adhere to pricing hierarchies. Most current algorithms generate "optimal" policies that are practically unimplementable because they ignore these side constraints.
  2. Computational Scalability: State-of-the-art "optimal" tree algorithms often rely on "arc-based" formulations where the number of decision variables grows linearly with the number of data samples. Consequently, they often fail to scale beyond $10^5$ samples, making them unsuitable for large-scale industrial applications.

Methodology: The SPMT Framework

The proposed solution is the Student Prescriptive Multiway-split Tree (SPMT), which utilizes a Teacher-Student learning paradigm.

Teacher-Student Learning

A powerful "Teacher" model (e.g., LightGBM) is first trained to estimate counterfactuals—predicting the outcome for every possible action for every individual in the dataset. The "Student" model is then trained to find an interpretable decision tree that maximizes the expected outcome based on the Teacher's estimates.

Multiway Splits for Interpretability

Unlike standard binary trees that often require deep branches to represent complex logic, SPMT uses multiway splits. This allows a single node to branch into multiple categories (e.g., Marital Status: Single, Married, Unknown), resulting in shorter, flatter, and more human-readable trees.

An example of an interpretable Student Prescriptive Multiway-split Tree (SPMT) showing multiway splits for marital status and household size.

Path-Based MIP and Column Generation

The core innovation lies in treating the tree-building process as a Set Partitioning Problem. Instead of building the tree node-by-node, the problem is formulated as selecting a set of "paths" (decision rules) from a feature graph that cover the population and maximize revenue. To handle the exponential number of possible paths, the authors employ Column Generation (CG). This technique iteratively adds the most promising decision rules to a "Restricted Master Problem," allowing the model to scale to millions of rows by decoupling variables from the sample size.

Experimental Results

The researchers evaluated SPMT across diverse datasets, including synthetic demand models, grocery pricing, housing upgrades, and a massive airline pricing dataset with over 1.3 million samples.

Performance and Scalability

The SPMT approach demonstrated exceptional scalability, handling 1,000,000 samples in under an hour—a feat impossible for previous MIP-based prescriptive models. As shown in the performance plots, SPMT maintains competitive revenue performance across varying tree depths and significantly benefits from larger training datasets, eventually converging toward optimal performance.

Revenue performance of SPMT compared to benchmarks across (a) varying tree depths and (b) training data sizes.

Real-World Impact

In a grocery pricing task, SPMT achieved an 82.8% revenue increase over historical baselines, outperforming other prescriptive tree benchmarks. In the airline pricing case, SPMT successfully enforced complex constraints, such as ensuring Business class seats were not priced lower than Economy—a logic check that greedy methods failed to maintain.

Conclusion

The SPMT framework represents a significant step forward for prescriptive analytics. By leveraging Column Generation and a path-based MIP formulation, it provides a scalable, interpretable, and constraint-aware solution for complex decision-making. While the model's performance is tied to the quality of the "Teacher" model, its ability to handle millions of samples while respecting operational boundaries makes it a powerful tool for real-world industrial applications.

Summary updated

BibTeX
@inproceedings{subramanian2022constrained,
  author = {Shivaram Subramanian and Wei Sun and Youssef Drissi and Markus Ettl},
  title = {{Constrained Prescriptive Trees via Column Generation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=woYjXSfB8v0},
}
Figure