Probabilistic Best Subset Selection via Gradient-Based Optimization

Mingzhang Yin, Nhat Ho, Bowei Yan, Xiaoning Qian, Mingyuan ZhouarXiv 2020 · DOI

Abstract

In high-dimensional statistics, variable selection recovers the latent sparse patterns from all possible covariate combinations. This paper proposes a novel optimization method to solve the exact $L_0$-regularized regression problem, also known as best subset selection. We reformulate the optimization problem from a discrete space to a continuous one via probabilistic reparameterization. The new objective function is differentiable, but its gradient often cannot be computed in a closed form. We propose a family of unbiased gradient estimators to optimize the best subset selection objectives by stochastic gradient descent. Within this family, we identify the estimator with uniformly minimum variance (U2G). Theoretically, we study the general conditions under which the method is guaranteed to converge to the ground truth in expectation. The proposed method can find the true regression model from thousands of covariates in seconds, outperforming existing variable selection tools based on relaxed penalties, coordinate descent, and mixed integer optimization.

Introduction: The Challenge of Best Subset Selection

Identifying the most relevant predictors in high-dimensional datasets—where the number of variables $p$ often far exceeds the number of samples $n$—is a fundamental challenge in modern data science. The "gold standard" for this task is $L_0$-regularized regression, which seeks the best subset of variables by penalizing the model based on the exact count of non-zero coefficients. However, solving the $L_0$ problem is NP-hard due to its discrete nature.

Traditional approaches often rely on continuous relaxations like the Lasso ($L_1$ penalty). While computationally efficient, these methods introduce bias by shrinking estimated coefficients toward zero. More exact methods, such as Mixed Integer Optimization (MIO), provide higher accuracy but struggle to scale to the thousands of variables common in contemporary research.

Methodology: Probabilistic Reformulation and the U2G Estimator

This paper introduces a Probabilistic Reformulation to bridge the gap between discrete accuracy and continuous optimization speed. Instead of treating variable inclusion as a binary decision $z_j \in \{0, 1\}$, we model it as a random event with probability $\pi_j \in [0, 1]$. This reparameterization transforms the discrete search space into a continuous, differentiable domain.

The primary technical innovation is the U2G (Unbiased Uniform Gradient) estimator. To optimize the expected regression error using Stochastic Gradient Descent (SGD), we require an estimate of the gradient. While several unbiased estimators exist, such as REINFORCE or ARM, they often suffer from high variance, leading to unstable optimization.

Comparison of gradient estimators (REINFORCE, ARM, and U2G) and their corresponding variances. The U2G estimator (right) exhibits the most stable, uniform behavior.

As shown in the figure above, the U2G estimator is identified as the Uniformly Minimum Variance Unbiased Estimator (UMVUE) within its family. By maintaining constant values in non-zero regions, U2G provides a significantly cleaner signal for the SGD process compared to the fluctuating values of REINFORCE or the V-shaped profile of ARM. This variance reduction is critical for ensuring the optimizer converges to the true sparse pattern rather than getting lost in the noise of the gradient approximation.

Key Results and Performance

The U2G method was evaluated across synthetic benchmarks, semi-synthetic microarray data, and compressive sensing tasks. Key findings include:

  • Speed and Scalability: The algorithm identifies the true regression model from thousands of covariates in under 20 seconds on standard hardware.
  • The Oracle Property: Unlike Lasso, U2G recovers true coefficients without downward bias, achieving the "oracle property" where the model performs as if the true subset of variables were known beforehand.
  • Robustness to Multi-collinearity: In datasets with highly correlated variables—a typical failure point for $L_1$ methods—the Bayesian version (U2G-VI) maintained high accuracy where others plummeted.
  • Superior Recovery: U2G consistently outperformed Lasso, SCAD, and Fast-BSS in sparse pattern recovery (F1 scores), particularly in low Signal-to-Noise Ratio (SNR) environments.

Conclusion

By reframing best subset selection as a continuous probabilistic optimization problem, this work enables the use of powerful gradient-based tools for exact $L_0$ regularization. The U2G estimator's variance-reduction properties make it a robust and scalable alternative to traditional variable selection methods, offering a path forward for high-dimensional statistical modeling in complex real-world datasets.

Summary updated

BibTeX
@misc{yin2020probabilistic,
  author = {Mingzhang Yin and Nhat Ho and Bowei Yan and Xiaoning Qian and Mingyuan Zhou},
  title = {{Probabilistic Best Subset Selection via Gradient-Based Optimization}},
  year = {2020},
  eprint = {2006.06448},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.06448},
}
Figure