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

Quantum Algorithms for the Pathwise Lasso

João F. Doriguello, Debbie Lim, Chi Seng Pun, Patrick Rebentrost, Tushar Vaidya · DOI

Introduction

In high-dimensional statistics and machine learning, researchers often face datasets where the number of features ($d$) significantly exceeds the number of observations ($n$). The Lasso (Least Absolute Shrinkage and Selection Operator) is a fundamental tool for these scenarios, providing sparse and interpretable models through $L_1$-regularization. However, selecting the optimal regularization parameter $\lambda$ is a challenge. The "pathwise" Lasso approach solves this by finding the entire set of solutions for all possible values of $\lambda$. This paper presents the first quantum approach to this problem by quantizing the Least Angle Regression (LARS) algorithm.

The Pathwise Lasso and LARS

The LARS algorithm is the classical gold standard for computing the Lasso path. It iteratively builds the model by adding features to an "active set" based on their correlation with the current residual. While effective, LARS can become computationally expensive as $d$ and $n$ grow. This research explores whether quantum computing can break these classical scaling bottlenecks.

Quantum LARS Framework

The authors propose two main quantum algorithms based on the LARS framework:

  1. Simple Quantum LARS: This version uses a standard quantum minimum-finding subroutine (Grover-style) to identify which feature should join the active set next. This provides a quadratic speedup in the number of features $d$.
  2. Approximate Quantum LARS: This more advanced version uses Quantum Amplitude Estimation to approximate the "joining times" (the $\lambda$ values where new features enter the model). By combining this with approximate quantum minimum-finding, it achieves quadratic speedups in both $d$ and $n$.

Robustness to Approximation Error

A critical challenge in quantum computing is that measurements are inherently noisy and approximate. To justify their approach, the authors provide a rigorous proof of robustness. They demonstrate that even if joining times are only approximately calculated, the LARS algorithm still outputs a path that minimizes the Lasso cost function within a small error margin. This is proven by analyzing an approximate version of the Karush-Kuhn-Tucker (KKT) optimality conditions, ensuring that the "quantum path" remains close to the true optimal solution.

Key Results and Complexity

The main contribution of this work is the significant reduction in time complexity per iteration of the LARS algorithm. For well-behaved data, such as Gaussian random design matrices, the quantum algorithm's complexity depends only polylogarithmically on the number of observations $n$, an exponential improvement over the linear dependence in classical LARS.

Summary of time complexities for classical and quantum LARS variants. $n$ is observations, $d$ is features, $\mathcal{A}$ is the active set, and $\mathcal{I}$ is the inactive set.

As shown in the table above, the Approximate Quantum LARS achieves a factor of $\sqrt{d}$ and $\sqrt{n}$ improvement over the classical baseline. The authors also prove query lower bounds for Lasso, showing that any quantum algorithm must use at least $\Omega(n^{3/4}\sqrt{d})$ queries in the worst case, providing a target for future optimality proofs.

Limitations and Future Work

These algorithms are designed for the "fault-tolerant" era of quantum computing and are not yet suitable for current NISQ (Noisy Intermediate-Scale Quantum) hardware due to the depth of the circuits required for amplitude estimation. Future work may involve approximating "crossing times" (when a feature leaves the active set) or extending these quantum speedups to other variants such as Group Lasso or Fused Lasso. Additionally, maintaining perfect path continuity in the presence of approximation errors remains an open area for technical refinement.

Summary updated

BibTeX
@article{doriguello2025quantum,
  author = {João F. Doriguello and Debbie Lim and Chi Seng Pun and Patrick Rebentrost and Tushar Vaidya},
  title = {{Quantum Algorithms for the Pathwise Lasso}},
  journal = {Quantum},
  year = {2025},
  doi = {10.22331/q-2025-03-25-1674},
}
Figure