AI
LLMs Can Help Uncover Hidden Causes in Data, New Framework Shows
Researchers propose using large language models to discover unmeasured causal variables in unstructured data, advancing how scientists uncover cause-and-effect relationships.
Understanding what causes what is central to scientific progress. Yet traditional causal discovery methods stumble when dealing with messy, unstructured data—precisely because they require researchers to already know which variables matter. A team at arXiv has developed a fresh approach that harnesses large language models' world knowledge to propose relevant variables automatically.
The Problem: Missing Variables in Causal Research#
Causal discovery—the process of detecting which phenomena influence which others—relies heavily on high-quality measured variables identified upfront by human experts. In real-world scenarios, raw data like text, images, or sensor streams lacks the clear-cut variables that traditional methods need. This bottleneck has limited causal discovery's application beyond tightly controlled settings. The challenge is acute: you can't determine what causes what if you don't even have a name for the variables you're measuring.
COAT: A New Bridge Between Language and Causality#
Researchers introduced Causal representatiOn AssistanT (COAT), a framework that combines LLMs' broad understanding of the world with rigorous causal discovery algorithms. Rather than asking an LLM to directly infer causality—a task at which they're unreliable—COAT uses the model to propose potential variables based on target phenomena and their corresponding unstructured data. It then validates and refines those proposals through feedback loops with actual causal discovery results.
How It Works in Practice#
The framework unfolds in two main stages:
- COAT-MB focuses on discovering the Markov Blanket of a target variable—the minimal set of variables needed to predict it. It iteratively leverages how well proposed variables predict the target, refining suggestions until convergence.
- COAT-PAG expands the scope to construct a more complete causal picture called a Partial Ancestral Graph. It cycles through multiple target variables and actively seeks out new high-level variables that might be causal ancestors or descendants.
Beyond causal mapping, the framework also extends to debiased causal inference by identifying which variables should be controlled for when making causal claims about unstructured data.

