Counterfactual Causal Inference in Natural Language with Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gendron, Gaël, Rožanec, Jože M., Witbrock, Michael, Dobbie, Gillian
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913538623143936
author Gendron, Gaël
Rožanec, Jože M.
Witbrock, Michael
Dobbie, Gillian
author_facet Gendron, Gaël
Rožanec, Jože M.
Witbrock, Michael
Dobbie, Gillian
contents Causal structure discovery methods are commonly applied to structured data where the causal variables are known and where statistical testing can be used to assess the causal relationships. By contrast, recovering a causal structure from unstructured natural language data such as news articles contains numerous challenges due to the absence of known variables or counterfactual data to estimate the causal links. Large Language Models (LLMs) have shown promising results in this direction but also exhibit limitations. This work investigates LLM's abilities to build causal graphs from text documents and perform counterfactual causal inference. We propose an end-to-end causal structure discovery and causal inference method from natural language: we first use an LLM to extract the instantiated causal variables from text data and build a causal graph. We merge causal graphs from multiple data sources to represent the most exhaustive set of causes possible. We then conduct counterfactual inference on the estimated graph. The causal graph conditioning allows reduction of LLM biases and better represents the causal estimands. We use our method to show that the limitations of LLMs in counterfactual causal reasoning come from prediction errors and propose directions to mitigate them. We demonstrate the applicability of our method on real-world news articles.
format Preprint
id arxiv_https___arxiv_org_abs_2410_06392
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Counterfactual Causal Inference in Natural Language with Large Language Models
Gendron, Gaël
Rožanec, Jože M.
Witbrock, Michael
Dobbie, Gillian
Computation and Language
Machine Learning
I.2.6; I.2.7; G.3; J.1
Causal structure discovery methods are commonly applied to structured data where the causal variables are known and where statistical testing can be used to assess the causal relationships. By contrast, recovering a causal structure from unstructured natural language data such as news articles contains numerous challenges due to the absence of known variables or counterfactual data to estimate the causal links. Large Language Models (LLMs) have shown promising results in this direction but also exhibit limitations. This work investigates LLM's abilities to build causal graphs from text documents and perform counterfactual causal inference. We propose an end-to-end causal structure discovery and causal inference method from natural language: we first use an LLM to extract the instantiated causal variables from text data and build a causal graph. We merge causal graphs from multiple data sources to represent the most exhaustive set of causes possible. We then conduct counterfactual inference on the estimated graph. The causal graph conditioning allows reduction of LLM biases and better represents the causal estimands. We use our method to show that the limitations of LLMs in counterfactual causal reasoning come from prediction errors and propose directions to mitigate them. We demonstrate the applicability of our method on real-world news articles.
title Counterfactual Causal Inference in Natural Language with Large Language Models
topic Computation and Language
Machine Learning
I.2.6; I.2.7; G.3; J.1
url https://arxiv.org/abs/2410.06392