Sparse Regression at Scale: Branch-and-Bound rooted in First-Order Optimization

Hussein Hazimeh, Rahul Mazumder, Ali SaabMath. Program 2020 · DOI

TL;DR

This paper introduces a novel, highly efficient exact method for solving sparse regression problems with $\ell_0\ell_2$ regularization, a task that has been computationally challenging for existing methods, especially with a large number of features. Their approach scales to millions of features, achieving speedups of over 5000x compared to state-of-the-art techniques by combining a specialized branch-and-bound framework with first-order optimization methods.

What Problem Does This Paper Address?

The paper tackles the problem of finding exact solutions for sparse linear regression, specifically when the objective function includes a combination of the $\ell_0$ (cardinality) and $\ell_2$ (ridge) penalties. This type of regularization is crucial for identifying sparse models in high-dimensional settings, which is common in fields like genomics and signal processing. While heuristic methods can find approximate solutions quickly, obtaining exact and provably optimal solutions is essential for critical applications where trust and guarantees are paramount. Existing exact methods, often based on Mixed Integer Programming (MIP), struggle to scale beyond a few thousand features, making them impractical for modern datasets with millions of potential predictors. The core challenge is bridging the gap between the computational demands of exact optimization and the scale of real-world high-dimensional data.

Methods

The authors propose a specialized nonlinear branch-and-bound (BnB) framework that deviates from typical MIP solvers. Instead of relying on general-purpose solvers, they leverage the specific structure of the $\ell_0\ell_2$ regression problem. The key innovation lies in how they solve the "node relaxations" within the BnB tree. They employ a highly scalable first-order method based on coordinate descent (CD). This CD-based solver is enhanced with techniques like warm starts (using solutions from parent nodes), active set updates (focusing computations on relevant variables), and gradient screening (efficiently checking optimality conditions). Crucially, they also develop a novel method for deriving dual bounds from these primal CD solutions, which are essential for pruning the search tree effectively. This combination allows their framework to be significantly faster and more scalable than existing exact methods.

Datasets

The paper uses both synthetic and real-world datasets for evaluation.

  • Synthetic Data: Generated with multivariate Gaussian data matrices, sparse coefficient vectors, and varying noise levels, correlation structures, number of samples, and number of non-zero coefficients. These datasets are designed to test scalability and robustness across different statistical scenarios.
  • Real Data: The Riboflavin dataset is used, augmented with pairwise feature interactions to create a very high-dimensional instance (p ≈ 8.3 million).

Key Insights and Ideas

  • First-Order Methods in BnB: The paper demonstrates that carefully designed first-order methods (like CD) can be highly effective within a branch-and-bound framework, offering significant advantages over traditional interior-point methods used in commercial MIP solvers for these specific problems.
  • Exploiting Problem Structure: The success hinges on critically exploiting the structure of the $\ell_0\ell_2$ regression problem, particularly in how information (like warm starts and active sets) is passed between nodes in the BnB tree.
  • Scalable Dual Bounds: Developing a method to obtain tight dual bounds from primal CD solutions is critical for efficient pruning and is shown to depend on sparsity rather than the total number of features.
  • Active Sets and Gradient Screening: These techniques are vital for reducing the computational burden of the CD solver, especially for large-scale problems, by focusing computations on relevant variables and efficiently checking optimality.

Key Results

  • Massive Speedups: The proposed L0BnB framework achieves speedups of over 5000x compared to state-of-the-art exact methods (Gurobi, MOSEK, BARON) on high-dimensional synthetic datasets.
  • Scalability to Millions of Features: The method successfully scales to problems with up to $p \approx 10^7$ features, a significant leap from the $p \sim 10^4$ limit of previous exact methods.
  • Robustness: L0BnB is shown to be more robust to the choice of regularization parameters ($\lambda_0, \lambda_2$) and dataset characteristics (e.g., high correlations, low SNR) compared to existing solvers.
  • Real-world Performance: On a very high-dimensional real dataset (Riboflavin with p ≈ 8.3 million), the method handles instances in seconds to minutes.
  • Certifiably Optimal Solutions: The framework provides exact, certifiably optimal solutions, which is a key advantage over heuristic methods.

Limitations and Future Work

  • MIP Solvers: While the paper demonstrates significant speedups, it's worth noting that commercial MIP solvers are highly optimized and may have advantages in other problem classes. The authors' approach is specialized for $\ell_0\ell_2$ regression.
  • Parameter Tuning: While the method is robust, optimal performance can still depend on parameter choices, though the paper provides guidance and experimental analysis.
  • Future Directions: The authors suggest extending safe screening rules to dynamically eliminate variables during BnB and developing methods to dynamically infer and tighten Big-M values used in their formulation. They also believe their approach could be applied to other mixed-integer programs involving sparsity.

Summary updated

Abstract

We consider the least squares regression problem, penalized with a combination of the $\ell_{0}$ and squared $\ell_{2}$ penalty functions (a.k.a. $\ell_0 \ell_2$ regularization). Recent work shows that the resulting estimators are of key importance in many high-dimensional statistical settings. However, exact computation of these estimators remains a major challenge. Indeed, modern exact methods, based on mixed integer programming (MIP), face difficulties when the number of features $p \sim 10^4$. In this work, we present a new exact MIP framework for $\ell_0\ell_2$-regularized regression that can scale to $p \sim 10^7$, achieving speedups of at least $5000$x, compared to state-of-the-art exact methods. Unlike recent work, which relies on modern commercial MIP solvers, we design a specialized nonlinear branch-and-bound (BnB) framework, by critically exploiting the problem structure. A key distinguishing component in our framework lies in efficiently solving the node relaxations using a specialized first-order method, based on coordinate descent (CD). Our CD-based method effectively leverages information across the BnB nodes, through using warm starts, active sets, and gradient screening. In addition, we design a novel method for obtaining dual bounds from primal CD solutions, which certifiably works in high dimensions. Experiments on synthetic and real high-dimensional datasets demonstrate that our framework is not only significantly faster than the state of the art, but can also deliver certifiably optimal solutions to statistically challenging instances that cannot be handled with existing methods. We open source the implementation through our toolkit L0BnB.
BibTeX
@article{hazimeh2020sparse,
  author = {Hussein Hazimeh and Rahul Mazumder and Ali Saab},
  title = {{Sparse Regression at Scale: Branch-and-Bound rooted in First-Order Optimization}},
  journal = {Math. Program.},
  year = {2020},
  doi = {10.1007/s10107-021-01712-4},
}
Figure