Context-specific independence in graphical log-linear models

Henrik J. Nyman, Johan Pensar, Timo Koski, Jukka CoranderComput. Stat 2016 · DOI

Introduction

Traditional graphical models, such as Markov Random Fields, rely on a rigid "all-or-nothing" definition of conditional independence. In these models, if variable $A$ is independent of $B$ given $C$, this relationship is assumed to hold for every possible value of $C$. However, real-world data often exhibits more nuanced dependencies. For instance, a medical symptom might be independent of a risk factor only in the absence of a specific genetic marker. Stratified Graphical Models (SGMs) address this by incorporating context-specific independence (CSI), allowing dependencies to exist only within certain strata of the data.

Examples of stratified graphs on three nodes illustrating context-specific restrictions.

Methodology

This research bridges the gap between CSI and log-linear models by removing the restrictive requirement of "decomposability" that previously limited SGM applications.

Log-Linear Parameterization

The authors demonstrate that context-specific restrictions—such as $X$ being independent of $Y$ given $Z=1$—can be translated into linear constraints on the parameters of a log-linear model. This allows for a unified framework where both global and local independence structures are represented within the same mathematical structure.

Cyclical Projection Algorithm

Because these models often lack closed-form solutions for Maximum Likelihood Estimation (MLE), the paper introduces an adapted cyclical projection algorithm. This iterative method "nudges" a probability distribution until it satisfies all independence constraints imposed by the graph and its specific strata, ensuring convergence to the MLE.

Model Search and Selection

To identify optimal structures, the authors employ a Bayesian approach using the Bayesian Information Criterion (BIC). They navigate the vast space of possible stratified graphs using a non-reversible Metropolis-Hastings stochastic search algorithm, which efficiently identifies high-scoring models.

Experimental Evaluation

The proposed framework was tested on two significant real-world datasets:

  1. Coronary Heart Disease Data: Analyzing 1,841 observations across six binary variables, the optimal SGM outperformed standard chordal graphs (BIC of -6713.24 vs. -6732.84). It revealed that certain risk factors were context-dependent, specifically relating to physical or mental work environments.
  2. Finnish Parliament Election Data: In a study of political opinions from 1,806 candidates, the SGM approach significantly outperformed standard models (BIC of -7139.13 vs. -7177.69), uncovering hidden independencies in political clustering that global models missed.

Discussion and Key Insights

The move away from decomposable graphs allows for the identification of "chord-less cycles," which are prevalent in complex biological and social systems but were previously inaccessible to SGMs.

A five-node stratified graph demonstrating a chord-less cycle with context-specific dependence.

A primary insight is that "globally optimal" SGMs are often denser than standard models yet possess fewer free parameters. By adding edges and subsequently "thinning" them with context-specific rules, researchers can capture subtle dependencies while maintaining a parsimonious model. Furthermore, the authors rehabilitate "non-hierarchical" log-linear models, showing they correspond directly to intuitive context-specific independencies.

Conclusion

By lifting the decomposability constraint and providing a robust estimation algorithm, this work enables more precise and flexible modeling of complex datasets. Future work will look to extend this framework beyond binary variables and refine search heuristics for high-dimensional data.

Summary updated

BibTeX
@article{nyman2016context,
  author = {Henrik J. Nyman and Johan Pensar and Timo Koski and Jukka Corander},
  title = {{Context-specific independence in graphical log-linear models}},
  journal = {Comput. Stat.},
  year = {2016},
  doi = {10.1007/s00180-015-0606-6},
}
Figure