Abstract
Neural-network architectures have been increasingly used to represent quantum many-body wave functions. These networks require a large number of variational parameters and are challenging to optimize using traditional methods, as gradient descent. Stochastic Reconfiguration (SR) has been effective with a limited number of parameters, but becomes impractical beyond a few thousand parameters. Here, we leverage a simple linear algebra identity to show that SR can be employed even in the deep learning scenario. We demonstrate the effectiveness of our method by optimizing a Deep Transformer architecture with $3 \times 10^5$ parameters, achieving state-of-the-art ground-state energy in the $J_1$-$J_2$ Heisenberg model at $J_2/J_1=0.5$ on the $10\times10$ square lattice, a challenging benchmark in highly-frustrated magnetism. This work marks a significant step forward in the scalability and efficiency of SR for Neural-Network Quantum States, making them a promising method to investigate unknown quantum phases of matter, where other methods struggle.
Introduction
Simulating quantum many-body systems, such as superconductors or exotic magnets, remains one of the most significant challenges in modern physics. Neural-Network Quantum States (NQS) have emerged as a powerful tool to represent complex wave functions. To find the ground state—the state of lowest energy—researchers must optimize the network's parameters.
The "gold standard" for this optimization is Stochastic Reconfiguration (SR). Unlike standard Gradient Descent, SR accounts for the "geometry" of the quantum state space, leading to significantly faster convergence. However, SR faces a massive scaling bottleneck: it requires inverting a matrix (the $S$-matrix) of size $P \times P$, where $P$ is the number of parameters. For a model with 300,000 parameters, this matrix would require nearly a terabyte of memory, far exceeding the capacity of modern hardware. Consequently, researchers previously had to choose between using powerful optimization on small models or weaker optimization methods (like Adam) on larger ones.
Methods and Scaling
The authors overcome this limitation by applying the "push-through" matrix identity: $$(AB + \lambda I_n)^{-1}A = A(BA + \lambda I_m)^{-1}$$
This identity allows the reformulation of the SR update rule, transforming the $P \times P$ matrix inversion into a much smaller $2M \times 2M$ inversion, where $M$ is the number of Monte Carlo samples. Since deep learning models typically have far more parameters than samples ($P \gg M$), this reduction in computational complexity is transformative.
The study utilizes a Deep Vision Transformer (Deep ViT) architecture tailored for physics, incorporating "factored attention" and symmetry projections (translational, rotational, and parity) to ensure physical accuracy. The implementation is distributed across 20 NVIDIA A100 GPUs using MPI alltoall operations to manage memory efficiently.
Key Insights
A significant finding of this work is the debunking of the "sample size myth." It was previously believed that extremely large sample sizes ($M$) were necessary for precise SR optimization in high-dimensional spaces. However, the authors achieved state-of-the-art results using only $M=6000$ samples for a model with over 267,000 parameters. Furthermore, the method achieves these results without imposing the "Marshall sign rule," making it a truly unbiased approach for investigating systems where the sign of the wave function is unknown.
Results
The proposed method was benchmarked on the $J_1-J_2$ Heisenberg model on a $10 \times 10$ square lattice at the frustration point ($J_2/J_1 = 0.5$). This model is notoriously difficult due to competing magnetic interactions that create a complex energy landscape.
As shown in the table above, the Deep ViT optimized with the new SR formulation achieved a ground-state energy per site of -0.497634(1), outperforming previous neural network approaches and rivaling specialized methods like DMRG. The optimization was highly stable and successfully handled 267,720 parameters—a feat that would have required over 1,000 GB of memory without the identity trick.
Conclusion and Future Work
This work demonstrates that large-scale neural networks can be efficiently optimized using SR, opening new avenues for quantum many-body physics. While the method currently requires significant high-performance computing resources, its stability and accuracy are unprecedented. Future research may extend this formulation to the Time-Dependent Variational Principle (TDVP) for simulating quantum dynamics or apply it to complex problems in quantum chemistry where traditional methods often fail due to the "sign problem."
Summary updated