Abstract
Quantum Neural Networks (QNNs), or the so-called variational quantum circuits, are important quantum applications both because of their similar promises as classical neural networks and because of the feasibility of their implementation on near-term intermediate-size noisy quantum machines (NISQ). However, the training task of QNNs is challenging and much less understood. We conduct a quantitative investigation on the landscape of loss functions of QNNs and identify a class of simple yet extremely hard QNN instances for training. Specifically, we show for typical under-parameterized QNNs, there exists a dataset that induces a loss function with the number of spurious local minima depending exponentially on the number of parameters. Moreover, we show the optimality of our construction by providing an almost matching upper bound on such dependence. While local minima in classical neural networks are due to non-linear activations, in quantum neural networks local minima appear as a result of the quantum interference phenomenon. Finally, we empirically confirm that our constructions can indeed be hard instances in practice with typical gradient-based optimizers, which demonstrates the practical value of our findings.
The Challenge of Training QNNs
Quantum Neural Networks (QNNs), also known as variational quantum circuits, are leading candidates for practical applications on near-term "noisy" quantum computers (NISQ). However, researchers have long observed that training these networks is a nightmare—optimizers often get stuck in sub-optimal solutions.
In classical deep learning, spurious local minima (points that look like solutions but aren't the best ones) are often caused by non-linearities like ReLU or Sigmoid functions. QNNs, however, are mathematically built on unitary transformations, which are linear. This led to a hopeful hypothesis: perhaps QNNs possess a "benign" landscape similar to linear classical networks. This research shatters that hope by proving that QNNs have a unique, physics-based source of training failure: quantum interference.
Theoretical Landscape Analysis
The authors conduct a quantitative investigation into the "loss landscape"—the mathematical terrain an optimizer must navigate. They focus on the under-parameterized regime, where the number of parameters is small compared to the massive size of the quantum Hilbert space. This is the regime most likely to be used in near-term NISQ applications.
Key Theoretical Findings:
- The "Hard" Construction: The paper provides a rigorous mathematical construction of a dataset that induces a loss function with $2^p$ local minima (where $p$ is the number of parameters). This involves creating a landscape with perfect symmetry and then introducing a second data component to "break" that symmetry, turning almost all global minima into spurious local traps.
- Typicality: Using Haar-random circuit models, they prove that "typical" under-parameterized QNNs naturally satisfy the conditions for this exponential hardness.
- Upper Bounding: Using Fourier analysis and Bézout’s Theorem, they established that the number of local minima is at most $(4p)^p$ for typical QNNs.
Quantum Interference as the Culprit
The most striking insight is that quantum interference plays the same role in QNNs that non-linear activations play in classical NNs. Interference allows different paths in the quantum circuit to cancel each other out or reinforce one another, creating complex, "bumpy" landscapes even though the underlying math is linear.
Unlike classical networks, where the number of local minima can grow indefinitely as you add more training data, the number of minima in QNNs is strictly bounded by the number of parameters, regardless of the dataset size. Furthermore, these local minima are "robust"—they are stable, persistent traps that do not disappear with the addition of noise to labels or gates.
Empirical Evidence
To validate these theoretical findings, the authors tested standard gradient-based optimizers (Adam, RMSProp, and L-BFGS) on their constructed hard instances.
The results were stark: the success rate of finding the global minimum decays exponentially as the number of parameters increases. As shown in the figure above, for a 16-parameter instance, the probability of a random initialization finding the global minimum was nearly zero, with most runs getting trapped in high-loss local minima regardless of the optimizer used.
Conclusion and Future Directions
The study highlights a fundamental hurdle for NISQ-era quantum machine learning. While "over-parameterized" QNNs might offer more benign landscapes, reaching that regime is currently impractical for large systems. Future research must address whether we can design "interference-aware" QNN architectures or specialized non-gradient optimizers that can navigate these bumpy landscapes more effectively.
Summary updated