Fast Linear Model Trees by PILOT

Jakob Raymaekers, Peter J. Rousseeuw, Tim Verdonck, Ruicong Yao · DOI

Introduction: The "Organic" Alternative to CART

Standard decision trees, such as CART or C4.5, are foundational tools in machine learning due to their speed and interpretability. However, these models are inherently piecewise constant. When tasked with approximating a simple linear relationship, they must generate a "staircase" of numerous splits, which is both computationally inefficient and often inaccurate.

While "linear model trees"—which incorporate linear regressions into leaf nodes—have existed for decades (e.g., M5, GUIDE), they have struggled with high computational costs, a tendency to overfit through "exploding" extrapolations, and a lack of formal theoretical guarantees. PILOT (PIecewise Linear Organic Tree) addresses these issues, matching the speed of CART while providing superior accuracy on linear data.

The PILOT Methodology

The "organic" designation of PILOT refers to its growth strategy: the tree is grown to its optimal size from the outset using internal regularization, bypassing the traditional "grow-then-prune" cycle.

At every node, PILOT evaluates five distinct modeling approaches:

  1. Constant (CON)
  2. Linear (LIN)
  3. Piecewise Constant (PCON)
  4. Broken Linear (BLIN) – continuous at the split
  5. Piecewise Linear (PLIN) – discontinuous at the split

To select the best model without overfitting, PILOT employs the Bayesian Information Criterion (BIC), which penalizes complexity unless it yields a significant accuracy gain. Furthermore, by using rank-one updates for Gram and moment matrices, PILOT maintains a time complexity of $O(np)$ per level, achieving speed parity with CART.

Example of a PILOT tree structure with linear models at nodes and leaves.

Stability through Dual Truncation

A major hurdle for linear model trees is instability when encountering test data outside the training range. PILOT introduces a dual truncation mechanism to act as a "safety rail":

  • First Truncation: Limits the prediction range based on the response values seen during training.
  • Second Truncation: Prevents extreme extrapolations when test features fall outside the training feature range.
Visualizing the first and second truncation methods used by PILOT to prevent unstable extrapolations.

These rules ensure that even if a linear model would "explode" mathematically, the actual prediction remains bounded and robust.

Performance and Results

In evaluations across 20 diverse benchmark datasets, PILOT demonstrated remarkable consistency and robustness:

  • Accuracy: It outperformed the classic FRIED algorithm in 16 of 19 datasets and standard CART in 17 of 20.
  • Robustness: On datasets like "Residential," where older algorithms failed due to extrapolation errors, PILOT remained stable thanks to its truncation methods.
  • High-Dimensional Data: On the "Riboflavin" dataset (4,088 predictors), PILOT behaved similarly to Lasso or Ridge regression, significantly outperforming other tree-based methods.

Conclusion and Future Directions

PILOT offers a theoretically grounded, fast, and stable alternative to traditional regression trees. While it may still be limited by the "greedy" nature of top-down splitting on highly complex, non-linear data, its efficiency makes it an ideal candidate for future ensemble methods. Integrating PILOT trees as base learners in Random Forests or Gradient Boosted machines could combine local linear efficiency with global non-linear modeling power.

Summary updated

BibTeX
@article{raymaekers2024fast,
  author = {Jakob Raymaekers and Peter J. Rousseeuw and Tim Verdonck and Ruicong Yao},
  title = {{Fast Linear Model Trees by PILOT}},
  journal = {Machine Learning},
  year = {2024},
  doi = {10.1007/s10994-024-06590-3},
}
Figure