Skip to main content
QUICK REVIEW

[Paper Review] On the Reliability of Large Language Models for Causal Discovery

Tao Feng, Lizhen Qu|arXiv (Cornell University)|Jul 29, 2024
Natural Language Processing TechniquesComputer Science3 citations
TL;DR

This paper investigates the factors influencing Large Language Models (LLMs) in causal discovery tasks, using open-source LLMs and their publicly available pre-training corpora. It finds that higher frequency of causal relations in training data strongly correlates with improved model performance, while contextual variations and anti-causal statements significantly affect reliability, revealing limitations in LLM trustworthiness for causal inference.

ABSTRACT

This study investigates the efficacy of Large Language Models (LLMs) in causal discovery. Using newly available open-source LLMs, OLMo and BLOOM, which provide access to their pre-training corpora, we investigate how LLMs address causal discovery through three research questions. We examine: (i) the impact of memorization for accurate causal relation prediction, (ii) the influence of incorrect causal relations in pre-training data, and (iii) the contextual nuances that influence LLMs' understanding of causal relations. Our findings indicate that while LLMs are effective in recognizing causal relations that occur frequently in pre-training data, their ability to generalize to new or rare causal relations is limited. Moreover, the presence of incorrect causal relations significantly undermines the confidence of LLMs in corresponding correct causal relations, and the contextual information critically affects the outcomes of LLMs to discern causal connections between random variables.

Motivation & Objective

  • To investigate the underlying factors influencing LLM performance in causal discovery tasks.
  • To assess the role of causal relation frequency in pre-training corpora on model accuracy.
  • To examine how contextual variations affect LLMs' reliability in predicting causal relations.
  • To evaluate the impact of anti-causal statements on model confidence and correctness.
  • To provide a systematic analysis of LLM trustworthiness in causal reasoning using open-source models and accessible training data.

Proposed method

  • The study uses open-source LLMs (OLMo, BLOOM) with publicly available pre-training corpora (Dolma, ROOTS) to analyze relation frequency effects.
  • It quantifies the correlation between the number of mentions of a causal relation in the training corpus and the model's predictive accuracy.
  • The researchers introduce synthetic causal relations with absent variable names to test generalization after fine-tuning OLMo.
  • They conduct controlled experiments with in-context learning (ICL) on multiple datasets (CauseNet, ConceptNet) to evaluate performance across model sizes.
  • Contextual variations are systematically tested to measure shifts in model predictions for the same causal relation in different natural language contexts.
  • Anti-causal statement frequencies are analyzed to assess their impact on model confidence and error rates.

Experimental results

Research questions

  • RQ1What factors in the pre-training corpus influence LLM performance in causal discovery tasks?
  • RQ2How does the frequency of causal relations in training data affect model accuracy?
  • RQ3To what extent do contextual variations alter LLM predictions for the same causal relation?
  • RQ4How do anti-causal statements in the training data affect model confidence and correctness?
  • RQ5In which contexts can we trust LLM-generated causal relations?

Key findings

  • There is a strong positive correlation between the frequency of a causal relation in the pre-training corpus and the model's predictive accuracy.
  • Models exhibit lower confidence on correct causal relations when anti-causal statements (e.g., 'lung cancer causes smoking') are frequent in the training data, even if the correct relation is mentioned more often.
  • The presence of anti-causal statements explains persistent errors in LLMs, despite high-frequency exposure to correct relations.
  • Context significantly alters LLM predictions: identical causal relations receive divergent labels when embedded in different natural language contexts.
  • Fine-tuning OLMo on synthetic causal relations reinforces the correlation between relation frequency and model accuracy, confirming the robustness of the findings.
  • Larger models (e.g., Llama3-70b-Instruct, GPT-4o) achieve higher F1 scores (up to 0.9175 on CauseNet) but still show context-dependent inconsistencies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.