Skip to main content
QUICK REVIEW

[Paper Review] Kernel Learning by quantum annealer

Yasushi Hasegawa, Hiroki Oshiyama|arXiv (Cornell University)|Apr 20, 2023
Machine Learning and ELMComputer Science5 citations
TL;DR

This paper proposes a novel kernel learning method that uses a quantum annealer to train a restricted Boltzmann machine (RBM) for learning spectral distributions of random Fourier features (RFF), enabling data-adaptive kernel approximation. The approach achieves classification accuracy comparable to Gaussian RFF while generating non-Gaussian, multi-modal spectral distributions with higher expressiveness.

ABSTRACT

The Boltzmann machine is one of the various applications using quantum annealer. We propose an application of the Boltzmann machine to the kernel matrix used in various machine-learning techniques. We focus on the fact that shift-invariant kernel functions can be expressed in terms of the expected value of a spectral distribution by the Fourier transformation. Using this transformation, random Fourier feature (RFF) samples the frequencies and approximates the kernel function. In this paper, furthermore, we propose a method to obtain a spectral distribution suitable for the data using a Boltzmann machine. As a result, we show that the prediction accuracy is comparable to that of the method using the Gaussian distribution. We also show that it is possible to create a spectral distribution that could not be feasible with the Gaussian distribution.

Motivation & Objective

  • To develop a kernel learning framework that adapts spectral distributions to data using quantum annealing.
  • To overcome the limitations of fixed spectral distributions (e.g., Gaussian) in random Fourier features.
  • To leverage the Gibbs-Boltzmann sampling capability of quantum annealers for faster, more efficient RBM training.
  • To demonstrate that quantum annealers can serve as high-speed sampling machines for kernel learning.
  • To explore the potential of quantum annealers in generating complex, non-Gaussian spectral distributions for kernel methods.

Proposed method

  • A multi-layer restricted Boltzmann machine (RBM) is used to model the spectral distribution of random Fourier features (RFF).
  • The RBM is trained using samples from a D-Wave quantum annealer, which naturally follow a Gibbs-Boltzmann distribution.
  • The spectral distribution is learned by minimizing the Kullback-Leibler divergence between the empirical data distribution and the model's Gibbs-Boltzmann distribution.
  • The model approximates the expected values of the kernel function using quantum annealer samples, reducing computational cost.
  • The method enables learning of non-Gaussian spectral distributions, such as bimodal ones, that are not feasible with standard Gaussian RFF.
  • Kernel matrices are updated using the learned spectral distribution to improve classification performance.

Experimental results

Research questions

  • RQ1Can a quantum annealer be effectively used to train an RBM for learning data-adaptive spectral distributions in kernel methods?
  • RQ2How does the prediction accuracy of the proposed kernel learning method compare to that of Gaussian RFF?
  • RQ3Can the proposed method generate spectral distributions with higher degrees of freedom than the Gaussian distribution?
  • RQ4What is the impact of hidden layer size in the RBM on the expressiveness of the learned spectral distribution?
  • RQ5In what ways can the quantum nature of quantum annealers be leveraged for kernel learning beyond classical sampling?

Key findings

  • The proposed kernel learning method achieved test set classification accuracy of 0.989 for T-shirt/Trouser, 0.957 for T-shirt/Pullover, and 0.988 for Trouser/Pullover, outperforming baseline RFF with Gaussian distribution.
  • The loss function minimized via kernel learning converged faster and to lower values than the Gaussian RFF baseline across all datasets.
  • The spectral distribution of ω learned via kernel learning exhibited a bimodal structure, unlike the unimodal Gaussian distribution, indicating higher expressiveness.
  • The kernel matrix after training showed stronger intra-class similarity (higher k(xi,xj) for same-class pairs) and weaker inter-class similarity, improving separability.
  • The method demonstrated that quantum annealer samples can effectively replace Monte Carlo estimation in RBM training, enabling faster learning of complex spectral distributions.
  • The approach successfully generated a spectral distribution not feasible with Gaussian RFF, expanding the range of possible kernel functions.

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.