Vde
Variational Autoencoder for Dimensionality Reduction of Time-Series
Install / Use
/learn @msmbuilder/VdeREADME
Variational Dynamical Encoder (VDE)
Often the analysis of time-dependent chemical and biophysical systems produces high-dimensional time-series data for which it can be difficult to interpret which features are most salient in defining the observed dynamics. While recent work from our group and others has demonstrated the utility of time-lagged co-variate models to study such systems, linearity assumptions can limit the compression of inherently nonlinear dynamics into just a few characteristic components. Recent work in the field of deep learning has led to the development of variational autoencoders (VAE), which are able to compress complex datasets into simpler manifolds. We present the use of a time-lagged VAE, or variational dynamics encoder (VDE), to reduce complex, nonlinear processes to a single embedding with high fidelity to the underlying dynamics. We demonstrate how the VDE is able to capture nontrivial dynamics in a variety of examples, including Brownian dynamics and atomistic protein folding. Additionally, we demonstrate a method for analyzing the VDE model, inspired by saliency mapping, to determine what features are selected by the VDE model to describe dynamics. The VDE presents an important step in applying techniques from deep learning to more accurately model and interpret complex biophysics.
Requirements
numpypytorchmsmbuilder
Usage
Using the VDE is as easy as using any msmbuilder model:
from vde import VDE
from msmbuilder.example_datasets import MullerPotential
trajs = MullerPotential().get().trajectories
lag_time = 10
vde_mdl = VDE(2, lag_time=lag_time, hidden_layer_depth=3,
sliding_window=True, cuda=True, n_epochs=10,
learning_rate=5E-4)
latent_output = vde_mdl.fit_transform(trajs)
Cite
If you use this code in your work, please cite:
@article{PhysRevE.97.062412,
title = {Variational encoding of complex dynamics},
author = {Hern\'andez, Carlos X. and Wayment-Steele, Hannah K. and Sultan, Mohammad M. and Husic, Brooke E. and Pande, Vijay S.},
journal = {Phys. Rev. E},
volume = {97},
issue = {6},
pages = {062412},
numpages = {11},
year = {2018},
month = {Jun},
publisher = {American Physical Society},
doi = {10.1103/PhysRevE.97.062412},
url = {https://link.aps.org/doi/10.1103/PhysRevE.97.062412}
}
Related Skills
claude-opus-4-5-migration
81.5kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
331.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
mcp-for-beginners
15.5kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
TrendRadar
49.6k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
