Skip to main content
QUICK REVIEW

[Paper Review] Benchmarking Quantum Hardware for Training of Fully Visible Boltzmann Machines

Dmytro Korenkevych, Yanbo Xue|arXiv (Cornell University)|Nov 14, 2016
Quantum Computing Algorithms and ArchitectureComputer Science18 references15 citations
TL;DR

This paper benchmarks D-Wave quantum annealing hardware for training fully visible Boltzmann machines, demonstrating that raw quantum samples (k=0 Gibbs steps) outperform classical contrastive divergence and persistent contrastive divergence in learning multimodal distributions with high energy barriers. Despite significant deviations from classical Boltzmann distributions, quantum sampling enables faster and more accurate parameter updates, leading to superior model performance.

ABSTRACT

Quantum annealing (QA) is a hardware-based heuristic optimization and sampling method applicable to discrete undirected graphical models. While similar to simulated annealing, QA relies on quantum, rather than thermal, effects to explore complex search spaces. For many classes of problems, QA is known to offer computational advantages over simulated annealing. Here we report on the ability of recent QA hardware to accelerate training of fully visible Boltzmann machines. We characterize the sampling distribution of QA hardware, and show that in many cases, the quantum distributions differ significantly from classical Boltzmann distributions. In spite of this difference, training (which seeks to match data and model statistics) using standard classical gradient updates is still effective. We investigate the use of QA for seeding Markov chains as an alternative to contrastive divergence (CD) and persistent contrastive divergence (PCD). Using $k=50$ Gibbs steps, we show that for problems with high-energy barriers between modes, QA-based seeds can improve upon chains with CD and PCD initializations. For these hard problems, QA gradient estimates are more accurate, and allow for faster learning. Furthermore, and interestingly, even the case of raw QA samples (that is, $k=0$) achieved similar improvements. We argue that this relates to the fact that we are training a quantum rather than classical Boltzmann distribution in this case. The learned parameters give rise to hardware QA distributions closely approximating classical Boltzmann distributions that are hard to train with CD/PCD.

Motivation & Objective

  • To evaluate the effectiveness of quantum annealing hardware in accelerating training of fully visible Boltzmann machines.
  • To characterize the sampling distribution of D-Wave quantum hardware and compare it to classical Boltzmann distributions.
  • To investigate whether quantum samples can improve learning efficiency compared to classical initialization methods like CD and PCD.
  • To assess the impact of non-Boltzmann quantum sampling on model training and parameter update accuracy.
  • To explore the potential of using raw quantum samples (k=0) as effective seeds for Markov chains in training.

Proposed method

  • The study uses the 2000-qubit D-Wave quantum annealing hardware to sample from energy-based models with sparse Chimera connectivity.
  • It trains fully visible Boltzmann machines using stochastic gradient descent with loss functions based on data and model statistics, assuming a Boltzmann form for the model distribution.
  • The method compares three initialization strategies: contrastive divergence (CD), persistent contrastive divergence (PCD), and quantum annealing samples (QA) as seeds for Gibbs sampling.
  • For each method, the model is trained using k Gibbs steps (k=0 to k=50), with learning rate decay over iterations.
  • Performance is evaluated via KL divergence between test data and model distributions, comparing both classical Boltzmann and quantum-sampled model distributions.
  • The analysis focuses on artificial problems with high energy barriers between modes, constructed to be solvable exactly for validation.

Experimental results

Research questions

  • RQ1Can quantum annealing hardware provide a computational advantage over classical sampling methods like CD and PCD in training fully visible Boltzmann machines?
  • RQ2How do the sampling distributions of D-Wave quantum hardware compare to classical Boltzmann distributions in multimodal energy landscapes?
  • RQ3To what extent do raw quantum samples (k=0) improve learning performance compared to classical initialization methods?
  • RQ4Does the non-Boltzmann nature of quantum hardware samples hinder or enhance the training of probabilistic models?
  • RQ5Can quantum sampling lead to faster convergence and more accurate parameter estimation in models with high-energy barriers?

Key findings

  • For problems with high-energy barriers between modes, quantum annealing samples (even raw, k=0) significantly outperform CD and PCD in reducing test set KL divergence.
  • The use of QA samples as seeds leads to faster learning, requiring fewer parameter updates to achieve comparable or better performance than CD and PCD.
  • Even without Gibbs sampling (k=0), raw quantum samples achieved similar improvements to k=50, indicating that the quantum distribution itself is advantageous for learning.
  • The quantum hardware's sampling distribution differs significantly from classical Boltzmann, yet gradient updates assuming a Boltzmann model still converge effectively.
  • The improvement is attributed to the fact that the learned model parameters produce a quantum distribution that closely approximates the target classical Boltzmann distribution, which is hard to reach with CD/PCD.
  • The results suggest that quantum hardware can be used not just for optimization, but as a source of effective initialization for training generative models.

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.