Bayesian Networks for Variable Groups

Pekka Parviainen, Samuel Kaski

Abstract: Bayesian networks, and especially their structures, are powerful tools for representing conditional independencies and dependencies between random variables. In applications where related variables cluster into groups, standard individual-level modeling may be insufficient. This paper explores the theoretical limits and practical algorithms for representing group-to-group relationships, demonstrating that group-level structures are best recovered by aggregating fine-grained variable relationships.

Introduction

Standard Bayesian Networks (BNs) are designed to map dependencies between individual random variables. However, in many real-world applications, such as genomics or multi-view learning, variables naturally cluster into groups (e.g., multiple measurements for the same gene or genes within a single metabolic pathway).

Analysts are often less interested in how one specific measurement affects another and more interested in the "higher-level" relationship between the groups. Simply treating each group as a single variable or aggregating them (e.g., by taking a mean) can destroy the underlying conditional independence structure. This paper investigates the theoretical limits and practical algorithms for representing these group-to-group relationships while maintaining structural integrity.

Methodology

The authors propose and analyze two primary approaches for learning "Group DAGs" (Directed Acyclic Graphs):

  1. Direct Learning: This treats each group as a single "mega-variable." If a group contains multiple binary variables, the mega-variable represents the Cartesian product of all possible states. A standard BN learning algorithm is then applied to these high-dimensional variables.
  2. Learning via Variable DAGs: This approach first learns a fine-grained Bayesian Network on all individual variables. It then uses the d-separation criterion to infer the relationships between the groups, effectively summarizing the complex variable-level graph into a simpler group-level representation.
Variable-level DAGs (a, b) and their corresponding group-level summary (c).

The study utilized synthetic datasets to allow for ground-truth comparison, generating random variable-level structures with 20 to 50 nodes. These nodes were divided into equally sized groups (sizes 2 through 5), and binary data was sampled from these networks to evaluate algorithm performance across varying sample sizes.

Theoretical Insights

A central concept introduced is Groupwise Faithfulness: the requirement that a group-level DAG must be able to represent the exact conditional independencies present in the underlying distribution of those groups. The authors found that this is a surprisingly strong and often violated assumption.

Percentage of groupwise faithful distributions as a function of edge probability $p$ and group size.

As shown in the experimental data, in many sparse networks, it is mathematically impossible to represent group dependencies perfectly with a DAG. This suggests that group-level models are frequently approximations of a more complex underlying reality. Furthermore, the research indicates that causality is "under the hood"; reliably inferring causal directions between groups generally requires understanding the relationships between the individual variables within those groups.

Experimental Results

The experiments demonstrated that Learning via Variable DAGs consistently outperformed the direct approach. It achieved a much lower Structural Hamming Distance (SHD), meaning the learned graph was significantly closer to the true structure.

Direct learning suffered from the "curse of dimensionality," as the state space of mega-variables grows exponentially with group size. This made the model extremely data-hungry and computationally expensive. In terms of algorithm choice, constraint-based methods (like the PC algorithm) generally performed better than score-based methods when sample sizes were small, though the roles reversed as more data became available.

Conclusion

While group-level structures can be learned, they require careful consideration of the groupwise faithfulness assumption and are most accurately recovered by first modeling individual variable relationships. Future work could explore the discovery of optimal variable groupings from scratch and extend these methods to handle continuous data and more complex dependency representations that go beyond simple DAGs.

Summary updated

BibTeX
@article{parviainen2017bayesian,
  author = {Pekka Parviainen and Samuel Kaski},
  title = {{Bayesian Networks for Variable Groups}},
  journal = {Int. J. Approx. Reason.},
  year = {2017},
  doi = {10.1016/j.ijar.2017.05.006},
}
Figure