Abstract
Hidden Markov random fields (HMRFs) are conventionally assumed to be homogeneous in the sense that the potential functions are invariant across different sites. However, in many biological applications, such as genomics, the relationships between hidden states often vary based on external context or background knowledge. This paper introduces Heterogeneous HMRFs, which allow parameters to vary across sites by adaptively incorporating "background knowledge" (e.g., physical distance or correlation) through a novel algorithm called EM-kernel-PCD.
Introduction
Hidden Markov Random Fields (HMRFs) are essential for modeling structured data where hidden states—such as "disease-associated" versus "healthy"—depend on their neighbors. Traditionally, these models are homogeneous, assuming the interaction strength between any two neighbors is constant across the entire graph. While this assumption holds in domains like image processing, it often fails in complex biological systems. For example, in genomics, the correlation between two genetic markers (SNPs) is a function of their physical distance or shared biological pathways.
Previous attempts to model such heterogeneity relied on rigid, pre-defined mathematical functions. This paper addresses the need for a model that can learn these varying relationships nonparametrically, discovering the underlying patterns from data and background knowledge without assuming a specific functional form.
The Heterogeneous HMRF Model
The proposed model allows the potential functions governing the relationships between hidden states to vary across the graph. Each edge or site can have its own parameter $\theta$, which is modeled as a function of local "background knowledge" $k$.
Methodology: The EM-kernel-PCD Algorithm
Learning a heterogeneous HMRF presents significant mathematical challenges. The authors introduce the EM-kernel-PCD algorithm to overcome three primary hurdles:
- Latent Variables: Since hidden states are unobserved, the authors employ an Expectation-Maximization (EM) framework to iteratively estimate hidden states and update model parameters.
- Intractable Partition Function: Calculating the normalizing constant in MRFs is computationally prohibitive for large graphs. The algorithm uses Persistent Contrastive Divergence (PCD) to approximate the gradient of the likelihood via sampling.
- Heterogeneity and Information Sharing: To allow parameters to vary while maintaining statistical power, the authors introduce a Kernel Smoothing step in the M-step. Using Nadaraya-Watson kernel regression, the model ensures that sites with similar background knowledge have similar parameters. This "soft-binning" allows the model to "borrow strength" across the graph, enabling the estimation of thousands of parameters from even a single observation.
Experimental Evaluation and Results
The algorithm was tested on both simulated and real-world datasets. Simulations included tree-structured (8,191 nodes) and grid-structured (10,000 nodes) HMRFs to evaluate the recovery of ground-truth parameters under varying noise levels.
As shown in the results, EM-kernel-PCD consistently achieved lower absolute estimate errors compared to standard homogeneous models and rigid binning methods. The algorithm proved robust to noise in the background knowledge and successfully recovered non-monotone relationships automatically.
In a real-world application using the CGEMS Breast Cancer Study GWAS dataset (over 500,000 SNPs), the model identified five SNPs with a high probability of association. Three of these are well-documented in literature (related to the FGFR2 gene), and a fourth was highly correlated with a known association on chromosome 5, demonstrating the model's biological validity.
Conclusion
The Heterogeneous HMRF framework provides a powerful tool for analyzing structured data with varying local dependencies. By combining EM, PCD, and kernel smoothing, the EM-kernel-PCD algorithm effectively learns complex, site-specific relationships. Future work will focus on reducing the computational cost of the PCD step and addressing susceptibility to local optima inherent in EM-based approaches.
Summary updated