[Paper Review] Cost-Function-Dependent Barren Plateaus in Shallow Quantum Neural Networks.
This paper proves that cost-function choice critically affects trainability in shallow quantum neural networks: global observables induce exponentially vanishing gradients (barren plateaus), while local observables yield only polynomially vanishing gradients when circuit depth is O(log n), establishing a direct link between locality and trainability in variational quantum algorithms.
Variational quantum algorithms (VQAs) optimize the parameters $\boldsymbol{ heta}$ of a quantum neural network $V(\boldsymbol{ heta})$ to minimize a cost function $C$. While VQAs may enable practical applications of noisy quantum computers, they are nevertheless heuristic methods with unproven scaling. Here, we rigorously prove two results, assuming $V(\boldsymbol{ heta})$ is a hardware-efficient ansatz composed of blocks forming local 2-designs. Our first result states that defining $C$ in terms of global observables leads to an exponentially vanishing gradient (i.e., a barren plateau) even when $V(\boldsymbol{ heta})$ is shallow. This implies that several VQAs in the literature must revise their proposed cost functions. On the other hand, our second result states that defining $C$ with local observables leads to at worst a polynomially vanishing gradient, so long as the depth of $V(\boldsymbol{ heta})$ is $\mathcal{O}(\log n)$. Taken together, our results establish a connection between locality and trainability. Finally, we illustrate these ideas with large-scale simulations, up to 100 qubits, of a particular VQA known as quantum autoencoders.
Motivation & Objective
- To rigorously analyze the gradient behavior in shallow variational quantum algorithms (VQAs) under different cost function choices.
- To identify conditions under which barren plateaus emerge in hardware-efficient ansatzes composed of local 2-design blocks.
- To establish a theoretical connection between the locality of observables in the cost function and the scaling of gradients.
- To guide the design of trainable VQAs by proving that local observables preserve gradient magnitude even in shallow circuits.
Proposed method
- Theoretical analysis of gradient variance in VQAs using random matrix theory and properties of local 2-designs.
- Derivation of gradient scaling behavior under two cost function types: global vs. local observables.
- Assumption of a hardware-efficient ansatz with blocks forming local 2-designs to model realistic quantum circuits.
- Proof that global observables lead to exponentially vanishing gradients regardless of circuit depth.
- Proof that local observables lead to at worst polynomially vanishing gradients when depth is O(log n).
- Large-scale simulations up to 100 qubits on quantum autoencoders to validate theoretical predictions.
Experimental results
Research questions
- RQ1Does the choice of cost function in a shallow VQA lead to exponentially vanishing gradients (barren plateaus)?
- RQ2Can local observables in the cost function prevent barren plateaus in shallow quantum circuits?
- RQ3What is the relationship between circuit depth and gradient scaling when using local versus global observables?
- RQ4How does the structure of the ansatz (specifically local 2-designs) affect gradient behavior in VQAs?
- RQ5To what extent do large-scale simulations confirm the theoretical predictions on gradient scaling?
Key findings
- Defining the cost function with global observables leads to exponentially vanishing gradients, even in shallow circuits, resulting in barren plateaus.
- When the cost function uses local observables, the gradient vanishes at most polynomially, provided the circuit depth is O(log n).
- The theoretical analysis proves that locality in the cost function is essential for maintaining trainable gradients in shallow VQAs.
- The results imply that several existing VQAs using global observables must reconsider their cost functions to avoid barren plateaus.
- Large-scale simulations of quantum autoencoders up to 100 qubits confirm the theoretical predictions on gradient scaling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.