Source-linked AI summary

Theory of overparametrization in quantum neural networks

Martin Larocca, Nathan Ju, Diego García-Martín, Patrick J. Coles, M. Cerezo

arXiv:2109.11676v1quant-phcs.LGstat.ML

TL;DR

The paper asks how parameter count shapes QNN loss landscapes and trainability, addressing the lack of a general theory for overparametrization. It analyzes periodic QNNs through their reachable state-space directions and generator Lie algebras, finding that a critical parameter threshold marks improved landscapes and saturated capacity.

  • Problem

    Prior QNN work provided examples and heuristic evidence of overparametrization, but no general theory identified the QNN properties governing it.

  • Method

    The paper analyzes periodic-structure QNNs by relating parameterized unitaries, reachable state-space orbits, QFIM ranks, loss landscapes, and the Dynamical Lie Algebra of the generators.

  • Results

    Overparametrization occurs when parameters reach a critical threshold for exploring all relevant state-space directions; the DLA dimension upper-bounds this threshold and the maximal QFIM and Hessian ranks.

  • Takeaways & Limitations

    Crossing the overparametrization threshold corresponds to a computational phase transition with fewer spurious minima, a more favorable landscape, and saturated QNN capacity.

Abstract

from arXiv · show

The prospect of achieving quantum advantage with Quantum Neural Networks (QNNs) is exciting. Understanding how QNN properties (e.g., the number of parameters $M$) affect the loss landscape is crucial to the design of scalable QNN architectures. Here, we rigorously analyze the overparametrization phenomenon in QNNs with periodic structure. We define overparametrization as the regime where the QNN has more than a critical number of parameters $M_c$ that allows it to explore all relevant directions in state space. Our main results show that the dimension of the Lie algebra obtained from the generators of the QNN is an upper bound for $M_c$, and for the maximal rank that the quantum Fisher information and Hessian matrices can reach. Underparametrized QNNs have spurious local minima in the loss landscape that start disappearing when $M\geq M_c$. Thus, the overparametrization onset corresponds to a computational phase transition where the QNN trainability is greatly improved by a more favorable landscape. We then connect the notion of overparametrization to the QNN capacity, so that when a QNN is overparametrized, its capacity achieves its maximum possible value. We run numerical simulations for eigensolver, compilation, and autoencoding applications to showcase the overparametrization computational phase transition. We note that our results also apply to variational quantum algorithms and quantum optimal control.

I. INTRODUCTION

The paper develops a general theory of overparametrization in periodic-structure QNNs, linking parameter count to reachable state-space directions, loss landscapes, and trainability. It motivates this theory through the broader challenges of training QML models and the need to engineer scalable, trainable ansätze.

  • Motivation: QML training is difficult, motivating theories of loss landscapes and methods that improve QNN trainability.Prior work studies sub-optimal minima, barren plateaus, and noise effects in quantum loss landscapes.
  • Motivation: Prior QNN studies reported heuristic trainability improvements from increasing parameter counts, but lacked a general theoretical analysis.The paper identifies overparametrization as important for Quantum Landscape Theory and QNN engineering.
  • Framework: The framework studies periodic QNNs whose trainable parameters generate unitaries acting on training states before measurement-based loss optimization.The ansatz includes M = K · L parameters and covers hardware-efficient, QAOA, HVA, and quantum optimal-control constructions.
  • Framework: Overparametrization begins beyond a critical parameter count Mc, when the QNN can explore all relevant state-space directions and the QFIM reaches its achievable rank.The framework connects parameter space, unitary space, Hilbert space, measurements, and the loss landscape.
  • Theory and scope: The theory relates overparametrization to the Dynamical Lie Algebra generated by the ansatz operators and applies its conclusions to quantum optimal control.The paper presents numerical verification and identifies direct consequences for quantum optimal-control protocols.
  • Trainability: Underparametrized QNNs may contain spurious local minima, whereas increasing parameters past Mc exposes higher-dimensional landscape directions and can turn false minima into saddles.This provides the paper’s mechanism for improved parameter optimization in the overparametrized regime.

