Nonlinear Discovery of Slow Molecular Modes using Hierarchical Dynamics Encoders.

Wei Chen, Hythem Sidky, Andrew L. Ferguson

TL;DR

This paper introduces State-Free Reversible VAMPnets (SRVs), a novel deep learning approach for discovering the slowest, most important motions in molecular systems directly from simulation data. SRVs overcome limitations of previous methods by learning nonlinear representations of these motions, which are crucial for accelerating simulations and understanding complex molecular behavior.

What Problem Does This Paper Address?

Understanding the long-term behavior of molecular systems, like proteins folding or molecules reacting, is essential but computationally challenging. These systems often have many atoms, leading to incredibly complex dynamics. The key to simplifying this is identifying the "slow collective variables" (CVs) that govern the system's most important conformational changes. However, these slow CVs are often hard to guess, especially for complex molecules. Traditional methods like Time-Lagged Independent Component Analysis (TICA) can find linear combinations of atomic coordinates that represent slow motions, but they struggle with nonlinear relationships. Kernel TICA (kTICA) can handle nonlinearities but is computationally expensive and sensitive to parameter choices. This paper aims to provide a more robust, scalable, and accurate method for discovering these crucial nonlinear slow modes directly from simulation data.

Methods

The core innovation is the State-Free Reversible VAMPnets (SRVs). SRVs leverage the framework of the Variational Approach to Conformational Dynamics (VAC) but use a deep neural network to learn nonlinear representations of the system's state. Here's a breakdown:

  • Deep Neural Network (Siamese Architecture): SRVs employ a Siamese neural network. This means two identical sub-networks (sharing weights) process pairs of configurations from a simulation trajectory: the current state ($x_t$) and a future state ($x_{t+\tau}$). The network learns to output a set of features for each configuration.
  • Linear VAC on Network Outputs: Crucially, SRVs don't directly output the slow modes. Instead, they use a linear VAC on the outputs of the neural network. This means the network learns a nonlinear "featurization" of the input data, and then a linear transformation is applied to these features to approximate the eigenfunctions of the transfer operator (which represent the slow modes).
  • State-Free and Reversible: The "state-free" aspect means the method doesn't require pre-defined states or a discrete partition of the configuration space. The "reversible" aspect refers to its application to systems obeying detailed balance, which is common in molecular simulations.
  • Orthogonality Imposed: The method naturally imposes orthogonality on the learned eigenfunctions during the network training process, a key requirement for accurate spectral decomposition.
  • Automatic Differentiation: The entire process, including the calculation of gradients for network parameter updates, is handled by automatic differentiation, making it efficient and less prone to manual error.

Datasets

The SRV method was evaluated on:

  • 1D and 2D Toy Systems: These are simplified, analytically solvable systems (a 1D 4-well potential and a 2D ring potential) used to validate the method against known theoretical eigenfunctions.
  • Alanine Dipeptide in Water: A standard benchmark system in molecular dynamics, representing a small peptide. A 200 ns simulation trajectory was used.
  • WW Domain Protein: A larger, more complex biomolecular system, using a 1137 µs simulation trajectory.

The paper does not introduce new benchmark datasets but rather uses existing simulation data and well-established toy models.

Key Insights and Ideas

  • Deep Learning for Spectral Decomposition: The paper demonstrates that deep neural networks are powerful tools for learning the complex, nonlinear relationships needed to approximate the eigenfunctions of the transfer operator, a fundamental concept in dynamical systems theory.
  • Decoupling Nonlinear Featurization from Linear Eigenfunction Extraction: SRVs cleverly separate the task of learning a nonlinear representation of the data (via the neural network) from the task of extracting the slow modes (via linear VAC). This is a key advantage over methods that try to do both simultaneously or rely on fixed nonlinear kernels.
  • Robustness to Hyperparameters: Unlike kTICA, which is highly sensitive to kernel choices and hyperparameters, SRVs are shown to be much more robust, requiring less tuning and yielding consistent results across different applications.
  • Explicit and Differentiable Slow Modes: The learned slow modes are explicit functions of the input coordinates and are differentiable. This is crucial for their direct use in enhanced sampling techniques, where gradients are needed.
  • Scalability: The SRV approach is computationally efficient, requiring only O(N) memory and computation time (where N is the number of data points), making it suitable for large datasets common in molecular simulations.

Key Results

  • Excellent Agreement with Theory: SRVs accurately recover the theoretical eigenfunctions for both 1D and 2D toy systems, matching kTICA results.
  • Improved Timescale Estimation: For the alanine dipeptide and WW domain protein, SRVs provide implied timescales that are in excellent agreement with TICA-based MSMs and theoretical expectations, and in some cases, are more accurate than kTICA, especially for slower modes.
  • Faster Convergence: For the WW domain protein, SRVs show significantly faster convergence of implied timescales with respect to lag time compared to TICA-based MSMs, indicating a more accurate representation of the system's dynamics.
  • High Success Rate: The paper reports a significantly higher success rate (70%) for SRVs in recovering eigenfunctions compared to VAMPnets (29%) when applied to alanine dipeptide, highlighting the benefits of the SRV architecture.

Limitations and Future Work

  • Markovian Assumption: While the SRV framework is built on the transfer operator theory, which assumes a Markovian process (memoryless dynamics), the paper tests this assumption using the Chapman-Kolmogorov test. For real systems, this assumption might not perfectly hold, especially at very short lag times.
  • Degenerate Eigenvalues: The paper acknowledges that systems can have degenerate eigenvalues, leading to multiple eigenfunctions with identical implied timescales. While they suggest that minor numerical differences might break degeneracy in practice, handling true degeneracy might require further algorithmic development.
  • Future Work: The authors suggest that SRVs can be readily incorporated into existing Markov State Model (MSM) construction pipelines, offering improved accuracy and efficiency. They also highlight the potential for SRVs to significantly advance enhanced sampling techniques by providing better-suited collective variables for biasing. The ability to perform accelerated sampling within the full spectrum of relevant eigenfunctions is a key future direction.

Summary updated

BibTeX
@misc{chen2019nonlinear,
  author = {Wei Chen and Hythem Sidky and Andrew L. Ferguson},
  title = {{Nonlinear Discovery of Slow Molecular Modes using Hierarchical Dynamics Encoders.}},
  year = {2019},
  eprint = {1902.03336},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.03336},
}
Figure