Learning stochastic dynamics and predicting emergent behavior using transformers.

Nat Commun

Molecular Foundry, Lawrence Berkeley National Laboratory, 1 Cyclotron Road, Berkeley, CA, 94720, USA.

Published: February 2024

We show that a neural network originally designed for language processing can learn the dynamical rules of a stochastic system by observation of a single dynamical trajectory of the system, and can accurately predict its emergent behavior under conditions not observed during training. We consider a lattice model of active matter undergoing continuous-time Monte Carlo dynamics, simulated at a density at which its steady state comprises small, dispersed clusters. We train a neural network called a transformer on a single trajectory of the model. The transformer, which we show has the capacity to represent dynamical rules that are numerous and nonlocal, learns that the dynamics of this model consists of a small number of processes. Forward-propagated trajectories of the trained transformer, at densities not encountered during training, exhibit motility-induced phase separation and so predict the existence of a nonequilibrium phase transition. Transformers have the flexibility to learn dynamical rules from observation without explicit enumeration of rates or coarse-graining of configuration space, and so the procedure used here can be applied to a wide range of physical systems, including those with large and complex dynamical generators.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC10904374PMC
http://dx.doi.org/10.1038/s41467-024-45629-wDOI Listing

Publication Analysis

Top Keywords

dynamical rules
12
emergent behavior
8
neural network
8
learn dynamical
8
dynamical
5
learning stochastic
4
stochastic dynamics
4
dynamics predicting
4
predicting emergent
4
behavior transformers
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!