TL;DR
This paper investigates whether Large Language Models (LLMs) truly understand causality or are simply "causal parrots" that memorize relationships from their training data. By analyzing open-source models with accessible pre-training corpora, the researchers demonstrate that LLM accuracy in causal discovery is heavily dependent on how frequently a relationship appears in their training data and is highly sensitive to both misinformation and surrounding context.
What Problem Does This Paper Address?
Identifying causal relationships—knowing that $X$ causes $Y$ rather than just being correlated with it—is a cornerstone of science and human reasoning. Traditional statistical methods for "causal discovery" are computationally expensive and often require massive amounts of tabular data.
Recently, LLMs like GPT-4 have shown surprising proficiency at identifying these relationships using only variable names (e.g., "Does smoking cause lung cancer?"). However, because these models are trained on nearly the entire internet, it’s unclear if they are actually reasoning about the underlying mechanisms or just reciting facts they've seen millions of times. This paper seeks to quantify the reliability of LLMs in this domain, specifically looking at the roles of memorization, conflicting information, and contextual nuances.
Methods
The researchers moved beyond "black-box" proprietary models by utilizing open-source LLMs—OLMo-7b and BLOOM-7b1—which allow researchers to inspect their specific pre-training corpora (Dolma and ROOTS, respectively).
Their methodology involved three main prongs:
- Corpus Analysis: They used search tools to count how often specific causal pairs (e.g., "A causes B") appeared in the models' training data and correlated this frequency with the models' predictive accuracy.
- Synthetic Controlled Experiments: To isolate variables, they created fictitious causal relations (e.g., "blaonge causes goloneke") and injected them into synthetic training sets with varying frequencies and levels of "misinformation" (reversed or negated relations) to see how it affected model confidence.
- Contextual Probing: They tested how surrounding scenarios (generated by GPT-4o) influenced a model's judgment on a causal link, comparing "positive" contexts that support a relation to "negative" ones that weaken it.
Datasets
The study utilized a mix of established benchmarks and custom-built datasets:
- Real-World Causal Graphs: Medical graphs (Alcohol, Cancer, Diabetes, Obesity), atmospheric science (Arctic Sea Ice), and car insurance risks.
- Knowledge Bases: ConceptNet and CauseNet, used for large-scale causal direction identification.
- Pre-training Corpora: Dolma (3 trillion tokens) and ROOTS (1.6TB), which provided the ground truth for what the models had "seen" during training.
- Synthetic Data: A custom dataset of 100,000 documents used to fine-tune models on imaginary causal relationships.
Key Insights and Ideas
- The "Causal Parrot" Hypothesis Confirmed: There is a massive correlation (up to 0.9 Spearman correlation) between how often a causal relation appears in the training data and how accurately the LLM identifies it. If a relation is rare or novel, the model's performance craters.
- Misinformation is Poisonous: The presence of incorrect causal relations (like "lung cancer causes smoking") in training data significantly undermines the model's confidence in the correct relation. This suggests that LLMs struggle to resolve conflicting information during pre-training.
- Causality is Context-Dependent: LLMs do not treat causal links as universal truths. A model might correctly identify that "rain causes flooding" in a city scenario but flip its answer if the context describes a drought or a high-tech drainage system.
- Architecture vs. Scale: Interestingly, the researchers found that Llama 3-8B (a smaller, newer model) could outperform Llama 2-70B (a much larger, older model), suggesting that better training data and architecture are more important than raw parameter count for causal reasoning.
Key Results
The study found that for the OLMo-7b model, the F1 score for causal discovery dropped from 0.88 for highly frequent relations to just 0.2 for rare ones.
In the contextual experiments, the "affirmative ratio" (how often the model said "yes" to a causal link) shifted dramatically:
- Without Context: 0.66
- With Positive Context: 0.83
- With Negative Context: 0.33
These shifts were statistically significant across all tested models, including GPT-4o and Llama 3.
Limitations and Future Work
The authors acknowledge that their study focused primarily on commonsense causal relations. Real-world scientific discovery often involves dynamic, complex, and non-linear relationships that might not be captured in standard text-based benchmarks.
Furthermore, the detailed corpus analysis was limited to models with open training data (mostly in the 7-billion parameter range). While they tested larger models like GPT-4o, they couldn't perform the same deep-dive into its training history.
Future Directions: The authors suggest that instead of relying on LLMs as standalone causal discoverers, researchers should look into hybrid methods that integrate traditional statistical algorithms with LLMs to better handle novel data and complex contexts.
Summary updated