Best-Subset Selection in Generalized Linear Models: A Fast and Consistent Algorithm via Splicing Technique

Junxian Zhu, Jin Zhu, Borui Tang, Xuanyu Chen, Hongmei Lin, Xueqin WangarXiv 2023 · DOI

Abstract

Identifying the optimal subset of predictors in Generalized Linear Models (GLMs) remains a fundamental challenge in high-dimensional statistics. While $L_0$ regularization, or "Best-Subset Selection," is the theoretical gold standard for sparsity, its computational complexity has historically rendered it impractical for large datasets. This paper introduces ABESS (Adaptive Best-Subset Selection), a novel algorithm that utilizes a "splicing" technique to efficiently navigate the search space of variable subsets. ABESS achieves polynomial computational complexity while maintaining strong statistical guarantees, including the oracle screening property. Empirical results demonstrate that ABESS provides a fourfold speedup over industry-standard $L_1$ solvers like glmnet while offering superior accuracy in recovering the true underlying model, particularly in settings with highly correlated predictors.

Introduction

In the modern era of "big data," researchers frequently encounter datasets where the number of potential predictors ($p$) far exceeds the number of observations ($n$). To ensure model interpretability and predictive accuracy, it is essential to identify the sparse subset of variables that truly drive the outcome.

Traditionally, data scientists have relied on "relaxations" such as the LASSO ($L_1$ regularization) to approximate this selection process. While computationally efficient, these methods often introduce bias and can fail to identify the correct variables when predictors are highly correlated. The "Holy Grail" of sparse modeling is $L_0$ regularization, which directly minimizes the loss function relative to the number of non-zero coefficients. However, because $L_0$ optimization is an NP-hard problem, exhaustive search is impossible for high-dimensional data. ABESS bridges this gap by providing a fast, iterative approach to best-subset selection.

The ABESS Algorithm: Splicing and Adaptive Selection

The core innovation of the ABESS framework is the Splicing technique, an iterative inclusion-and-exclusion process designed to optimize the variable subset without exhaustive enumeration. The algorithm operates through three primary mechanisms:

1. Sacrifice Measures

To determine which variables belong in the model, the algorithm calculates two key metrics:

  • Backward Sacrifice: Measures the increase in the loss function if a variable currently in the model is removed.
  • Forward Sacrifice: Measures the decrease in the loss function if a new variable from the inactive set is added to the model.

2. The Splicing Swap

In each iteration, the algorithm identifies $k$ "irrelevant" variables with the smallest backward sacrifice and swaps them for $k$ "crucial" variables from the inactive set that exhibit the largest forward sacrifice. This allows the model to "correct its mistakes" dynamically—removing variables that appeared significant in early stages but became redundant as other predictors were added.

3. Computational Optimization

To achieve high-speed performance, the authors implemented Importance-Priority Splicing, which restricts the search to a high-potential subset of variables. Furthermore, the algorithm utilizes Newton’s method with early stopping, ensuring that computational cycles are not wasted on suboptimal candidate models.

4. Adaptive Tuning

Because the true sparsity level ($s$) is rarely known in practice, ABESS employs a Generalized Information Criterion (GIC). This criterion automatically tunes the model size, allowing the algorithm to adaptively select the optimal number of predictors for a given dataset.

Theoretical Foundations

ABESS is not merely a heuristic; it is supported by rigorous statistical theory. The authors demonstrate that the algorithm possesses Polynomial Complexity, scaling efficiently with both sample size and dimensionality. This makes it uniquely suited for $p \gg n$ scenarios where traditional best-subset methods fail.

Furthermore, the authors prove that under the "Spectrum-Restricted Condition" (SRC), ABESS satisfies the screening property. This ensures that as the sample size grows, the algorithm is guaranteed to identify the true subset of variables with high probability. Unlike greedy forward-selection methods, the splicing mechanism provides the flexibility needed to reach the global optimum in the subset search space.

Empirical Performance

The effectiveness of ABESS was evaluated using extensive simulations across Logistic and Poisson regression tasks, comparing it against established toolkits such as glmnet (LASSO) and ncvreg (SCAD/MCP).

  • Efficiency: In logistic regression benchmarks, the abess implementation achieved a fourfold speedup over glmnet.
  • Accuracy: In scenarios with high predictor correlation ($\rho=0.4$), where LASSO often struggles with variable selection consistency, ABESS consistently recovered the exact true support set.
  • Robustness: The algorithm maintained lower estimation error (ReErr) across various data distributions, including Poisson models where standard sub-Gaussian error assumptions are often violated.

Conclusion

ABESS represents a significant advancement in sparse Generalized Linear Modeling. By combining the theoretical advantages of $L_0$ regularization with a highly efficient splicing algorithm, it offers a practical solution for high-dimensional variable selection. The algorithm is currently available as an open-source package for both R (CRAN) and Python (PyPI), providing a robust tool for researchers and practitioners dealing with complex, high-dimensional datasets.

Future work may extend this splicing framework to models involving latent variables and causal inference, further expanding the utility of fast best-subset selection in the data sciences.

Summary updated

BibTeX
@misc{zhu2023best,
  author = {Junxian Zhu and Jin Zhu and Borui Tang and Xuanyu Chen and Hongmei Lin and Xueqin Wang},
  title = {{Best-Subset Selection in Generalized Linear Models: A Fast and Consistent Algorithm via Splicing Technique}},
  year = {2023},
  eprint = {2308.00251},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.00251},
}
Figure