skip to main content
10.1145/3313276.3316310acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
research-article

A quantum-inspired classical algorithm for recommendation systems

Published:23 June 2019Publication History

ABSTRACT

We give a classical analogue to Kerenidis and Prakash’s quantum recommendation system, previously believed to be one of the strongest candidates for provably exponential speedups in quantum machine learning. Our main result is an algorithm that, given an m × n matrix in a data structure supporting certain ℓ2-norm sampling operations, outputs an ℓ2-norm sample from a rank-k approximation of that matrix in time O(poly(k)log(mn)), only polynomially slower than the quantum algorithm. As a consequence, Kerenidis and Prakash’s algorithm does not in fact give an exponential speedup over classical algorithms. Further, under strong input assumptions, the classical recommendation system resulting from our algorithm produces recommendations exponentially faster than previous classical systems, which run in time linear in m and n.

The main insight of this work is the use of simple routines to manipulate ℓ2-norm sampling distributions, which play the role of quantum superpositions in the classical setting. This correspondence indicates a potentially fruitful framework for formally comparing quantum machine learning algorithms to classical machine learning algorithms.

References

  1. Scott Aaronson. 2015. Read the fine print. Nature Physics 11, 4 (2015), 291.Google ScholarGoogle ScholarCross RefCross Ref
  2. Dimitris Achlioptas and Frank McSherry. 2007. Fast computation of low-rank matrix approximations. Journal of the ACM (JACM) 54, 2 (2007), 9. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Baruch Awerbuch, Boaz Patt-Shamir, David Peleg, and Mark Tuttle. 2005. Improved recommendation systems. In Symposium on Discrete Algorithms. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Yossi Azar, Amos Fiat, Anna Karlin, Frank McSherry, and Jared Saia. 2001. Spectral analysis of data. In Symposium on Theory of Computing. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Robert M Bell and Yehuda Koren. 2007. Lessons from the Netflix prize challenge. ACM SIGKDD Explorations Newsletter 9, 2 (2007), 75–79. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Charles H Bennett, Ethan Bernstein, Gilles Brassard, and Umesh Vazirani. 1997.Google ScholarGoogle Scholar
  7. Strengths and weaknesses of quantum computing. SIAM J. Comput. 26, 5 (1997), 1510–1523. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Nader H. Bshouty and Jeffrey C. Jackson. 1999. Learning DNF over the uniform distribution using a quantum example oracle. SIAM J. Comput. 28, 3 (1999), 1136–1153. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Amit Deshpande and Santosh Vempala. 2006. Adaptive sampling and fast lowrank matrix approximation. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques. Springer, 292–303. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. P. Drineas, R. Kannan, and M. Mahoney. 2006. Fast Monte Carlo algorithms for matrices I: Approximating matrix multiplication. SIAM J. Comput. 36, 1 (2006), 132–157. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Petros Drineas, Iordanis Kerenidis, and Prabhakar Raghavan. 2002. Competitive recommendation systems. In Symposium on Theory of Computing. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. P. Drineas, M. Mahoney, and S. Muthukrishnan. 2008. Relative-error CU R matrix decompositions. SIAM J. Matrix Anal. Appl. 30, 2 (2008), 844–881. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Alan Frieze, Ravi Kannan, and Santosh Vempala. 2004. Fast Monte-Carlo algorithms for finding low-rank approximations. Journal of the ACM (JACM) 51, 6 (2004), 1025–1041. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. András Gilyén, Yuan Su, Guang Hao Low, and Nathan Wiebe. 2018. Quantum singular value transformation and beyond: Exponential improvements for quantum matrix arithmetics. (2018). arXiv: 1806.01838Google ScholarGoogle Scholar
  15. Aram W Harrow, Avinatan Hassidim, and Seth Lloyd. 2009. Quantum algorithm for linear systems of equations. Physical review letters 103, 15 (2009), 150502.Google ScholarGoogle Scholar
  16. Elad Hazan, Tomer Koren, and Nati Srebro. 2011. Beating SGD: Learning SVMs in sublinear time. In Neural Information Processing Systems. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Ravindran Kannan and Santosh Vempala. 2017. Randomized algorithms in numerical linear algebra. Acta Numerica 26 (2017), 95–135.Google ScholarGoogle ScholarCross RefCross Ref
  18. Iordanis Kerenidis and Anupam Prakash. 2017. Quantum gradient descent for linear systems and least squares. (2017). arXiv: 1704.04992Google ScholarGoogle Scholar
  19. Iordanis Kerenidis and Anupam Prakash. 2017. Quantum recommendation systems. In Innovations in Theoretical Computer Science.Google ScholarGoogle Scholar
  20. Jon Kleinberg and Mark Sandler. 2008. Using mixture models for collaborative filtering. J. Comput. System Sci. 74, 1 (2008), 49–69. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Yehuda Koren, Robert Bell, and Chris Volinsky. 2009. Matrix factorization techniques for recommender systems. Computer 42, 8 (2009).Google ScholarGoogle Scholar
  22. Ravi Kumar, Prabhakar Raghavan, Sridhar Rajagopalan, and Andrew Tomkins. 2001. Recommendation systems: a probabilistic analysis. J. Comput. System Sci. 63, 1 (2001), 42 – 61. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Seth Lloyd, Masoud Mohseni, and Patrick Rebentrost. 2013. Quantum algorithms for supervised and unsupervised machine learning. (2013). arXiv: 1307.0411Google ScholarGoogle Scholar
  24. Seth Lloyd, Masoud Mohseni, and Patrick Rebentrost. 2014. Quantum principal component analysis. Nature Physics 10, 9 (2014), 631.Google ScholarGoogle ScholarCross RefCross Ref
  25. John Preskill. 2018. Quantum Computing in the NISQ era and beyond. Quantum 2 (2018), 79.Google ScholarGoogle ScholarCross RefCross Ref
  26. Benjamin Recht. 2011.Google ScholarGoogle Scholar
  27. A simpler approach to matrix completion. Journal of Machine Learning Research 12 (2011), 3413–3430.Google ScholarGoogle Scholar

Index Terms

  1. A quantum-inspired classical algorithm for recommendation systems

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in
          • Published in

            cover image ACM Conferences
            STOC 2019: Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing
            June 2019
            1258 pages
            ISBN:9781450367059
            DOI:10.1145/3313276

            Copyright © 2019 ACM

            Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 23 June 2019

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • research-article

            Acceptance Rates

            Overall Acceptance Rate1,469of4,586submissions,32%

            Upcoming Conference

            STOC '24
            56th Annual ACM Symposium on Theory of Computing (STOC 2024)
            June 24 - 28, 2024
            Vancouver , BC , Canada

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader