Quantum Algorithms for the Pathwise Lasso
We present a novel quantum high-dimensional linear regression algorithm with an <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>&#x2113;</mml:mi><mml:mn>1</mml:mn></mml:msub></mml:math>-penalty based on the classical LARS (Least Angle Regression) pathwise algorithm. Similarly to available classical algorithms for Lasso, our quantum algorithm provides the full regularisation path as the penalty term varies, but quadratically faster per iteration under specific conditions. A quadratic speedup on the number of features <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>d</mml:mi></mml:math> is possible by using the simple quantum minimum-finding subroutine from Dürr and Hoyer (arXiv'96) in order to obtain the joining time at each iteration. We then improve upon this simple quantum algorithm and obtain a quadratic speedup both in the number of features <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>d</mml:mi></mml:math> and the number of observations <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>n</mml:mi></mml:math> by using the approximate quantum minimum-finding subroutine from Chen and de Wolf (ICALP'23). In order to do so, we approximately compute the joining times to be searched over by the approximate quantum minimum-finding subroutine. As another main contribution, we prove, via an approximate version of the KKT conditions and a duality gap, that the LARS algorithm (and therefore our quantum algorithm) is robust to errors. This means that it still outputs a path that minimises the Lasso cost function up to a small error if the joining times are only approximately computed. Furthermore, we show that, when the observations are sampled from a Gaussian distribution, our quantum algorithm's complexity only depends polylogarithmically on <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>n</mml:mi></mml:math>, exponentially better than the classical LARS algorithm, while keeping the quadratic improvement on <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>d</mml:mi></mml:math>. Moreover, we propose a dequantised version of our quantum algorithm that also retains the polylogarithmic dependence on <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>n</mml:mi></mml:math>, albeit presenting the linear scaling on <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>d</mml:mi></mml:math> from the standard LARS algorithm. Finally, we prove query lower bounds for classical and quantum Lasso algorithms.
Authors
- Tushar Vaidya (ORCID: https://orcid.org/0000-0002-2264-2595)
- Patrick Rebentrost (ORCID: https://orcid.org/0000-0002-6728-8163)
- João F. Doriguello (ORCID: https://orcid.org/0000-0002-8265-7334)
- Chi Seng Pun (ORCID: https://orcid.org/0000-0002-7478-6961)
- Debbie Lim
Institutions
- Centre for Quantum Technologies (SG)
- HUN-REN Alfréd Rényi Institute of Mathematics (HU)
- National University of Singapore (SG)
- Nanyang Technological University (SG)
- University of Latvia (LV)
Publication Details
- Journal
- Quantum
- Published
- 2025-03-25
- DOI
- https://doi.org/10.22331/q-2025-03-25-1674
- Citations
- 3
- Primary Topic
- Quantum Information and Cryptography
- Type
- article
- Field-Weighted Citation Impact
- 7.44
Funders
- National Research Foundation Singapore
- Ministry of Education - Singapore
- European Research Council