Learning structures of Bayesian networks for variable groups

Pekka Parviainen, Samuel Kaski · DOI

Abstract

In many scientific domains, variables are naturally organized into predefined groups, such as genes within biological pathways or sensors in specific spatial arrays. While standard Bayesian networks (BNs) excel at modeling individual dependencies, they often fail to capture high-level relationships between these groups effectively. This paper investigates the theoretical and practical challenges of learning "Group DAGs." We introduce the concept of groupwise faithfulness, demonstrate the inherent difficulty in identifying causal relations at the group level, and propose three algorithms—Direct, Variable-based, and Combined—to recover group-level structures. Our results on synthetic and real-world datasets highlight the trade-offs between computational complexity and structural accuracy.

Introduction

The proliferation of high-dimensional data has led to a growing interest in multi-view learning, where variables are partitioned into distinct sets or "views." Traditional structure learning algorithms treat every variable as an independent node, potentially obscuring the macro-level interactions that researchers care about most. For instance, in genomics, understanding how one pathway influences another is often more informative than identifying every single gene-to-gene interaction. This paper formalizes the problem of learning Directed Acyclic Graphs (DAGs) where nodes represent disjoint groups of variables.

The Aggregation Trap and Groupwise Faithfulness

A fundamental hurdle in this domain is that Bayesian networks are not "closed under aggregation." A distribution that is faithful to a DAG at the individual variable level may not be representable by any DAG once variables are grouped. This phenomenon, which we term the "aggregation trap," implies that independence relations between groups can become significantly more complex than those between their constituent parts.

Variable-level DAGs (a, b) and their corresponding group-level representation (c). These diagrams illustrate how individual variable interactions define dependencies between predefined groups $V_1, V_2$, and $V_3$.

To address this, we define Groupwise Faithfulness: the assumption that the joint probability distribution of the groups can be perfectly represented by a DAG where each node is a group. However, our analysis proves a "faithfulness gap"—if groups are large (size $\ge 3$) or specific adjacency conditions are met, a perfect Group DAG representation may not exist. This suggests that group-level BNs are often useful approximations rather than exact models.

Proposed Algorithms

We present three distinct strategies for learning Group DAG structures:

  1. Direct Learning (Algorithm 1): Each group is treated as a single "mega-variable." While theoretically simple, it suffers from the curse of dimensionality as the state space grows exponentially with group size (e.g., a group of three binary variables has $2^3 = 8$ states).
  2. Learning via Variable DAGs (Algorithm 2): This two-step process first learns a standard variable-level BN and then applies d-separation criteria to infer group-level dependencies. This approach is robust in low-sample regimes (less than 500 samples).
  3. Combined Learning (Algorithm 3): A novel dynamic programming method that learns variable and group structures simultaneously. By assuming a compatible topological order between variables and groups, it achieves significant speedups over learning a full variable-level BN when groups are roughly equal in size.

Key Results and Insights

Our simulations using Erdős-Rényi random graphs reveal that group-level causality is harder to establish than variable-level causality. Even when a group-level edge appears statistically significant, underlying variable-level feedback loops or alternative paths can invalidate a simple causal interpretation.

Empirically, the Combined Learning algorithm proved most effective when sufficient data was available, whereas the Variable-based approach performed best with limited samples. On the UCI HOUSING dataset, our methods successfully identified intuitive group-level dependencies, such as "Apartment properties" and "Taxes" acting as group-level causes for "House prices."

Conclusion and Future Work

Learning structures for variable groups provides a powerful abstraction for complex systems. While theoretical limits like the faithfulness gap exist, the proposed algorithms offer practical tools for high-level causal discovery. Future work will focus on relaxing the requirement for predefined groups and exploring automated group identification through data-driven clustering, as well as developing better regularization techniques to prevent spurious edges in noisy data.

Summary updated

BibTeX
@article{parviainen2017learning,
  author = {Pekka Parviainen and Samuel Kaski},
  title = {{Learning structures of Bayesian networks for variable groups}},
  journal = {Int. J. Approx. Reason.},
  year = {2017},
  doi = {10.1016/j.ijar.2017.05.006},
}
Figure