Skip to main content
QUICK REVIEW

[Paper Review] Subtleties in the trainability of quantum machine learning models

Supanut Thanasilp, Samson Wang|arXiv (Cornell University)|Oct 27, 2021
Quantum Computing Algorithms and ArchitectureComputer Science68 references9 citations
TL;DR

This paper establishes that gradient scaling and barren plateau phenomena from Variational Quantum Algorithms (VQAs) apply directly to Quantum Machine Learning (QML) models, revealing that features like deep unstructured circuits and global measurements hinder QML trainability. It further identifies a novel issue—dataset-induced barren plateaus (DIBPs)—arising from classical data embeddings, which can severely degrade training unless embedding schemes are designed with trainability in mind.

ABSTRACT

A new paradigm for data science has emerged, with quantum data, quantum models, and quantum computational devices. This field, called Quantum Machine Learning (QML), aims to achieve a speedup over traditional machine learning for data analysis. However, its success usually hinges on efficiently training the parameters in quantum neural networks, and the field of QML is still lacking theoretical scaling results for their trainability. Some trainability results have been proven for a closely related field called Variational Quantum Algorithms (VQAs). While both fields involve training a parametrized quantum circuit, there are crucial differences that make the results for one setting not readily applicable to the other. In this work we bridge the two frameworks and show that gradient scaling results for VQAs can also be applied to study the gradient scaling of QML models. Our results indicate that features deemed detrimental for VQA trainability can also lead to issues such as barren plateaus in QML. Consequently, our work has implications for several QML proposals in the literature. In addition, we provide theoretical and numerical evidence that QML models exhibit further trainability issues not present in VQAs, arising from the use of a training dataset. We refer to these as dataset-induced barren plateaus. These results are most relevant when dealing with classical data, as here the choice of embedding scheme (i.e., the map between classical data and quantum states) can greatly affect the gradient scaling.

Motivation & Objective

  • To bridge the gap between trainability results in Variational Quantum Algorithms (VQAs) and Quantum Machine Learning (QML) models.
  • To investigate whether VQA-derived gradient scaling and barren plateau results are applicable to QML settings.
  • To identify new trainability issues in QML that do not arise in VQAs, particularly due to the use of classical training datasets.
  • To demonstrate that poor data embedding schemes can induce barren plateaus in QML, even when the ansatz is well-structured.
  • To advocate for the development of trainability-aware quantum data embedding schemes in QML.

Proposed method

  • Established a mathematical connection between gradients of linear cost functions in VQAs and those of mean squared error and log-likelihood cost functions in QML.
  • Proved that gradient scaling results from VQAs—such as exponential vanishing of gradients in barren plateaus—extend to QML models.
  • Identified a new source of barren plateaus in QML, termed Dataset-Induced Barren Plateaus (DIBPs), arising from the interplay between the dataset structure and the embedding map.
  • Used theoretical analysis to show that DIBPs occur when the empirical Fisher information matrix has exponentially small entries, making optimization infeasible.
  • Conducted numerical simulations to validate the DIBP phenomenon, demonstrating sensitivity to both dataset structure and embedding choice.
  • Evaluated the Havlíček et al. embedding on MNIST, showing it leads to large generalization error despite being classically hard to simulate.

Experimental results

Research questions

  • RQ1Can gradient scaling and barren plateau results from VQAs be rigorously extended to QML models?
  • RQ2What new trainability issues emerge in QML that are not present in VQAs due to the use of classical datasets?
  • RQ3How does the choice of quantum data embedding affect the gradient scaling and potential for barren plateaus in QML?
  • RQ4Can a quantum embedding that is classically hard to simulate still lead to poor generalization and training performance in QML?
  • RQ5To what extent do dataset structure and embedding design jointly determine the presence of dataset-induced barren plateaus?

Key findings

  • Gradient scaling results from VQAs, including the exponential vanishing of gradients in barren plateaus, directly apply to QML models, meaning features like deep unstructured circuits and global measurements are detrimental to QML trainability.
  • A novel form of barren plateau—dataset-induced barren plateaus (DIBPs)—arises in QML due to the interplay between the training dataset and the data embedding, even when the ansatz is well-structured.
  • The empirical Fisher information matrix in QML can have exponentially small entries in DIBPs, rendering standard optimization methods ineffective without exponential resources.
  • The choice of embedding scheme critically affects trainability: a classically hard-to-simulate embedding (e.g., Havlíček et al.) can still lead to poor generalization and large test errors on classical data tasks.
  • Numerical simulations confirm that both dataset structure and embedding choice significantly influence gradient scaling, with some combinations leading to near-zero gradients.
  • The results imply that a successful QML embedding must satisfy three criteria: practical utility, classical intractability, and trainability—especially avoiding DIBPs.

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.