🤖 AI Summary
This study investigates the reliability foundations of large language models’ (LLMs) causal discovery capability, addressing three key problems: memorization effects, contamination of pretraining corpora by spurious causal associations, and prediction inconsistency induced by minor contextual perturbations. We construct a benchmark suite of causal discovery queries and conduct empirical evaluations on open-source LLMs. Our analysis quantitatively establishes, for the first time, a positive correlation between the frequency of causal mentions in pretraining data and model performance—while also revealing strong context sensitivity: predictions for the same causal pair vary significantly across different contexts. Methodologically, we bridge corpus-level statistical features with causal reasoning ability, demonstrating that high-frequency, semantically consistent causal expressions constitute a critical prerequisite for LLMs to implicitly acquire robust causal knowledge. This work provides a data-driven pathway for enhancing LLMs’ causal robustness through targeted corpus curation and modeling interventions.
📝 Abstract
Recent advances in artificial intelligence have seen Large Language Models (LLMs) demonstrate notable proficiency in causal discovery tasks. This study explores the factors influencing the performance of LLMs in causal discovery tasks. Utilizing open-source LLMs, we examine how the frequency of causal relations within their pre-training corpora affects their ability to accurately respond to causal discovery queries. Our findings reveal that a higher frequency of causal mentions correlates with better model performance, suggesting that extensive exposure to causal information during training enhances the models' causal discovery capabilities. Additionally, we investigate the impact of context on the validity of causal relations. Our results indicate that LLMs might exhibit divergent predictions for identical causal relations when presented in different contexts. This paper provides the first comprehensive analysis of how different factors contribute to LLM performance in causal discovery tasks.