C. Theoretical Results

The paper rigorously characterizes overparametrization in periodic-structured QNNs through QFIM rank, Lie-algebra dimension, trainability, capacity, and Hessian rank.

  • Definition and threshold: A QNN is overparametrized when all training-state QFIMs simultaneously reach their achievable ranks beyond a critical parameter count Mc.This definition means additional parameters no longer increase accessible state-space directions.
  • Trainability: Underparametrized QNNs can have spurious local minima, whereas crossing the overparametrization threshold enables exploration of more state-space directions and improves the optimization landscape.The paper characterizes this threshold crossing as a computational phase transition.
  • Definition and threshold: The maximum QFIM rank is bounded by dim(gS), which is itself bounded by the Dynamical Lie Algebra dimension dim(g).Thus, the associated Lie algebra limits the number of relevant and independent state-space directions.
  • Trainability: The parameter threshold depends on both the training dataset S and the generator set G, so the same ansatz or dataset can reach overparametrization at different depths.This makes overparametrization architecture- and data-dependent.
  • Capacity: When a QNN is overparametrized, its effective quantum dimension can attain the maximum capacity allowed by dim(gS), while increasing parameters cannot exceed that bound.The result gives overparametrization an operational interpretation in terms of QNN capacity.
  • Hessian structure: For the specified loss class, the Hessian rank at an optimum is bounded by the Lie-algebra dimension; beyond overparametrization, extra parameters add zero-valued Hessian eigenvalues.The bound applies at solutions, while the Hessian can have larger rank elsewhere in the landscape.

D. Numerical Results

Numerical studies of VQE show a sharp overparametrization transition near the DLA dimension: optimization improves, false minima disappear, and QFIM/Hessian ranks obey the predicted bounds.

  • Numerical setup: Three optimization tasks—VQE, unitary compilation, and quantum autoencoding—were used to numerically illustrate overparametrization and its computational phase transition.The simulations used the open-source library Qibo.
  • VQE: Hamiltonian variational ansatzes for n = 4, 6, 8, 10 qubits were evaluated with open and closed boundary conditions across 50 random initializations.The ansatz uses two parameters per layer, giving 2L parameters.
  • VQE: When sufficiently deep, the VQE loss function decreases exponentially with each optimization step.This behavior was observed for both boundary-condition choices in the reported training curves.
  • VQE: At M ∼dim(gS), VQE success probability rapidly approaches one as false local minima disappear; further parameter increases eventually saturate.Success is defined as convergence within 10−7 of the true solution, and saturation scales linearly for closed boundaries and quadratically for open boundaries.
  • Rank diagnostics: At the overparametrization threshold, computed QFIM and Hessian ranks remain bounded by the associated DLA dimension and follow explicit system-size dependences.QFIM ranks were evaluated at optima and random landscape points, while Hessian ranks were evaluated at optima.

2. Unitary compilation

Unitary compilation and quantum autoencoding simulations extend the overparametrization picture to hardware-efficient QNNs, while highlighting their exponential-DLA scalability limitation.

  • 2. Unitary compilation: Variational unitary compilation trains U(θ) to match a target unitary V up to global phase, using a loss efficiently evaluated by the Hilbert-Schmidt test.The compilation ansatz alternates single-qubit rotations and entangling gates.
  • 2. Unitary compilation: For unitary compilation, increasing circuit depth sharply improves convergence until saturation, with roughly dim(gS) parameters needed for consistently high-quality solutions.The success probability counts instances converging within 10−7 of the global optimum.
  • 2. Unitary compilation: Compilation landscapes simplify as local traps disappear, while QFIM and Hessian ranks numerically equal dim(g) −1.QFIM ranks were checked at optima and random points; Hessian ranks were checked at global optima.
  • Scalability boundary: Hardware-efficient ansatzes can require exponentially many parameters because their DLA dimension grows exponentially with system size, making overparametrization impractical at large sizes.Such ansatzes may also exhibit barren plateaus, further limiting practical use.

