To understand the world, intelligent systems must do two things: compress high-dimensional observations into meaningful concepts, and figure out how those concepts causally interact.
Traditionally, machine learning treated these as separate, sequential problems. A practitioner would first use an unsupervised method (like a Variational Autoencoder or Principal Component Analysis) to reduce raw data into a low-dimensional latent space. Then, they would apply a causal discovery algorithm to find the Directed Acyclic Graph (DAG) connecting those latent variables.
This two-stage pipeline suffers from a fundamental flaw: it assumes that standard dimensionality reduction preserves causal information. In reality, it often discards it.
The Two-Stage Failure Mode
Why do independent feature extraction and causal discovery fail when paired together?
First, standard representation learning algorithms optimize for statistical variance or data reconstruction, not causal relevance. As noted by Saptarshi Roy et al. in Directed Cyclic Graph for Causal Discovery from Multivariate Functional Data, variance-based preprocessing steps frequently strip away subtle, low-variance signals that are absolutely vital for identifying underlying graph structures.
Second, sequential pipelines suffer from severe error propagation. As Anne Helby Petersen et al. demonstrate in Causal discovery for observational sciences using supervised machine learning, making step-by-step independent decisions compounds errors. A minor misspecification in the representation layer can lead to entirely spurious edges or missed pathways in the downstream causal model. Zijin Liu et al. confirm this in A Bayesian joint model for mediation analysis with matrix-valued mediators, showing that separating feature extraction from causal regression prevents information from sharing across the entire causal pathway.
This creates a classic "chicken-and-egg" dilemma. As summarized by Yongkai Wu et al. in From Identifiable Causal Representations to Controllable Counterfactual Generation: A Survey on Causal Generative Modeling, learning the true latent representation requires knowing the causal graph that governs them, but discovering the graph requires having the latent variables already in hand.
Breaking the Loop via Joint Optimization
The core insight of Joint Causal Discovery and Representation Learning is to break this circular dependency by optimizing both components simultaneously within a single, unified objective function.
[ Raw High-Dimensional Data ]
│
▼
┌──────────────────────────────────────┐
│ Joint Optimization Loop │
│ │
│ ┌────────────────────────────────┐ │
│ │ Representation Learning │ │
│ │ (Maps data to latent space) │ │
│ └───────────────┬────────────────┘ │
│ │ ▲ │
│ │ │ Mutual │
│ ▼ │ Supervision │
│ ┌────────────────────────────────┐ │
│ │ Causal Discovery │ │
│ │ (Enforces graph constraints) │ │
│ └────────────────────────────────┘ │
└──────────────────┬───────────────────┘
▼
[ Identifiable Latents + True Causal Graph ]
Instead of treating the latent space as an unconstrained vector, researchers embed a Structural Causal Model (SCM) directly into the generative or representation framework. For example, Ignavier Ng et al. in Causal Representation Learning from General Environments under Nonparametric Mixing embed an SCM as the prior within a Variational Autoencoder (VAE). By optimizing the evidence lower bound (ELBO) as a single end-to-end objective, the model forces the encoder to find a latent space that satisfies the structural constraints of the graph, while the graph search adapts to the emerging latents.
This joint architecture allows for the resolution of highly complex temporal dynamics. In iCITRIS: Causal Representation Learning for Instantaneous Temporal Effects and Causal Representation Learning for Instantaneous and Temporal Effects in Interactive Systems, Phillip Lippe et al. integrate differentiable causal discovery directly into a VAE prior. This enables the framework to disentangle causal variables even when their interactions occur faster than the data sampling rate, effectively resolving seemingly "instantaneous" effects.
Why It Works: The Power of Mutual Supervision
Joint learning works because the representation task and the causal discovery task provide mutual supervision. The causal graph acts as a regularizer that guides feature extraction toward causally meaningful variables, while the data compression pipeline filters out noise that would otherwise confuse the graph search.
This synergy is clearly illustrated across several distinct domains:
- Spatiotemporal Data: In Discovering Latent Causal Graphs from Spatiotemporal Data and Discovering Latent Structural Causal Models from Spatio-Temporal Data, Kun Wang et al. demonstrate that jointly optimizing spatial data compression and structural learning prevents the loss of subtle causal signals in gridded climate or brain data. The spatial aggregation is explicitly incentivized to preserve features that explain downstream causal dynamics.
- Multimodal and Contrastive Learning: Hiroshi Morioka et al. show in Connectivity-contrastive learning: Combining causal discovery and representation learning for multimodal data that framing causal discovery as a self-supervised task allows the underlying network topology to directly supervise the unmixing and disentanglement of latent variables from mixed observations.
- Cross-Modal Alignment: When mapping relationships between unstructured images and structured clinical data, Haiyi Mao et al. demonstrate in Towards Cross-Modal Causal Structure and Representation Learning that joint optimization prevents feature extraction from ignoring variables that are critical to the cross-modal causal graph.
Global Consistency and Sample Efficiency
By optimizing the entire system globally, joint learning avoids local, conflicting solutions. Fabio Massimo Zennaro et al. show in Jointly Learning Consistent Causal Abstractions Over Multiple Interventional Distributions that learning abstraction mappings jointly across all variables ensures global consistency under interventions, preventing local optimizations from violating overall causal logic.
This global consistency also makes the models highly robust to hidden factors. Whether isolating unobserved confounders in reinforcement learning as done by Shuguang Yu et al. in Two-way Deconfounder for Off-policy Evaluation in Causal Reinforcement Learning, uncovering hidden mediators as shown by Lu Cheng et al. in Causal Mediation Analysis with Hidden Confounders, or identifying latent subpopulations as shown by Sarah Mameche et al. in Causal Mixture Models: Characterization and Discovery, the shared optimization objective forces the latent space to account for hidden structure to satisfy the global data distribution.
Ultimately, this line of research reveals that structure learning and representation learning are not merely complementary—they are mathematically dual aspects of the same problem. As proven by Patrik Reizinger et al. in Identifiable Exchangeable Mechanisms for Causal Structure and Representation Learning, treating both tasks as a unified problem over non-i.i.d. exchangeable data drastically reduces the number of distinct environments needed to identify a system. Leveraging the tight interdependencies between structure and representation allows models to achieve a level of sample and environment efficiency that two-stage pipelines simply cannot match.
Key Foundational Work
Causal Mediation Analysis with Hidden Confounders (2021) — contributed 1 concept elements to this direction.
Causal graphical models in systems genetics: A unified framework for joint inference of causal network and genetic architecture for correlated phenotypes (2010) — contributed 1 concept elements to this direction.