A reinforcement learning approach to rare trajectory sampling

Dominic C. Rose, Jamie F. Mair, Juan P. Garrahan
5/26/2020
cond-mat.stat-mechcond-mat.dis-nncs.LG
rl

Official code: JamieMair/rledts (3 stars, Python, last commit 2022-12-08).

Abstract

Very often when studying non-equilibrium systems one is interested in analysing dynamical behaviour that occurs with very low probability, so called rare events. In practice, since rare events are by definition atypical, they are often difficult to access in a statistically significant way.

Show full abstract

What are required are strategies to "make rare events typical" so that they can be generated on demand. Here we present such a general approach to adaptively construct a dynamics that efficiently samples atypical events. We do so by exploiting the methods of reinforcement learning (RL), which refers to the set of machine learning techniques aimed at finding the optimal behaviour to maximise a reward associated with the dynamics. We consider the general perspective of dynamical trajectory ensembles, whereby rare events are described in terms of ensemble reweighting. By minimising the distance between a reweighted ensemble and that of a suitably parametrised controlled dynamics we arrive at a set of methods similar to those of RL to numerically approximate the optimal dynamics that realises the rare behaviour of interest. As simple illustrations we consider in detail the problem of excursions of a random walker, for the case of rare events with a finite time horizon; and the problem of a studying current statistics of a particle hopping in a ring geometry, for the case of an infinite time horizon. We discuss natural extensions of the ideas presented here, including to continuous-time Markov systems, first passage time problems and non-Markovian dynamics.

View on arXivView PDF

Code Implementations(1)

JamieMair/rledtsOfficial100%
30Python, Jupyter NotebookJun 15, 20203 years ago

Similar Papers

Cite this paper

@article{rose2020reinforcement,
  title  = {A reinforcement learning approach to rare trajectory sampling},
  author = {Dominic C. Rose and Jamie F. Mair and Juan P. Garrahan},
  year   = {2020},
  eprint = {2005.12890},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.12890}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2005.12890.svg)](https://codeofpaper.com/paper/2005.12890)

Discussion