Bayesian Maximum Entropy Ensemble Refinement

Benjamin Eltzner, Julian Hofstadler, Daniel Rudolf, Michael Habeck, Bert de GrootbioRxiv 2023

Abstract

The principle of maximum entropy provides a canonical way to include measurement results into a thermodynamic ensemble. Observable features of a thermodynamic system, which are measured as averages over an ensemble are included into the partition function by using Lagrange multipliers. Applying this principle to the system’s energy leads to the well-known exponential form of the Boltzmann probability density. Here, we present a Bayesian approach to the estimation of maximum entropy parameters from nuclear Overhauser effect measurements in order to achieve a refined ensemble in molecular dynamics simulations. To achieve this goal, we leverage advances in the treatment of doubly intractable Bayesian inference problems by adaptive Markov Chain Monte Carlo methods. We illustrate the properties and viability of our method for alanine dipeptide as a simple model system and trp-cage as an example for a more complex peptide.

Introduction

Molecular dynamics (MD) simulations are indispensable tools for studying protein conformational dynamics. However, the accuracy of these simulations is limited by the underlying "force fields"—the mathematical models describing atomic interactions—which often contain small errors that lead to ensembles deviating from experimental reality. To correct these deviations, researchers use experimental data, such as Nuclear Overhauser Effect (NOE) measurements from NMR, to "refine" the simulation.

The gold standard for this refinement is the Principle of Maximum Entropy (MaxEnt). MaxEnt seeks the smallest possible modification to a simulation ensemble that satisfies experimental constraints. However, implementing MaxEnt within a rigorous Bayesian framework is notoriously difficult because it involves a "partition function" (a normalization constant) that is impossible to calculate analytically for complex molecules. In statistics, this is known as a doubly intractable problem. This paper introduces a framework that not only corrects force fields but also provides a posterior distribution, allowing for the quantification of uncertainty in these corrections.

Methodology

The authors bridge the gap between Bayesian statistics and biophysics using two primary tools: Adaptive Markov Chain Monte Carlo (AMCMC) and the Weighted Histogram Analysis Method (WHAM). The AMCMC algorithm iteratively searches for the best "coupling parameters" (corrections to the force field), while WHAM is used to estimate the intractable partition function by leveraging data generated in previous simulation steps.

Flowchart of the Bayesian MaxEnt refinement algorithm.

The proposed algorithm follows an iterative loop: starting with an initial parameter vector, it runs MD simulations to generate features, estimates the likelihood normalization, and then uses MCMC to sample the posterior for the next set of parameters. To handle the high dimensionality of experimental data (often >1,000 measurements), the authors implemented a divide-and-conquer strategy, optimizing subsets of features before merging them.

Key Insights and Results

The method was validated on two systems: Alanine Dipeptide, a proof-of-concept system, and Trp-cage, a 20-amino acid mini-protein refined using 168 NOE distance measurements.

  • Parameters as Physical Forces: The MaxEnt parameters ($\theta$) can be interpreted as physical force constants. A positive parameter acts as an attractive force, while a negative one acts as a repulsive force. This allows researchers to identify exactly where a standard force field is failing—for instance, identifying specific residues in the Trp-cage alpha-helix that were modeled too loosely.
  • Conformational Diversity: Compared to traditional "flat-bottom" restraints, the Bayesian MaxEnt method produced ensembles that better represented the true flexibility of the protein while remaining consistent with NMR data.
  • Scalability: Through the divide-and-conquer approach, the algorithm demonstrated viability for up to 2,000 experimental features, making it applicable to complex proteins.

Limitations and Future Work

Despite its advantages, the "repeated simulations" version of the algorithm is computationally expensive. Additionally, the authors found that using simple distance features ($y=r$) can lead to long-range repulsive forces that may cause protein unfolding. Future iterations will explore switching to $r^{-6}$ models for NOE signals and incorporating more sophisticated error models to handle noisy experimental data. Nevertheless, this Bayesian approach marks a significant step forward in providing a rigorous, uncertainty-aware framework for ensemble refinement.

Summary updated

BibTeX
@misc{eltzner2023bayesian,
  author = {Benjamin Eltzner and Julian Hofstadler and Daniel Rudolf and Michael Habeck and Bert de Groot},
  title = {{Bayesian Maximum Entropy Ensemble Refinement}},
  year = {2023},
  doi = {10.1101/2023.09.12.557310},
  howpublished = {bioRxiv},
}
Figure