Sparse hierarchical regression with polynomials

Dimitris Bertsimas, Bart P. G. Van ParysMachine 2020

Introduction

In modern data science, researchers frequently encounter the "curse of dimensionality": datasets with thousands of potential input variables ($p$) where only a small subset ($k$) is truly influential. While linear models are often insufficient for capturing complex real-world relationships, nonlinear alternatives like polynomial regression face a combinatorial explosion of terms. Traditional heuristics like the Lasso often fail to recover exact sparsity patterns and introduce bias into coefficient estimates.

This paper introduces a novel two-step framework for Hierarchical $(k, \ell)$-sparse regression. The goal is to identify a polynomial model of degree $r$ that utilizes at most $k$ original inputs and at most $\ell$ total monomial terms, ensuring both high predictive power and human-readable interpretability.

Methodology

The proposed approach bridges the gap between fast heuristics and exact optimization through a two-stage process.

The two-step framework for sparse hierarchical regression.
  1. The Triage Heuristic (Input Ranking): To manage high-dimensional data, the authors employ a "polynomial kernel ranking" method. By utilizing Mercer kernel representations, the importance of each input variable is calculated without explicitly constructing the massive polynomial feature space. This effectively narrows the search from $p$ variables to a manageable subset $p'$.
  2. Exact Cutting Plane Algorithm: The narrowed search space is then processed using a Convex Integer Optimization (CIO) formulation. Unlike traditional "Big-M" methods that can be numerically unstable, this approach uses a cutting plane algorithm (outer approximation) to iteratively solve for the optimal binary selection of features.

The Challenge of Polynomial Expansion

The complexity of the problem stems from the rapid growth of the feature space. As the degree of the polynomial increases, the number of possible monomials grows significantly.

By indexing these terms (as shown above), the algorithm can systematically evaluate and select the most relevant components while adhering to the hierarchical constraints ($k$ inputs and $\ell$ terms).

Key Insights: The Phase Transition

A central finding of this research is the existence of a "computational and statistical phase transition." When the number of samples ($n$) exceeds a critical threshold ($n_0$), the exact CIO method achieves near-perfect accuracy—recovering 100% of true features with virtually no false alarms. Remarkably, in this regime, the exact method is often as computationally efficient as the Lasso heuristic. Below this threshold, the problem becomes both statistically unreliable and computationally difficult.

Unlike the Lasso, which tends to "over-include" irrelevant features to capture the signal, the CIO approach is highly disciplined. It identifies "the whole truth and nothing but the truth," rejecting noise far more effectively than convex relaxations.

Experimental Results

The method was rigorously tested on both synthetic and real-world datasets:

  • Synthetic Benchmarks: CIO consistently outperformed Lasso in feature recovery. In scenarios where Lasso exhibited a 75% false alarm rate, the CIO method maintained a rate near 20% while achieving superior accuracy.
  • Real-World Performance: Evaluated against 14 UCI datasets (e.g., Airfoil self-noise, Wine quality), the sparse polynomial method proved competitive with state-of-the-art non-parametric models like Decision Trees (CART) and Nearest Neighbors. It often provided the best or second-best predictive performance while offering a much simpler, closed-form mathematical model.
  • Scalability: The framework successfully scaled to problems with $n \approx 10,000$ observations and $p \approx 1,000$ input dimensions, demonstrating its viability for large-scale applications.

Conclusion

By combining kernel-based heuristics with exact integer optimization, this framework offers a powerful tool for discovering interpretable nonlinear relationships in high-dimensional data. While the two-step "triage" approach carries a theoretical risk of discarding relevant features early on, empirical results suggest it is a robust and scalable solution for modern regression challenges. Future work may explore non-polynomial basis functions and further refinements to hyperparameter tuning for $k, \ell,$ and $r$.

Summary updated

BibTeX
@inproceedings{bertsimas2020sparse,
  author = {Dimitris Bertsimas and Bart P. G. Van Parys},
  title = {{Sparse hierarchical regression with polynomials}},
  booktitle = {Machine},
  year = {2020},
  doi = {10.1007/s10994-020-05868-6},
}
Figure