Skip to main content
QUICK REVIEW

[Paper Review] Learning with Optimized Random Features: Exponential Speedup by Quantum Machine Learning without Sparsity and Low-Rank Assumptions

Hayata Yamasaki, Sathyawageeswar Subramanian|arXiv (Cornell University)|Apr 22, 2020
Quantum Computing Algorithms and ArchitectureComputer Science7 citations
TL;DR

This paper proposes a quantum machine learning algorithm that samples optimized random features from a data-dependent probability distribution, achieving an exponential speedup in runtime over classical methods. By leveraging quantum amplitude amplification and state preparation, the algorithm samples features in O(D) time, enabling faster regression and learning without requiring sparsity or low-rank assumptions, thus accelerating kernel-based learning tasks.

ABSTRACT

Kernel methods augmented with random features give scalable algorithms for learning from big data. But it has been computationally hard to sample random features according to a probability distribution that is optimized for the data, so as to minimize the required number of features for achieving the learning to a desired accuracy. Here, we develop a quantum algorithm for sampling from this optimized distribution over features, in runtime $O(D)$ that is linear in the dimension $D$ of the input data. Our algorithm achieves an exponential speedup in $D$ compared to any known classical algorithm for this sampling task. In contrast to existing quantum machine learning algorithms, our algorithm circumvents sparsity and low-rank assumptions and thus has wide applicability. We also show that the sampled features can be combined with regression by stochastic gradient descent to achieve the learning without canceling out our exponential speedup. Our algorithm based on sampling optimized random features leads to an accelerated framework for machine learning that takes advantage of quantum computers.

Motivation & Objective

  • Address the computational intractability of sampling from the optimized probability distribution q*ε(v) for random features, which is known to drastically reduce the number of features needed for accurate learning.
  • Overcome the classical bottleneck of inverting high-dimensional operators (Σ + ε𝕀)⁻¹, which scales poorly with input dimension D.
  • Develop a quantum algorithm that achieves linear runtime O(D) in the input dimension D, enabling exponential speedup over classical sampling methods.
  • Ensure the quantum speedup is preserved when combining feature sampling with subsequent learning tasks like stochastic gradient descent regression.
  • Demonstrate wide applicability by avoiding restrictive assumptions such as sparsity or low-rank structure in data or kernels.

Proposed method

  • Use quantum amplitude amplification and amplitude estimation to prepare a quantum state encoding the optimized probability distribution q*ε(v) over random feature parameters v.
  • Construct a quantum state |ψ⟩ = ∑ₘ √Q(vm) |m⟩ ⊗ |φ(vm, x)⟩, where Q(vm) is the optimized sampling probability, enabling efficient sampling of features.
  • Implement a quantum oracle that evaluates the inner product vₘ·x and the feature map φ(vm, x) = e⁻²πi vₘ·x in superposition, with runtime O(D) per evaluation.
  • Apply quantum amplitude estimation to estimate the gradient of the loss function in the parameter space, enabling efficient stochastic gradient descent with O(MD) per iteration.
  • Use a parameterized quantum circuit to prepare the initial state and apply Hadamard gates to create uniform superposition over M feature indices, followed by amplitude amplification to sample from the optimized distribution.
  • Combine the quantum feature sampling with classical regression via stochastic gradient descent, ensuring the overall quantum speedup is not canceled out by classical computation.

Experimental results

Research questions

  • RQ1Can quantum algorithms achieve exponential speedup in sampling from the optimized random feature distribution q*ε(v), which is classically intractable due to high-dimensional operator inversion?
  • RQ2Does the proposed quantum algorithm maintain its speedup when integrated with downstream learning tasks such as ridge regression or stochastic gradient descent?
  • RQ3Can the quantum algorithm avoid the common assumptions of sparsity or low-rank structure in data or kernel matrices, thereby broadening its applicability?
  • RQ4What is the runtime scaling of the quantum algorithm in terms of input dimension D, and how does it compare to classical sampling methods?
  • RQ5Is it possible to achieve a provable convergence rate for the learning task when using quantum-sampled optimized features, and how does this depend on the minimum sampling probability Q_min?

Key findings

  • The quantum algorithm achieves a runtime of O(D) for sampling from the optimized distribution q*ε(v), providing an exponential speedup over classical methods that require O(exp(D)) time in the worst case.
  • The algorithm maintains exponential speedup when combined with stochastic gradient descent for regression, with total runtime O(MD + T_x + T_y), where M is the number of features and T_x, T_y are data access times.
  • The number of iterations required for convergence is bounded by T = O(1/(ε²Q_min²) log(1/δ)), where ε is the target accuracy and Q_min is the minimum sampling probability.
  • The method avoids the need for sparsity or low-rank assumptions, making it applicable to a wide range of kernel methods including Gaussian kernels and sub-Gaussian data.
  • Theoretical analysis confirms that the gradient estimate used in the algorithm is unbiased and bounded, ensuring convergence to the optimal solution with high probability.
  • The framework enables learning with exponentially fewer features compared to classical random features sampled from the data-independent distribution, due to the optimized sampling distribution q*ε(v).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.