Extrapolated Random Tree for Regression

Yuchao Cai, Yuheng Ma, Yiwei Dong, Hanfang YangICML 2023

TL;DR

Extrapolated Random Tree for Regression (ERTR) is a novel tree-based algorithm that overcomes the "piece-wise constant" limitation of standard decision trees. By employing a technique called homothetic extrapolation—which shrinks leaf cells around a test point and uses linear regression to extrapolate the prediction to a zero-radius limit—ERTR achieves theoretically optimal convergence rates for smooth functions while remaining highly interpretable.

The Problem with Standard Trees

Standard regression trees, such as CART or those used in Random Forests, are inherently "piece-wise constant." They divide the input space into distinct boxes and predict the average value within each box. While this structure is powerful and interpretable, it has a fundamental theoretical flaw: it struggles to approximate smooth, high-order functions.

Mathematically, standard trees are limited to a "Lipschitz" smoothness level ($C^{0,1}$). If the underlying target function is very smooth (e.g., a sine wave or a complex physical manifold), a standard tree must grow incredibly deep to approximate it well. This often leads to high variance and poor generalization. Existing "smooth" tree variants either lack strong theoretical guarantees or are computationally expensive (like Bayesian methods). ERTR bridges this gap by creating a tree that adapts to arbitrary smoothness ($C^{k,\alpha}$) without losing the efficiency and interpretability that make trees so popular.

Methods: Homothetic Trees and Extrapolation

The authors introduce two key concepts to solve this problem: Homothetic Random Trees (HRTR) and the Extrapolation procedure.

  1. Random Tree Partition: The process begins with a standard random tree that splits cells at the midpoint of their longest edge.
  2. Homothetic Transformation: For a given test point $x$, instead of just looking at the data in its standard leaf cell, the algorithm defines a "shrunk" version of that cell. This shrunk cell is scaled by a ratio $r$ (between 0 and 1). As $r$ gets smaller, the cell collapses directly toward the point $x$.
Homothetic Transformation
  1. HRTR Estimation: The model calculates the average response of data points within these shrunk cells for several different ratios (e.g., $r = 0.1, 0.2, \dots, 1.0$).
  2. Extrapolation (The "Secret Sauce"): Using Taylor expansion theory, the authors show that the error of a tree prediction can be modeled as a polynomial of the ratio $r$. By fitting a simple linear regression to the predictions obtained at different ratios, ERTR can "extrapolate" and predict what the value would be if the ratio $r$ were exactly zero.

This process effectively eradicates the dominant bias terms that usually plague tree-based models, allowing the model to adapt to the high-order smoothness of the target function.

Datasets and Empirical Evidence

The researchers evaluated ERTR on a wide variety of benchmarks, starting with synthetic data to visualize the smoothing effect, and moving to 12 diverse real-world datasets from the UCI repository and LIBSVM (covering physical engineering, environmental, and socio-economic domains).

On a synthetic 1D sine wave model ($Y = \sin(16X) + \epsilon$), ERTR clearly demonstrates how extrapolation smooths out the jagged "staircase" effect typical of standard trees.

ERTR Estimation and Extrapolation on a Sine Wave

Key Insights and Results

  • Bias Eradication via Taylor Series: The most significant breakthrough is treating the tree's approximation error as a function of cell size that can be modeled via Taylor expansion. This allows the use of classic numerical extrapolation in a machine learning context.
  • Optimal Convergence: The paper proves that ERTR achieves the minimax optimal convergence rate of $O(n^{-2(k+\alpha)/(2(k+\alpha)+d)})$ for functions in the general Hölder space $C^{k,\alpha}$. This is a major theoretical step up from standard random trees (RTR), which are stuck at a strictly slower rate of $O(n^{-2/(2+d)})$.
  • Interpretability Maintained: Unlike "black-box" smoothers, ERTR's final prediction is still a weighted average of the data points in the local neighborhood. The extrapolation simply provides a mathematically sound way to determine those weights.
  • Ensemble Synergy: Extrapolation (which reduces bias) pairs perfectly with ensembling (which reduces variance). When extended to forests, the Extrapolated Random Forest (ERF) achieved the best performance on 6 out of 12 real-world datasets and the lowest overall rank sum, beating standard Random Forests and the state-of-the-art Bayesian model SBART.

Limitations and Future Work

While powerful, ERTR does come with trade-offs:

  • Computational Cost at Test Time: Training is as fast as a standard tree, but the testing phase is more intensive. It requires computing multiple HRTR estimations and solving a small linear regression for every single test point.
  • Hyperparameter Sensitivity: Performance depends on choosing the right number of ratios and the extrapolation order. Too high, and the model overfits local noise; too low, and it fails to capture the smoothness.
  • Data Density (Curse of Dimensionality): Extrapolation relies on having enough points in the shrunk cells. In very high-dimensional spaces with sparse data, the shrunk cells might become empty, potentially degrading performance.

Future work will explore applying this extrapolation technique to other learning algorithms beyond trees to see if similar smoothness-adaptation gains can be achieved across the broader machine learning landscape.

Summary updated

BibTeX
@inproceedings{cai2023extrapolated,
  author = {Yuchao Cai and Yuheng Ma and Yiwei Dong and Hanfang Yang},
  title = {{Extrapolated Random Tree for Regression}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=uI8l8AENlj},
}
Figure