Is Knowledge All Large Language Models Needed for Causal Reasoning?

Hengrui Cai, Shengjie Liu, Rui Song
12/30/2023
cs.AIcs.CLcs.LG

No official code found. Best implementation: ncsulsj/Causal_LLM (17 stars, last commit 2024-02-01).

Abstract

This paper explores the causal reasoning of large language models (LLMs) to enhance their interpretability and reliability in advancing artificial intelligence. Despite the proficiency of LLMs in a range of tasks, their potential for understanding causality requires further exploration. We propose a novel causal attribution model that utilizes ``do-operators" for constructing counterfactual scenarios, allowing us to systematically quantify the influence of input numerical data and LLMs' pre-existing knowledge on their causal reasoning processes. Our newly developed experimental setup assesses LLMs' reliance on contextual information and inherent knowledge across various domains. Our evaluation reveals that LLMs' causal reasoning ability mainly depends on the context and domain-specific knowledge provided. In the absence of such knowledge, LLMs can still maintain a degree of causal reasoning using the available numerical data, albeit with limitations in the calculations. This motivates the proposed fine-tuned LLM for pairwise causal discovery, effectively leveraging both knowledge and numerical information.

View on arXivView PDF

Code Implementations(1)

ncsulsj/Causal_LLMCommunity100%
171PythonNov 17, 20232 years ago

Similar Papers

Cite this paper

@article{cai2023knowledge,
  title  = {Is Knowledge All Large Language Models Needed for Causal Reasoning?},
  author = {Hengrui Cai and Shengjie Liu and Rui Song},
  year   = {2023},
  eprint = {2401.00139},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.00139v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.00139.svg)](https://codeofpaper.com/paper/2401.00139)

Discussion