TL;DR
Rather than explicitly predicting quantum wavefunctions with neural networks, this paper introduces Diffusion Variational Monte Carlo (DiffVMC), which implicitly represents quantum ground states by directly modeling their score function (the gradient of the log-wavefunction). By combining Langevin dynamics for sampling with a novel Weighted Score Matching objective derived from imaginary-time evolution, DiffVMC eliminates the need to evaluate explicit wavefunction values during optimization.
What Problem Does This Paper Address?
Solving the many-body Schrödinger equation to find quantum ground states is notoriously intractable due to exponential scaling with particle count. Variational Monte Carlo (VMC) coupled with deep neural networks (such as FermiNet and PauliNet) has emerged as a state-of-the-art approach.
However, existing neural VMC approaches model the wavefunction $\psi_\theta(x)$ explicitly. This requires computing first- and second-order derivatives through the network during training to obtain the local kinetic energy, and relies on standard Markov Chain Monte Carlo (MCMC) over the explicit probability distribution $|\psi_\theta(x)|^2$. Drawing inspiration from generative score-based modeling and diffusion models, the authors investigate whether a quantum system can instead be modeled and optimized purely via its score function—the "quantum drift force"—without ever calculating explicit wavefunction amplitudes.
Methods
The proposed framework, Diffusion Variational Monte Carlo (DiffVMC), replaces explicit wavefunction evaluation with three core components:
- Score-Based Local Energy: The local energy $E_L(x)$ can be rewritten strictly in terms of the score $s_\theta(x) = \nabla_x \log |\psi_\theta(x)|$: $$E_L(x; \theta) = -\frac{1}{2} \left[ \text{tr}(\nabla_x s_\theta(x)) + \|s_\theta(x)\|^2 \right] + V(x)$$
- Langevin Dynamics Sampling with Score-Only Detailed Balance: Walkers are sampled via Langevin dynamics. Because explicit wavefunction ratios $\frac{|\psi(x')|}{|\psi(x)|}$ are unavailable, the authors derive an approximated Metropolis-Hastings acceptance probability $P_\text{acc}$ that depends entirely on differences in score norms: $$P_\text{acc} \approx \exp\left( \frac{\alpha}{2} \left( \|s_\theta(x)\|^2 - \|s_\theta(x')\|^2 \right) \right)$$
- Weighted Score Matching (WSM) Objective: Inspired by short imaginary-time projection in Diffusion Monte Carlo (DMC), evolving the state by $e^{-\tau \hat{H}}$ re-weights configurations by $e^{-2\tau E_L(x)}$. To drive $s_\theta(x)$ toward lower-energy eigenstates, the authors formulate a weighted implicit score matching loss: $$\text{WSM}(\theta) = 2 \sum_{i=1}^M \text{softmax}\left( -\beta \frac{E_L(x_i) - \langle E_L \rangle}{\text{std}(E_L)} \right) \left[ \text{tr}(\nabla_x s_\theta(x_i)) + \|s_\theta(x_i)\|^2 \right]$$ where the softmax weights act as a self-attention mechanism prioritizing low-energy states and are treated as constants during backpropagation.
Datasets
The authors benchmarked their method on two physical systems:
- 2D Quantum Harmonic Trap (Bosons and Fermions): An analytical benchmark potential $V(x) = \frac{1}{2}\|x\|^2$ tested for $N = 2$ up to $10$ particles.
- First-Row Atomic Systems: Real interacting electronic systems under Coulomb potential (Born-Oppenheimer approximation) for Boron (B), Carbon (C), Nitrogen (N), and Oxygen (O), comparing against standard VMC FermiNet baselines and Hartree-Fock (HF) / experimental reference energies.
Key Insights and Ideas
- Local energy requires only scores, not wavefunction values: Evaluating the Hamiltonian only needs gradients of the logarithmic wavefunction. Explicit wavefunction values were historically kept only for MCMC acceptance ratios and standard energy expectation loss formulas.
- Bridge between DMC projection and Score Matching: While DMC uses score-driven diffusion alongside walker branching/weighting to project ground states, DiffVMC directly updates the parameters of the score network itself via weighted score matching.
- Zero-variance consistency: At the true ground state, local energy is constant ($E_L(x) = E_0$), which reduces the softmax weights in the WSM objective to uniform constants, ensuring the true ground state remains a stationary local minimum.
Key Results
- 2D Harmonic Trap: For both bosons (modeled with a permutation-equivariant MLP) and fermions (using $\nabla_x \text{FermiNet} + \text{FFN}$), DiffVMC accurately converged to the exact analytical ground-state energies across all particle numbers $N \in [2, 10]$.
- Atomic Ground-State Energies:
- For Boron, Carbon, and Oxygen, DiffVMC achieved results within chemical accuracy ($1.594\text{ m}E_h \approx 1\text{ kcal/mol}$) of reference values (e.g., Boron reached $-24.65233\text{ }E_h$ vs. reference $-24.65391\text{ }E_h$; Oxygen reached $-75.06587\text{ }E_h$ vs. reference $-75.0673\text{ }E_h$).
- Introducing a dedicated feed-forward side network ($\nabla_x \text{FermiNet} + \text{FFN}$) improved performance on Nitrogen ($-54.58221\text{ }E_h$).
Limitations and Future Work
- Fermion Nodal Divergences: Fermionic wavefunctions change sign across arbitrary nodal surfaces, causing the true score function to diverge inversely with distance to the node. Feed-forward networks struggle to fit these discontinuous singularities directly, forcing the authors to retain an antisymmetric Slater determinant backbone ($\nabla_x \text{FermiNet}$).
- Computational Overhead: Computing derivatives of the score network ($\text{tr}(\nabla_x s_\theta)$) introduces a second backpropagation pass. When combined with FermiNet, this was slower than standard VMC.
- Optimization Challenges: Established second-order optimizers like K-FAC are tailored for scalar wavefunction outputs rather than score matching gradients, occasionally leading to higher energy variance. Future work could integrate sliced or finite-difference score matching to accelerate trace evaluations.
Summary updated