Deep Stochastic Mechanics

Elena Orlova, Aleksei Ustimenko, Ruoxi Jiang, Peter Y. Lu, Rebecca Willett

TL;DR

Deep Stochastic Mechanics (DSM) is a new framework that solves the time-dependent Schrödinger equation (TDSE) by treating quantum mechanics as a stochastic diffusion process. By learning velocity fields rather than the wave function itself, DSM sidesteps the "curse of dimensionality," achieving quadratic computational scaling that allows for the simulation of systems with up to 100 interacting particles—a feat impossible for traditional grid-based solvers.

What Problem Does This Paper Address?

Simulating the time evolution of quantum systems is fundamental to drug discovery, material science, and quantum computing. However, the governing equation—the time-dependent Schrödinger equation (TDSE)—suffers from the curse of dimensionality. In a system with $n$ particles in 3D space, the problem dimension is $d = 3n$. Traditional numerical solvers rely on grids, meaning their computational cost grows exponentially ($O(N^d)$) as more particles are added.

While deep learning approaches like Physics-Informed Neural Networks (PINNs) have attempted to solve this, they often struggle in high dimensions because they sample points uniformly across the entire space. In quantum mechanics, the "interesting" parts of the wave function are often concentrated on low-dimensional manifolds; uniform sampling wastes computation on empty space and fails to capture the complex dynamics of high-density regions.

Methods

The authors propose Deep Stochastic Mechanics (DSM), which draws inspiration from two seemingly disparate fields: Nelson’s stochastic mechanics (a 1960s interpretation of quantum mechanics) and modern generative diffusion models.

The Stochastic Shift

Instead of solving for the complex-valued wave function $\psi(x, t)$, DSM decomposes it into a probability density $\rho$ and a phase $S$. This allows the TDSE to be reformulated as a pair of coupled partial differential equations for two real-valued velocity fields:

  1. Current velocity ($v$): Related to the gradient of the phase.
  2. Osmotic velocity ($u$): Related to the gradient of the log-density.

Algorithmic Innovations

  • Laplacian-Free Formulation: Standard stochastic mechanics equations involve the Laplacian operator ($\Delta$), which requires $O(d^3)$ operations to compute via automatic differentiation. The authors derive a novel formulation using the gradient of the divergence, reducing the complexity to $O(d^2)$.
  • Adaptive Sampling: DSM generates trajectories by sampling from the underlying Markovian diffusion process (see Figure 1). This ensures the neural network only learns in regions where the particle is actually likely to be found, naturally adapting to the system's latent low-dimensional structure.
  • Neural Training: Two neural networks, $u_\theta$ and $v_\theta$, are trained to minimize the residuals of the derived velocity equations along the sampled trajectories.
DSM training scheme and sampling paths

Datasets

The method was evaluated on several synthetic but physically rigorous benchmarks:

  • 1D and 3D Harmonic Oscillators: Used to compare accuracy against analytical solutions and PINN baselines.
  • Singular Initial Conditions: Testing the model's ability to handle a Delta-function start (infinite density at a single point).
  • Interacting Bosons: Systems of 2 to 100 particles in a harmonic trap with soft-contact interactions, providing a high-dimensional challenge where ground truths are unavailable for the largest scales.

Key Insights and Ideas

  • Sampling is the Secret Sauce: Unlike PINNs, which sample a static grid, DSM's sampling is "active." As the neural network's estimate of the velocities improves, the sampled trajectories become more accurate, focusing the model's "attention" on the most relevant parts of the state space.
  • Mathematical Reformulation Matters: The move from the Laplacian to the gradient of divergence isn't just a trick; it’s the difference between a model that can scale to dozens of particles and one that hits a wall at three or four.
  • Theoretical Rigor: The authors provide a "Strong Convergence Bound," proving that if the training loss goes to zero, the neural-approximated process is guaranteed to converge to the true quantum process in $L_2$ distance.

Key Results

  • Accuracy: In 1D harmonic oscillator tests, DSM achieved error rates orders of magnitude lower than PINNs. For example, in the $S_0(x) \equiv 0$ case, DSM's error in current velocity ($E(v)$) was $\sim 10^{-4}$ compared to PINN's $\sim 24.0$.
  • Scaling: DSM demonstrated linear scaling in training time and memory usage relative to the dimension $d$ for non-interacting systems (see Figure 4), significantly outperforming the exponential scaling of grid-based solvers.
  • High-Dimensional Success: The authors successfully simulated a 100-particle interacting boson system. While they couldn't compare to a grid-based ground truth (which would require impossible amounts of memory), they validated the results qualitatively by showing the one-particle density evolved correctly as a function of interaction strength $g$.

Complexity evaluation showing linear scaling of DSM 100-particle density evolution

Limitations and Future Work

  • Spinless Particles: The current formulation only covers spinless particles. Extending this to include spin components is a necessary next step for chemistry and condensed matter physics.
  • Fermions: The paper focuses on bosons. Simulating fermions (like electrons) introduces the "sign problem" due to anti-symmetry requirements, which remains a major open challenge.
  • Ground States: DSM is designed for time evolution. The authors note it is currently unsuited for finding stationary ground states, where methods like FermiNet are superior.
  • Integrator Choice: The study used a simple Euler-Maruyama integrator. Future work could employ higher-order or adaptive SDE integrators to improve accuracy with fewer time steps.

Summary updated

BibTeX
@inproceedings{orlova2024deep,
  author = {Elena Orlova and Aleksei Ustimenko and Ruoxi Jiang and Peter Y. Lu and Rebecca Willett},
  title = {{Deep Stochastic Mechanics}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=64MQCia06B},
}
Figure