In the ideal world of causal discovery, we have access to every relevant variable in a system. If we want to know if a medication causes a recovery, we assume we’ve measured every possible "confounder"—like age, genetics, or diet—that might influence both the treatment and the outcome. This assumption is known as causal sufficiency.
However, as Matthew James Vowels and colleagues note in their survey of structure learning, this assumption is almost always violated in the real world Vowels et al. (2021). Whether in medicine, economics, or ecology, the most critical drivers of a system are often the ones we cannot see. These are latent confounders: unobserved variables that influence multiple observed parts of our system, creating "spurious" correlations that look like cause-and-effect but are actually mirages.
Modern research is shifting away from assuming we have all the data and toward methods that can "see" into these hidden spaces.
The Mirage of Spurious Correlation
The fundamental problem of latent variables is that they break the logic of standard causal discovery. Traditional algorithms, like those found in the Causal Learner toolbox by Kui Yu and others, often rely on "faithfulness"—the idea that statistical independence in the data perfectly mirrors the underlying causal graph.
When a hidden variable $Z$ influences both $X$ and $Y$, $X$ and $Y$ will appear statistically dependent. Without knowing $Z$ exists, an algorithm might incorrectly conclude that $X$ causes $Y$. This is a major hurdle in fields like health equity, where Xinwei Sun points out that failing to account for unobserved social or biological factors leads to biased policy recommendations Sun et al. (2023).
Identifying the Invisible through Latent Representations
If we can't measure a variable directly, can we still infer its influence? Recent work in Causal Representation Learning suggests we can.
Kartik Ahuja, Yoshua Bengio, and their collaborators have shown that by using interventional data—where we actively change one part of a system—we can find "geometric signatures" that reveal the presence of latent factors Ahuja et al. (2023). Similarly, Lingjing Kong and Biwei Huang have developed methods to identify nonlinear latent hierarchical models, essentially reconstructing the "hidden gears" of a system from the way they manifest in observed data Kong et al. (2023).
The intuition here is that latent variables leave a specific "footprint" on the joint distribution of observed variables. By looking at how these distributions shift—especially under different environments or interventions—we can mathematically "triangulate" the existence and structure of the hidden causes.
Dynamics as a Window into Hidden Causes
Time-series data offers another way to bypass the causal sufficiency requirement. In complex dynamical systems like gene networks or global ecosystems, it is impossible to observe every variable. Christopher Krich and Jakob Runge demonstrate that while missing data (like subsurface soil moisture) limits our models, the temporal patterns of interaction can still reveal shared functional behaviors across different ecosystems Krich et al. (2021).
A breakthrough method called Causality under Invisible Confounders (CIC), proposed by Jinling Yan and colleagues, uses Takens’ delay embedding theory to reconstruct the signals of hidden variables Yan et al. (2024). The intuition is that because all variables in a dynamical system are coupled, the history of a single observed variable contains "echoes" of the entire system, including the parts we can't see.
Why This Matters for AI and LLMs
The inability to handle latent confounders is a primary reason why Large Language Models (LLMs) struggle with causal reasoning. Zhijing Jin and her team found that LLMs often fail to generalize because they cannot account for unobserved variables in the scenarios they are presented with Jin et al. (2023).
To solve this, researchers like Aniket Vashishtha are attempting to teach models the fundamental "axioms" of causality—such as d-separation—so they can reason about hidden influences rather than just memorizing correlations Vashishtha et al. (2024).
By relaxing the assumption of causal sufficiency, the field is moving toward a more robust AI: one that understands that what it doesn't see is often just as important as what it does.