Multi-granularity Causal Structure Learning (MgCSL)
- Multi-granularity causal structure learning (MgCSL) is a framework that integrates fine-grained micro-variables with coarse-grained abstractions to enhance causal discovery.
- It combines a sparse autoencoder for macro-variable extraction with dedicated multi-input MLPs to capture both micro-to-micro and macro-to-micro causal interactions.
- The method enforces acyclicity via a Schur-decomposition-based penalty, achieving high precision, low structural Hamming distance, and reduced runtime in benchmarks.
Multi-granularity Causal Structure Learning (MgCSL) refers to a class of algorithms designed to uncover the causal relationships between variables, explicitly modeling both the micro-level (fine-grained) variables and their collective macro-level (coarse-grained) abstractions. MgCSL facilitates causal discovery and representation across scales, addressing challenges inherent in high-dimensional datasets and complex systems by combining sparse representation learning, multi-input neural architectures, and scalable acyclicity constraints. It stands as the first end-to-end method to jointly learn micro- and macro-variable causal directed acyclic graphs (DAGs), establishing new benchmarks in both accuracy and runtime on a range of synthetic and real-world benchmarks (Liang et al., 2023).
1. Architectural Foundations of MgCSL
MgCSL integrates two principal modules:
- Sparse Auto-encoder (SAE): The SAE receives micro-variables and learns coarse-grained macro-variables , with . The encoder-decoder pipeline is governed by
The SAE includes an penalty on the encoder () to enforce sparsity, ensuring interpretable macro constructions. The macro–micro contribution matrix
encodes the participation of each micro-variable in each macro-variable.
- Multi-granularity Multilayer Perceptrons (MLPs): For each micro-variable , a dedicated MLP0 predicts it using 1. This dual-input architecture permits both micro-to-micro and macro-to-micro causal pathways to be expressed. The first-layer weights of the 2 MLPs assemble:
- The pure micro-to-micro weighted adjacency matrix (WAM) 3, yielding 4.
- The overall multi-granularity WAM 5, capturing both micro and macro links.
A redundancy penalty 6 discourages redundant explanations of a target variable at both granularity levels.
2. Scalable Acyclicity Constraint
MgCSL introduces a Schur-decomposition-based acyclicity constraint that is computationally more efficient and provides sharper gradients versus prior approaches such as NOTEARS (Liang et al., 2023). Given micro-micro WAM 7, set 8. The decomposition
9
(where 0 is block upper-triangular with the eigenvalues of 1 on its diagonal) leads to the acyclicity penalty:
2
Enforcing 3 guarantees the resulting DAG is cycle-free. This approach scales more favorably (4 but with lower constants), provides stronger gradients when any cycle appears, and avoids the computational expense of calculating matrix exponentials as required by NOTEARS.
3. Training Objective and Optimization Procedure
The overall training objective is an augmented Lagrangian, summing reconstruction loss, sparsity, redundancy and acyclicity penalties:
5
where 6 denotes all learnable weights. The method initializes parameters with fixed hyperparameters (7), employs the L-BFGS-B solver, updates penalties according to constrained optimization rules, and post-processes the DAG (thresholding and pruning until acyclicity holds and binarizing remaining edges). Stopping occurs when 8 or iteration/time limits are met.
4. Experimental Evaluation and Benchmarking
MgCSL demonstrates robust performance across a broad spectrum of synthetic and real-world causal discovery tasks (Liang et al., 2023):
- Synthetic Data: On nonlinear Additive Noise Models (ANMs) and fully joint Gaussian-process functions, with random DAGs (Erdős–Rényi and scale-free topologies, 9), MgCSL achieves precision often exceeding 95%, best or comparable F0, and lowest SHD, outperforming PC, GES, DAG-GNN, GAE, GraN-DAG, and NOTEARS-MLP baselines with 5–20× faster runtime than NOTEARS-MLP and 30–100× faster than DAG-GNN under these settings.
- Multi-granularity Synthetic: Under multi-granularity variants (macro decomposition and micro-MLP expansion), MgCSL maintains 195% precision and SHD 217, whereas all baselines degrade below 70% precision and incur much higher SHD. Wilcoxon signed-rank tests show significance (30.02).
- Real-world Data: On the Sachs protein-signaling dataset (4), MgCSL attains 100% precision, 30% recall, F5=46%, and SHD=14, outperforming all evaluated rivals. In fMRI Hippocampus data (six ROIs, 6), edges found by MgCSL—such as {PHC, Sub7ERC, ERC8DG, CA19Sub, CA10DG—align with established anatomical pathways, with some direction flips attributed to MgCSL’s enforced acyclicity in cyclic ground-truth structures.
5. Theoretical Guarantees and Limitations
MgCSL’s eigenvalue-based acyclicity constraint provides the same “no local nonzero-cycle” guarantee as NOTEARS but with more efficient gradient computation (Theorem 1 & Prop. 2 in the MgCSL paper). Coarse-graining by SAE is regularized for sparsity and interpretability, but the current method fixes macro-variable count 1; future extensions are proposed for adaptive or Bayesian determination of macro-variable cardinality. Severe cycles in the ground-truth data may result in directionality errors, as hard acyclicity (2) cannot faithfully represent feedback loops. SAE-based macro construction could be replaced by more expressive generative models, such as variational autoencoders with sparsity priors, to support richer and potentially domain-aligned macro representations.
6. Connections to Related Multi-Granularity Methods
Alternative approaches to multi-granularity causal structure learning include modular subgraph-integration methods such as VISTA (Voting-based Integration of Subgraph Topologies for Acyclicity) (Sun et al., 28 Jan 2026). VISTA operationalizes multi-granularity via:
- Node-level subgraph localization (Markov Blanket discovery for each variable),
- Local DAG estimation (using arbitrary base learners within small neighborhoods),
- Global integration via weighted voting and feedback arc set (FAS) pruning to guarantee acyclicity,
as summarized in the following table.
| Method | Multi-granularity Model | Acyclicity Handling |
|---|---|---|
| MgCSL | SAE macros + micro inputs, multi-level WAM | Schur decomposition eigenvalue penalty |
| VISTA | Markov Blanket subgraphs (local); weighted global voting | Feedback Arc Set (GreedyFAS) |
VISTA is model-agnostic regarding base learners and achieves scalability by parallelizing local subgraph inferences, combining results via theoretically grounded voting. Both MgCSL and VISTA address high-dimensionality and automate the synthesis of local (fine-grained) and global (coarse-grained) causal information, albeit using fundamentally different architectures and integration strategies.
7. Practical Impact and Future Directions
MgCSL and similarly motivated frameworks enable causal inference in domains where granularity hierarchy, data dimensionality, and computational efficiency are critical, as illustrated by successful application in neuroscience (fMRI), computational biology (protein-signaling networks), and complex synthetic systems. Key limitations include the rigid enforcement of acyclicity (which may not match all domains), fixed macro dimensionality, and sensitivity to macro variable semantics. Plausible future directions include adaptive and Bayesian macro-layer structures, more powerful disentangling autoencoders, and the integration of interventional data to resolve ambiguities arising from purely observational settings.
In sum, MgCSL establishes a new standard for scalable and accurate multi-granularity causal structure discovery by marrying sparse representation learning, neural estimation, and computationally tractable acyclicity constraints, with extensive quantitative and qualitative validation across data regimes (Liang et al., 2023, Sun et al., 28 Jan 2026).