Multi-Granularity Causal Structure Learning

Jiaxuan Liang, Jun Wang, Guoxian Yu, Shuyin Xia, Guoyin Wang

Abstract

MgCSL (Multi-granularity Causal Structure Learning) is a novel framework designed to discover causal relationships across multiple levels of abstraction. By integrating sparse autoencoders for variable abstraction with a high-efficiency acyclicity constraint based on Schur decomposition, MgCSL identifies interactions between both individual "micro-variables" and collective "macro-variables." Experimental results demonstrate that MgCSL achieves superior accuracy and up to a 10x speedup compared to previous state-of-the-art methods, effectively uncovering complex causal hierarchies in both synthetic and real-world datasets.

Introduction

Most causal discovery algorithms operate at a "micro" level, treating every variable—such as a single neuron's firing rate or a specific stock price—as an isolated entity. However, complex systems often exhibit causal emergence, where the most meaningful causal patterns appear at a "macro" level (e.g., a functional brain network or a market sector).

Existing tools struggle with two primary challenges:

  1. Hierarchy: They often ignore the collective behavior of variable clusters.
  2. Scalability: Searching for a Directed Acyclic Graph (DAG) is computationally expensive. The standard mathematical approach to ensure acyclicity (the NOTEARS constraint) involves complex matrix exponentials that slow down significantly as data dimensions grow.

Methodology

The MgCSL framework addresses these challenges by breaking the causal discovery process into two main phases: Variable Abstraction and Causality Orientation.

The MgCSL framework: from micro-variable input to multi-granularity causal structure output via abstraction and orientation phases.

Variable Abstraction

The model utilizes a Sparse Autoencoder (SAE) to "coarse-grain" micro-variables into latent macro-variables. To maintain interpretability, the authors employ $d$ separate encoders, ensuring that the contribution of each micro-variable to a macro-group remains distinct.

Causality Orientation and the Schur Trick

Once variables are defined, Multi-Layer Perceptrons (MLPs) model the nonlinear causal mechanisms between them. To maintain acyclicity efficiently, MgCSL replaces the traditional matrix exponential method with Schur decomposition. By transforming the adjacency matrix into an upper triangular form and forcing the diagonal to zero, the model ensures the graph is a DAG. This mathematical pivot is the primary driver of the model's significant speed gains.

Redundancy Penalty

To prevent "double-counting" causes—where a micro-variable might be seen as causing an effect both individually and through its macro-group—a specific penalty term is implemented to prune redundant edges.

Experimental Evaluation

The researchers evaluated MgCSL against seven competitive baselines using synthetic graphs (Erdos-Renyi and Scale-Free) and real-world benchmarks, including the Sachs dataset (protein signaling) and fMRI Hippocampus data.

Key Results

MgCSL consistently outperformed baselines across several metrics:

  • Superior Accuracy: It achieved the highest Precision and F1 scores while maintaining the lowest Structural Hamming Distance (SHD).
  • Massive Speedup: The framework was approximately 10x faster than NOTEARS-MLP, completing tasks in seconds that took baselines nearly a minute.
  • Real-World Validation: On fMRI data, MgCSL identified causal edges that perfectly matched known anatomical pathways in the brain.
Performance comparison of MgCSL (Method 7) against baselines across Precision, SHD, and Runtime for different macro-variable configurations.

Discussion and Conclusion

MgCSL reinforces the idea that causality is multi-scale. By allowing edges to exist between micro and macro levels, it provides a more holistic view of system dynamics. The transition from matrix exponentials to Schur decomposition demonstrates that rethinking underlying constraints can yield massive performance gains without sacrificing accuracy.

While the current model assumes Additive Noise Models (ANMs) and prunes potential feedback loops to maintain a DAG structure, it represents a significant step forward in scalable, multi-level causal discovery. Future work may explore more diverse coarse-graining strategies and the incorporation of domain-specific knowledge to further guide the abstraction process.

Summary updated

BibTeX
@inproceedings{liang2024multi,
  author = {Jiaxuan Liang and Jun Wang and Guoxian Yu and Shuyin Xia and Guoyin Wang},
  title = {{Multi-Granularity Causal Structure Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i12.29278},
}
Figure