Estimation and uncertainty of reversible Markov models

Benjamin Trendelkamp-Schroer, Hao Wu, Fabian Paul, Frank NoéThe Journal of Chemical Physics 2015

TL;DR

This paper introduces new, more efficient algorithms for estimating reversible Markov models, crucial for understanding molecular dynamics. They tackle the challenge of accurately capturing these models from limited simulation data, especially for complex systems with long-lived states, by developing improved Bayesian inference methods and priors.

What Problem Does This Paper Address?

Markov State Models (MSMs) are powerful tools for simplifying complex molecular dynamics by describing transitions between different states. A key property for interpreting these models is reversibility, which reflects the microscopic reversibility of molecular motion and offers statistical advantages. However, accurately estimating reversible transition matrices from finite simulation data is challenging. Existing methods often struggle with:

  • Uncertainty Quantification: Providing reliable error bars and credible intervals, especially for rare events or metastable states.
  • Prior Choice: Selecting appropriate prior distributions for Bayesian inference that preserve important features of the system, like metastable states.
  • Computational Efficiency: Sampling from the posterior distribution of reversible models, which can be computationally expensive, particularly for large systems.

This paper aims to address these limitations by developing new algorithms for both maximum likelihood estimation (MLE) and Bayesian posterior inference of reversible Markov models, with a focus on improved accuracy, uncertainty quantification, and computational efficiency.

Methods

The authors present several novel algorithmic contributions:

  • Maximum Likelihood Estimation (MLE):
    • A simplified MLE for reversible transition matrices.
  • A new MLE for reversible transition matrices with a fixed equilibrium distribution.
  • Bayesian Posterior Inference:
    • New algorithms for sampling the full posterior distribution of reversible Markov models.
  • Development of "sparse priors" that enforce that transitions with no observed counts have zero probability in the posterior. This is crucial for correctly estimating rare events and avoiding artificial kinetic pathways.
  • Efficient Gibbs sampling algorithms for both reversible models and those with a fixed equilibrium distribution. These algorithms are designed to have high acceptance probabilities and faster convergence.
  • Algorithm Implementation: All developed algorithms are implemented in the PyEMMA software package.

Datasets

The paper uses simulated molecular dynamics data for two systems:

  • Alanine Dipeptide: Simulated using OpenMM with a specific force field and water model. A total of 10µs of simulation data was generated.
  • Bovine Pancreatic Trypsin Inhibitor (BPTI): Data from a 1 ms simulation generated on Anton supercomputer.

These datasets are used to validate the proposed algorithms by comparing their outputs to reference values obtained from MLE or longer simulations.

Key Insights and Ideas

  • Reversibility is Key: Enforcing reversibility in Markov models is not just physically desirable but also offers significant statistical advantages by reducing the number of independent parameters and improving estimation accuracy.
  • Sparse Priors Matter: For Bayesian inference, the choice of prior is critical. "Sparse priors" that reflect the observed transition counts (i.e., setting prior probability to zero for unobserved transitions) are essential for correctly estimating rare events and avoiding artificial kinetic pathways, especially in metastable systems.
  • Efficiency Gains: The new sampling algorithms, particularly those with adapted proposal densities, offer substantial improvements in computational efficiency, leading to much faster convergence and lower autocorrelation times compared to previous methods.
  • Fixed Equilibrium Distribution: The ability to incorporate a fixed equilibrium distribution into the estimation process is valuable, especially when this distribution is known or can be reliably estimated from other sources (e.g., enhanced sampling methods).

Key Results

  • Improved Accuracy: The reversible MLE and Bayesian sampling methods, especially with sparse priors, provide more accurate estimates and more reliable credible intervals that correctly envelop true values, even for complex systems with metastable states.
  • Computational Speedup: The new sampling algorithms demonstrate significantly reduced autocorrelation times (factors of 5-13 for reversible sampling and 30-300 for sampling with fixed equilibrium distribution) compared to previous methods, indicating much higher statistical efficiency.
  • Validation: The algorithms were validated on alanine dipeptide and BPTI systems, showing good agreement between estimated parameters (implied timescales, hitting times) and reference values. Histograms from sampled posteriors closely matched analytical posteriors.

Limitations and Future Work

  • Uncorrelated Transition Counts: The paper acknowledges that obtaining truly uncorrelated transition counts from time-series data is an ongoing challenge. While they propose using "effective counts" and reference a preprint for an initial approach, this area requires further investigation.
  • Prior Choice for Diagonal Elements: While a good choice for prior parameters for off-diagonal elements (bkl = -1) is established, determining the optimal prior for diagonal elements (bkk) remains less straightforward and relies on empirical experience.
  • Future Work: The authors suggest that the developed algorithms and principles will be crucial for future investigations into complex molecular systems and that further work on obtaining effective count matrices is needed.

Summary updated

Abstract

Reversibility is a key concept in Markov models and master-equation models of molecular kinetics. The analysis and interpretation of the transition matrix encoding the kinetic properties of the model rely heavily on the reversibility property. The estimation of a reversible transition matrix from simulation data is, therefore, crucial to the successful application of the previously developed theory. In this work, we discuss methods for the maximum likelihood estimation of transition matrices from finite simulation data and present a new algorithm for the estimation if reversibility with respect to a given stationary vector is desired. We also develop new methods for the Bayesian posterior inference of reversible transition matrices with and without given stationary vector taking into account the need for a suitable prior distribution preserving the meta-stable features of the observed process during posterior inference. All algorithms here are implemented in the PyEMMA software--http://pyemma.org--as of version 2.0.
BibTeX
@article{trendelkampschroer2015estimation,
  author = {Benjamin Trendelkamp-Schroer and Hao Wu and Fabian Paul and Frank Noé},
  title = {{Estimation and uncertainty of reversible Markov models}},
  journal = {The Journal of Chemical Physics},
  year = {2015},
  doi = {10.1063/1.4934536},
}

Loading related content...

Figure