Implicitly Restarted Lanczos Enables Chemically-Accurate Shallow Neural Quantum States
Wei Liu, Wenjie Dou
TL;DR
This work introduces implicitly restarted Lanczos (IRL) as a robust, second-order optimizer for neural quantum states (NQS). By reformulating the variational parameter update from the ill-conditioned SR/LM linear system into a Hermitian eigenproblem and solving it with IRL, the method automatically determines the descent direction and step size, removing the need for learning-rate tuning and mitigating numerical instability. The approach enables shallow NQS to achieve chemical accuracy ($\varepsilon_{\text{abs}} \sim 10^{-10}$ to $10^{-12}$ kcal/mol) in 3–5 optimization steps, with dramatic speedups (e.g., ~17,900x over Adam for F$_2$) and parameter efficiency. Crucially, IRL remains stable and accurate in strongly correlated regimes (e.g., N$_2$ bond dissociation), where traditional single-reference methods fail, suggesting broad applicability to high-precision quantum chemistry and quantum physics leveraging variational neural networks.
Abstract
The variational optimization of high-dimensional neural network models, such as those used in neural quantum states (NQS), presents a significant challenge in machine intelligence. Conventional first-order stochastic methods (e.g., Adam) are plagued by slow convergence, sensitivity to hyperparameters, and numerical instability, preventing NQS from reaching the high accuracy required for fundamental science. We address this fundamental optimization bottleneck by introducing the implicitly restarted Lanczos (IRL) method as the core engine for NQS training. Our key innovation is an inherently stable second-order optimization framework that recasts the ill-conditioned parameter update problem into a small, well-posed Hermitian eigenvalue problem. By solving this problem efficiently and robustly with IRL, our approach automatically determines the optimal descent direction and step size, circumventing the need for demanding hyperparameter tuning and eliminating the numerical instabilities common in standard iterative solvers. We demonstrate that IRL enables shallow NQS architectures (with orders of magnitude fewer parameters) to consistently achieve extreme precision (1e-12 kcal/mol) in just 3 to 5 optimization steps. For the F2 molecule, this translates to an approximate 17,900-fold speed-up in total runtime compared to Adam. This work establishes IRL as a superior, robust, and efficient second-order optimization strategy for variational quantum models, paving the way for the practical, high-fidelity application of neural networks in quantum physics and chemistry.
