NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Best Subset Selection: Statistical Computing Meets Quantum Computing

Wenxuan Zhong, Ke Yuan, Ye Wang, Yongkai Chen, Jinyang Chen, Ping MaarXiv 2021 · DOI

Abstract

With the rapid development of quantum computers, quantum algorithms have been studied extensively. However, quantum algorithms tackling statistical problems are still lacking. In this paper, we propose a novel non-oracular quantum adaptive search (QAS) method for the best subset selection problems. QAS performs almost identically to the naive best subset selection method but reduces its computational complexity from $O(D)$ to $O(\sqrt{D}\log_2D)$, where $D=2^p$ is the total number of subsets over $p$ covariates. Unlike existing quantum search algorithms, QAS does not require the oracle information of the true solution state and hence is applicable to various statistical learning problems with random observations. Theoretically, we prove QAS attains any arbitrary success probability $q \in (0.5, 1)$ within $O(\log_2D)$ iterations. When the underlying regression model is linear, we propose a quantum linear prediction method that is faster than its classical counterpart. We further introduce a hybrid quantum-classical strategy to avoid the capacity bottleneck of existing quantum computing systems and boost the success probability of QAS by majority voting. The effectiveness of this strategy is justified by both theoretical analysis and extensive empirical experiments on quantum and classical computers.

Introduction

In linear regression, "best subset selection" involves finding the specific group of $k$ predictors out of $p$ total variables that best explains a response. The challenge is a combinatorial explosion: with $p$ variables, there are $D = 2^p$ possible subsets. For just 30 variables, there are over a billion combinations. Classically, finding the absolute best subset is NP-hard, often forcing statisticians to use "good enough" approximations like LASSO or Stepwise regression.

Quantum computing offers a potential solution via Grover’s Algorithm, which provides a square-root speedup ($O(\sqrt{D})$). However, standard Grover’s requires an "oracle" function—a black box that already knows the "correct" solution. In statistical search, the optimal subset is unknown a priori; we are searching for the one that minimizes a loss function. This paper introduces a Quantum Adaptive Search (QAS) to bridge this gap.

Quantum Adaptive Search (QAS)

The proposed QAS is a non-oracular iterative algorithm. It starts with a random "benchmark" subset and uses a local evaluation function to compare other subsets against it. It iteratively updates the benchmark to a better-performing subset. This process acts as a "quantum elevator" that starts at a random floor and descends toward the "ground floor" (the global minimum loss).

Geometric representation of the state rotation in the Quantum Adaptive Search (QAS) algorithm.

The core mechanism involves breaking the oracle dependency. By using the current best-known state as a dynamic threshold and reflecting states that perform better than this benchmark, the algorithm amplifies the probability of measuring a superior model. As shown in Figure 1, the state $|\psi_0\rangle$ is rotated towards the target state through successive reflections, increasing the likelihood of observing a state with a lower loss value.

Quantum Linear Prediction and Hybrid Strategy

To evaluate subsets efficiently, the authors propose Quantum Linear Prediction (QLP). QLP utilizes Singular Value Decomposition (SVD) and quantum tomography to estimate coefficients faster than classical matrix inversion.

Recognizing the limitations of current Noisy Intermediate-Scale Quantum (NISQ) hardware, a Hybrid Quantum-Classical Strategy is introduced. This approach uses classical nodes for data-heavy tasks and multiple quantum nodes to run QAS in parallel. A majority voting scheme is then used to boost the final success probability. The paper proves that even if a single quantum node has a success probability just over 50%, a majority vote across $K$ nodes can boost the success rate to near-certainty.

Empirical Results

The effectiveness of QAS was evaluated using both simulated and real-world data:

  • Simulations: QAS matched the performance of classical Best Subset Selection (BSS) in terms of False Positives (FP) and False Negatives (FN), significantly outperforming LASSO and L0Learn in high-correlation scenarios.
  • Real-World Data: On the Johnson (1996) Body Fat Dataset, QAS and BSS achieved the lowest median Test Mean Squared Error (18.12), outperforming L0Learn (18.85) and LASSO (19.81). QAS consistently identified "abdomen circumference" as the most critical predictor.

Conclusion

QAS achieves a complexity of $O(\sqrt{D} \log_2 D)$, which is exponentially faster than the classical $O(D)$ brute-force search. While current hardware bottlenecks (qubit counts and noise sensitivity) limit immediate large-scale application, this framework provides a robust path forward for statistical learning on quantum computers. Future work may extend this approach to non-linear models, classification, and low-rank matrix recovery.

Reference: Zhong, W., Ke, Y., Wang, Y., Chen, Y., Chen, J., & Ma, P. (2021). Best Subset Selection: Statistical Computing Meets Quantum Computing. arXiv:2107.08359v1.

Summary updated

BibTeX
@misc{zhong2021best,
  author = {Wenxuan Zhong and Ke Yuan and Ye Wang and Yongkai Chen and Jinyang Chen and Ping Ma},
  title = {{Best Subset Selection: Statistical Computing Meets Quantum Computing}},
  year = {2021},
  eprint = {2107.08359},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.08359},
}
Figure