Abstract
Do Large Language Models (LLMs) actually "reason" through causal data, or are they just reciting facts from their training sets? This paper introduces a causal attribution framework to quantify the influence of internal knowledge versus external numerical data. The findings reveal that while current LLMs rely overwhelmingly on pre-existing knowledge, they can be fine-tuned to prioritize numerical evidence, significantly improving their performance in causal discovery tasks.
Introduction
Causal reasoning—the ability to identify cause-and-effect relationships—is a hallmark of human intelligence. While LLMs like GPT-4 show impressive results on causal benchmarks, it remains unclear how they arrive at these answers. Are they performing logical inference on the data provided in the prompt, or are they simply leveraging "common sense" associations (e.g., knowing that "smoking" and "cancer" are linked) from their massive training corpora?
The authors identify a critical gap: most existing evaluations focus on text-based scenarios where linguistic cues are dominant. They aim to disentangle knowledge (the semantic meaning of variable names) from data (the statistical patterns in numerical values) to see which component truly drives LLM "reasoning."
Methods
The researchers developed a Causal Attribution Model based on Judea Pearl’s "do-operator." By systematically perturbing prompts, they created counterfactual scenarios to isolate variables:
- Knowledge Attribution: They replaced real variable names (like "Father's Height") with nonsense words (like "bryoto") to see if the model could still find the causal link using only numerical data.
- Data Attribution: They provided variable names but omitted the numerical data entirely.
- Reverse Causal Discovery: They inverted the numerical data so that it statistically implied a counter-intuitive relationship (e.g., a child’s height causing a father’s height) to see if the LLM would follow the data or its internal bias.
To bridge the performance gap, they also introduced a fine-tuned LLM (based on Mistral-7B-v0.2 using LoRA). This model was trained on instructions derived from the LiNGAM (Linear Non-Gaussian Acyclic Model) algorithm, teaching the LLM the specific logic required to distinguish correlation from causation in numerical datasets.
Datasets
The study utilized nine diverse benchmark datasets spanning biology, physics, finance, and engineering. These datasets provided a mix of "ground truth" causal relationships verified by experts and empirical numerical data.
Key Results and Insights
The study yielded several critical insights into the nature of LLM reasoning:
- Knowledge is the Primary Driver: Current LLMs are "knowledge-heavy." Their ability to identify causal links drops significantly when variable names are obscured, even if the numerical data is perfectly clear.
- The "Data Blindness" of Zero-Shot Models: Even top-tier models like GPT-4 Turbo show very low "Data Attribution" scores. They struggle to perform the "number crunching" necessary for causal discovery without linguistic hints.
- Fine-tuning Superiority: The fine-tuned Mistral model achieved an overall accuracy of 90% in pairwise causal discovery, significantly outperforming GPT-4 Turbo (82%) and GPT-4 (76%).
- Resistance to Counter-Intuition: In scenarios where the data contradicted common sense, the fine-tuned model maintained high accuracy by following the numerical logic, whereas zero-shot models often defaulted to their (incorrect) internal knowledge.
Discussion and Limitations
The authors acknowledge that while fine-tuning allows models to prioritize data, real-world data is often noisy. In such cases, internal "common sense" knowledge might actually be more reliable than raw numbers. Furthermore, LLMs exhibit a latent bias where they often assume the first variable presented in a list is the "cause," highlighting the need for randomized prompt engineering.
Future work is needed to incorporate uncertainty quantification, allowing models to express doubt when knowledge and data provide conflicting signals. This study demonstrates that LLMs aren't inherently bad at numerical causal logic; they simply require specific instruction-based training to move beyond simple pattern matching.
Summary updated