Researchers from IBM have developed SVM1-ODT, a new framework that uses Mixed-Integer Programming (MIP) to train optimal multivariate decision trees. By combining a 1-norm Support Vector Machine (SVM) formulation with a novel data-selection algorithm, they have made it possible to find globally optimal trees for datasets with hundreds of thousands of samples—shattering the previous limit of roughly 5,000.
The Problem with Traditional Decision Trees
Standard decision tree algorithms like CART or C4.5 are "greedy." They make the best possible split at the current node without looking ahead to see how that choice affects the rest of the tree. While fast, this often leads to suboptimal models that require heavy pruning to generalize well.
"Optimal Decision Trees" (ODT) aim to solve this by treating tree construction as a global optimization problem, typically using Mixed-Integer Programming (MIP). However, ODTs face two massive hurdles:
- Complexity: Finding the absolute best tree is NP-hard. Previous MIP-based methods couldn't handle more than about 5,500 samples before becoming computationally intractable.
- Multivariate Splits: Most trees use "axis-parallel" splits (e.g., is Feature X > 10?). Multivariate or "oblique" splits (e.g., is 2X + 3Y > 10?) are much more powerful but significantly harder to optimize within a mathematical program.
The SVM1-ODT Approach
The authors introduce a formulation called SVM1-ODT, whose architecture rests on three pillars:
- 1-norm SVM Formulation: Instead of standard classification metrics, they use a 1-norm SVM model at each node. The 1-norm is key because it can be linearized (unlike the standard 2-norm), making it compatible with MIP solvers while naturally encouraging "sparse" splits that only use a few relevant features.
- Tightening the Math: MIP solvers rely on "Linear Programming (LP) relaxations." If the relaxation is "loose," the solver wanders aimlessly. The authors introduced "cutting planes"—extra mathematical constraints—that tighten the search space and removed "Big-M" constants (a common source of numerical instability) to speed up convergence.
- LP-Based Data Selection: This is the "secret sauce" for scalability. Before training the full MIP, they use a fast Linear Program to identify "extreme points" (the most informative data points on the boundaries of clusters). By training the complex MIP only on this representative subset, they can process massive datasets without losing accuracy.
Key Results and Performance
The researchers evaluated their method using 36 datasets from the UCI Machine Learning Repository, ranging from medium-sized sets (80 to 7,000 samples) to large-scale sets like the Shuttle dataset (245,000 samples).
Accuracy Boost
On average, SVM1-ODT (labeled as S1O) outperformed other state-of-the-art MIP methods and CART by about 10% in out-of-sample testing accuracy.
Multi-class Excellence
For complex datasets with more than four classes (using a tree depth of 3), the improvement was even more dramatic. SVM1-ODT reached 17-20% better accuracy than CART, demonstrating a clear advantage in handling complex, multi-class boundaries.
Unprecedented Scale
While existing MIP methods failed or stalled on datasets larger than 5,500 samples, SVM1-ODT successfully handled the 245,000-sample Shuttle dataset, maintaining high accuracy where others couldn't even start.
Key Insights
- Global beats Greedy: By looking at the entire tree structure simultaneously, the model avoids the short-sighted mistakes of CART.
- The Power of Sparsity: Using the 1-norm doesn't just make the math easier; it acts as a feature selector at every branch, creating trees that are easier for humans to interpret.
- Data Selection is a Force Multiplier: You don't need every single data point to find the optimal hyperplane; you just need the points that define the "shape" of the data. LP-based selection allows the model to discard redundant interior points.
Limitations and Future Work
Despite the leaps in scalability regarding sample size, tree depth remains a bottleneck. The experiments were largely limited to depths of 2 and 3. As the depth increases, the number of decision variables in the MIP grows exponentially, which still poses a challenge for current solvers.
The authors suggest that future work could involve a "combined model" where data selection and tree training happen iteratively at each layer, potentially allowing for even deeper optimal trees. They also note that while multivariate trees are more accurate, they are slightly less transparent than simple axis-parallel trees, suggesting a trade-off between performance and pure interpretability.
Summary updated