IV. METHODS

The methods define overparametrization through accessible state-space directions and connect it to the DLA, QFIM, Hessian, capacity, and quantum optimal control.

  • Dynamical Lie algebra: The DLA is the finite-dimensional space spanned by nested commutators of the QNN generators.Repeated Baker–Campbell–Hausdorff composition produces effective generators within this Lie algebra.
  • Definition scope: A loss landscape can be flat even when the QNN explores state-space directions, so state-space overparametrization is chosen as the primary definition.The supplied example has L(θ) = 1 for all θ and a zero Hessian.
  • Rank bounds: The QFIM rank is bounded by dim(g), while the Hessian rank at relevant solutions is bounded by dim(gS).These bounds arise because QFIM-support vectors lie in spaces generated by DLA elements.
  • Overparametrization definition: A QNN is overparametrized when its QFIM reaches the achievable rank of the state-space orbit for training states.This definition is independent of the particular loss-function measurement scheme.
  • Critical parameter count: M ≥ maxµ dim(G|ψµ⟩) is sufficient for overparametrization, and the VQE simulations place onset at M = maxµ dim(G|ψµ⟩).The orbit dimension bounds the number of independent state-space directions accessible through the QNN.
  • Quantum optimal control: The same DLA-based rank analysis extends to quantum optimal control, where shared generators imply the same QFIM saturation value.The Hessian under a quantum-control ansatz is likewise expected to be bounded by dim(g).

QUANTUM NEURAL NETWORKS”

The supplementary information supplies detailed proofs of the manuscript’s theorems and corollaries, together with additional numerical-simulation details.

  • Supplementary Information: The Supplementary Information contains detailed proofs of the theorems and corollaries presented in the manuscript.It also provides additional details and results for the numerical simulations.

I. PRELIMINARIES

The preliminaries define periodic QNNs, their generators and DLA, invariant subspaces, and the QFIM-based state-space rank framework.

  • QNN structure: A periodic QNN uses K generators per layer and M = K · L trainable parameters across L layers.The generators are traceless Hermitian operators defining the single-layer unitaries.
  • Dynamical Lie algebra: The DLA is generated by repeated nested commutators of the single-layer generator set G.Its Lie closure is the space obtained by repeatedly taking commutators.
  • Invariant subspaces: A shared symmetry decomposes the DLA and Hilbert space into invariant subspaces, allowing the analysis to use the symmetry-respecting reduced algebra gS.The generators commute with the symmetry operator.
  • Quantum Fisher information: The QFIM rank counts independent state-space directions accessible through infinitesimal parameter changes.Its derivatives are generated by conjugated operators from the DLA.
  • Theorem 1: For each training state, the QFIM column space lies within a fixed space of dimension dim(gS), giving a corresponding rank upper bound.The QFIM is constructed from rank-one matrices generated by vectors whose span is controlled by the reduced DLA.

III. PROOF OF THEOREM 2

The theorem-2 proof connects overparametrization with effective dimension: once QFIM ranks saturate, the model reaches maximal effective capacity subject to DLA bounds.

  • Overparametrization: Overparametrization requires all training-state QFIMs to simultaneously reach their achievable ranks at some landscape point, beyond a critical M_c.Adding parameters past M_c does not increase any QFIM rank.
  • Capacity bound: The model capacity, measured by either effective dimension, is upper bounded by the DLA dimension.The proof uses the QFIM rank bound and the positive-semidefinite relation between quantum and classical Fisher information.
  • Effective dimension: The average effective quantum dimension D1 reaches its maximum at an overparametrized point and satisfies D1(θ) ≤ dim(gS).D1 is the expected QFIM rank over training states.

