Using Bayesian priors to overcome non-identifiablility issues in Hidden Markov models

Jan L. Münch, Ralf Schmauder, Fabian Paul, Michael HabeckbioRxiv 2024

Abstract

Hidden Markov models (HMMs) for biomolecules suffer from various forms of parameter non-identifiability. This poses severe challenges to both maximum likelihood and Bayesian inference. However, Bayesian inference offers effective means of overcoming these pathologies. We study the role of prior distributions in the face of practical parameter non-identifiability in Bayesian inference applied to prototypical patch clamp data of ligand-gated ion channels. We advocate the use of minimally informative priors, as they increase the accuracy and decrease the uncertainty of the inference. For complex HMMs, stronger prior assumptions are needed to render the posterior sufficiently proper. This can be achieved by confining the parameter space to physically motivated limits. Another beneficial assumption is finite cooperativity of ligand-binding and unbinding events, which introduces a bias towards non-cooperativity but still allows for a non-vanishing degree of cooperativity that is inferred from the data. Despite its vagueness, our prior renders the posterior sufficiently proper for all datasets that we considered without imposing the assumption of non-cooperativity. Combining all prior factors allows for meaningful inferences with a dataset of a thousand times lower quality.

Introduction

In biophysics, Hidden Markov Models (HMMs) are essential for deciphering the stochastic switching of ion channels between hidden states (e.g., open and closed). By observing noisy time series of electrical currents, researchers attempt to infer the underlying transition rates. However, this process is frequently hindered by practical parameter non-identifiability (non-PI). Even with a mathematically sound model, limited data quality—constrained by noise and bandwidth—results in a "flat" likelihood surface. In such scenarios, standard Maximum Likelihood (ML) methods often yield overconfident yet inaccurate estimates.

The Bayesian Framework: Beyond Uniform Priors

A common pitfall in Bayesian inference is the use of "uniform priors," which assume all rate values are equally likely. In high-dimensional models, these priors inadvertently introduce a massive bias toward extreme, high-speed transitions that the data cannot support. This paper proposes a more robust framework using three specific types of prior information:

  1. Minimally Informative (MI) Priors: Utilizing log-uniform distributions (inspired by Jeffreys’s rule) ensures that every order of magnitude is treated as equally likely. This is more appropriate for scale parameters like chemical rates and prevents the model from being "pulled" toward nonsensical values.
  2. Physical Constraints: Hard upper limits based on physical laws, such as the diffusion limit, are incorporated. For instance, a ligand cannot bind faster than its physical diffusion rate in a liquid.
  3. Vague Cooperativity Priors: For models with multiple binding sites, a "soft" link is introduced between rates. Instead of forcing rates to be identical (assuming zero cooperativity), a vague prior (e.g., Cauchy distribution) is placed on the ratio of rates. This biases the model toward simplicity while allowing the data to demonstrate cooperativity if the signal is sufficiently strong.

Experimental Validation

The framework was tested using synthetic patch-clamp data, the gold standard for ion channel activity. The study focused on two Chemical Reaction Networks (CRNs): a 4-state model (CRN 1) and a more complex 6-state model (CRN 2) representing two binding sites with "flip" transitions.

The 6-state Chemical Reaction Network (CRN 2) representing two binding sites.

Data quality was varied by adjusting the number of ion channels ($N_{ch}$) from $10^2$ (low information) to $10^6$ (high quality). Likelihoods were calculated using a Bayesian Filter (BF) based on the Fokker-Planck approximation to account for stochasticity in small molecular populations.

Key Findings

The results demonstrate that incorporating prior physical and statistical knowledge significantly enhances data efficiency. Using MI priors allowed for meaningful parameter inference with data quality two orders of magnitude lower than required by uniform priors.

Simulated open-probability traces $P_o(t)$ showing the model's fit to noisy patch-clamp data.

Furthermore, for the complex 6-state model, the combination of MI priors and physical limits rendered the posterior "proper" (mathematically well-defined) even at the lowest data qualities ($N_{ch} = 100$). The Root Mean Square Error (RMSE) of inferred rates followed a $1/\sqrt{N_{ch}}$ scaling consistently, whereas uniform priors led to significant biases and "flat" error curves where no learning occurred.

Conclusion

This study highlights that "physics acts as a regularizer." By replacing vague statistical assumptions with physically motivated priors, researchers can extract accurate information from significantly lower-quality datasets. As biophysical models grow in complexity—such as those derived from molecular dynamics—these Bayesian strategies will become essential to navigate the inevitable challenges of parameter non-identifiability.

Summary updated

Abstract

Hidden Markov models (HMMs) for biomolecules suffer from various forms of parameter non-identifiability. This poses severe challenges to both maximum likelihood and Bayesian inference. However, Bayesian inference offers effective means of overcoming these pathologies. We study the role of prior distributions in the face of practical parameter non-identifiability in Bayesian inference applied to prototypical patch clamp data of ligand-gated ion channels. We advocate the use of minimally informative priors, as they increase the accuracy and decrease the uncertainty of the inference. For complex HMMs, stronger prior assumptions are needed to render the posterior <i>sufficiently proper</i>. This can be achieved by confining the parameter space to physically motivated limits. Another beneficial assumption is finite cooperativity of ligand-binding and unbinding events, which introduces a bias towards non-cooperativity but still allows for a non-vanishing degree of cooperativity that is inferred from the data. Despite its vagueness, our prior renders the posterior <i>sufficiently proper</i> for all datasets that we considered without imposing the assumption of non-cooperativity. Combining all prior factors allows for meaningful inferences with a dataset of a thousand times lower quality.
BibTeX
@misc{munch2024using,
  author = {Jan L. Münch and Ralf Schmauder and Fabian Paul and Michael Habeck},
  title = {{Using Bayesian priors to overcome non-identifiablility issues in Hidden Markov models}},
  year = {2024},
  doi = {10.1101/2024.04.20.590387},
  howpublished = {bioRxiv},
}
Figure