Time-lagged autoencoders: Deep learning of slow collective variables for molecular kinetics

Noe Frank, Christoph Wehmeyer, Frank NoéarXiv 2017

Introduction

Molecular Dynamics (MD) simulations produce massive amounts of high-dimensional data, tracking the positions of thousands of atoms over time. To make sense of this, researchers need to find Collective Variables (CVs)—a few critical coordinates that describe the slow, essential transitions of the system, such as protein folding. For years, the gold standard has been TICA (Time-lagged Independent Component Analysis). However, molecular landscapes are rarely linear, and linear methods often fail to separate chemical states cleanly, leading to models that underestimate the timescales of important biological events.

Methods: The Time-Lagged Autoencoder

The authors introduce the Time-Lagged Autoencoder (TAE), a modification to the classic autoencoder architecture. While a standard autoencoder learns to compress and reconstruct the same input $z_t$, the TAE is tasked with taking the configuration at time $t$ ($z_t$) and reconstructing the configuration at a later time $t + \tau$ ($z_{t+\tau}$).

Architecture of the Time-Lagged Autoencoder (TAE). The network maps a configuration at time $t$ to a latent representation $e_t$, which is then used to reconstruct the configuration at a later time $t+\tau$.

By forcing the network to predict the future through a narrow bottleneck, the encoder is incentivized to discard fast, noisy fluctuations and keep only the slow, persistent features of the dynamics. Mathematically, a linear TAE is equivalent to TICA, positioning the deep TAE as a natural non-linear generalization of established kinetic mapping techniques.

Key Results

The TAE was validated on three systems: a two-state Hidden Markov Model (HMM), a four-state "Swiss Roll" HMM, and the alanine dipeptide molecule. In all tests, the TAE achieved lower regression errors on validation sets compared to linear methods like PCA and TICA.

Alanine Dipeptide Success

For alanine dipeptide, a standard benchmark in computational chemistry, the TAE found a representation that allowed for a highly accurate Markov State Model (MSM). It captured the three slowest relaxation timescales of the molecule far better than TICA.

Performance metrics for alanine dipeptide. (c) Validation error shows TAE outperforming TICA and PCA. (f-h) Implied timescales (ITS) for the three slowest processes converge much faster for TAE compared to linear methods.

As shown in the figure above, MSMs built on TAE-encoded variables converged much faster. The TAE correctly identified relaxation timescales even at short lag times, whereas linear methods required much longer lag times and often failed to reach the true values. This demonstrates that the TAE's non-linear layers can successfully "unwrap" complex dynamics into a clear kinetic map.

Conclusion and Future Work

The TAE provides a powerful framework for identifying slow variables without manual labels, using the physics of the system as supervision. A unique advantage of the TAE is its decoder, which allows researchers to map points from the abstract latent space back to real molecular structures to visualize transition states. Future work will likely involve combining these deep learning embeddings with advanced sampling techniques to explore molecular spaces that are currently too slow to simulate.

Summary updated

BibTeX
@misc{frank2017time,
  author = {Noe Frank and Christoph Wehmeyer and Frank Noé},
  title = {{Time-lagged autoencoders: Deep learning of slow collective variables for molecular kinetics}},
  year = {2017},
  eprint = {1710.11239},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.11239},
}
Figure