Solving eigenvalue PDEs of metastable diffusion processes using artificial neural networks

Wei Zhang, Tiejun Li, Christof SchütteJournal of Computational Physics 2021

Abstract

Understanding the long-term kinetics of complex molecular systems requires solving high-dimensional eigenvalue problems associated with the infinitesimal generator of the system's dynamics. Traditional numerical methods suffer from the curse of dimensionality, while existing data-driven approaches often rely on the selection of a sensitive "lag time" parameter. This paper presents a deep-learning-based algorithm that utilizes artificial neural networks (ANNs) to solve these eigenvalue partial differential equations (PDEs) directly. By employing a variational loss function and a trace-based training objective, the method simultaneously identifies multiple leading eigenvalues and eigenfunctions. We demonstrate the efficiency and accuracy of this approach on synthetic high-dimensional models (up to 100 dimensions) and the alanine dipeptide molecule, showing that the method effectively captures dominant timescales and transition mechanisms without lag-time bias.

Introduction

In the study of molecular dynamics and chemical physics, systems are frequently characterized by metastability. A metastable system spends the majority of its time vibrating within specific local minima of a potential energy surface—representing stable conformations like protein folds—before undergoing rare, stochastic transitions to other states.

To mathematically characterize these transitions, researchers analyze the infinitesimal generator of the diffusion process. Solving the eigenvalue problem for this generator yields two vital pieces of information:

  1. Eigenvalues ($\lambda$): These define the characteristic timescales of the system's slowest processes (the "bottlenecks").
  2. Eigenfunctions ($\phi$): These serve as collective variables that map out the physical pathways and transition states of the system.

However, molecular systems are inherently high-dimensional. Traditional grid-based methods, such as Finite Element or Finite Volume methods, become computationally intractable as the number of atoms increases—a phenomenon known as the "curse of dimensionality." Furthermore, while methods based on the Transfer or Koopman operators have gained popularity, they require a pre-defined "lag time" parameter. If this parameter is chosen poorly, it can introduce significant bias or obscure the underlying continuous-time physics. This work proposes a mesh-free, ANN-based approach to solve the generator's eigenvalue PDE directly, bypassing these limitations.

Methodology

Variational Formulation and Loss Function

Rather than solving the PDE through traditional discretization, the proposed method leverages a variational characterization. The leading eigenvalues are identified by minimizing a loss function derived from the Rayleigh quotient. To find the first $K$ eigenpairs simultaneously, the authors utilize a trace-based loss function:

$$L = \text{Trace}(\mathbf{\Phi}^T \mathcal{L} \mathbf{\Phi}) + \text{Penalty Term}$$

This approach allows a single neural network architecture to output multiple eigenfunctions in one training task, significantly improving efficiency over iterative methods that solve for one eigenpair at a time.

Enforcing Orthonormality

To prevent the neural network from converging to the same trivial solution for all eigenfunctions, a penalty term is introduced. This term enforces pairwise orthonormality among the learned functions. By adjusting a penalty parameter ($\alpha$), the optimization process ensures that the network explores the orthogonal components of the function space corresponding to distinct kinetic processes.

Handling Biased Data

Metastable systems are notoriously difficult to sample because simulations often get trapped in local minima. To overcome this, the authors incorporate a reweighting technique. This allows the ANN to be trained on data generated from "biased" simulations—where the system is encouraged to explore transition regions—while still recovering the unbiased physics of the original potential energy surface.

Experimental Results

High-Dimensional Scalability

The algorithm was first tested on a synthetic potential function scaled from 2 to 100 dimensions. In low dimensions, the results were validated against traditional grid-based reference solutions. As the dimensionality increased to $d=100$, the ANN remained highly accurate. For instance, the ANN estimated the first eigenvalue at $\lambda_1 \approx 0.220$, nearly identical to the reference value of $0.219$. This demonstrates the ability of ANNs to perform automatic dimensionality reduction, identifying that the eigenfunctions depend only on a few critical coordinates despite the high-dimensional input space.

Alanine Dipeptide

The method was applied to alanine dipeptide, a standard benchmark in computational chemistry. Although the molecule consists of only 22 atoms, its state space is 66-dimensional. Using trajectory data from biased simulations (Adaptive Biasing Force), the ANN successfully identified the primary kinetic transitions:

  • First Eigenfunction ($\phi_1$): Clearly distinguished the rare $C7_{ax}$ conformation from the $C5$ and $C7_{eq}$ states.
  • Second Eigenfunction ($\phi_2$): Captured the more frequent transitions between the $C5$ and $C7_{eq}$ states.

The algorithm reached convergence within approximately 5,000 training steps, highlighting its potential for rapid analysis of molecular trajectory data.

Discussion and Conclusion

The ANN-based solver offers several advantages over traditional and operator-based methods. Most notably, it is lag-time independent, providing a more direct window into the continuous-time generator of the system. The use of soft constraints via penalty parameters allows for flexible optimization, though the authors note that future work could explore "hard" constraints to further stabilize training.

Beyond molecular dynamics, this framework has significant implications for quantum chemistry. The mathematical structure of the generator's eigenvalue problem is closely related to the Schrödinger equation. Consequently, this multi-eigenpair ANN approach could be adapted to solve for excited states in quantum systems, offering a scalable alternative to current electronic structure methods. As deep learning continues to evolve, these mesh-free PDE solvers represent a promising frontier for simulating complex, high-dimensional physical systems.

Summary updated

BibTeX
@article{zhang2021solving,
  author = {Wei Zhang and Tiejun Li and Christof Schütte},
  title = {{Solving eigenvalue PDEs of metastable diffusion processes using artificial neural networks}},
  journal = {Journal of Computational Physics},
  year = {2021},
}
Figure