IV. PROOF OF THEOREM 3

The proof bounds the Hessian rank at an optimum using the Dynamical Lie Algebra dimension and an additional rank-dependent expression. The argument rewrites Hessian terms as disjoint sums of rank-one matrices.

  • Theorem statement: Theorem 3 bounds the optimal Hessian rank for the specified observable-minimization loss.The theorem is evaluated at an optimum parameter set θ∗.
  • Lie-algebra bound: The Hessian rank is upper bounded by dim(gS), because its generating vectors lie in a dim(gS)-dimensional space.
  • Rank-dependent bound: Defining r = min{r(e), r(o)} yields the additional upper bound 2dr − r2 − r.
  • Proof strategy: The proof partitions Hessian terms by index relations, combines matching sums, and identifies disjoint rank-one contributions.
  • Rank-dependent bound: For r(e) ≤ r(o), the remaining projectors satisfy m > n and n ≤ r(e), producing the stated rank restriction.

V. PROOF OF THEOREM 4

The proof analyzes two unitary-compilation losses and shows that both optimal Hessians have rank bounded by the dimension of the dynamical Lie algebra. It derives this by expressing Hessian terms through vectors in the Lie-algebra span.

  • Compilation setting: The compilation task trains a QNN whose action matches a target unitary V.
  • Loss functions: The loss L1 is minimized at U(θ) = V, whereas L2 is minimized up to a global phase, U(θ) = eiφV.
  • Theorem statement: Theorem 4 states that both compilation-loss Hessians have maximal rank at most dim(g).The two solutions are U(θ∗) = V and U(θ∗) = eiφV, respectively.
  • Proof strategy: For L1, the Hessian is a sum of d2 rank-one matrices whose generating vectors lie in the span of dim(g) vectors.
  • Proof strategy: The same rank-one-span argument gives rank(∇2L2(θ∗)) ≤ dim(g).

VI. DETAILS OF THE NUMERICAL SIMULATIONS

The simulations compute QFIMs and Hessians for QNN applications using parameter-shift derivatives and full-state, double-precision CPU simulations. Different ansätze and losses are treated according to their application-specific circuit structure.

  • Implementation: All simulations use double precision, Qibo 0.1.6, and CPUs because host-device transfer limits GPU suitability below roughly 15–20 qubits.
  • Optimization: Adam is used for optimization because prior overparametrization studies in variational quantum algorithms used this algorithm.
  • Simulation assumptions: Full state vectors are used without sampling noise to isolate the optimization landscape from finite-sampling stochasticity.
  • Derivative evaluation: Parameter-shift rules compute both QFIM and Hessian matrices.
  • Ansätze and applications: The HVA is used for VQE, while the HEA is used for unitary compilation and quantum autoencoding.
  • Matrix dependence: The QFIM is loss-independent, whereas Hessians depend on the loss; simulations compute the Hessian for unitary compilation.

VIII. ADDITIONAL NUMERICAL RESULTS

Additional simulations examine QFIM and Hessian spectra at global optima and random landscape points, and measure QFIM rank across parameter counts. They show rank saturation at a critical parameter number and non-convex Hessian behavior away from optima.

  • Spectral analysis: For n = 10 VQE qubits, spectra show a large gap between non-zero and zero QFIM and Hessian eigenvalues.This gap removes ambiguity in defining numerical rank.
  • Spectral analysis: At random landscape points, the QFIM rank remains bounded by dim(gS), while the Hessian can have both positive and negative eigenvalues.
  • Optimum dependence: The Hessian rank bound by dim(gS) requires evaluation at the global minimum; fairly-good local minima did not always satisfy it.
  • Rank saturation: QFIM rank quickly saturates at Mc across random points for open-boundary HVA simulations with n = 4 and 6 qubits.
  • Rank saturation: Before Mc, average QFIM rank equals the parameter count; beyond Mc, additional parameters add only null eigenvalues.
Loading 2109.11676v1…