Sparse high-dimensional regression: Exact scalable algorithms and phase transitions

Dimitris Bertsimas, Bart P. G. Van Parys

Abstract

We present a novel binary convex reformulation of the sparse regression problem that constitutes a new duality perspective. We devise a new cutting plane method and provide evidence that it can solve to provable optimality the sparse regression problem for sample sizes $n$ and number of regressors $p$ in the 100,000s—two orders of magnitude better than the current state of the art—in seconds. The ability to solve the problem for very high dimensions allows us to observe new phase transition phenomena. Contrary to traditional complexity theory, which suggests that the difficulty of a problem increases with size, the sparse regression problem becomes easier as the number of samples $n$ increases. In this regime, our approach recovers 100% of the true signal and solves the problem faster than Lasso. While the problem is more computationally intensive for small $n$, our optimal solution provides a statistically more relevant regressor than heuristic alternatives.

Introduction

In high-dimensional regression, the primary objective is to identify a parsimonious set of features that accurately predict an outcome. This is formally known as sparse regression or "best subset selection." Historically, researchers have relied on the $\ell_0$-norm to directly count non-zero coefficients. However, solving the $\ell_0$ problem is NP-hard, which led to the widespread adoption of "proxy" heuristics like Lasso ($\ell_1$ regularization).

While Lasso is computationally efficient, it introduces significant trade-offs: it often shrinks important coefficients (bias) and struggles to distinguish signal from noise in extremely high dimensions. Previous attempts to solve the exact $\ell_0$ problem using Mixed-Integer Optimization (MIO) were restricted to datasets with only a few thousand variables. This research bridges that gap, scaling exact sparse regression to the "big data" regime of $100,000+$ variables.

Methodology: A Duality Perspective

The core innovation of this work is a departure from traditional "primal" approaches that focus on regression weights $w$. Instead, the authors adopt a binary convex reformulation centered on the support vector $s$—a binary vector indicating which features are active.

1. Binary Convex Reformulation

By viewing the problem through the lens of kernel learning, the authors demonstrate that the objective function is convex with respect to the binary variables. This shift allows the use of powerful optimization techniques that were previously inapplicable to the $\ell_0$ problem.

2. Cutting Plane Algorithm

Rather than employing a standard branch-and-bound tree, the researchers developed an iterative "outer approximation" or cutting plane method. The algorithm begins with a simplified approximation of the loss function and dynamically adds linear constraints (cuts) only where necessary to refine the solution.

3. Computational Efficiency

By utilizing the matrix inversion lemma, the algorithm ensures that each iteration scales with the number of selected features ($k$) rather than the total number of features ($p$). This reduces the per-iteration complexity from $O(n^3)$ to $O(k^3 + nk)$, enabling massive scalability. Furthermore, Second-Order Cone Programming (SOCP) relaxations are used to provide "warm starts," significantly accelerating convergence.

The Complexity Phase Transition

Perhaps the most striking finding of this research is the discovery of a "complexity phase transition." In traditional computational theory, increasing the data size typically increases the computational burden. In exact sparse regression, the opposite occurs:

  • The Easy Regime: As the number of samples $n$ increases, the underlying signal becomes clearer. The algorithm requires fewer iterations to reach the optimal solution, often outperforming Lasso in terms of raw speed.
  • The Hard Regime: There exists a specific window of sample sizes where the problem is statistically solvable but computationally expensive. In this region, the algorithm takes more time but yields a statistically superior regressor compared to heuristics.
  • Statistical Superiority: The exact method achieves 100% accuracy in feature recovery with fewer samples than Lasso and maintains a near-zero false-alarm rate, whereas Lasso frequently includes irrelevant "look-alike" features.

Experimental Results

The algorithm was evaluated using synthetic datasets reaching dimensions of $n=100,000$ and $p=200,000$. Key results include:

  • Scalability: Problems with $p=100,000$ were solved in seconds, representing a 100x improvement over previous exact methods.
  • Accuracy: The exact method achieved perfect support recovery at $n=125$ samples, while Lasso required $n=180$ to reach the same performance level.
  • Memory Management: The dual approach is highly memory-efficient, allowing the processing of feature spaces that typically crash standard regression software.

Conclusion and Future Work

This work demonstrates that exact sparse regression is not only possible at scale but is often more efficient than the heuristics currently used in industry and academia. While the current framework handles individual feature transformations well, future research is needed to natively incorporate interaction terms (e.g., $x_1 \times x_2$) without combinatorial explosions. Additionally, while the empirical evidence for the complexity phase transition is robust, a full theoretical characterization of the "hard" transition region remains an open challenge.

Summary updated

BibTeX
@article{bertsimas2020sparse,
  author = {Dimitris Bertsimas and Bart P. G. Van Parys},
  title = {{Sparse high-dimensional regression: Exact scalable algorithms and phase transitions}},
  journal = {The Annals of Statistics},
  year = {2020},
  doi = {10.1214/18-aos1804},
}
Figure