Skip to main content
QUICK REVIEW

[Paper Review] CLadder: Assessing Causal Reasoning in Language Models

Helmers, Flora, Devijver, Emilie|arXiv (Cornell University)|Dec 7, 2023
Natural Language Processing TechniquesComputer Science8 citations
TL;DR

This paper introduces CLadder, a 10k-question dataset that assesses formal causal reasoning in LLMs across the three rungs of Pearl’s Ladder, and presents CausalCoT, a prompt strategy that improves reasoning by aligning LLM outputs with causal inference steps.

ABSTRACT

The ability to perform causal reasoning is widely considered a core feature of intelligence. In this work, we investigate whether large language models (LLMs) can coherently reason about causality. Much of the existing work in natural language processing (NLP) focuses on evaluating commonsense causal reasoning in LLMs, thus failing to assess whether a model can perform causal inference in accordance with a set of well-defined formal rules. To address this, we propose a new NLP task, causal inference in natural language, inspired by the "causal inference engine" postulated by Judea Pearl et al. We compose a large dataset, CLadder, with 10K samples: based on a collection of causal graphs and queries (associational, interventional, and counterfactual), we obtain symbolic questions and ground-truth answers, through an oracle causal inference engine. These are then translated into natural language. We evaluate multiple LLMs on our dataset, and we introduce and evaluate a bespoke chain-of-thought prompting strategy, CausalCoT. We show that our task is highly challenging for LLMs, and we conduct an in-depth analysis to gain deeper insights into the causal reasoning abilities of LLMs. Our data is open-sourced at https://huggingface.co/datasets/causalNLP/cladder, and our code can be found at https://github.com/causalNLP/cladder.

Motivation & Objective

  • Assess whether LLMs can perform formal causal reasoning grounded in Pearl’s causal inference framework.
  • Provide a large, diverse dataset (CLadder) with ground-truth causal answers and explanations across associational, interventional, and counterfactual queries.
  • Offer a prompting strategy (CausalCoT) to elicit sound causal reasoning from LLMs.
  • Investigate model performance and error patterns to identify limits of current LLMs in causal inference.

Proposed method

  • Create ground-truth causal queries grounded in symbolic causal graphs with identifiability guarantees via a Causal Inference Engine (CI Engine).
  • Generate 10K natural-language questions and paired explanations by verbalizing symbolic queries into stories and templates.
  • Develop CausalCoT, a multi-step chain-of-thought prompting protocol guiding LLMs through graph extraction, query formalization, estimand derivation, and evaluation.
  • Evaluate a range of LLMs (GPT-4, GPT-3 variants, LLaMa/Alpaca, etc.) with and without CausalCoT across all three ladder rungs.
  • Analyze model performance by rung, commonsense alignment (commonsensical, nonsensical, anti-commonsensical), and step-wise reasoning quality.
  • Provide data-quality checks and ablations to isolate data contamination effects and in-context learning benefits.

Experimental results

Research questions

  • RQ1Can LLMs perform formal causal reasoning (Rungs 1–3) when answers are derived via a causal inference engine?
  • RQ2How does LLM performance vary across rung complexity and graph structures?
  • RQ3Does a causality-guided prompting strategy (CausalCoT) improve LLM accuracy compared to vanilla prompting?
  • RQ4To what extent does commonsense alignment or data contamination affect LLM reasoning on causal tasks?
  • RQ5Which subskills in the reasoning process are most brittle for current LLMs?

Key findings

  • CausalCoT achieves 70.40% overall accuracy, outperforming vanilla GPT-4 by 8.37 points on CLadder.
  • Models show highest accuracy on Rung 1, with decreasing accuracy on Rung 3 as questions become more difficult.
  • CausalCoT improves performance on anti-commonsensical data by 9.65 points, suggesting robustness to unseen or non-memorized patterns.
  • Graph extraction (Step ①) is relatively strong (high F1 for nodes/edges), while steps requiring formal causal inference (Steps ②, ③, ⑤) are more challenging.
  • Instruction-tuned models outperform non-instruction-tuned counterparts, but still struggle with formal causal reasoning.
  • In-context learning shows certain query types (e.g., conditional probabilities and NIE) benefit most from exemplars.

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.