Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.68 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.68 KB

AR_MD

Molecular dynamics trajectory prediction and metastable-state classification with autoregressive architectures. Final project for STATS 700: LLMs and Transformers (University of Michigan, Fall 2024).

Summary

A BERT-style Transformer encoder is adapted to continuous trajectories (a linear projection replaces the token embedding) and trained with two heads on shared embeddings: next-step prediction and classification of the trajectory's metastable state. On Langevin simulations of the Müller-Brown potential, the medium and large models generate physically plausible trajectories and classify states with up to 99% accuracy. The attention patterns reveal a learned coarse time discretization - a few key timesteps per segment, fewer for larger models. See the report for details and limitations.

Layout

  • src/ - model (modelling_md.py), plotting, utilities
  • exp/ - training script (MB_train.py) and analysis notebook (MB-Bert-Analysis.ipynb)
  • data/ - simulated Müller-Brown trajectories (.npz)
  • docs/ - report and poster

Dependencies

Please cite (for either the software or the report/poster) using the provided citation file.