Skip to main content
QUICK REVIEW

[Paper Review] Causality for Large Language Models

Anpeng Wu, Kun Kuang|arXiv (Cornell University)|Oct 20, 2024
Topic ModelingComputer Science5 citations
TL;DR

A comprehensive survey on integrating causality into LLMs across pre-training, fine-tuning, alignment, inference, and evaluation to overcome reliance on spurious correlations and biases.

ABSTRACT

Recent breakthroughs in artificial intelligence have driven a paradigm shift, where large language models (LLMs) with billions or trillions of parameters are trained on vast datasets, achieving unprecedented success across a series of language tasks. However, despite these successes, LLMs still rely on probabilistic modeling, which often captures spurious correlations rooted in linguistic patterns and social stereotypes, rather than the true causal relationships between entities and events. This limitation renders LLMs vulnerable to issues such as demographic biases, social stereotypes, and LLM hallucinations. These challenges highlight the urgent need to integrate causality into LLMs, moving beyond correlation-driven paradigms to build more reliable and ethically aligned AI systems. While many existing surveys and studies focus on utilizing prompt engineering to activate LLMs for causal knowledge or developing benchmarks to assess their causal reasoning abilities, most of these efforts rely on human intervention to activate pre-trained models. How to embed causality into the training process of LLMs and build more general and intelligent models remains unexplored. Recent research highlights that LLMs function as causal parrots, capable of reciting causal knowledge without truly understanding or applying it. These prompt-based methods are still limited to human interventional improvements. This survey aims to address this gap by exploring how causality can enhance LLMs at every stage of their lifecycle-from token embedding learning and foundation model training to fine-tuning, alignment, inference, and evaluation-paving the way for more interpretable, reliable, and causally-informed models. Additionally, we further outline six promising future directions to advance LLM development, enhance their causal reasoning capabilities, and address the current limitations these models face.

Motivation & Objective

  • Motivate the integration of causal reasoning into LLMs to overcome correlation-based limitations and biases.
  • Present a lifecycle framework showing how causality can be incorporated at pre-training, fine-tuning, alignment, inference, and evaluation stages.
  • Categorize causality-based techniques and map them to stages of LLM development.
  • Highlight challenges and propose future directions for causality-informed LLMs.

Proposed method

  • Review existing causality-inspired techniques across five LLM stages: pre-training, fine-tuning, alignment, inference, and evaluation.
  • Propose three causal pre-training approaches: debiased token embedding, counterfactual training corpus, and causal foundation model framework.
  • Outline causality-enhanced processes for fine-tuning, alignment, and inference, including causal discovery, causal effects, and counterfactual reasoning.

Experimental results

Research questions

  • RQ1How can causality be embedded into the training and lifecycle of LLMs to surpass correlation-based learning?
  • RQ2What techniques at each stage (pre-training, fine-tuning, alignment, inference, evaluation) best promote causal reasoning in LLMs?
  • RQ3What are the main challenges and future directions for building causally-informed LLMs?

Key findings

  • Causality-based techniques across stages can address biases, reliability, and interpretability in LLMs.
  • Current causal prompts rely on human intervention and prompts rather than intrinsic model understanding; embedding causality into training is essential.
  • Six future directions are proposed to advance causal reasoning and overcome limitations of LLMs.

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.